joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101eaa15
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101eae69
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101f7ac0], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101f7ac4], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101eaa98
jmp 0x101eaac9
mov al, byte [ebp - 0x25]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov ah, byte [ebp - 0x2d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x101eaaf5
jmp 0x101eab22
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
jb 0x101eaadb
jmp 0x101eaa98
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x25], bh
mov byte [ebp - 0x2d], cl
jne 0x101eaa6a
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x101eab2e
jmp 0x101eaaa3
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101f7ac0], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101f7ac4], 0x114b
mov dword [ebp - 0x24], edx
jmp 0x101eaa98
Function at 0x101eab62
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101f7ac4]
add eax, 0xfffffd5c
mov dword [0x101f7ac4], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101f7ac0], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101f7ac4], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101eabd1
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101eacc1
jmp 0x101eacd5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x101eabfe
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x101eabd1
mov eax, dword [ebp - 0x20]
mov ecx, 0x35f0
mov dword [0x101f7ac0], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x101eacd5
mov eax, 0x199d
mov dword [0x101f7ac0], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x101eacd5
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x101eacd5
mov eax, 0xfffff9e7
mov dword [0x101f7ac0], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x101eacd5
mov eax, 0x29da
mov dword [0x101f7ac0], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x101eacd5
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x101eabb1
jmp 0x101eacd5
mov eax, 1
mov dword [0x101f7ac4], 0xfa2
mov dword [ebp - 0x24], eax
jmp 0x101eace2
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x101f7ac0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x101eaff9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101f7ac8], 0
mov dword [0x101f7acc], 0
mov dword [0x101f7ad8], 0
mov dword [0x101f7ac0], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101eb154
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101f7ac8], edx
mov dword [0x101f7ac0], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101f7acc], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101f7ad0], cl
mov ebx, dword [0x101f7ac4]
add ebx, 0xfffff27d
mov dword [0x101f7ac0], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101f7ad0]
mov edx, dword [0x101f7acc]
mov byte [ebx + edx], cl
mov edx, dword [0x101f7ac8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101f7acc]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101f7ad8], ecx
mov dword [0x101f7ac0], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101f7ac0], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x101eb154
mov eax, dword [0x101f7acc]
mov ecx, dword [0x101f7ac8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x101eb05c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101eb15c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101f7ac0], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101ea502
lea ecx, [0x101e9df1]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], 0x147400
mov dword [0x101f7ac4], 0x894
mov edx, dword [0x101f7aac]
mov dword [esp + 0x54], edx
mov edx, dword [0x101f7ab0]
mov dword [esp + 0x40], edx
mov edx, dword [0x101f7ab4]
mov dword [esp + 0x88], edx
mov edx, dword [0x101f7ab8]
mov dword [esp + 0x78], edx
mov edx, dword [0x101f7abc]
mov dword [esp + 0x7c], edx
mov dword [0x101f7ac0], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101eb234
jmp 0x101eb248
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ea834
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101f7ac4], 0x5b1
mov dword [esp + 0xc], eax
jmp 0x101eb29a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x101eb25c
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101eb1ed
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [0x101f7ac4], 0xe2d
mov dword [0x101f7ac0], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], edx
call fcn.101eab62
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x101eb1fe
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40c47f
pop dword [ebp - 0x28]
mov eax, 0x40c47f
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xd23727f9
add dword [ebp - 0x38], 0x7c1b1d52
mov dword [ebp - 0x34], 0xea080ed0
sub dword [ebp - 0x34], 0xb7d4c28b
mov dword [ebp - 0x30], 0xc8764db7
sub dword [ebp - 0x30], 0x7c2a0989
mov dword [ebp - 0x2c], 0x709083e5
sub dword [ebp - 0x2c], 0x709083e5
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x722d8259
add dword [ebp - 0x38], 0x244e6fd
mov dword [ebp - 0x34], 0xafb47497
add dword [ebp - 0x34], 0x91b7ecde
mov dword [ebp - 0x30], 0xbaa133f3
sub dword [ebp - 0x30], 0x5731c787
mov dword [ebp - 0x2c], 0x6d18b682
sub dword [ebp - 0x2c], 0x6d18b682
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x8a9ce9cf
add eax, 0x75a54755
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x403f7
push 0
call eax
mov ecx, 0x65670f17
sub ecx, 0x6566bcd6
xor edi, edi
add edi, eax
mov esi, 0x604d3e56
sub esi, 0x6009fa56
add esi, dword [ebp - 0x28]
mov ebx, 0x9de5905
add ebx, 0xaa1a372c
mov edx, dword [esi]
sub edx, ebx
add dword [ebp - 0x18], 0xe77ba111
mov dword [edi], edx
xor dword [ebp - 0x18], 0xeb870860
add edi, 0x1eddced9
sub edi, 0x1eddced5
add esi, 4
loop 0x40c599
add eax, 0x3bd572f4
add eax, 0xc42bc8e3
mov ebx, eax
add eax, 5
mov ecx, 0x42ed0821
add ecx, 0xbd52f7df
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x421d11
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x421d20
pop dword [ebp - 0x24]
mov eax, 0x73f469b0
add eax, 0x8c4db370
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x52242
push 0
mov eax, 0x23752bef
add eax, 0xdccf86c1
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x4e3f
xor ebx, ebx
add ebx, eax
mov esi, 0x43cfb260
sub esi, 0x43872460
add esi, dword [ebp - 0x24]
mov edi, 0x5b19af82
add edi, 0x7ac73d3f
sub dword [ebp - 0x1c], edi
mov edx, dword [esi]
xor dword [ebp - 8], esi
add edx, edi
mov dword [ebx], edx
xor dword [ebp - 0x18], esi
add ebx, 4
add esi, 4
loop 0x421d7b
add eax, 0x162e27bf
add eax, 0xe9d30410
xor ebx, ebx
add ebx, eax
add eax, 0xa5c62fc7
sub eax, 0xa5c62fc2
mov ecx, 0x93040c53
add ecx, 0x6d3bf3ad
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1a8deae
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push dword fs:[0x30]
pop ecx
push dword [ecx + 0xc]
pop ecx
push dword [ecx + 0x1c]
pop ecx
push dword [ecx]
pop ecx
push dword [ecx + 8]
pop eax
pop ecx
ret

Function at 0x1a8ded7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, ebx
movzx eax, word [ebx + 0x3c]
add ebx, eax
mov ebx, dword [ebx + 0x78]
add ebx, edx
or edi, edi
je 0x1a8df36
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
add esi, edx
push ebx
xor ebx, ebx
lodsd eax, dword [esi]
add eax, edx
push esi
push edi
xchg edi, esi
xchg edi, eax
lodsb al, byte [esi]
or al, al
jne 0x1a8df15
cmp byte [edi], 0
je 0x1a8df1e
jmp 0x1a8df1c
cmp byte [edi], al
jne 0x1a8df1c
inc edi
jmp 0x1a8df09
mov al, 1
pop edi
pop esi
or al, al
je 0x1a8df27
inc ebx
loop 0x1a8df01
xchg ebx, eax
pop ebx
mov esi, dword [ebx + 0x24]
add esi, edx
inc eax
shl eax, 1
add esi, eax
movzx ecx, word [esi]
mov esi, dword [ebx + 0x1c]
add esi, edx
sub ecx, dword [ebx + 0x10]
xchg ecx, eax
shl eax, 2
add esi, eax
mov eax, dword [esi]
add eax, edx
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x405968
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 0x4059ce
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.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40a900
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 0x40a939
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40a942
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40aff4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae6c
mov eax, dword [0x452064]
cmp byte [eax], 0
je 0x40b070
mov eax, dword [0x451e8c]
call fcn.00402980
call fcn.00402824
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.00408138
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 0x40b0b8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b0a6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404e7c
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 0x40b90c
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 0x40b9e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b9cc
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b9c5
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.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b9af
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b9f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b9af
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 0x40b9cc
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9e9
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40be60
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 0x40bec4
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.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407cc8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40becb
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x419fec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a068
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x419fc4
lea eax, [esi + 5]
call fcn.00419fe4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419fe4
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 0x41a03d
mov dword [0x453880], 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 0x41b27c
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 0x41b282
ret
Function at 0x429e48
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 0x429d94
call sub.user32.dll_EnumWindows
ret

Function at 0x429f68
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 0x429fe5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004299c8
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 0x429f8d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004295c8
cmp dword [ebp - 4], 0
je 0x429fcf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x429fec
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42cfb0
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 [0x453b54], 0
je 0x42d0ff
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452008]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d0ff
mov eax, dword [0x453b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d0ce
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.004135bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d0c6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d0c6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d0c6
mov eax, dword [ebp - 0x14]
call fcn.00435c3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d0c6
push ebp
call fcn.0042cf6c
pop ecx
test al, al
jne 0x42d0c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d082
mov eax, dword [ebp - 0x14]
call fcn.0043476c
dec eax
jle 0x42d0c6
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.004032d4
cmp byte [ebp - 1], 0
je 0x42d0c6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d0c6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042c738
inc edi
dec ebx
jne 0x42d015
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42d0e6
mov eax, dword [0x453b58]
call fcn.0042c7c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d0ff
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042cdd4
pop ecx
test al, al
jne 0x42d0ff
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 0x4306d4
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 0x430720
mov eax, esi
call fcn.00445e84
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430720
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430720
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 0x43085f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430760
cmp eax, 0x108
ja 0x430760
mov eax, esi
call fcn.00445e84
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430856
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43085f
jmp 0x430856
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43083f
cmp eax, 0x20a
ja 0x43083f
test byte [esi + 0x50], 0x80
jne 0x430792
sub eax, 0x203
je 0x43078f
sub eax, 3
je 0x43078f
sub eax, 3
jne 0x430792
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4307a6
dec eax
je 0x4307bb
dec eax
je 0x4307d8
dec eax
je 0x4307bb
jmp 0x4307df
mov ecx, ebx
mov eax, dword [0x452008]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f630
jmp 0x430856
cmp byte [esi + 0x5d], 1
jne 0x4307d1
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x43085f
or word [esi + 0x54], 1
jmp 0x430856
and word [esi + 0x54], 0xfffe
jmp 0x430856
mov eax, dword [0x453b10]
cmp byte [eax + 0x20], 0
je 0x430856
mov eax, dword [0x453b10]
cmp dword [eax + 0x1c], 0
je 0x430856
mov eax, dword [ebx]
mov edx, dword [0x453b10]
cmp eax, dword [edx + 0x1c]
jne 0x430856
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.00445dc8
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.004032d4
jmp 0x43085f
cmp eax, 0xb00b
jne 0x430856
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f000
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