joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66cb42
Capabilities:
Parse pe header

Disassembly:
push word [esp + 1]
mov byte [esp + 1], dh
pop word [esp + 0xc]
jmp 0x66cd45
lea esp, [esp + 0x19]
pop word [esp + 1]
mov dword [esp], esi
lea esp, [esp + 1]
mov dword [esp + 0x1c], esi
call fcn.0066cb9c
pop word [esp + 3]
mov dword [esp + 6], ecx
lea esp, [esp + 1]
mov dword [esp + 0x1c], ebp
pushal
mov dword [esp + 0x17], eax
jmp 0x66cbb3

Function at 0xdaa058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xdaa1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xdaa07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdaa06a
add dl, dl
jne 0xdaa089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdaa0dc
xor eax, eax
add dl, dl
jne 0xdaa096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdaa17d
add dl, dl
jne 0xdaa0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdaa0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdaa075
mov eax, 1
add dl, dl
jne 0xdaa0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdaa0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdaa0e1
sub eax, ebx
mov ebx, 1
jne 0xdaa128
mov ecx, 1
add dl, dl
jne 0xdaa10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdaa119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdaa105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdaa075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdaa13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdaa14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdaa136
cmp eax, 0x7d00
jae 0xdaa16d
cmp eax, 0x500
jb 0xdaa168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdaa075
cmp eax, 0x7f
ja 0xdaa170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdaa075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdaa19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xdaa075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100e290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
pushfd
call dword [fcn.0100149c]
push eax
call fcn.010107ee
push eax
lea edx, [0xff0213c]
lea ecx, [0x1990c5b0]
sub esp, 0x10
mov dword [esp], edx
push ecx
sub dword [esp + 4], 0xeef3e64
pop ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
jmp fcn.0100e2fc
Function at 0x101062b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x20]
push ebx
movzx ebx, word [eax]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0xfffffffffffffffe
inc esi
pop edi
and esi, edi
mov dword [ebp + 0x10], esi
jmp 0x1010659
push dword [ebp + 0x14]
movzx eax, ax
add eax, dword [ebp + 8]
push eax
call fcn.010107df
inc esi
and esi, edi
movzx eax, word [esi]
inc esi
xor eax, ebx
inc esi
cmp ax, 0xffff
jne 0x1010647
inc esi
and esi, edi
movzx ecx, word [esi]
inc esi
inc esi
xor ecx, ebx
cmp byte [ebp + 0x28], 0
jne 0x1010693
cmp byte [ebp + 0x24], 0
jne 0x1010693
cmp cx, ax
je 0x10106c8
inc esi
and esi, edi
movzx eax, word [esi]
inc esi
xor eax, ebx
inc esi
cmp ax, 0xffff
jne 0x1010681
jmp 0x10106c8
xor edi, edi
jmp 0x10106c2
mov eax, dword [ebp + 0x20]
movzx eax, word [eax + edi*2]
mov edx, dword [ebp + 0x18]
and eax, 0xfffffff0
add eax, edx
push eax
movzx eax, cx
add eax, dword [ebp + 8]
inc edi
push eax
and edi, 3
call fcn.010107df
inc esi
and esi, 0xfffffffe
movzx ecx, word [esi]
inc esi
inc esi
xor ecx, ebx
cmp cx, 0xffff
jne 0x1010697
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0x20]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [esi + 7]
and eax, 0xfffffff8
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
movzx eax, word [ebp + 0xc]
add eax, dword [ebp + 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.01010789
cmp byte [ebp + 0x24], 0
jne 0x1010706
cmp dword [ebp + 0x14], 0
jne 0x101070c
cmp byte [ebp + 0x28], 0
je 0x101077c
mov esi, dword [ebp + 0x10]
movzx eax, word [esi]
inc esi
xor eax, ebx
inc esi
cmp ax, 0xffff
je 0x101073f
mov edi, dword [ebp + 0x14]
neg edi
movzx eax, ax
add eax, dword [ebp + 8]
push edi
push eax
call fcn.010107df
inc esi
and esi, 0xfffffffe
movzx eax, word [esi]
inc esi
xor eax, ebx
inc esi
cmp ax, 0xffff
jne 0x1010721
cmp byte [ebp + 0x28], 0
je 0x101077c
xor edi, edi
jmp 0x101076b
mov eax, dword [ebp + 0x20]
movzx eax, word [eax + edi*2]
mov edx, dword [ebp + 0x18]
and eax, 0xfffffff0
add eax, edx
neg eax
push eax
movzx eax, cx
add eax, dword [ebp + 8]
inc edi
push eax
and edi, 3
call fcn.010107df
inc esi
and esi, 0xfffffffe
movzx ecx, word [esi]
inc esi
xor ecx, ebx
inc esi
cmp cx, 0xffff
jne 0x1010749
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x24

Function at 0x101d5dc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
xor eax, eax
test edi, edi
jle 0x101d60b
push ebx
push esi
lea esi, [edx + ecx - 1]
add edi, ecx
movzx edx, byte [edi + eax]
mov dl, byte [edx + ecx]
xor dl, byte [esi]
mov ebx, dword [ebp + 0xc]
mov byte [eax + ebx], dl
inc eax
dec esi
cmp eax, dword [ebp + 8]
jl 0x101d5f3
pop esi
pop ebx
pop edi
pop ebp
ret 8
Function at 0x1024f92
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
push edi
xor ebx, ebx
push ebx
add eax, 0x28
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
xor edi, edi
call fcn.010270ab
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1025038
push esi
call fcn.01032293
test eax, eax
je 0x1025024
movzx eax, word [ebp + 0x10]
cmp eax, 0xe
jb 0x1024fd3
xor eax, eax
jmp dword [0x1072678]
push dword [ebp - 0xc]
call fcn.01027188
cmp edi, ebx
je 0x1025038
xor eax, eax
inc eax
jmp 0x1025312
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x10
push ebx
push dword [eax + 0x18]
call dword [fcn.01001600]
mov esi, eax
cmp esi, ebx
je 0x1025252
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov edi, 0x1076ce0
push edi
mov dword [esi + 8], eax
call dword [fcn.01001674]
mov eax, dword [ebp + 0x10]
cmp eax, dword [0x1076cc8]
jne 0x1025139
jmp dword [0x10724f8]
mov eax, dword [0x1076d04]
mov dword [esi], 0x1076d00
mov dword [esi + 4], eax
mov dword [eax], esi
inc dword [0x1076cf8]
cmp dword [0x1076ccc], ebx
mov dword [0x1076d04], esi
jne 0x102516a
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [0x1076ccc], eax
jmp 0x1025173
push ebx
push ebx
push ebx
call dword [0x10720c4]
mov ebx, dword [fcn.01001678]
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x1025235
jmp dword [0x10723a8]
cmp dword [ebp - 8], 0
je 0x1025250
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [fcn.01001668]
xor ebx, ebx
jmp dword [0x10725f8]
jmp dword [0x1072604]
Function at 0x10287cb
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x107342c]
push ebx
mov ebx, dword [fcn.010010b0]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1012bb8
push 0x80000002
call ebx
cmp eax, esi
jne 0x102897b
push edi
lea eax, [ebp - 0x430]
push eax
push esi
push esi
push esi
push 0x1012ba8
push dword [ebp - 0x418]
call dword [fcn.0100108c]
mov edi, eax
cmp edi, 0xea
jne 0x102883a
xor edi, edi
push dword [ebp - 0x418]
call dword [fcn.01001088]
cmp edi, esi
jne 0x102897a
push esi
push dword [ebp - 0x41c]
call fcn.0103bcb6
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x474]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x474], 0x44
mov dword [ebp - 0x448], 0x80
mov dword [ebp - 0x46c], 0x1012b84
call dword [fcn.01001298]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x100140c]
push 0x1012b6c
lea eax, [ebp - 0x20c]
push eax
call dword [0x10012dc]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push 0x4000000
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [0x1001440]
test eax, eax
je 0x102897a
push dword [ebp - 0x428]
mov edi, dword [fcn.01001454]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x42c]
call dword [fcn.0100143c]
test eax, eax
je 0x102891e
push esi
push dword [ebp - 0x42c]
call dword [fcn.0100124c]
push dword [ebp - 0x42c]
call edi
lea eax, [ebp - 0x418]
push eax
push 0x2001f
push esi
push 0x1011308
push 0x80000002
call ebx
test eax, eax
jne 0x1028960
push 0x1012b38
push dword [ebp - 0x418]
call dword [fcn.01001124]
push dword [ebp - 0x418]
call dword [fcn.01001088]
lea eax, [ebp - 0x20c]
push eax
call dword [0x10012f4]
push 0x78
push dword [ebp - 0x41c]
call fcn.0103bcb6
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 4
Function at 0x102e9fa
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x107342c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x218], eax
push 0x1010f48
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x210], 0x258
mov dword [ebp - 0x228], esi
call dword [0x100140c]
cmp dword [ebp + 0x10], esi
je 0x102ebfb
mov edi, dword [fcn.010010b0]
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x1011308
mov ebx, 0x80000002
push ebx
call edi
test eax, eax
jne 0x102eabf
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1013960
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 4
call dword [fcn.0100108c]
push dword [ebp - 0x214]
call dword [fcn.01001088]
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x1013848
push ebx
call edi
test eax, eax
jne 0x102eb15
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1013960
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 4
call dword [fcn.0100108c]
push dword [ebp - 0x214]
call dword [fcn.01001088]
mov eax, dword [ebp - 0x210]
cmp eax, esi
jne 0x102eb28
or dword [ebp - 0x210], 0xffffffff
jmp 0x102eb47
cmp eax, 0x7d00
jb 0x102eb3b
mov dword [ebp - 0x210], 0x1e84800
jmp 0x102eb47
imul eax, eax, 0x3e8
mov dword [ebp - 0x210], eax
call fcn.0103dac9
mov ebx, eax
cmp ebx, esi
je 0x102ec35
push 1
push ebx
call fcn.0103d664
push ebx
push esi
push 0x400
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x230]
xor eax, eax
cmp dword [ebp + 0xc], esi
push dword [ebp - 0x220]
sete al
push eax
push dword [ebp - 0x218]
call fcn.0103d393
cmp eax, esi
mov dword [ebp - 0x224], eax
je 0x102ec2b
cmp dword [ebp + 0xc], esi
je 0x102ebac
push 2
push dword [ebp - 0x218]
call fcn.01031e59
mov edi, dword [fcn.010012a4]
call edi
push dword [ebp - 0x210]
mov dword [ebp - 0x220], eax
push ebx
call fcn.0103d565
test eax, eax
jne 0x102ebd1
push esi
push ebx
call fcn.0103d5a4
call edi
sub eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x210]
jb 0x102ec2b
push esi
push esi
push esi
push 0x800004c1
push 2
push dword [ebp - 0x218]
call fcn.010200e4
add esp, 0x18
jmp 0x102ec2b
cmp dword [ebp + 0xc], esi
lea eax, [ebp - 0x20c]
je 0x102ec16
push eax
push ebx
push edi
push dword [ebp - 0x218]
call fcn.0103c6a9
jmp 0x102ec35
push esi
push esi
push esi
push ebx
push esi
push esi
push 4
push edi
push eax
call fcn.01029a08
mov ebx, dword [ebp - 0x228]
cmp ebx, esi
je 0x102ec35
push ebx
call fcn.0103db87
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 0x14
Function at 0x103e5e1
Capabilities:
Parse pe header

Disassembly:
pushfd
pushal
call fcn.0100b41e
popal
popfd
push 0x70
push 0x10150a8
call fcn.0103e7b6
xor ebx, ebx
push ebx
mov edi, dword [0x10013ec]
call edi
cmp word [eax], 0x5a4d
jne 0x103e627
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x103e627
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x103e63f
cmp eax, 0x20b
je 0x103e62c
mov dword [ebp - 0x1c], ebx
jmp 0x103e653
cmp dword [ecx + 0x84], 0xe
jbe 0x103e627
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x103e64d
cmp dword [ecx + 0x74], 0xe
jbe 0x103e627
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [0x1001580]
pop ecx
or dword [0x1076e64], 0xffffffff
or dword [0x1076e68], 0xffffffff
call dword [0x100157c]
mov ecx, dword [0x1074530]
mov dword [eax], ecx
call dword [0x1001578]
mov ecx, dword [0x107452c]
mov dword [eax], ecx
mov eax, dword [0x1001574]
mov eax, dword [eax]
mov dword [0x1076e6c], eax
call fcn.01053d27
cmp dword [0x1073430], ebx
jne 0x103e6ae
push fcn.01053d27
call dword [0x1001570]
pop ecx
call fcn.0103e896
push 0x1072cac
push 0x1072ca8
call fcn.0103e890
mov eax, dword [0x1074528]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1074524]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [0x1001568]
mov dword [ebp - 0x38], eax
push 0x1072ca4
push 0x1072c9c
call fcn.0103e890
add esp, 0x24
mov eax, dword [0x1001564]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x103e744
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x103e718
cmp al, 0x22
jne 0x103e70a
cmp byte [esi], 0x22
jne 0x103e721
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x103e72b
cmp al, 0x20
jbe 0x103e71d
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [0x10013f0]
test byte [ebp - 0x54], 1
je 0x103e74f
movzx eax, word [ebp - 0x50]
jmp 0x103e752
cmp byte [esi], 0x20
jbe 0x103e721
inc esi
mov dword [ebp - 0x20], esi
jmp 0x103e744
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.01031673
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x103e76f
push esi
call dword [0x1001560]
call dword [0x100155c]
jmp 0x103e7a4
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0103e7f1
ret
Function at 0x409058
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a34
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409071
test al, 0x10
jne 0x409075
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bd18
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 0x40bd51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404674
jmp 0x40bd5a
mov eax, ebx
mov edx, esi
call fcn.004045d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c40c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c284
mov eax, dword [0x4a7590]
cmp byte [eax], 0
je 0x40c474
mov eax, dword [0x4a7374]
call fcn.00402e78
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409418
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40c4bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c4aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a7324]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a8718]
call fcn.00405e78
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 0x40d2c4
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 0x40d328
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.004047ec
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e4c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d32f
lea eax, [ebp - 0xc]
call fcn.00404584
ret

Function at 0x41f11c
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.0041efbc
dec esi
jne 0x41f13e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x44fdfc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a76d0]
cmp byte [eax + 0xc], 0
je 0x44ff69
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ff62
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8bf4], 0
jne 0x44fe50
push 0x44ff70
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44ff78
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8bf4], eax
cmp dword [0x4a6c60], 0
jne 0x44ff4b
push 0x44ff88
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a6c60], eax
cmp dword [0x4a6c60], 0
je 0x44ff4b
push 0x44ff94
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8bf8], eax
push 0x44ffa4
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8bfc], eax
push 0x44ffb8
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c00], eax
push 0x44ffd0
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c04], eax
push 0x44ffe8
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c08], eax
push 0x44fffc
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c0c], eax
push 0x450014
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c10], eax
push 0x45002c
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c14], eax
push 0x450048
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c18], eax
push 0x450054
mov eax, dword [0x4a6c60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8c1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ff69
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4540dc
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.00404584
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45412b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004047ec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c014
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c064]
test si, 4
je 0x45c028
or bl, 1
test si, 8
je 0x45c032
or bl, 4
test si, 1
je 0x45c03c
or bl, 8
test si, 2
je 0x45c046
or bl, 0x10
test si, 0x10
je 0x45c050
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c05f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45c068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c0a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c081
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c090
or bl, 4
test esi, 0x20000000
je 0x45c09b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c0f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045c0a4
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x4626c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4626d6
add esp, 0xfffffff0
call fcn.00403af8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f1e4
mov eax, dword [0x4a732c]
mov dword [eax + 4], ebx
mov dword [eax], 0x462a68
mov eax, dword [0x4a7338]
mov dword [eax + 4], ebx
mov dword [eax], 0x462a74
mov eax, ebx
call fcn.00462a80
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414388]
call fcn.00403764
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414388]
call fcn.00403764
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414388]
call fcn.00403764
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414388]
call fcn.00403764
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414388]
call fcn.00403764
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45ef48
push eax
push 0
push 0
mov eax, dword [0x4a74a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420c64]
call fcn.004223d8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420c64]
call fcn.004223d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420c64]
call fcn.004223d8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462ee8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462dc4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462dc4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462dc4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462813
call fcn.00403b50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret