joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b0c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42b0db
add esp, 0xfffffff0
call fcn.00402ecc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00410cfc
mov dl, 1
mov eax, dword [0x40b674]
call fcn.00402c68
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40b674]
call fcn.00402c68
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x412638]
call fcn.0041949c
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x42b234
mov eax, dword [0x441b48]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00419834
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42c898
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x441b48]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00409bd8
test eax, eax
je 0x42b1bc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406ef8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00409c00
test eax, eax
je 0x42b1d0
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403990
mov eax, dword [0x441aa8]
cmp byte [eax], 0
jne 0x42b201
mov eax, ebx
call fcn.0042b318
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x42b229
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42b56c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4426f0]
cmp dword [eax + 0x24], 0
je 0x42b5fc
cmp dword [ebx + 0x74], 0
jne 0x42b5f9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42b500
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x42b5f9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x42b5c8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42b5f9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040c828
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42b5d4
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42bee4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x42bf19
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403848
jmp 0x42bf23
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004037fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42cb1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x42cb54
mov eax, esi
call fcn.00420484
test al, al
je 0x42cb54
mov eax, dword [ebx + 0x64]
call fcn.004202ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42cb54
push 0
mov eax, dword [ebx + 0x64]
call fcn.004202ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43c1d8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00403ba4
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00403ba4
push eax
mov eax, edi
call fcn.00403ba4
push eax
mov eax, esi
call fcn.00403ba4
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.00403848
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x440028
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403b94
xor eax, eax
push ebp
push 0x44021f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2c4]
call fcn.0043421c
test al, al
je 0x4401ef
mov eax, dword [ebx + 0x1f0]
mov eax, dword [eax + 0x130]
xor edx, edx
call fcn.0040d21c
mov eax, dword [ebp - 4]
mov edx, 0x440234
call fcn.00403af0
jne 0x44009a
mov eax, dword [ebx + 0x1f0]
mov eax, dword [eax + 0x130]
mov edx, 0x440240
call fcn.0040d21c
mov eax, dword [ebp - 4]
mov edx, 0x440268
call fcn.00403af0
jne 0x4400c6
mov eax, dword [ebx + 0x1f0]
mov eax, dword [eax + 0x130]
mov edx, 0x440274
call fcn.0040d21c
push 0x64
call sub.kernel32.dll_Sleep
mov esi, 1
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x2c8]
call fcn.0041c674
push dword [ebp - 0x10]
push 0x440298
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403aa0
mov eax, dword [ebp - 0xc]
lea ecx, [esi + 0x4f]
mov edx, esi
call fcn.00403be4
add esi, 0x50
mov eax, dword [ebx + 0x1f0]
mov eax, dword [eax + 0x130]
mov edx, dword [ebp - 8]
call fcn.0040d21c
cmp dword [ebp - 8], 0
jne 0x4400cb
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x2c8]
call fcn.0041c674
push dword [ebp - 0xc]
push 0x440298
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403aa0
lea eax, [ebx + 0x344]
push eax
lea eax, [ebx + 0x300]
push eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x2c8]
call fcn.0041c674
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
call fcn.00406ddc
mov eax, dword [ebp - 0x14]
call fcn.00403ba4
push eax
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403ba4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
neg eax
sbb eax, eax
neg eax
test al, al
je 0x4401bd
mov eax, dword [ebx + 0x348]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov edx, 0x440234
call fcn.00403af0
jne 0x4401ef
push 0x64
call sub.kernel32.dll_Sleep
jmp 0x4401ef
mov eax, dword [ebp - 4]
mov edx, 0x440234
call fcn.00403af0
jne 0x4401ef
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, 0x4402a4
call fcn.00403a2c
mov eax, dword [ebp - 0x14]
mov cx, word [0x4402b8]
mov dl, 1
call fcn.0043817c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440226
lea eax, [ebp - 0x14]
call fcn.00403764
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403788
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403788
ret
Function at 0x402c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ce08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x44]
mov edi, dword [0x411728]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x38], esi
jne 0x402c8c
mov eax, dword [esp + 0x40]
push esi
push esi
push 0x14b
mov ecx, dword [eax + 0x20]
lea ebp, [eax + 0x20]
push ecx
jmp 0x402c9e
mov edx, dword [esp + 0x40]
push esi
push esi
push 0x184
mov eax, dword [edx + 0x20]
lea ebp, [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x411734], esi
jbe 0x402d44
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add edi, 8
mov edx, dword [0x41171c]
push 0
lea ecx, [esp + 0x18]
push 8
push ecx
push edi
push edx
call ebx
lea eax, [esp + 0x14]
push 9
push eax
lea ecx, [esp + 0x28]
push 0x12
push ecx
mov ecx, 0x411658
mov byte [esp + 0x2c], 0
call fcn.00402b50
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push esi
push str._d:_s
push eax
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x58]
add esp, 0x10
test eax, eax
jne 0x402d1c
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push ecx
push 0
push 0x143
push edx
jmp 0x402d2c
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push eax
push 0
push 0x180
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x411734]
add edi, 0x48
inc esi
cmp esi, eax
jb 0x402cba
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040c28a
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x403174
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x503020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40320c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031ec
xor eax, eax
push ebp
push 0x4031e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403228
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031ec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x503020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x503020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ff8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50604c], 0
je 0x404059
cmp word [0x506220], 0xd7b2
jne 0x404021
cmp dword [0x506228], 0
jbe 0x404021
mov eax, 0x50621c
call dword [0x506238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x50306c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404080
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x503030], 0
jne 0x404075
push 0
push 0x503064
push 0x50306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4041cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404194
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405be8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c6b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c6b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e34
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405cf4
xor eax, eax
push ebp
push 0x405ced
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405cd2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e54
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405cd2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405cf4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405e0e
cmp byte [ebp - 0xd], 0
jne 0x405d3b
cmp byte [ebp - 0x12], 0
je 0x405e0e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d54
dec ebx
cmp byte [ebx], 0x2e
je 0x405d63
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d53
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405e0e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405da0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e0e
cmp byte [ebp - 0xd], 0
je 0x405e0e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e0e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4064fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406562
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404488
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40654c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406569
lea eax, [ebp - 0x10]
call fcn.00404218
ret

Function at 0x40c3fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c435
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404308
jmp 0x40c43e
mov eax, ebx
mov edx, esi
call fcn.0040426c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c448
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c469
mov al, byte [esp]
jmp 0x40c46b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40caf0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c968
mov eax, dword [0x5057c4]
cmp byte [eax], 0
je 0x40cb6c
mov eax, dword [0x5053d0]
call fcn.00402afc
call fcn.00402948
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409464
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cbb4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cba2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x505340]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x506668]
call fcn.004059f4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d474
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d54a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b0
lea eax, [ebp - 8]
call fcn.00404728
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046d8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d534
mov eax, ebx
call fcn.004027e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d52d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046d8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d517
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d55c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d517
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d534
mov eax, dword [ebp - 0x10]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d551
lea eax, [ebp - 8]
call fcn.00404218
ret

Function at 0x40db14
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40db78
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404488
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f14
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db7f
lea eax, [ebp - 0xc]
call fcn.00404218
ret

Function at 0x426150
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00425fa8
dec esi
jne 0x426172
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4272b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x50688c
cmp dword [edi], 0
jne 0x427330
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x506888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x50364c
mov ecx, 2
call fcn.004029dc
mov edx, 0x42728c
lea eax, [esi + 5]
call fcn.004272ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004272ac
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x427305
mov dword [0x506888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428914
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42891a
ret

Function at 0x42b320
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42b371
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42b358
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42b348
jmp 0x42b371
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42b359
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43597c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004046c8
xor eax, eax
push ebp
push 0x435aaa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x435a7d
xor eax, eax
push ebp
push 0x435a76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044d8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435a4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x435a3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044d8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004046d8
mov edx, ebx
pop ecx
call fcn.004029dc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435a41
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x505264]
mov dl, 1
mov eax, dword [0x407af4]
call fcn.0040cc98
call fcn.00403b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435ab1
lea eax, [ebp - 4]
call fcn.00404218
ret