joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10002450
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push 0x58
lea eax, [ebp - 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 4
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.100022f0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.100023b0
mov eax, dword [ebp - 0xa]
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x100034e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x100790b4]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x10081d40]
push ebx
mov ebx, dword [eax + 0x94]
lea ecx, [eax + 0x94]
push esi
push edi
mov dword [esp + 0x14], ecx
cmp dword [ebx + 0x18], 0
jne 0x10003629
cmp dword [ebx + 0x14], 0
jne 0x100035d4
cmp dword [ebx + 0x4c], 0
jne 0x100035c8
lea ecx, [esp + 0x98]
call fcn.1001eba0
mov ecx, 0x1d
lea edi, [esp + 0x20]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x68], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 1
mov byte [esp + 0x3c], 1
jne 0x10003585
mov eax, dword [0x10075b20]
movups xmm0, xmmword [str.ProggyClean.ttf__13px]
mov dword [esp + 0x78], eax
mov ax, word [0x10075b24]
movups xmmword [esp + 0x68], xmm0
mov word [esp + 0x7c], ax
movss xmm2, dword [esp + 0x30]
xorps xmm0, xmm0
comiss xmm0, xmm2
jb 0x100035a1
movss xmm2, dword [0x100762a4]
movss dword [esp + 0x30], xmm2
mov eax, dword [esp + 0x50]
mov ecx, 0x10075b28
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push ecx
push eax
push 0x10036d00
mov ecx, ebx
call fcn.1001eee0
mov dword [eax + 0xc], 0x3f800000
mov ecx, ebx
call fcn.1001f030
mov eax, dword [0x10081d40]
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x10003629
mov ecx, dword [ebx + 0x20]
imul ecx, dword [ebx + 0x1c]
shl ecx, 2
test eax, eax
je 0x100035ef
inc dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebx + 0x20]
add esp, 4
imul ecx, dword [ebx + 0x1c]
mov edx, eax
mov dword [ebx + 0x18], edx
test ecx, ecx
jle 0x10003629
nop dword [eax]
movzx eax, byte [esi]
lea edx, [edx + 4]
shl eax, 0x18
lea esi, [esi + 1]
or eax, 0xffffff
dec ecx
mov dword [edx - 4], eax
test ecx, ecx
jg 0x10003610
mov edx, dword [ebx + 0x1c]
mov eax, dword [0x1008227c]
mov edi, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x20]
push 0
push 0x10082274
push 0
push 0x15
push 0x200
push 1
push ebx
mov dword [0x10082274], 0
mov ecx, dword [eax]
push edx
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
call dword [ecx + 0x5c]
test eax, eax
js 0x100036e1
mov eax, dword [0x10082274]
lea edx, [esp + 0x18]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x4c]
test eax, eax
jne 0x100036e1
xor esi, esi
test ebx, ebx
jle 0x100036af
mov ebx, dword [esp + 0xc]
shl ebx, 2
nop
mov eax, dword [esp + 0x18]
imul eax, esi
push ebx
push edi
add eax, dword [esp + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
inc esi
add esp, 0xc
add edi, ebx
cmp esi, dword [esp + 0x10]
jl 0x10003690
mov eax, dword [0x10082274]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [0x10082274]
mov dword [ecx + 8], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1003285a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x114]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003285a
mov esp, ebp
pop ebp
ret
Function at 0x10003c50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100790b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10081d40]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [0x10082288]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x30]
mov ecx, edi
sub ecx, dword [0x10082290]
mov esi, dword [ebp - 0x2c]
mov edx, esi
sbb edx, dword [0x10082294]
call fcn.10034230
mov edx, dword [0x1008229c]
mov ecx, dword [0x10082298]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10034230
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x10082294], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10082290], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xf9], al
call esi
mov esi, dword [0x10081d40]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xfb], 0
mov byte [ebx + 0xfa], al
cmp byte [esi + 0x353], 0
je 0x10003d75
cvttss2si eax, dword [esi + 0xe0]
mov dword [ebp - 0x1c], eax
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x10082288]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe0], 0xff7fffff
mov dword [esi + 0xe4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10003deb
mov ecx, dword [0x10082288]
cmp eax, ecx
je 0x10003da9
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10003deb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10003deb
lea eax, [ebp - 0x24]
push eax
push dword [0x10082288]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10003deb
movd xmm0, dword [ebp - 0x24]
movd xmm1, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe0], xmm0
movss dword [esi + 0xe4], xmm1
cmp byte [ebx + 0xac], 0
je 0x10003df9
or eax, 0xffffffff
jmp 0x10003e04
mov eax, dword [0x10081d40]
mov eax, dword [eax + 0x1c54]
cmp dword [0x100795b4], eax
je 0x10003e16
mov dword [0x100795b4], eax
call fcn.100038b0
call fcn.100039d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003285a
mov esp, ebp
pop ebp
ret
Function at 0x10005d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005d22
mov dword [edi], 0
mov edx, 0x1003677c
call fcn.10005c00
mov esi, eax
test esi, esi
jne 0x10005d36
pop edi
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10005dd2
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10005dd2
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10005dd2
mov eax, dword [0x10081d40]
test eax, eax
je 0x10005d7f
inc dword [eax + 0x36c]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10005dd2
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x10005dbb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.10008270
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10005dca
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100082c0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003435e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100790b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10081d40]
test eax, eax
je 0x1000830a
inc dword [eax + 0x36c]
push 0x3a68
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
test eax, eax
je 0x1000833b
push ecx
mov ecx, eax
call fcn.100045a0
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x10008340
xor edi, edi
mov dword [ebp - 0x18], edi
mov eax, dword [0x10081d40]
xorps xmm0, xmm0
test eax, eax
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
cmove eax, edi
mov dword [ebp - 0x34], str.Window
mov dword [0x10081d40], eax
or edx, 0xffffffff
mov al, 0x57
mov esi, 0x100366c5
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x1000837e
cmp byte [esi], al
jne 0x1000837e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10036900]
test al, al
jne 0x10008370
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0x100142a0
mov dword [ebp - 0x28], 0x10014340
mov esi, dword [edi + 0x2c3c]
mov ecx, dword [edi + 0x2c40]
mov dword [ebp - 0x24], 0x10014410
cmp esi, ecx
jne 0x1000845b
inc esi
test ecx, ecx
je 0x100083d8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100083dd
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000845b
mov eax, dword [0x10081d40]
test eax, eax
je 0x100083f5
inc dword [eax + 0x36c]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x2c44]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x1000844f
mov ecx, dword [edi + 0x2c3c]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2c44]
add esp, 0xc
test ecx, ecx
je 0x10008442
mov eax, dword [0x10081d40]
test eax, eax
je 0x10008442
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [edi + 0x2c44], eax
mov dword [edi + 0x2c40], esi
mov eax, dword [edi + 0x2c3c]
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2c44]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2c3c]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1000ace0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000ad1f
cmp bl, 0x23
jne 0x1000ad01
cmp byte [esi], bl
jne 0x1000ad01
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x10036900]
test bl, bl
jne 0x1000acf2
mov ebx, dword [0x10081d40]
not eax
mov esi, dword [ebx + 0x1974]
mov edi, dword [ebx + 0x197c]
mov ecx, edi
test esi, esi
je 0x1000ad64
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000ad58
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000ad5a
mov esi, edx
test esi, esi
jne 0x1000ad40
mov ecx, dword [ebx + 0x197c]
mov edx, dword [ebx + 0x1974]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x1000ad7c
cmp dword [edi], eax
jne 0x1000ad7c
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1000f440
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10081d40]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1984]
mov esi, 4
mov eax, dword [edi + 0x1c0]
add edi, 0x1c0
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10036900]
sub esi, 1
jne 0x1000f477
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x1000f4c1
inc ecx
test esi, esi
je 0x1000f4ad
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1000f4b2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10014b80
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013db0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10081d40]
push esi
mov esi, ebx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edi, dword [esi + 0x2c48]
mov ecx, dword [esi + 0x2c4c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xc], 0
cmp edi, ecx
jne 0x10013ea2
inc edi
test ecx, ecx
je 0x10013e16
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10013e1b
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10013ea2
test esi, esi
je 0x10013e2e
inc dword [esi + 0x36c]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [esi + 0x2c50]
test eax, eax
je 0x10013e90
mov ecx, dword [esi + 0x2c48]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2c50]
add esp, 0xc
test ecx, ecx
je 0x10013e86
mov eax, dword [0x10081d40]
test eax, eax
je 0x10013e86
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x2c50], ebx
mov ebx, dword [0x10081d40]
mov dword [esi + 0x2c4c], edi
mov eax, dword [esi + 0x2c48]
mov ecx, dword [esi + 0x2c50]
movups xmm0, xmmword [ebp - 0x24]
mov edi, dword [ebp - 4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0xc]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2c48]
mov eax, dword [esi + 0x2c48]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2c50]
mov esi, edi
lea eax, [eax + ecx*4]
add eax, 0xffffffe4
lea ecx, [esi + 1]
mov dword [ebp - 8], eax
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10013f00
sub esi, ecx
test ebx, ebx
je 0x10013f13
inc dword [ebx + 0x36c]
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebp - 8]
lea esi, [edi + 1]
add esp, 0x10
or edx, 0xffffffff
mov dword [ebx], eax
mov al, byte [edi]
test al, al
je 0x10013f67
or edi, 0xffffffff
nop word [eax + eax]
cmp al, 0x23
jne 0x10013f4e
cmp byte [esi], al
jne 0x10013f4e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10036900]
test al, al
jne 0x10013f40
pop edi
not edx
mov eax, ebx
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x10081d40]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [esi + 0x2c2c], 0
test eax, eax
je 0x1001428c
push edi
lea edi, [esi + 0x2c30]
mov dword [esi + 0x2c2c], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100141e7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10014f20
mov ecx, dword [edi + 4]
xor edx, edx
mov dword [edi], 0
test ecx, ecx
jne 0x100141fe
push 8
mov ecx, edi
call fcn.10014f20
mov edx, dword [edi]
mov eax, dword [edi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [edx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2c3c], 0
jle 0x10014245
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x2c44]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2c3c]
jl 0x10014220
cmp dword [edi + 8], 0
je 0x10014250
mov edi, dword [edi]
dec edi
jmp 0x10014252
xor edi, edi
mov eax, dword [esi + 0x2c38]
mov ebx, 0x10081d3c
mov ecx, dword [ebp - 8]
test eax, eax
mov edx, 0x10036780
cmovne ebx, eax
call fcn.10005c00
mov esi, eax
test esi, esi
je 0x1001428a
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002e664
Capabilities:
Create thread

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [esp + 8], 1
jne 0x1002e687
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x1003239c
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
ret 0xc

Function at 0x1002f09d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [0x10081d58]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10081d5c]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp byte [0x10081d8f], 0
mov edi, eax
je 0x1002f119
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x20
call ebx
test ax, ax
je 0x1002f0e7
test byte [edi + 0x350], 1
je 0x1002f0e7
or dword [esi + 0x20], 2
jmp 0x1002f118
push 0x20
call ebx
test ax, ax
je 0x1002f0ff
test byte [edi + 0x350], 1
jne 0x1002f108
and dword [esi + 0x20], 0xfffffffd
jmp 0x1002f118
test byte [edi + 0x350], 1
je 0x1002f118
push 0x20
call ebx
test ax, ax
je 0x1002f118
or dword [esi + 0x20], 0x20008
pop ebx
cmp byte [0x10081d98], 0
je 0x1002f156
mov ecx, dword [0x10081d58]
lea edx, [esp + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
test byte [edi + 0x350], 1
jne 0x1002f156
movzx eax, word [esi + 0x34]
test ax, ax
jle 0x1002f14d
mov dword [esi + 0x18], 0x43e10000
jmp 0x1002f156
jns 0x1002f156
mov dword [esi + 0x18], 0xc3e10000
pop edi
pop esi
add esp, 0xc
ret
Function at 0x401a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test eax, eax
je 0x401a0f
push ebx
push esi
push eax
mov esi, eax
xor ebx, ebx
xor eax, eax
jmp 0x401a15
mov dword [edx], eax
inc dword [edx]
ret
inc esi
movzx ecx, byte [esi]
cmp cl, 0x20
je 0x401a14
cmp cl, 0x30
jle 0x401a5a
test cl, 0x87
je 0x401a80
sub cl, 0x30
cmp cl, 9
ja 0x401a48
cmp eax, 0xccccccc
ja 0x401abe
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
inc esi
mov bl, 1
movzx ecx, byte [esi]
jmp 0x401a27
cmp eax, 0x80000000
jb 0x401abe
jne 0x401a55
test ebx, ebx
js 0x401abe
dec esi
mov bl, 0
jmp 0x401abe
cmp cl, 0x2b
je 0x401a64
cmp cl, 0x2d
jne 0x401a6e
mov bl, 0x2c
sub ebx, ecx
inc esi
mov bl, 0
movzx ecx, byte [esi]
cmp cl, 0x24
je 0x401a8a
cmp cl, 0x30
jne 0x401a22
inc esi
mov bl, 1
movzx ecx, byte [esi]
jmp 0x401a22
mov bh, cl
or bh, 0x20
cmp bh, 0x78
jne 0x401a27
mov bl, 0
inc esi
movzx ecx, byte [esi]
cmp cl, 0x61
jb 0x401a98
sub cl, 0x20
sub cl, 0x30
cmp cl, 9
jbe 0x401aab
sub cl, 0x11
cmp cl, 5
ja 0x401abb
add cl, 0xa
cmp eax, 0xfffffff
ja 0x401abe
shl eax, 4
mov bl, 1
add eax, ecx
jmp 0x401a8c
add cl, 0x11
mov ch, bl
sar ebx, 0x1f
dec ch
xor eax, ebx
sub eax, ebx
or cl, ch
cmp cl, 0xd0
jne 0x401ad8
xor esi, esi
pop ecx
mov dword [edx], esi
pop esi
pop ebx
ret
inc esi
pop ecx
sub esi, ecx
jmp 0x401ad3

Function at 0x402b44
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x44a048], 0
je 0x402ba5
cmp word [0x44a21c], 0xd7b2
jne 0x402b6d
cmp dword [0x44a224], 0
jbe 0x402b6d
mov eax, 0x44a218
call dword [0x44a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x449084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402bcc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x449030], 0
jne 0x402bc1
push 0
push 0x44907c
push 0x449084
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404c58
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 0x404cbe
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.00402f98
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00401a00
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404ca8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404cc5
lea eax, [ebp - 0x10]
call fcn.00402cc8
ret

Function at 0x409c08
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 0x409c41
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00402e30
jmp 0x409c4a
mov eax, ebx
mov edx, esi
call fcn.00402d88
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a30c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a174
mov eax, dword [0x449d18]
cmp byte [eax], 0
je 0x40a388
mov eax, dword [0x449b80]
call fcn.004017f4
call fcn.004015b8
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.00407438
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 0x40a3d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a3be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x449b3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x44ae0c]
call fcn.00403ef4
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