joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x40db35
push edi
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40db2d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40db2d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x40db26
mov ecx, dword [ebp - 4]
push ecx
call fcn.00445dc6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40db26
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push ebx
call fcn.0044d4f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor esi, esi
cmp ebx, esi
je 0x40db79
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4cd010
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40db70
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov esi, 1
push ebx
call fcn.00445f81
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40df60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40dfce
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40df9d
cmp eax, 2
jne 0x40dfb8
mov eax, dword [ebp - 4]
test esi, esi
je 0x40dfc8
test eax, eax
je 0x40dfc3
test al, 1
jne 0x40dfb8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40dfc8
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x44b7e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xec
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], 0x2a304c7a
mov ecx, 0x3d090c
mov dword [esp + 0x1c], 0x3c4d2b52
mov dword [esp + 0x20], 0x69304464
mov dword [esp + 0x24], 0x3067474b
mov dword [esp + 0x28], 0x6b752677
mov dword [esp + 0x2c], 0x65505561
mov dword [esp + 0x30], 0x6c4f3e
mov dword [esp + 0x44], 0x65006b
mov dword [esp + 0x48], 0x6e0072
mov dword [esp + 0x4c], 0x6c0065
mov dword [esp + 0x50], 0x320033
add byte [edx], dh
add bh, al
inc esp
and al, 0x54
add byte cs:[eax + eax - 0x39], ah
inc esp
and al, 0x58
insb byte es:[edi], dx
add byte [eax + eax + 0x66], ch
mov dword [esp + 0x5c], eax
mov edi, edi
xor eax, eax
mov byte [esp + eax + 0x80], al
inc eax
cmp eax, 0x6a
jb 0x44b868
dec ecx
jne 0x44b866
cmp byte [esp + 0xb0], 0x30
push ebx
push ebp
push esi
push edi
jne 0x44b893
lea ecx, [esp + 0x54]
call fcn.0044bd76
mov esi, eax
mov esi, dword [esp + 0x50]

Function at 0x44ba3c
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [esi*8]
sub ecx, esi
mov esi, dword [esp + 0x78]
shl ecx, 2
add esi, edi
sub eax, ecx
mov ecx, dword [esp + 0x84]
sub eax, dword [esp + 0x10]
movzx eax, byte [esp + eax + 0x2b]
xor al, byte [ecx + edi]
mov byte [edi + 3], al
mov eax, 0x24924925
mul esi
mov eax, ebx
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 2
mov esi, dword [esp + 0x88]
sub eax, ecx
sub eax, dword [esp + 0x10]
add esi, edi
mov ecx, dword [esp + 0x70]
movzx eax, byte [esp + eax + 0x2c]
xor al, byte [ecx + edi]
mov byte [edi + 4], al
mov eax, 0x24924925
mul esi
mov eax, ebx
add ebx, 6
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
lea ecx, [esi*8]
sub ecx, esi
mov esi, dword [esp + 0x48]
shl ecx, 2
sub eax, ecx
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x10]
movzx eax, byte [esp + eax + 0x2d]
xor al, byte [ecx + edi]
mov byte [edi + 5], al
add edi, 6
cmp ebx, 0x4800
jb 0x44b986
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax + ebp + 0x50]
movsx eax, byte [esp + 0x98]
shl eax, 3
push eax
push 0x3000
push ecx
push 0
call dword [esp + 0x30]
mov edi, eax

Function at 0x44bb10
Capabilities:
Enumerate pe sections

Disassembly:
test edi, edi
je 0x44bd3a
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
mov dword [esp + 0x1c], ebx
movzx eax, word [ebx + 0x14]
lea ecx, [ebx + 0x18]
mov edx, dword [ebx + 0x54]
add ecx, eax
mov eax, edi
mov dword [esp + 0x20], ecx
sub eax, dword [ebx + 0x34]
mov dword [esp + 0x44], eax
mov dword [ebx + 0x34], edi
test edx, edx
je 0x44bb57
push ss
mov esi, ebp
mov ecx, edi
sub esi, edi
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x44bb47
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0xa4]
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
cmp ax, word [ebx + 6]
jae 0x44bd3a
lea esi, [ecx + 0xc]
Function at 0x44be46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
add edx, edi
mov ebx, dword [eax + 0x18]
add ecx, edi
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x24]
add edx, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
test ebx, ebx
je fcn.0044beac
mov edx, dword [ecx + esi*4]
xor eax, eax
mov cl, byte [edx + edi]
add edx, edi
test cl, cl
je 0x44be9f
movzx ecx, cl
lea edx, [edx + 1]
or ecx, 0x60
add eax, ecx
mov cl, byte [edx]
add eax, eax
test cl, cl
jne 0x44be8c
cmp eax, ebp
je 0x44beb6
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, ebx
jb 0x44be7e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x45df05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044e323
and dword [ebp - 4], 0
cmp dword [0x4e8e18], 0
mov ebx, eax
jne 0x45dfb6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e067
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45e067
push eax
call fcn.0044e2b1
mov dword [esp], 0x4ac270
push edi
mov dword [0x4e8e18], eax
call esi
push eax
call fcn.0044e2b1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4e8e1c], eax
call esi
push eax
call fcn.0044e2b1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e8e20], eax
call esi
push eax
call fcn.0044e2b1
pop ecx
mov dword [0x4e8e28], eax
test eax, eax
je 0x45dfb6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e2b1
pop ecx
mov dword [0x4e8e24], eax
mov eax, dword [0x4e8e24]
cmp eax, ebx
je 0x45e00e
cmp dword [0x4e8e28], ebx
je 0x45e00e
push eax
call fcn.0044e32c
push dword [0x4e8e28]
mov esi, eax
call fcn.0044e32c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45e00e
test edi, edi
je 0x45e00e
call esi
test eax, eax
je 0x45e005
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e005
test byte [ebp - 0xc], 1
jne 0x45e00e
or dword [ebp + 0x10], 0x200000
jmp 0x45e047
mov eax, dword [0x4e8e1c]
cmp eax, ebx
je 0x45e047
push eax
call fcn.0044e32c
pop ecx
test eax, eax
je 0x45e047
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45e047
mov eax, dword [0x4e8e20]
cmp eax, ebx
je 0x45e047
push eax
call fcn.0044e32c
pop ecx
test eax, eax
je 0x45e047
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e8e18]
call fcn.0044e32c
pop ecx
test eax, eax
je 0x45e067
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e069
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x463390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
test eax, eax
jne 0x46339e
xor al, al
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x463150
push 0
push 0
mov dword [ebp - 4], 0
call fcn.0044612f
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4633c9
test esi, esi
jne 0x4633d0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49cf20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x81e
push eax
lea ecx, [ebp - 0x822]
mov dword [ebp - 0x828], 0
push ecx
mov word [ebp - 0x824], ax
call fcn.0044b7d0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x824]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x828]
mov ecx, 0x208
lea edx, [ebp - 0x824]
call fcn.0048e7a0
test eax, eax
jl 0x49cfac
mov eax, dword [ebp - 0x828]
push SysReAllocString
mov ecx, 0x208
push 0x4af9b0
sub ecx, eax
lea edx, [ebp + eax*2 - 0x824]
call fcn.0048e7e0
lea edi, [ebp - 0x828]
mov ecx, 0x208
lea edx, [ebp - 0x824]
call fcn.0048e7a0
pop edi
test eax, eax
jl 0x49cfea
mov eax, dword [ebp - 0x828]
push SysReAllocString
mov ecx, 0x208
push str.360SkinView
sub ecx, eax
lea edx, [ebp + eax*2 - 0x824]
call fcn.0048e7e0
push 0
lea eax, [ebp - 0x824]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
lea ecx, [ebp - 0x824]
call fcn.00411220
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0044557a
mov esp, ebp
pop ebp
ret
Function at 0x402940
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x40297d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x40299d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404b40
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004048d0
test esi, esi
jne 0x402b3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004049c0
jmp 0x402b58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a18
mov edi, eax
test esi, esi
je 0x402b58
cmp dword [ebx], 0
je 0x402b58
dec esi
jmp 0x402b41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40394c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x489020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4039e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4039c4
xor eax, eax
push ebp
push 0x4039bd
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 0x403a00
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 0x4039c4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x489020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x489020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b04c], 0
je 0x404711
cmp word [0x48b220], 0xd7b2
jne 0x4046d9
cmp dword [0x48b228], 0
jbe 0x4046d9
mov eax, 0x48b21c
call dword [0x48b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x489090
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 0x404738
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x489030], 0
jne 0x40472d
push 0
push 0x489088
push 0x489090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404884
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.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48b04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40484c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406714
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 0x40677a
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.00404b40
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403510
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406764
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406781
lea eax, [ebp - 0x10]
call fcn.004048d0
ret

Function at 0x40928c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d90
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4092a5
test al, 0x10
jne 0x4092a9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409398
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404d90
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4093ba
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40ca54
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 0x40ca8d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049c0
jmp 0x40ca96
mov eax, ebx
mov edx, esi
call fcn.00404924
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40caa0
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 0x40cac1
mov al, byte [esp]
jmp 0x40cac3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d148
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cfc0
mov eax, dword [0x48a954]
cmp byte [eax], 0
je 0x40d1c4
mov eax, dword [0x48a614]
call fcn.00402f60
call fcn.00402894
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.004096d8
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 0x40d20c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d1fa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48a598]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48b668]
call fcn.00405c28
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 0x40dacc
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 0x40dba2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404968
lea eax, [ebp - 8]
call fcn.00404de0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d90
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40db8c
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40db85
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.00404d90
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40db6f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dbb4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40db6f
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 0x40db8c
mov eax, dword [ebp - 0x10]
call fcn.0040274c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dba9
lea eax, [ebp - 8]
call fcn.004048d0
ret

Function at 0x40e120
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 0x40e184
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.00404b40
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408eb8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e18b
lea eax, [ebp - 0xc]
call fcn.004048d0
ret
Function at 0x41eef0
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.0041ed48
dec esi
jne 0x41ef12
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x420054
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48b88c
cmp dword [edi], 0
jne 0x4200d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48b888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4894a0
mov ecx, 2
call fcn.004029d8
mov edx, 0x42002c
lea eax, [esi + 5]
call fcn.0042004c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042004c
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 0x4200a5
mov dword [0x48b888], 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 0x421674
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 0x42167a
ret

Function at 0x423d7c
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 0x423dcd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423db4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423da4
jmp 0x423dcd
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 0x423db5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ca68
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.00404d80
xor eax, eax
push ebp
push 0x42cb96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42cb69
xor eax, eax
push ebp
push 0x42cb62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b90
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42cb37
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 0x42cb26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b90
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d90
mov edx, ebx
pop ecx
call fcn.004029d8
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 0x42cb2d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x48a4e0]
mov dl, 1
mov eax, dword [0x407c1c]
call fcn.0040d2f0
call fcn.00404268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cb9d
lea eax, [ebp - 4]
call fcn.004048d0
ret