joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406752
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406776
xor eax, eax
test eax, eax
je 0x406789
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406789
xor ecx, ecx
jmp 0x40678c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068ec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068c6
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x73000]
push edi
jmp 0x49914a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x499151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499140
mov eax, 1
add ebx, ebx
jne 0x499163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x499174
jne 0x499193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499193
dec eax
add ebx, ebx
jne 0x499180
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x499158
add ebx, ebx
jne 0x49918f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4991e5
xor ecx, ecx
sub eax, 3
jb 0x4991ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49921a
sar eax, 1
mov ebp, eax
jmp 0x4991b6
add ebx, ebx
jne 0x4991b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499184
inc ecx
add ebx, ebx
jne 0x4991c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499184
add ebx, ebx
jne 0x4991d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4991c6
jne 0x4991e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4991c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x499204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4991f6
jmp 0x499146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x499204
add edi, ecx
jmp 0x499146
pop esi
mov edi, esi
mov ecx, 0x259b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x499222
cmp byte [edi], 0x13
jne 0x499222
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 0x499227
lea edi, [esi + 0x96000]
mov eax, dword [edi]
or eax, eax
je 0x49929f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xca18c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xca254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x499254
mov ecx, edi
jns 0x499283
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 + 0xca258]
or eax, eax
je 0x499299
mov dword [ebx], eax
add ebx, 4
jmp 0x499271
call dword [esi + 0xca268]
mov ebp, dword [esi + 0xca25c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4992d3
sub esp, 0xffffff80
jmp 0x4296f0
Function at 0x1002c78
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x10060c0]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x4c]
mov esi, dword [edi + 0x1c]
imul eax, ebx
cdq
mov ecx, eax
add ecx, dword [edi + 8]
mov eax, dword [edi + 0x18]
adc edx, dword [edi + 0xc]
sub eax, ecx
mov dword [ebp - 8], eax
sbb esi, edx
mov eax, ebx
mov dword [ebp - 0xc], edx
cdq
cmp edx, esi
jl 0x1002ccc
jg 0x1002cb7
cmp eax, dword [ebp - 8]
jbe 0x1002ccc
mov ebx, dword [edi + 0x18]
mov eax, dword [0x10061d4]
sub ebx, ecx
lea edx, [eax - 1]
and edx, ebx
je 0x1002ccc
sub eax, edx
add ebx, eax
mov eax, dword [0x10060d0]
push 2
cdq
pop esi
idiv esi
mov eax, dword [ebp - 0xc]
mov esi, edx
imul esi, esi, 0x1c
add esi, 0x1006620
push dword [esi + 0x18]
mov dword [esi + 0x10], ecx
mov ecx, eax
sar ecx, 0x1f
mov dword [esi + 0x14], eax
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push dword [esi]
mov eax, dword [edi + 0x4c]
push 2
pop ecx
cdq
idiv ecx
push dword [edi + edx*4 + 0x20]
push dword [0x1006064]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop edi
pop esi
pop ebx
jne 0x1002d3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1002d3e
push 0
push 0x10061e0
call fcn.01001200
inc dword [0x10060d0]
leave
ret 4

Function at 0x1009827
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
pushal
mov ebx, 0x7fffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, esi
imul eax, edx, 0x10dcd
add eax, 0x116c5
xor edx, edx
div ebx
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
loop 0x100983c
popal
leave
ret 0xc
Function at 0x4159c2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x419b78
call fcn.00415970
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x415a16
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x415a16
movzx ecx, word [eax + 0x400018]
cmp ecx, 0x10b
je 0x415a2e
cmp ecx, 0x20b
je 0x415a1b
mov dword [ebp - 0x1c], ebx
jmp 0x415a45
cmp dword [eax + 0x400084], 0xe
jbe 0x415a16
xor ecx, ecx
cmp dword [eax + 0x4000f8], ebx
jmp 0x415a3f
cmp dword [eax + 0x400074], 0xe
jbe 0x415a16
xor ecx, ecx
cmp dword [eax + 0x4000e8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x41dce4], edi
mov dword [0x41dce8], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x41d8d0]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x41d8cc]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x41dce0], eax
call fcn.00415c98
cmp dword [0x41d5f0], ebx
jne 0x415aa2
push fcn.00415c98
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00415c86
push 0x418350
push 0x41834c
call sub.msvcrt.dll__initterm
mov eax, dword [0x41d8c8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x41d8c4]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x418348
push 0x418300
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x415b2d
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x415b0d
cmp cl, 0x22
jne 0x415afe
cmp byte [eax], 0x22
jne 0x415b16
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x415b21
cmp cl, 0x20
jbe 0x415b12
test byte [ebp - 0x54], 1
je 0x415b38
movzx ecx, word [ebp - 0x50]
jmp 0x415b3b
cmp byte [eax], 0x20
jbe 0x415b16
inc eax
mov dword [ebp - 0x20], eax
jmp 0x415b2d
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.0040541b
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x415b59
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x415b95
mov eax, esi
jmp 0x415ba9
call fcn.004159ab
ret

Function at 0x401225
Capabilities:
Encode data using xor

Disassembly:
pushal
xor ecx, ecx
add ecx, 0x1000
mov dl, byte [ecx + edi - 1]
rol dl, 1
xor dl, 0x7e
mov byte [ecx + edi - 1], dl
dec ecx
cmp ecx, 0
jne 0x40122e
popal
ret
Function at 0x406106
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x406115
pop dword [ebp - 0x24]
mov eax, 0xfc926e4c
sub eax, 0xfc520d37
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x487412dd
sub dword [ebp - 0x34], 0xfa21cd92
mov dword [ebp - 0x30], 0x29aef0ba
sub dword [ebp - 0x30], 0xf77ba475
mov dword [ebp - 0x2c], 0x3783bc60
sub dword [ebp - 0x2c], 0xeb377832
mov dword [ebp - 0x28], 0x7ece50e4
sub dword [ebp - 0x28], 0x7ece50e4
lea eax, [ebp - 0x34]
push eax
mov eax, 0xc26998ae
add eax, 0x3dd6e856
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x580184c4
sub dword [ebp - 0x34], 0xe38f1b6e
mov dword [ebp - 0x30], 0x6689a9ae
add dword [ebp - 0x30], 0xdae2b7c7
mov dword [ebp - 0x2c], 0xdcd7734
sub dword [ebp - 0x2c], 0xaa5e0ac8
mov dword [ebp - 0x28], 0x5f1ab4e9
sub dword [ebp - 0x28], 0x5f1ab4e9
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xbe2f68dd
add eax, 0x42111823
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8a3
push 0
call eax
mov ecx, 0x5620
mov edx, eax
mov edi, 0xa8e4a81
sub edi, 0xa494681
add edi, dword [ebp - 0x24]
mov esi, 0x5baff101
sub esi, 0x8145c4c6
sub dword [ebp - 0x10], esi
mov ebx, dword [edi]
sub dword [ebp - 0x20], esi
add ebx, esi
xor dword [ebp - 0x10], 0x2bd004a8
mov dword [edx], ebx
xor dword [ebp - 0x1c], 0x687bd8b0
add edx, 4
add edi, 0x4a8ab6
sub edi, 0x4a8ab2
loop 0x406231
add eax, 0xbb7ab15b
sub eax, 0xbb796608
mov ebx, eax
add eax, 0xde2c7581
sub eax, 0xde2c757c
mov ecx, 0x6ec51637
add ecx, 0x917ae9c9
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x40656f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4065a6
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406580
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x40657b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065d7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4065b9
pop edi
not eax
pop esi
ret 0xc
Function at 0x10015429
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10015438
pop dword [ebp - 0x38]
mov eax, 0xb9bfe81c
sub eax, 0xa9be93e4
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x37b7ffa6
add dword [ebp - 0x48], 0x169a45a5
mov dword [ebp - 0x44], 0xb1cb680a
add dword [ebp - 0x44], 0x8067e43b
mov dword [ebp - 0x40], 0x98288b3b
add dword [ebp - 0x40], 0xb423b8f3
mov dword [ebp - 0x3c], 0xe14c3411
add dword [ebp - 0x3c], 0x1eb3cbef
lea eax, [ebp - 0x48]
push eax
mov eax, 0x4aa94150
add eax, 0xc5583f64
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x3772afda
add dword [ebp - 0x48], 0x3cffb97c
mov dword [ebp - 0x44], 0x89aafcac
sub dword [ebp - 0x44], 0x483e9b37
mov dword [ebp - 0x40], 0x9fffee43
sub dword [ebp - 0x40], 0x3c9081d7
mov dword [ebp - 0x3c], 0xa17b4846
sub dword [ebp - 0x3c], 0xa17b4846
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xee816e4b
add eax, 0x21801215
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x402fa
push 0
call eax
mov ecx, 0xb9e37cd2
add ecx, 0x461cde54
mov edx, eax
mov edi, 0x10027200
add edi, dword [ebp - 0x38]
mov esi, 0x3930ce44
sub esi, 0x6c492b64
xor dword [ebp - 0x20], edi
mov ebx, dword [edi]
sub dword [ebp - 0x20], edx
add ebx, esi
xor dword [ebp - 0x20], 0xa872d8ab
mov dword [edx], ebx
add edx, 0x5ff25c50
sub edx, 0x5ff25c4c
add edi, 0xae14f294
sub edi, 0xae14f290
loop 0x10015554
add eax, 0xfcc8007
add eax, 0xf034df64
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x1001d2f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1003014]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x100192c
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call esi
cmp eax, ebx
mov dword [0x1003060], eax
je 0x1001d8f
xor eax, eax
mov edi, 0x10030c0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push ebx
stosd dword es:[edi], eax
push 1
push ebx
stosd dword es:[edi], eax
call esi
cmp eax, ebx
mov dword [0x10030d0], eax
jne 0x1001d97
push dword [0x1003060]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.msvcrt.dll_exit]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
push dword [0x1003060]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [0x10030d0]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100ab0a
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [ebx + 9]
push 0xffffffffffffffff
push dword [ecx + 0x33]
inc eax
pop edx
not edi
mov ah, ah
cmp al, ch
lea edi, [ebx - 0x4da676f9]
add ecx, dword [edx + ebx + 0x78]
pop edx
mov ah, bl
mov edi, dword [ecx + 0x17]
mov eax, dword [edi + ebx]
inc edx
add edi, 4
lea esi, [eax + ebx - 3]
cmp edx, dword [ecx + 0xf]
jae 0x100ac9c
dec eax
push ebx
test bh, dh
xchg bh, bl
push ecx
xor eax, eax
xchg bh, bh
movzx ecx, byte [esi + 3]
imul eax, eax, 0xf
xor ebx, eax
sub eax, ecx
sub esi, 0xffffffee
lea esi, [esi - 0x11]
cmp byte [esi + 3], 0xa
mov ebx, edi
jae 0x100ab49
xor ebx, ebp
xor al, 0
inc esi
xor eax, dword [esp + 0xc]
pop ecx
jmp 0x100aeba
pop ebx
xor eax, 0x86128d01
jne 0x100ab2a
sub ecx, 0xffffffef
inc eax
adc esi, 0x30dd65d
or ah, cl
add esp, 8
test edi, ebp
test al, bh
push dword [ecx + 2]
pop edi
add edi, ebx
add edx, edx
sub ah, dh
cmp al, 3
add edx, ebx
mov esi, dword [ecx + 0xa]
mov ax, word [edx + esi]
shl eax, 0x10
lea ecx, [ecx + 0x1d]
shr eax, 0xe
xor dh, ch
push dword [eax + edi]
add dword [esp], ebx
mov eax, dword [esp - 4]
or edx, ebp
pop esi
jmp eax
Function at 0x409844
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 0x40987d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404504
jmp 0x409886
mov eax, ebx
mov edx, esi
call fcn.00404468
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x409f38
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409db0
mov eax, dword [0x457f80]
cmp byte [eax], 0
je 0x409fa0
mov eax, dword [0x457dc8]
call fcn.00402e3c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408a7c
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 0x409fe8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409fd6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x457d84]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459718]
call fcn.00405bac
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 0x40ab1c
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 0x40ab80
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.0040467c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408740
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ab87
lea eax, [ebp - 0xc]
call fcn.00404414
ret
Function at 0x42ad54
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004048b4
xor eax, eax
push ebp
push 0x42ae82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42ae55
xor eax, eax
push ebp
push 0x42ae4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046cc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ae23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42ae12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046cc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004048c4
mov edx, ebx
pop ecx
call fcn.00402928
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae19
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x457d34]
mov dl, 1
mov eax, dword [0x407754]
call fcn.0040a0a8
call fcn.00403e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae89
lea eax, [ebp - 4]
call fcn.00404414
ret
Function at 0x42c718
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 0x42c795
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c164
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 0x42c73d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bdbc
cmp dword [ebp - 4], 0
je 0x42c77f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048c4
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 0x42c79c
lea eax, [ebp - 4]
call fcn.00404414
ret

Function at 0x42f4a4
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 [0x459bd8], 0
je 0x42f5f3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x457f20]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f5f3
mov eax, dword [0x459bdc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x459bd8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f5c2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x459bd8]
call fcn.00414034
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f5ba
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f5ba
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f5ba
mov eax, dword [ebp - 0x14]
call fcn.00437fa0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f5ba
push ebp
call fcn.0042f460
pop ecx
test al, al
jne 0x42f5ba
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f576
mov eax, dword [ebp - 0x14]
call fcn.00436b34
dec eax
jle 0x42f5ba
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.004038a4
cmp byte [ebp - 1], 0
je 0x42f5ba
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f5ba
mov edx, dword [ebp - 0x14]
mov eax, dword [0x459bdc]
call fcn.0042ec28
inc edi
dec ebx
jne 0x42f509
mov eax, dword [0x459bdc]
cmp dword [eax + 8], 0
jle 0x42f5da
mov eax, dword [0x459bdc]
call fcn.0042ecb8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f5f3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f2c8
pop ecx
test al, al
jne 0x42f5f3
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