joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402cdd
Capabilities:
Terminate process

Disassembly:
mov eax, dword [str.xaaxr_ut095noosernf34985y9237yrjnlms84thzcne9hwjoelkm8u59843]
push ebx
push ebp
xor ebx, ebx
lea ebp, [eax + 0x3c]
push edi
cmp dword [ebp], ebx
je 0x402ccf
push str.Software_Gold_Club
mov ecx, 0x426c5c
mov dword [0x426c30], ebx
mov dword [0x426c34], ebx
mov dword [0x426c38], ebx
mov dword [0x426c3c], ebx
mov dword [0x426c40], ebx
mov dword [0x426c44], ebx
mov dword [0x426c48], ebx
mov dword [0x426c4c], ebx
mov dword [0x426c50], ebx
mov dword [0x426c54], ebx
call fcn.00410fb1
push str.www.SoftwareGoldClub.com
mov ecx, 0x426c60
call fcn.00410fb1
push 0x426b68
mov ecx, 0x426c64
call fcn.00410fb1
push 0x426b68
mov ecx, 0x426c58
call fcn.00410fb1
mov ecx, 0xc
xor eax, eax
mov edi, 0x426c6c
rep stosd dword es:[edi], eax
pop edi
mov dword [0x426c9c], ebx
mov dword [0x426ca0], ebx
mov dword [0x426ca4], ebx
mov dword [0x426ca8], ebx
mov dword [0x426cac], ebx
mov dword [0x426cb0], ebx
mov dword [0x426cb4], ebx
mov dword [0x426cb8], ebx
mov byte [0x426cbc], bl
pop ebp
mov byte [0x426cbd], 0x57
mov al, 1
pop ebx
ret
push ebp
call fcn.00402bd0
add esp, 4
test al, al
jne 0x402cf0
push ebx
push 0x10
push str.Branding_check_failure__software_corrupted_
call fcn.00417296
push 1
call fcn.0040593a
mov dword [0x426c30], 1
mov ecx, dword [ebp + 4]
mov dword [0x426c34], ecx
mov edx, dword [ebp + 8]
mov dword [0x426c38], edx
mov eax, dword [ebp + 0xc]
mov dword [0x426c3c], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x426c40], ecx
mov edx, dword [ebp + 0x14]
mov dword [0x426c44], edx
mov eax, dword [ebp + 0x18]
mov dword [0x426c48], eax
mov ecx, dword [ebp + 0x1c]
mov dword [0x426c4c], ecx
mov ecx, dword [str.xaaxr_ut095noosernf34985y9237yrjnlms84thzcne9hwjoelkm8u59843]
mov edx, dword [ebp + 0x20]
add ecx, 0xa0
push esi
mov dword [0x426c50], edx
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, 0x426c5c
mov dword [0x426c54], eax
call fcn.00410fb1
mov edx, dword [str.xaaxr_ut095noosernf34985y9237yrjnlms84thzcne9hwjoelkm8u59843]
mov ecx, 0x426c60
add edx, 0x104
push edx
call fcn.00410fb1
mov eax, dword [str.xaaxr_ut095noosernf34985y9237yrjnlms84thzcne9hwjoelkm8u59843]
mov ecx, 0x426c64
add eax, 0x168
push eax
call fcn.00410fb1
mov ecx, dword [str.xaaxr_ut095noosernf34985y9237yrjnlms84thzcne9hwjoelkm8u59843]
add ecx, 0x64
push ecx
mov ecx, 0x426c58
call fcn.00410fb1
lea esi, [ebp + 0x384]
mov ecx, 0xc
mov edi, 0x426c6c
add ebp, 0x3d8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x24]
push ebp
mov dword [0x426c9c], edx
mov eax, dword [ebp - 0x20]
mov dword [0x426ca0], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x426ca4], ecx
mov edx, dword [ebp - 0x18]
mov dword [0x426ca8], edx
mov eax, dword [ebp - 0x14]
mov dword [0x426cac], eax
mov ecx, dword [ebp - 0x10]
mov dword [0x426cb0], ecx
mov edx, dword [ebp - 0xc]
mov dword [0x426cb4], edx
mov eax, dword [ebp - 8]
mov dword [0x426cb8], eax
mov ecx, dword [ebp - 4]
shr ecx, 8
mov byte [0x426cbc], cl
mov dl, byte [ebp - 4]
mov ecx, 0x426c68
mov byte [0x426cbd], dl
call fcn.00410fb1
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x409649
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4262e0
cmp edx, dword [eax]
je 0x40966b
add eax, 8
inc ecx
cmp eax, 0x426370
jl 0x40965c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4262e0]
jne 0x409799
mov eax, dword [0x428cec]
cmp eax, 1
je 0x409773
test eax, eax
jne 0x40969c
cmp dword [0x425e14], 1
je 0x409773
cmp edx, 0xfc
je 0x409799
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4096d3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408c00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408cf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409716
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408cf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41ced4
push edi
call fcn.00405750
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408c00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408c10
lea eax, [ebp - 0xa0]
push 0x4253e4
push eax
call fcn.00408c10
push dword [esi + 0x4262e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408c10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040af39
add esp, 0x2c
pop edi
jmp 0x409799
lea eax, [ebp + 8]
lea esi, [esi + 0x4262e4]
push 0
push eax
push dword [esi]
call fcn.00408cf0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40f5f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00406190
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x40f6bb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x40f6bb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x40f66e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x40f679
or bh, 8
and edi, 0x8000000
je 0x40f694
mov eax, dword [0x42a41c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x40f6bb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fa90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40fabb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x40fadf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x40fafa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x410abc
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x410aec
push edi
call ebx
push eax
call fcn.0041198c
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x410b16
test byte [ebp - 4], 1
je 0x410b16
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x410b16
push edi
call ebx
push eax
call fcn.0041198c
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x410bbc
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00410a09
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x410b48
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00410a09
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x410b5e
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00410a09
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410b88
push 0
call ebx
push eax
call fcn.0041198c
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x410ba6
push eax
call ebx
push eax
call fcn.0041198c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x410bba
push eax
call ebx
push eax
call fcn.0041198c
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x410be3
test byte [ebp - 4], 1
jne 0x410be3
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x410be3
push edi
call ebx
push eax
call fcn.0041198c
pop edi
pop ebx
leave
ret 8

Function at 0x415634
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x415676
call fcn.00417d43
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x415676
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41566d
xor eax, eax
jmp 0x41567e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00415684
pop edi
pop esi
pop ebx
ret 4
Function at 0x418e05
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 0x418e33
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x418e51
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00418d6b
jmp 0x418e51
mov eax, dword [esi + 0x14]
test eax, eax
je 0x418e51
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00418d6b
test edi, edi
mov eax, edi
jne 0x418e3b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406660
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 0x4066c6
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.00404514
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e10
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066cd
lea eax, [ebp - 0x10]
call fcn.004042a4
ret

Function at 0x40c348
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 0x40c381
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404394
jmp 0x40c38a
mov eax, ebx
mov edx, esi
call fcn.004042f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ca3c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c8b4
mov eax, dword [0x4e45dc]
cmp byte [eax], 0
je 0x40cab8
mov eax, dword [0x4e4208]
call fcn.00402bd4
call fcn.00402a44
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.00409514
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 0x40cb00
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40caee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e4180]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e5668]
call fcn.00405b58
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 0x40d3c0
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 0x40d496
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040433c
lea eax, [ebp - 8]
call fcn.004047b4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404764
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d480
mov eax, ebx
call fcn.004028dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d479
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.00404764
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d463
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d4a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d463
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 0x40d480
mov eax, dword [ebp - 0x10]
call fcn.004028fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d49d
lea eax, [ebp - 8]
call fcn.004042a4
ret

Function at 0x40d914
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 0x40d978
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.00404514
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ff4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d97f
lea eax, [ebp - 0xc]
call fcn.004042a4
ret

Function at 0x42381c
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.00423674
dec esi
jne 0x42383e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e588c
cmp dword [edi], 0
jne 0x4249fc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e5888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e26bc
mov ecx, 2
call fcn.00402ad8
mov edx, 0x424958
lea eax, [esi + 5]
call fcn.00424978
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424978
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 0x4249d1
mov dword [0x4e5888], 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 0x425c18
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 0x425c1e
ret

Function at 0x428060
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 0x4280b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428098
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428088
jmp 0x4280b1
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 0x428099
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4351e4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x435130
call sub.user32.dll_EnumWindows
ret

Function at 0x435304
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x435381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434d64
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x435329
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434964
cmp dword [ebp - 4], 0
je 0x43536b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404764
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435388
lea eax, [ebp - 4]
call fcn.004042a4
ret

Function at 0x43834c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4e5b5c], 0
je 0x43849b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4e450c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43849b
mov eax, dword [0x4e5b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e5b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43846a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e5b5c]
call fcn.0041d050
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x438462
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x438462
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x438462
mov eax, dword [ebp - 0x14]
call fcn.00440fe4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x438462
push ebp
call fcn.00438308
pop ecx
test al, al
jne 0x438462
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43841e
mov eax, dword [ebp - 0x14]
call fcn.0043fb14
dec eax
jle 0x438462
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403604
cmp byte [ebp - 1], 0
je 0x438462
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438462
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e5b60]
call fcn.00437ad4
inc edi
dec ebx
jne 0x4383b1
mov eax, dword [0x4e5b60]
cmp dword [eax + 8], 0
jle 0x438482
mov eax, dword [0x4e5b60]
call fcn.00437b64
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43849b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00438170
pop ecx
test al, al
jne 0x43849b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret