joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
add eax, 0x20
mov dword [esp], eax
call sym._fclose
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fclose
mov eax, dword [0x406264]
test eax, eax
je 0x401e17
cmp byte [0x406040], 0
jne 0x401e60
cmp byte [0x406160], 0
jne 0x401e21
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 4], 0x4040c7
mov dword [esp], 0x406160
call sym._fopen
test eax, eax
mov ebx, eax
je 0x401e17
mov dword [esp], eax
call sym._fgetc
mov dword [esp], ebx
mov esi, eax
call sym._fclose
cmp esi, 0xffffffff
jne 0x401e17
mov dword [esp], 0x406160
call sym._remove
jmp 0x401e17
mov dword [esp + 4], 0x4040c7
mov dword [esp], 0x406040
call sym._fopen
test eax, eax
mov ebx, eax
je 0x401e0e
mov dword [esp], eax
call sym._fgetc
mov dword [esp], ebx
mov esi, eax
call sym._fclose
cmp esi, 0xffffffff
jne 0x401e0e
mov dword [esp], 0x406040
call sym._remove
jmp 0x401e0e

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 0x4781f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
jmp 0x47820a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x478211
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x478200
mov eax, 1
add ebx, ebx
jne 0x478223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x478234
jne 0x478253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x478253
dec eax
add ebx, ebx
jne 0x478240
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x478218
add ebx, ebx
jne 0x47824f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4782a5
xor ecx, ecx
sub eax, 3
jb 0x47826b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4782da
sar eax, 1
mov ebp, eax
jmp 0x478276
add ebx, ebx
jne 0x478276
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x478244
inc ecx
add ebx, ebx
jne 0x478284
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x478244
add ebx, ebx
jne 0x478291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x478286
jne 0x4782a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x478286
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4782c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4782b6
jmp 0x478206
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4782c4
add edi, ecx
jmp 0x478206
pop esi
mov edi, esi
mov ecx, 0x2800
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4782e2
cmp byte [edi], 0xa
jne 0x4782e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4782e7
lea edi, [esi + 0x76000]
mov eax, dword [edi]
or eax, eax
je 0x478356
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x85b34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x85bac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x478314
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x85bb0]
or eax, eax
je 0x478350
mov dword [ebx], eax
add ebx, 4
jmp 0x478331
call dword [esi + 0x85bc0]
mov ebp, dword [esi + 0x85bb4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47838a
sub esp, 0xffffff80
jmp 0x434d1f
Function at 0x1002d058
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10036090]
jne 0x1002d062
repz ret
jmp fcn.1002d709

Function at 0x46d1f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x65000]
push edi
or ebp, 0xffffffff
jmp 0x46d212
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46d219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46d208
mov eax, 1
add ebx, ebx
jne 0x46d22b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46d220
jne 0x46d23c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46d220
xor ecx, ecx
sub eax, 3
jb 0x46d250
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46d2c2
mov ebp, eax
add ebx, ebx
jne 0x46d25b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x46d268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x46d28c
inc ecx
add ebx, ebx
jne 0x46d278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46d26d
jne 0x46d289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46d26d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46d2ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46d29d
jmp 0x46d20e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46d2ac
add edi, ecx
jmp 0x46d20e
pop esi
mov edi, esi
mov ecx, 0x126
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46d2ca
cmp byte [edi], 6
jne 0x46d2ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x46d2cf
lea edi, [esi + 0x6b000]
mov eax, dword [edi]
or eax, eax
je 0x46d347
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8ef60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f018]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46d2fc
mov ecx, edi
jns 0x46d32b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8f020]
or eax, eax
je 0x46d341
mov dword [ebx], eax
add ebx, 4
jmp 0x46d319
call dword [esi + 0x8f01c]
mov ebp, dword [esi + 0x8f024]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46d37b
sub esp, 0xffffff80
jmp 0x402fb1
Function at 0x4dcff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86000]
push edi
jmp 0x4dd00a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dd011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd000
mov eax, 1
add ebx, ebx
jne 0x4dd023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dd034
jne 0x4dd053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd053
dec eax
add ebx, ebx
jne 0x4dd040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dd018
add ebx, ebx
jne 0x4dd04f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dd0a5
xor ecx, ecx
sub eax, 3
jb 0x4dd06b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dd0da
sar eax, 1
mov ebp, eax
jmp 0x4dd076
add ebx, ebx
jne 0x4dd076
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd044
inc ecx
add ebx, ebx
jne 0x4dd084
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd044
add ebx, ebx
jne 0x4dd091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dd086
jne 0x4dd0a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dd086
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dd0c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dd0b6
jmp 0x4dd006
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dd0c4
add edi, ecx
jmp 0x4dd006
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dd0e2
cmp byte [edi], 0x11
jne 0x4dd0e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4dd0e7
lea edi, [esi + 0xd5000]
mov eax, dword [edi]
or eax, eax
je 0x4dd15f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe05bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe0738]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dd114
mov ecx, edi
jns 0x4dd143
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe073c]
or eax, eax
je 0x4dd159
mov dword [ebx], eax
add ebx, 4
jmp 0x4dd131
call dword [esi + 0xe074c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4dd190
cmp al, 0xef
ja 0x4dd183
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4dd165
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4dd172
mov ebp, dword [esi + 0xe0740]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4dd1c4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x402a6c
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.00404034
test esi, esi
jne 0x402aa2
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.00404124
jmp 0x402ac0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402980
mov edi, eax
test esi, esi
je 0x402ac0
cmp dword [ebx], 0
je 0x402ac0
dec esi
jmp 0x402aa9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403154
Capabilities:
Query or enumerate registry value

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

Function at 0x403eb8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47f04c], 0
je 0x403f19
cmp word [0x47f220], 0xd7b2
jne 0x403ee1
cmp dword [0x47f228], 0
jbe 0x403ee1
mov eax, 0x47f21c
call dword [0x47f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47d06c
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 0x403f40
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47d030], 0
jne 0x403f35
push 0
push 0x47d064
push 0x47d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e5c
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 0x405ec2
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.004042a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d18
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405eac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ec9
lea eax, [ebp - 0x10]
call fcn.00404034
ret

Function at 0x40b22c
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 0x40b265
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404124
jmp 0x40b26e
mov eax, ebx
mov edx, esi
call fcn.00404088
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b920
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b798
mov eax, dword [0x47eb88]
cmp byte [eax], 0
je 0x40b99c
mov eax, dword [0x47e968]
call fcn.00402b84
call fcn.004028ac
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.00408a6c
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 0x40b9e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47e910]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47f668]
call fcn.00405354
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 0x40c28c
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 0x40c362
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040cc
lea eax, [ebp - 8]
call fcn.00404544
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044f4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c34c
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c345
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.004044f4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c32f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c374
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c32f
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 0x40c34c
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c369
lea eax, [ebp - 8]
call fcn.00404034
ret

Function at 0x40c86c
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 0x40c8d0
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.004042a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408560
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8d7
lea eax, [ebp - 0xc]
call fcn.00404034
ret

Function at 0x41eab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47f888
cmp dword [edi], 0
jne 0x41eb2c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47f884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47d3fc
mov ecx, 2
call fcn.00402940
mov edx, 0x41ea88
lea eax, [esi + 5]
call fcn.0041eaa8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041eaa8
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 0x41eb01
mov dword [0x47f884], 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 0x420190
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 0x420196
ret
Function at 0x439b64
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 0x439ab0
call sub.user32.dll_EnumWindows
ret

Function at 0x439c84
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 0x439d01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004396e4
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 0x439ca9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004392e4
cmp dword [ebp - 4], 0
je 0x439ceb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004044f4
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 0x439d08
lea eax, [ebp - 4]
call fcn.00404034
ret

Function at 0x43d00c
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 [0x47fb60], 0
je 0x43d15b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x47eb18]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43d15b
mov eax, dword [0x47fb64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47fb60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43d12a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47fb60]
call fcn.004178c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43d122
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43d122
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43d122
mov eax, dword [ebp - 0x14]
call fcn.00445df0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43d122
push ebp
call fcn.0043cfc8
pop ecx
test al, al
jne 0x43d122
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43d0de
mov eax, dword [ebp - 0x14]
call fcn.004448e8
dec eax
jle 0x43d122
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.004034e0
cmp byte [ebp - 1], 0
je 0x43d122
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43d122
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47fb64]
call fcn.0043c794
inc edi
dec ebx
jne 0x43d071
mov eax, dword [0x47fb64]
cmp dword [eax + 8], 0
jle 0x43d142
mov eax, dword [0x47fb64]
call fcn.0043c824
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43d15b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043ce30
pop ecx
test al, al
jne 0x43d15b
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
Function at 0x44073c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x440788
mov eax, esi
call fcn.004565fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x440788
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x440788
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4408c7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4407c8
cmp eax, 0x108
ja 0x4407c8
mov eax, esi
call fcn.004565fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4408be
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4408c7
jmp 0x4408be
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4408a7
cmp eax, 0x20a
ja 0x4408a7
test byte [esi + 0x50], 0x80
jne 0x4407fa
sub eax, 0x203
je 0x4407f7
sub eax, 3
je 0x4407f7
sub eax, 3
jne 0x4407fa
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44080e
dec eax
je 0x440823
dec eax
je 0x440840
dec eax
je 0x440823
jmp 0x440847
mov ecx, ebx
mov eax, dword [0x47eb18]
mov eax, dword [eax]
mov edx, esi
call fcn.0045fe60
jmp 0x4408be
cmp byte [esi + 0x5d], 1
jne 0x440839
mov eax, esi
mov si, 0xffed
call fcn.004034e0
jmp 0x4408c7
or word [esi + 0x54], 1
jmp 0x4408be
and word [esi + 0x54], 0xfffe
jmp 0x4408be
mov eax, dword [0x47fb1c]
cmp byte [eax + 0x20], 0
je 0x4408be
mov eax, dword [0x47fb1c]
cmp dword [eax + 0x1c], 0
je 0x4408be
mov eax, dword [ebx]
mov edx, dword [0x47fb1c]
cmp eax, dword [edx + 0x1c]
jne 0x4408be
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00456540
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004034e0
jmp 0x4408c7
cmp eax, 0xb00b
jne 0x4408be
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043f05c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret