joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4571f5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x895474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00447585
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45a410]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45a410]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0044b770
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00447df0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0043c630
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0044853b
int3
Function at 0x43c630
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x43c783
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0043c530
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43c756
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43c6ce
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43c749
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x43c70a
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x43c702
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43c749
mov edi, eax
cmp ebx, eax
je 0x43c726
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43c75f
cmp ebx, eax
jne 0x43c710
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x43c692
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43c749
push str.invalid_hash_bucket_count
call fcn.0044853b
int3
Function at 0x44e163
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c66c
push 0x45c664
push str.FlsAlloc
push 0x1e
call fcn.0044e041
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e197
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
jmp 0x44e19d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44e1e1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c67c
push 0x45c674
push str.FlsGetValue
push 0x20
call fcn.0044e041
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e218
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44faab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44fb48
push ebx
push esi
call fcn.0044fa74
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044de14
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44faf5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44fb47
push edi
push eax
call fcn.0044db01
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44fb15
call fcn.0044dac7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44fb46
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044de14
add esp, 0x20
test eax, eax
jne 0x44fb34
push edi
call fcn.0044dac7
jmp 0x44fb3c
push ebx
call fcn.0044dac7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x402648
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402656
call dword [0x49c008]
or eax, eax
je 0x402657
ret
mov al, 1
jmp fcn.004026c8

Function at 0x402660
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40266e
call dword [0x49c00c]
or eax, eax
jne 0x40266f
ret
mov al, 2
jmp fcn.004026c8

Function at 0x402678
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b0
test edx, edx
je 0x40269a
push eax
mov eax, ecx
call dword [0x49c010]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004026c8
mov dword [eax], edx
mov eax, ecx
call dword [0x49c00c]
or eax, eax
jne 0x402693
ret
mov al, 1
jmp fcn.004026c8
test edx, edx
je 0x4026c4
push eax
mov eax, edx
call dword [0x49c008]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret

Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x49e004]
test ecx, ecx
je 0x4026d8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4026f1]
jns 0x4026ec
call fcn.004033bc
mov eax, dword [eax + 4]
jmp fcn.00404e69

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

Disassembly:
imul edx, dword [0x49e030], 0x8088405
inc edx
mov dword [0x49e030], edx
mul edx
mov eax, edx
ret

Function at 0x402bb8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402bd0
mov ecx, dword [eax]
cmp ecx, edx
je 0x402bd0
mov ecx, dword [ecx - 0x14]
test ecx, ecx
jne 0x402bbe
mov al, 0xa
jmp fcn.004026c8
ret

Function at 0x402c00
Capabilities:
Terminate process

Disassembly:
mov eax, 0xd2
jmp fcn.00404e69
push eax
push ecx
mov eax, dword [eax]
call fcn.00402bd4
pop ecx
pop eax
je 0x402c0f
jmp ebx
pop ecx
jmp 0x40283c

Function at 0x403980
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]
xor ecx, ecx
cmp al, 0xa
je 0x4039b0
cmp al, 0xc
je 0x4039ba
cmp al, 0xd
je 0x4039cd
cmp al, 0xe
je 0x4039e9
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4039b0
jmp 0x4039fd
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4039ba
jmp 0x4039fd
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.00403980
dec edi
jg 0x4039d0
pop ebp
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403958
dec edi
jg 0x4039ec
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403a04
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403980
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 + 0x49c01c]
mov dl, byte [edx + 0x49c01c]
movzx ecx, byte [edx + eax*8 + 0x49c030]
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 + 0x49c01c]
mov dl, byte [edx + 0x49c01c]
movzx ecx, byte [edx + eax*8 + 0x49c030]
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 0x404e58
Capabilities:
Terminate process

Disassembly:
xor edx, edx
mov dword [0x49e02c], edx
jmp 0x404d2c

Function at 0x406348
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00406334
add esp, 0x104
pop ebx
ret
Function at 0x407434
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x407678
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403494
cmp dword [0x49c0dc], 1
je 0x4074b5
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x40765a
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.0040352c
jmp 0x40765a
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.004027b4
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x40765a
cmp byte [ebp - 0x15], 0x5a
ja 0x40765a
mov eax, dword [ebp - 4]
call fcn.00403574
cmp eax, 3
jl 0x40765a
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x40765a
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x40765a
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40765a
xor edx, edx
push ebp
push 0x407653
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0x640
mov eax, dword [ebp - 0x10]
call fcn.00402648
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x407635
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x407584
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00402678
jmp 0x407548
test eax, eax
je 0x407597
call fcn.004031bc
call fcn.004031bc
jmp 0x40765a
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x407548
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x407613
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.004027b4
cmp al, byte [ebp - 0x15]
jne 0x407613
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00403574
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.0040352c
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004035c0
call fcn.004031bc
call fcn.004031bc
jmp 0x40765a
inc edi
dec esi
jne 0x4075a2
jmp 0x407548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40767f
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00403420
ret

Function at 0x407710
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 0x4089f8
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 0x408a31
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004034e0
jmp 0x408a3a
mov eax, ebx
mov edx, esi
call fcn.00403494
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x411500
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 0x411561
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x411561
cmp byte [ebp - 0x102], 0
je 0x411561
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 0x4127a0
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 0x412821
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4127d2
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4127e4
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4127f0
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00412678
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412815
push ebp
mov eax, dword [ebp - 4]
call fcn.00412714
pop ecx
mov ebx, eax
cmp bl, 2
je 0x4127f0
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419f94
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 0x419f9a
ret
Function at 0x41f854
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49e654
cmp dword [edi], 0
jne 0x41f8d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49e650]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49c594
mov ecx, 2
call fcn.00402738
mov edx, 0x41f82c
lea eax, [esi + 5]
call fcn.0041f84c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f84c
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 0x41f8a5
mov dword [0x49e650], 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 0x41f9d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41fa24]
test si, 4
je 0x41f9e8
or bl, 1
test si, 8
je 0x41f9f2
or bl, 4
test si, 1
je 0x41f9fc
or bl, 8
test si, 2
je 0x41fa06
or bl, 0x10
test si, 0x10
je 0x41fa10
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41fa1f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41fa28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41fa60]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41fa41
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41fa50
or bl, 4
test esi, 0x20000000
je 0x41fa5b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret