joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401be6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [ebp + 8]
mov dword [esp + 4], 0x65
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
lea edx, [ebp - 0x3c]
mov edi, edx
push ecx
xchg esi, eax
xor eax, eax
push ecx
mov dword [section..bss], ebx
push 9
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], sym._WindowProc_16
mov dword [esp + 4], 0x7f00
and dword [esp], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push edi
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 5
mov dword [esp], ebx
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0x65
and dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x20], str.DotNetPatcherBundle
mov dword [ebp - 0x1c], eax
sub esp, 0x18
lea eax, [ebp - 0x48]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x18], 0x145
mov dword [esp + 0x14], 0x12c
mov dword [esp + 0x10], 0x12c
mov dword [esp + 0xc], 0xca0000
mov dword [esp + 8], str.WUR_Prerequisites_Installer
mov dword [esp + 4], str.DotNetPatcherBundle
and dword [esp + 0x2c], 0
and dword [esp + 0x24], 0
and dword [esp + 0x20], 0
and dword [esp], 0
call esi
sub esp, 0x30
mov dword [0x5b2600c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x41
mov dword [esp + 0x18], 0xbe
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x50010001
mov dword [esp + 8], str.Start
mov dword [esp + 4], str.BUTTON
and dword [esp + 0x2c], 0
and dword [esp + 0x24], 0
and dword [esp], 0
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x30
mov dword [0x5b26008], eax
mov dword [esp + 4], 1
mov eax, dword [0x5b2600c]
mov dword [esp], eax
call ebx
push eax
push eax
mov dword [esp + 4], 1
mov eax, dword [0x5b26008]
mov dword [esp], eax
call ebx
push eax
push eax
lea ebx, [ebp - 0x64]
and dword [esp + 0xc], 0
mov dword [esp], ebx
and dword [esp + 8], 0
and dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetMessageW]
sub esp, 0x10
test eax, eax
je 0x401db9
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edx
jmp 0x401d81
mov eax, dword [ebp - 0x5c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x402f3e
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x40e1c0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x14
mov eax, 0x408e2e
call fcn.00408178
mov ecx, dword [ebp + 0x130]
mov edi, dword [ebp + 0x12c]
xor ebx, ebx
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ebx
call dword [0x40a1b0]
push eax
call fcn.00408c3e
mov esi, eax
cmp esi, ebx
jne 0x402fa0
push 0x40a824
mov ecx, edi
call dword [0x40a1ac]
mov eax, edi
jmp 0x40307b
lea ecx, [ebp]
call dword [0x40a1b8]
push esi
mov dword [ebp - 4], 1
call fcn.00408678
push esi
mov edi, eax
push ebx
push edi
call fcn.0040816c
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push edi
push esi
push ebx
call dword [0x40a1b0]
push eax
call fcn.00408c38
test eax, eax
je 0x403051
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00408c32
push 0x103
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.0040816c
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str.StringFileInfo_04x_04xOriginalFilename
lea eax, [ebp + 0x1c]
push 0x104
push eax
call dword [0x40a298]
add esp, 0x20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
push edi
mov dword [ebp - 0x14], ebx
call fcn.00408c32
test eax, eax
je 0x403051
cmp dword [ebp - 0x14], ebx
je 0x403051
push dword [ebp - 0x14]
lea ecx, [ebp]
call dword [0x40a190]
push edi
call fcn.00408672
pop ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
call dword [0x40a194]
lea ecx, [ebp]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], bl
call dword [0x40a1b4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0040815c
add ebp, 0x124
leave
ret
Function at 0x404650
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x40e1c0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x58
mov eax, 0x408fd7
call fcn.00408178
mov edi, dword [ebp + 0x12c]
push 0x31
push 0x40a97c
push 0x40a910
xor ebx, ebx
push ebx
call dword [0x40a330]
xor esi, esi
inc esi
cmp eax, esi
jne 0x4047b6
push str.Click_OK_Btn__Terminate_Process_and_Open_URL
lea ecx, [ebp - 0x28]
call dword [0x40a1ac]
push dword [ebp + 0x130]
lea eax, [ebp - 0x28]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.00402e09
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [0x40a1b4]
push 5
push ebx
push str.http:__qqgame.qq.com
push str.iexplore
push ebx
push ebx
call dword [0x40a320]
push 0x103
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.0040816c
add esp, 0xc
push ebx
call dword [0x40a01c]
push 0x104
lea ecx, [ebp + 0x1c]
push ecx
push eax
call dword [0x40a040]
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x28]
call dword [0x40a1ac]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], esi
call fcn.00402f3e
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call dword [0x40a1b4]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp]
call dword [0x40a120]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp]
call dword [0x40a19c]
mov edi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp]
call dword [0x40a120]
push dword [0x40a27c]
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.004043ef
lea eax, [ebp]
push str.qqgame.exe
push eax
call dword [0x40a158]
add esp, 0x28
test al, al
je 0x4047a5
push ebx
call dword [0x40a050]
push eax
call dword [0x40a0b8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call dword [0x40a1b4]
xor eax, eax
jmp 0x4047ed
push str.Click_Cancel_Btn
lea ecx, [ebp - 0x64]
call dword [0x40a1ac]
push dword [ebp + 0x130]
lea eax, [ebp - 0x64]
push eax
push edi
mov dword [ebp - 4], 4
call fcn.00402e09
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x64]
call dword [0x40a1b4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0040815c
add ebp, 0x124
leave
ret
Function at 0x4070b7
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call fcn.00408c50
push dword [esi + 4]
mov edi, eax
call fcn.00408c50
mov ebx, dword [ebp + 0xc]
and dword [ebp + 8], 0
mov esi, eax
lea eax, [ebp - 0x10]
sub ebx, eax
mov eax, dword [ebp + 8]
lea eax, [ebx + eax*4]
push dword [ebp + eax - 0x10]
call fcn.00408c50
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
cmp dword [ebp + 8], 4
mov dword [ebp + ecx*4 - 0x10], eax
jl 0x4070e2
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 4]
mov ebx, edi
shl ebx, 4
add ebx, dword [ebp - 8]
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
shr edx, 5
add edx, dword [ebp - 0xc]
mov ebx, esi
shl ebx, 4
add ebx, dword [ebp - 0x10]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
sub edi, edx
add eax, 0x61c88647
dec ecx
jne 0x407109
push edi
call fcn.00408c4a
mov edi, dword [ebp + 0x10]
push esi
mov dword [edi], eax
call fcn.00408c4a
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4073f2
Capabilities:
Parse pe header

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
mov esi, ecx
mov ecx, dword [esp + 0x20]
push 0x80000000
call dword [0x40a1b0]
push eax
call dword [0x40a088]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x40748f
push edi
push edi
push edi
push 2
push edi
push eax
call dword [0x40a084]
mov dword [esi + 8], eax
cmp eax, edi
je 0x40748f
push edi
push edi
push edi
push 4
push eax
call dword [0x40a080]
mov dword [esi + 0xc], eax
cmp eax, edi
je 0x40748f
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp cx, word [eax]
jne 0x40748f
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esi + 0x18], eax
cmp eax, edi
je 0x40748f
cmp dword [eax], 0x4550
jne 0x40748f
movzx eax, word [eax + 6]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
add eax, 0x18
mov dword [esi + 0x1c], eax
mov eax, dword [eax + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x1c]
add eax, 0xe0
mov dword [esi + 0x24], eax
xor eax, eax
inc eax
jmp 0x407491
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x40755e
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0040816c
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x124
lea eax, [esp + 0x20]
push ebp
push esi
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.Imagine.DLL
lea edx, [esp + 0x2c]
push 0x5c
push edx
call fcn.00401140
add esp, 8
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
jne 0x401058
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x124
ret 0x10
push str.ImagineLoaderCreate
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x401078
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x124
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 8]
push 1
push ecx
push eax
push 0
mov dword [esp + 0x18], 1
call esi
mov esi, eax
test esi, esi
jne 0x4010a6
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x124
ret 0x10
mov edx, dword [esp + 0x13c]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
call esi
test eax, eax
je 0x401102
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
jne 0x4010e1
pop edi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebp
mov eax, dword [esp + 0xc]
add esp, 0x124
ret 0x10
Function at 0x402b20
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.00404678
test esi, esi
jne 0x402b56
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.00404768
jmp 0x402b74
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a34
mov edi, eax
test esi, esi
je 0x402b74
cmp dword [ebx], 0
je 0x402b74
dec esi
jmp 0x402b5d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40369c
Capabilities:
Query or enumerate registry value

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

Function at 0x4044fc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50204c], 0
je 0x40455d
cmp word [0x502220], 0xd7b2
jne 0x404525
cmp dword [0x502228], 0
jbe 0x404525
mov eax, 0x50221c
call dword [0x502238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ff054
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 0x404584
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ff01c], 0
jne 0x404579
push 0
push 0x4ff074
push 0x4ff054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406354
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 0x406584
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4063d7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406584
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4063d7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4065a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406460
xor eax, eax
push ebp
push 0x406459
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040619c
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 0x40643e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4065c0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40643e
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 0x406460
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 0x40657a
cmp byte [ebp - 0xd], 0
jne 0x4064a7
cmp byte [ebp - 0x12], 0
je 0x40657a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4064c0
dec ebx
cmp byte [ebx], 0x2e
je 0x4064cf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4064bf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40657a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40650c
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 0x40657a
cmp byte [ebp - 0xd], 0
je 0x40657a
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 0x40657a
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 0x40c2f0
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c329
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404768
jmp 0x40c332
mov eax, ebx
mov edx, esi
call fcn.004046cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c33c
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 0x40c35d
mov al, byte [esp]
jmp 0x40c35f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d8b8
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 0x40d91c
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.004048e0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004091f0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d923
lea eax, [ebp - 0xc]
call fcn.00404678
ret

Function at 0x421f58
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x502a24
cmp dword [edi], 0
jne 0x421fd4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x502a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ff534
mov ecx, 2
call fcn.004029f4
mov edx, 0x421f30
lea eax, [esi + 5]
call fcn.00421f50
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421f50
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 0x421fa9
mov dword [0x502a20], 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 0x423510
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 0x423516
ret
Function at 0x425bb0
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 0x425c01
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425be8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425bd8
jmp 0x425c01
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 0x425be9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437290
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43738f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004485d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x210], 0
je 0x437379
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x4372ed
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404678
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x437323
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404858
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404938
jmp 0x437345
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00404930
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.00404bc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00404930
test eax, eax
jle 0x437360
push ebp
call fcn.004371a8
pop ecx
jmp 0x437379
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.00403a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437396
lea eax, [ebp - 0xc]
call fcn.00404678
ret

Function at 0x43b5fc
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.00404b18
xor eax, eax
push ebp
push 0x43b72a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43b6fd
xor eax, eax
push ebp
push 0x43b6f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404930
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43b6cb
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 0x43b6ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404930
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b28
mov edx, ebx
pop ecx
call fcn.004029f4
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 0x43b6c1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5011bc]
mov dl, 1
mov eax, dword [0x407ea4]
call fcn.0040cbb4
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b731
lea eax, [ebp - 4]
call fcn.00404678
ret