joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43da10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x48656b
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x330], eax
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0043c920
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x18]
jae 0x43dbd1
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x43da7e
push 0
mov ecx, esi
call fcn.00430410
mov eax, dword [esi]
push 0
push 0
lea ecx, [esp + 0x248]
push ecx
lea edx, [esp + 0x144]
push edx
push eax
call fcn.00470266
push 0
push 0
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x164]
push edx
call fcn.00470058
add esp, 0x28
push 0
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
call fcn.00410430
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov dword [esp + 0x34c], 0
jge 0x43daff
push 0
mov ecx, esi
call fcn.00430410
mov esi, dword [esi]
push 1
push esi
lea ecx, [esp + 0x24]
call fcn.004104e0
cmp eax, 1
jne 0x43dbbd
mov ecx, dword [edi + 0x14]
push 4
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00410640
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ebp, dword [edi + 0x20]
add edi, 0x1c
mov edx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jmp 0x43db48
mov eax, dword [esp + 0x18]
cmp edx, edi
jne 0x43db9e
cmp eax, ebp
sete cl
test cl, cl
sete cl
test cl, cl
je 0x43dba8
test edx, edx
je 0x43db9e
cmp eax, dword [edx + 4]
je 0x43dba3
mov esi, dword [eax + 0x10]
test esi, esi
je 0x43db8d
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 2
call fcn.00410640
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0043c540
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0043cf80
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x43db44
jmp fcn.0043cf00
jmp fcn.0043ce80
push 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 3
call fcn.00410640
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34c], 0xffffffff
call fcn.00410480
mov eax, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.0046fe25
add esp, 0x340
ret
Function at 0x43dc80
Capabilities:
Get disk size

Disassembly:
sub esp, 0x64
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push 0x3f
lea eax, [esp + 0x2d]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0x34], 0
call fcn.004704b0
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
add esp, 0xc
or ecx, dword [eax + 8]
jge 0x43dcc7
push 0
mov ecx, esi
call fcn.00430410
mov eax, dword [esi]
push edi
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00470266
lea edi, [esp + 0x40]
add esp, 0x14
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x43dce5
mov cx, word [0x49bc08]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
mov word [edi], cx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
pop edi
jne 0x43dd2b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0046fe25
add esp, 0x64
ret
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0043dc00
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x14]
ja 0x43dd4d
jb 0x43dd18
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0x10]
jb 0x43dd18
mov ecx, dword [esp + 0x68]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0046fe25
add esp, 0x64
ret
Function at 0x43f480
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd4]
push edi
lea eax, [esi + 0xa0]
push eax
push ecx
call fcn.00434fc0
mov ecx, dword [esi + 0xa4]
add esp, 8
cmp eax, 1
lea eax, [esi + 0xa8]
push eax
push 0x18
sete dl
push ecx
mov byte [esi + 0x54], dl
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0xb0]
sar eax, 1
mov dword [esi + 0xc8], eax
lea eax, [esi + 0x58]
push eax
push ecx
mov dword [esi + 0xcc], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0045ed01
mov ebp, eax
test ebp, ebp
je 0x43f4ff
mov eax, dword [ebp + 4]
push eax
lea edi, [esi + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0045ed0f
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
add eax, eax
push ecx
push eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x78]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0045efd6
test ebx, ebx
je 0x43f537
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x6c]
push ebx
push ecx
call fcn.0045f05b
push 1
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.0045e62c
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push 0
mov ecx, edi
call eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x84]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.0045ed0f
mov ecx, dword [esi + 0xd4]
lea edi, [esi + 0x94]
push edi
push ecx
call fcn.00434fc0
add esp, 8
test edi, edi
je 0x43f590
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x88]
push edi
push edx
call fcn.0045f05b
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x6c]
push 0xff0062
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x64]
push eax
add ecx, ecx
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
add eax, eax
test ebx, ebx
je 0x43f5cf
mov ebx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
mov eax, dword [esi + 0x6c]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43f482
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd4]
push edi
lea eax, [esi + 0xa0]
push eax
push ecx
call fcn.00434fc0
mov ecx, dword [esi + 0xa4]
add esp, 8
cmp eax, 1
lea eax, [esi + 0xa8]
push eax
push 0x18
sete dl
push ecx
mov byte [esi + 0x54], dl
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0xb0]
sar eax, 1
mov dword [esi + 0xc8], eax
lea eax, [esi + 0x58]
push eax
push ecx
mov dword [esi + 0xcc], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0045ed01
mov ebp, eax
test ebp, ebp
je 0x43f4ff
mov eax, dword [ebp + 4]
push eax
lea edi, [esi + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0045ed0f
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
add eax, eax
push ecx
push eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x78]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0045efd6
test ebx, ebx
je 0x43f537
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x6c]
push ebx
push ecx
call fcn.0045f05b
push 1
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.0045e62c
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push 0
mov ecx, edi
call eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x84]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.0045ed0f
mov ecx, dword [esi + 0xd4]
lea edi, [esi + 0x94]
push edi
push ecx
call fcn.00434fc0
add esp, 8
test edi, edi
je 0x43f590
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x88]
push edi
push edx
call fcn.0045f05b
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x6c]
push 0xff0062
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x64]
push eax
add ecx, ecx
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
add eax, eax
test ebx, ebx
je 0x43f5cf
mov ebx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
mov eax, dword [esi + 0x6c]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x444970
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x444a04
push ebp
lea ebp, [eax - 1]
shr ebp, 3
add ebp, 1
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x4449b8
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.00444020
add esi, 8
jmp 0x4449fe
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.00444020
add esi, 8
add edi, 8
sub ebp, 1
jne 0x4449a0
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x4479a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004475cf
push eax
push esi
push dword [ebp + 8]
call fcn.00447584
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
Function at 0x447cc0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x447c96
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x447cb4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x447d12
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x447cf9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x447d02
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x447d0c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x447cee
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x447c78
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x447d5f
dec eax
je 0x447d56
sub eax, 3
je 0x447d4d
mov dword [ebp - 4], 0x40
jmp 0x447d7c
mov dword [ebp - 4], 4
jmp 0x447d62
mov dword [ebp - 4], 0x20
jmp 0x447d62
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x447dae
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x447d2e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004475bf
inc ebx
daa
cmc
mov dword [0x6a1475ff], eax
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x447dba
Function at 0x44a0b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48777a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x40]
push 5
push eax
call fcn.00446600
mov edi, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
add esp, 8
add ecx, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edx
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], ecx
push 0xd8
call fcn.00453625
add esp, 4
mov dword [esp + 0x1c], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x58], esi
je 0x44a12a
mov ecx, eax
call fcn.00442810
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
mov dword [esp + 0x20], edi
movzx edi, byte [esp + 0x14]
add ecx, ebp
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x50000000
push 0x49bc11
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x38], ebp
call edx
cmp eax, 1
jne 0x44a1d1
cmp byte [0x4b8f66], 0
push str.Launcherupdate_select.dat
push str.Launcherupdate_focus.dat
jne 0x44a197
mov eax, dword [esp + 0x1c]
push str.Launcher_Europe_bg_4.dat
push 0
push eax
jmp 0x44a1a3
mov ecx, dword [esp + 0x1c]
push str.Launcher_Europe_bg_5.dat
push 0
push ecx
mov ecx, esi
call fcn.004432f0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
mov edx, dword [esp + 0x3c]
lea ebp, [edx + ebp + 1]
je 0x44a1e8
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x44a1e8
mov dword [ecx + edi*4], esi
push 0
mov ecx, esi
call fcn.004537fe
mov al, byte [esp + 0x14]
add al, 1
cmp al, 4
mov byte [esp + 0x14], al
jae 0x44a1ed
mov edi, dword [esp + 0x30]
jmp 0x44a106
jmp fcn.00449b80
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret

Function at 0x44a830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44a8a9
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.0046fe25
add esp, 0x110
ret 0xc
Function at 0x44aaf0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push eax
push 0
push 0
push ebp
push str.open
push 0
mov edi, ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44abe2
lea ecx, [esp + 0xc]
push ecx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.0044a830
test eax, eax
jne 0x44ac00
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
push SysReAllocString
mov ecx, edi
call fcn.0044a830
test eax, eax
jne 0x44abfc
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.00471fbf
mov esi, eax
add esp, 8
test esi, esi
jne 0x44abbf
lea eax, [esp + 0x10]
push 0x495764
push eax
call fcn.00471fbf
mov esi, eax
add esp, 8
test esi, esi
jne 0x44abbf
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x44abc2
mov byte [esi], 0
push 0x49c0b8
push esi
call ebx
push ebp
push esi
call ebx
mov edx, dword [esp + 0x224]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0046fe25
add esp, 0x20c
ret 8
mov eax, esi
jmp 0x44abe1
mov eax, esi
jmp 0x44abe2
Function at 0x450500
Capabilities:
Resolve dns

Disassembly:
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x45050f
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x450552
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x45052a
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x450552
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x45054f
add eax, 1
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.00406020
add esp, 8
xor eax, eax
ret
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x45056c
mov ecx, dword [esp + 8]
add eax, 1
push eax
push ecx
call fcn.00406020
add esp, 8
mov eax, 1
ret

Function at 0x4526a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
je 0x4526e8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x4526e8
push ecx
push eax
lea eax, [esp + 0x10]
push 0x496860
push eax
call fcn.0047052a
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x408]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
xor ecx, esp
call fcn.0046fe25
add esp, 0x404
ret

Function at 0x4527b0
Capabilities:
Print debug messages

Disassembly:
mov dword [ecx], vtable.CMStream.0
jmp fcn.004526a0

Function at 0x453d3a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48853d
call fcn.00472ffa
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x453d5f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x453dab
call fcn.0045ae51
push eax
lea ecx, [ebp - 0x10]
call fcn.00430360
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045365a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00430180
mov eax, esi
call fcn.004730d2
ret 8

Function at 0x457857
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x457890
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045781a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044ad80
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x4594a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4594ea
call fcn.0045e4f1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4594ea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x459505
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0045905e
test ebx, ebx
mov esi, eax
je 0x459503
test edi, edi
je 0x459503
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x45b7cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4b59f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x45b80c
push 0x497c88
push 4
push eax
call fcn.004719b7
push eax
call fcn.0043f180
add esp, 0x10
jmp 0x45b81e
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45b88c
push edi
call fcn.00473416
mov edi, dword [eax]
call fcn.00473416
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004705c1
add esp, 0x18
mov ebx, eax
call fcn.00473416
cmp dword [eax], 0
je 0x45b86c
call fcn.00473416
push dword [eax]
call fcn.004540e2
pop ecx
jmp 0x45b873
call fcn.00473416
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x45b88c
cmp ebx, esi
jae 0x45b88c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x45b88e
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fe25
leave
ret
Function at 0x45d2dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x45d322
call fcn.0045e4f1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45d322
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x45d365
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x45d34e
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x45d34e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x45d362
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x46033b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x460369
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x460387
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004602a5
jmp 0x460387
mov eax, dword [esi + 0x14]
test eax, eax
je 0x460387
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004602a5
test edi, edi
mov eax, edi
jne 0x460371
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4caba4]
test ecx, ecx
je 0x46044a
jmp 0x46033a
ret 8

Function at 0x46fe25
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b59f4]
jne 0x46fe2f
repz ret
jmp fcn.00476fbc