joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b673
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 0x46b6b6
call fcn.0046d7e4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46b6b6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46b6d1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0046b22a
test ebx, ebx
mov esi, eax
je 0x46b6cf
test edi, edi
je 0x46b6cf
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x474439
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4f4890]
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 0x474479
push 0x4de0a0
push 4
push eax
call fcn.0048b124
push eax
call fcn.00406490
add esp, 0x10
jmp 0x47448b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4744f9
push edi
call fcn.00488372
mov edi, dword [eax]
call fcn.00488372
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.00485d91
add esp, 0x18
mov ebx, eax
call fcn.00488372
cmp dword [eax], 0
je 0x4744d9
call fcn.00488372
push dword [eax]
call fcn.0046603a
pop ecx
jmp 0x4744e0
call fcn.00488372
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4744f9
cmp ebx, esi
jae 0x4744f9
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4744fb
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00485a37
leave
ret
Function at 0x4757fe
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 0x475844
call fcn.0046d7e4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x475844
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x475887
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 0x475870
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 0x475870
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x475884
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 0x477004
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 0x477032
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477050
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00476f6e
jmp 0x477050
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477050
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00476f6e
test edi, edi
mov eax, edi
jne 0x47703a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x502be8]
test ecx, ecx
je 0x477113
jmp 0x477003
ret 8

Function at 0x485a37
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f4890]
jne 0x485a41
repz ret
jmp fcn.0048d2ac
Function at 0x48d3b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4f4d00]
je 0x48d3cb
inc edi
cmp edi, 0x17
jb 0x48d3bc
cmp edi, 0x17
jae 0x48d54b
push ebp
push 3
call fcn.0049735e
cmp eax, 1
pop ecx
je 0x48d517
push 3
call fcn.0049735e
test eax, eax
pop ecx
jne 0x48d3ff
cmp dword [0x4f4a38], 1
je 0x48d517
cmp ebx, 0xfc
je 0x48d54a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x503230
push ebp
call fcn.0048b124
add esp, 0xc
test eax, eax
je 0x48d435
push esi
push esi
push esi
push esi
push esi
call fcn.004861f0
add esp, 0x14
push 0x104
mov esi, 0x503249
push esi
push 0
mov byte [0x50334d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x48d479
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0048b124
add esp, 0xc
test eax, eax
je 0x48d479
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004861f0
add esp, 0x14
push esi
call fcn.0048aa00
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x48d4be
push esi
call fcn.0048aa00
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x503544
push 0x4dfaf4
sub ecx, eax
push ecx
push eax
call fcn.0048a8f1
add esp, 0x14
test eax, eax
je 0x48d4be
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004861f0
add esp, 0x14
jmp 0x48d4c0
xor esi, esi
push 0x4dfaf0
push ebx
push ebp
call fcn.0048b189
add esp, 0xc
test eax, eax
je 0x48d4e0
push esi
push esi
push esi
push esi
push esi
call fcn.004861f0
add esp, 0x14
push dword [edi*8 + 0x4f4d04]
push ebx
push ebp
call fcn.0048b189
add esp, 0xc
test eax, eax
je 0x48d502
push esi
push esi
push esi
push esi
push esi
call fcn.004861f0
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004971a1
add esp, 0xc
jmp 0x48d54a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x48d54a
cmp ebp, 0xffffffff
je 0x48d54a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4f4d04]
push dword [esi]
call fcn.0048aa00
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4971a1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0048cc4c
xor ebx, ebx
cmp dword [0x503a4c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x497277
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x497357
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e04c0
push edi
call esi
cmp eax, ebx
je 0x497357
push eax
call fcn.0048cbde
mov dword [esp], 0x4e04b0
push edi
mov dword [0x503a4c], eax
call esi
push eax
call fcn.0048cbde
mov dword [esp], 0x4e049c
push edi
mov dword [0x503a50], eax
call esi
push eax
call fcn.0048cbde
mov dword [0x503a54], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00486ec9
test eax, eax
pop ecx
pop ecx
je 0x497245
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004861f0
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x497277
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0048cbde
cmp eax, ebx
pop ecx
mov dword [0x503a5c], eax
je 0x497277
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048cbde
pop ecx
mov dword [0x503a58], eax
mov eax, dword [0x503a58]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4972fc
cmp dword [0x503a5c], ecx
je 0x4972fc
push eax
call fcn.0048cc55
push dword [0x503a5c]
mov esi, eax
call fcn.0048cc55
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4972fc
cmp edi, ebx
je 0x4972fc
call esi
cmp eax, ebx
je 0x4972c9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4972c9
test byte [ebp - 0x18], 1
jne 0x4972fc
lea eax, [ebp - 0x10]
push eax
call fcn.00486f00
test eax, eax
pop ecx
je 0x4972e4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004861f0
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4972f3
or dword [ebp + 0x10], 0x200000
jmp 0x497337
or dword [ebp + 0x10], 0x40000
jmp 0x497337
mov eax, dword [0x503a50]
cmp eax, dword [ebp - 8]
je 0x497337
push eax
call fcn.0048cc55
cmp eax, ebx
pop ecx
je 0x497337
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x497337
mov eax, dword [0x503a54]
cmp eax, dword [ebp - 8]
je 0x497337
push eax
call fcn.0048cc55
cmp eax, ebx
pop ecx
je 0x497337
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x503a4c]
call fcn.0048cc55
cmp eax, ebx
pop ecx
je 0x497357
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x497359
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49c1d2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4f4890]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0049c167
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00485c80
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x49c221
cmp dword [ebp - 0x1c], 5
jb 0x49c239
jmp 0x49c235
cmp dword [ebp - 0x10], 1
jne 0x49c239
cmp dword [ebp - 0x1c], 4
ja 0x49c235
jne 0x49c239
cmp dword [ebp - 0x18], 0
jbe 0x49c239
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4e1684
call fcn.0049c058
test eax, eax
jge 0x49c25a
mov byte [0x4f6130], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00485a37
add ebp, 0x78
leave
ret
Function at 0x402a9c
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.0040418c
test esi, esi
jne 0x402ad2
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.0040427c
jmp 0x402af0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029b0
mov edi, eax
test esi, esi
je 0x402af0
cmp dword [ebx], 0
je 0x402af0
dec esi
jmp 0x402ad9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4b3008], 0x8088405
inc edx
mov dword [ebx + 0x4b3008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403208
Capabilities:
Query or enumerate registry value

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

Function at 0x403f6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b604c], 0
je 0x403fcd
cmp word [0x4b6220], 0xd7b2
jne 0x403f95
cmp dword [0x4b6228], 0
jbe 0x403f95
mov eax, 0x4b621c
call dword [0x4b6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b3070
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 0x403ff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b3034], 0
jne 0x403fe9
push 0
push 0x4b3068
push 0x4b3070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404140
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.00402774
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4b604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404108
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4062ac
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 0x406312
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.004043fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062fc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406319
lea eax, [ebp - 0x10]
call fcn.0040418c
ret

Function at 0x408efc
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.0040464c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408f1e
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40bc10
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 0x40bc49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040427c
jmp 0x40bc52
mov eax, ebx
mov edx, esi
call fcn.004041e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c304
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c17c
mov eax, dword [0x4b59d0]
cmp byte [eax], 0
je 0x40c380
mov eax, dword [0x4b5650]
call fcn.00402bdc
call fcn.004028dc
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.00409238
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 0x40c3c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c3b6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b55b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b6668]
call fcn.004057a4
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 0x40cc70
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 0x40cd46
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404224
lea eax, [ebp - 8]
call fcn.0040469c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040464c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cd30
mov eax, ebx
call fcn.00402774
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cd29
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.0040464c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cd13
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cd58
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd13
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 0x40cd30
mov eax, dword [ebp - 0x10]
call fcn.00402794
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd4d
lea eax, [ebp - 8]
call fcn.0040418c
ret

Function at 0x40d2cc
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 0x40d330
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.004043fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408b5c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d337
lea eax, [ebp - 0xc]
call fcn.0040418c
ret

Function at 0x420db4
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.00420be0
dec esi
jne 0x420dd6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x421f18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b6890
cmp dword [edi], 0
jne 0x421f94
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b688c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b35e0
mov ecx, 2
call fcn.00402970
mov edx, 0x421ef0
lea eax, [esi + 5]
call fcn.00421f10
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421f10
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 0x421f69
mov dword [0x4b688c], 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 0x4235d8
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 0x4235de
ret

Function at 0x425bfc
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 0x425c4d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425c34
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425c24
jmp 0x425c4d
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 0x425c35
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f2f8
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.0040463c
xor eax, eax
push ebp
push 0x42f426
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f3f9
xor eax, eax
push ebp
push 0x42f3f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040444c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f3c7
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 0x42f3b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040444c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040464c
mov edx, ebx
pop ecx
call fcn.00402970
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 0x42f3bd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4b54dc]
mov dl, 1
mov eax, dword [0x4077dc]
call fcn.0040c494
call fcn.00403b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f42d
lea eax, [ebp - 4]
call fcn.0040418c
ret
Function at 0x42f434
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f5e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040483c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42f5fc
call fcn.00404498
mov eax, ebx
call fcn.004214ac
mov edi, eax
dec edi
test edi, edi
jl 0x42f4ec
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421480
mov edx, dword [0x436314]
call fcn.00403524
test al, al
je 0x42f4e8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421480
lea edx, [ebp - 0x14]
call fcn.004433c8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040483c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040450c
inc esi
dec edi
jne 0x42f49a
mov al, byte [0x42f600]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f60c
mov eax, dword [ebp - 0xc]
call fcn.0040d8a4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404224
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004433c8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f5fc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004433c8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f5fc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42f5fc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42f618
call fcn.0040993c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f5ec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004041b0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004041b0
lea eax, [ebp - 0x14]
call fcn.0040418c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004041b0
ret