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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x453968
call fcn.0044f1e3
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x453968
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x453984
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045b4ba
mov ebx, eax
test edi, edi
je 0x453982
test esi, esi
je 0x453982
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x459a18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0044f1e3
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x459a4f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00459a70
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46e68b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0045aae9
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x46e6c7
call fcn.0046e8aa
mov dword [esi + 0xc], 1
jmp 0x46e6cc
call fcn.0046e8aa
cmp dword [esi], 0
je 0x46e715
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x46e6ef
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004539db
jmp 0x46e700
push 0xff
mov ecx, esi
call fcn.00442880
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004518f0
jmp 0x46e739
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x46e739
push dword [esi]
push dword [ebp - 4]
call fcn.004608f0
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e7ff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0046e8aa
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46e847
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004539db
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004518f0
jmp 0x46e852
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004608f0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x479eac
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0048d1f8
call fcn.0044f237
cmp dword [eax + 0x14], 0
jne 0x479ec7
mov ecx, esi
pop esi
jmp fcn.0047928a
pop esi
ret

Function at 0x487936
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004057b0
call fcn.0044f237
cmp dword [eax + 0x14], 0
jne 0x487951
mov ecx, esi
pop esi
jmp fcn.0048721f
pop esi
ret
Function at 0x58c7c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0057ed7c
mov dword [ebp - 0x14], eax
cmp dword [0x639b6c], esi
jne 0x58c8bb
push 0x800
push esi
push 0x5f6ba0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58c848
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58c99b
push esi
push esi
push 0x5f6ba0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58c99b
push 0x5f6bb8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58c99b
push eax
call ebx
push 0x5f6bc4
push edi
mov dword [0x639b6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6bd4
push edi
mov dword [0x639b70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6be8
push edi
mov dword [0x639b74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639b7c], eax
test eax, eax
je 0x58c8b8
push 0x5f6c04
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639b78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58c8e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58c8d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58c8f5
push 4
pop eax
jmp 0x58c99d
cmp dword [ebp - 0x14], esi
je 0x58c8f5
push dword [0x639b6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58c8da
mov eax, dword [0x639b78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58c953
cmp dword [0x639b7c], edi
je 0x58c953
push eax
call ebx
push dword [0x639b7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58c953
test eax, eax
je 0x58c953
call ecx
test eax, eax
je 0x58c948
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x58c948
test byte [ebp - 8], 1
jne 0x58c953
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58c983
mov eax, dword [0x639b70]
cmp eax, edi
je 0x58c980
push eax
call ebx
test eax, eax
je 0x58c980
call eax
mov esi, eax
test esi, esi
je 0x58c980
mov eax, dword [0x639b74]
cmp eax, edi
je 0x58c980
push eax
call ebx
test eax, eax
je 0x58c980
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x639b6c]
call ebx
test eax, eax
je 0x58c99b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58c99d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005745ae
mov esp, ebp
pop ebp
ret
Function at 0x59c688
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x401467
Capabilities:
Hide graphical window

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x74
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x401000
mov dword [esp + 0x5c], 0
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.USER32.dll_LoadIconA]
push edi
push edi
mov dword [esp + 0x60], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebp
push ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 6
mov dword [esp + 0x70], str.imgdlgclass
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push eax
mov dword [0x463010], 0
mov dword [0x46300c], 0
mov dword [0x463018], 0xbf
mov dword [0x463014], 0x1fa
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
mov dword [esp], 0x46300c
call dword [sym.imp.USER32.dll_AdjustWindowRect]
sub esp, 0xc
mov esi, dword [0x463014]
sub esi, dword [0x46300c]
mov edi, dword [0x463018]
sub edi, dword [0x463010]
mov dword [esp], 0
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebp
push edx
sub eax, esi
mov ebx, eax
mov dword [esp], 1
call ebp
push ecx
sub eax, edi
mov ecx, eax
xor ebp, ebp
cmp ebx, 0xffffffff
jl 0x401587
mov ebp, 2
mov eax, ebx
cdq
idiv ebp
mov ebp, eax
xor eax, eax
cmp ecx, 0xffffffff
jl 0x401598
mov ebx, 2
mov eax, ecx
cdq
idiv ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 0x30
mov ebx, eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea ebx, [esp + 0x30]
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetMessageA]
sub esp, 0x10
test eax, eax
je 0x401650
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edx
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x40160e
mov dword [esp + 4], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UnregisterClassA]
push eax
push eax
add esp, 0x74
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402d1c
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 0x402d59
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 0x402d79
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404a60
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402fc8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403021
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402e64
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402e64
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x40300b
inc ebx
jmp 0x402ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403028
lea eax, [ebp - 8]
call fcn.004047f0
ret

Function at 0x403030
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047f0
test esi, esi
jne 0x403067
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004048e0
jmp 0x403088
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e64
mov dword [esp], eax
test esi, esi
je 0x403088
cmp dword [ebx], 0
je 0x403088
dec esi
jmp 0x40306f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4037e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x5d7020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40387c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40385c
xor eax, eax
push ebp
push 0x403855
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 0x403898
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 0x40385c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x5d7020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x5d7020], ax
mov esp, ebp
pop ebp
ret
Function at 0x4045c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5f604c], 0
je 0x404629
cmp word [0x5f6220], 0xd7b2
jne 0x4045f1
cmp dword [0x5f6228], 0
jbe 0x4045f1
mov eax, 0x5f621c
call dword [0x5f6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x5d706c
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 0x404650
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5d7030], 0
jne 0x404645
push 0
push 0x5d7064
push 0x5d706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4047a4
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.00402ae4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x5f604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40476c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406a88
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 0x406aee
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.00404a60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403378
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406ad8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406af5
lea eax, [ebp - 0x10]
call fcn.004047f0
ret

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

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

Function at 0x409bac
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404cb0
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x409bc0
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.00404cb0
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409be2
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40cb5c
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 0x40cb95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004048e0
jmp 0x40cb9e
mov eax, ebx
mov edx, esi
call fcn.00404844
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d0c8
mov eax, dword [0x5f4da4]
cmp byte [eax], 0
je 0x40d2dc
mov eax, dword [0x5f48fc]
call fcn.004031a8
call fcn.00402c70
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.0040a0f8
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 0x40d324
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d312
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5f4860]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5f6668]
call fcn.00405e98
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 0x40dbf8
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 0x40dcce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404888
lea eax, [ebp - 8]
call fcn.00404d00
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404cb0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dcb8
mov eax, ebx
call fcn.00402ae4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dcb1
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.00404cb0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dc9b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dce0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dc9b
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 0x40dcb8
mov eax, dword [ebp - 0x10]
call fcn.00402b14
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcd5
lea eax, [ebp - 8]
call fcn.004047f0
ret

Function at 0x40e434
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 0x40e498
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.00404a60
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004094fc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e49f
lea eax, [ebp - 0xc]
call fcn.004047f0
ret
Function at 0x425224
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.00425050
dec esi
jne 0x425246
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x426388
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5f688c
cmp dword [edi], 0
jne 0x426404
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5f6888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5d75bc
mov ecx, 2
call fcn.00402e24
mov edx, 0x426360
lea eax, [esi + 5]
call fcn.00426380
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426380
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 0x4263d9
mov dword [0x5f6888], 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 0x427b28
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 0x427b2e
ret

Function at 0x42a58c
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 0x42a5dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a5c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a5b4
jmp 0x42a5dd
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 0x42a5c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435c34
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.00404ca0
xor eax, eax
push ebp
push 0x435d62
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x435d35
xor eax, eax
push ebp
push 0x435d2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ab0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435d03
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 0x435cf2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ab0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404cb0
mov edx, ebx
pop ecx
call fcn.00402e24
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 0x435cf9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5f4748]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d414
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435d69
lea eax, [ebp - 4]
call fcn.004047f0
ret