joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7ca0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10128014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
push 0x49
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.28.29333includexlocale
push 2
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10077b00
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1002447a
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1005fc50
mov dword [edi + 4], eax
lea ebx, [esi + 4]
mov eax, dword [ebp - 0x10]
lea edx, [esi + 8]
mov dword [ebp - 0x18], ebx
lea ecx, [esi + 0x18]
mov ebx, dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x34], edi
lea edi, [esi + 0x14]
mov dword [ebp - 0x14], edx
add esi, 0x24
mov edx, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x18]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x18]
mov dword [edx], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [0x1012d364]
mov edx, dword [0x1012d368]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1005ed10
int3
Function at 0x10024810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7ce0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10128014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x49
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.28.29333includexlocale
push 2
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10077b00
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100248e7
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1005fc50
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1005ed10
int3
Function at 0x10028500
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10128014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1012d194], 0
push edi
nop dword [eax]
cmp byte [0x1012d1fc], 0
jne 0x10028616
push str.Kernel32.dll
call esi
push 0
mov edi, eax
call esi
mov word [ebp - 0xc], 0x2eeb
lea esi, [eax + 0x202aaa]
lea eax, [ebp - 8]
push eax
push 0x40
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [ebp - 0xc]
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edi, edi
je 0x10028610
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetTickCount
push edi
call esi
mov dword [0x1012d1f8], eax
call eax
push str.GetTickCount64
push edi
mov dword [0x1012d204], eax
call esi
mov dword [0x1012d1f0], eax
call eax
push 0x100e8d98
push edi
mov dword [0x1012d200], eax
call esi
push 0x1012d2f0
mov dword [0x1012d1f4], eax
call eax
call fcn.1005c500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005c9e0
push 0x10059160
push 0x1012d1f8
call fcn.1005bf90
push 0x100591a0
push 0x1012d1f0
call fcn.1005bf90
push 0x100591e0
push 0x1012d1f4
call fcn.1005bf90
call fcn.1005c560
mov byte [0x1012d1fc], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 7
call fcn.10054f10
test eax, eax
je 0x10028630
push 0xfa
call ebx
jmp 0x10028530
cmp dword [0x1012d350], 0
pop edi
je 0x10028664
mov eax, dword [0x1012d33c]
mov edx, 0x10026d60
push 0x1012d1a0
mov esi, dword [eax + 0x540]
mov ecx, esi
call fcn.10056c40
test eax, eax
jne 0x10028664
lea edx, [eax + 1]
mov ecx, esi
call fcn.10056f90
push 0xfa
call ebx
push 0
push 0
push 0
push 0x10028450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret

Function at 0x1002b130
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10128014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
push 0x40
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub esi, eax
push esi
push eax
push ebx
call fcn.10062a50
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 8]
call fcn.10001c40
mov ecx, dword [ebp + 0xc]
pop esi
pop ebx
test ecx, ecx
je 0x1002b1af
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push ecx
call fcn.1001af10
add esp, 8
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 8], 0
call fcn.1001af10
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret
Function at 0x1002b200
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10128014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1012d1a6], 0
jne 0x1002b26b
push edi
push 4
call fcn.1005da30
add esp, 4
mov dword [0x1012d1b0], eax
mov dword [eax], 0x3f800000
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edi, [eax + 0x20a677]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x1012d1b0]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [0x1012d1a6], 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret

Function at 0x1002ce90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1002cedc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1002cebf
cmp edi, 2
jb 0x1002cebf
cmp byte [esi], cl
jne 0x1002cebf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100e2350]
test edi, edi
jne 0x1002cea5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1002cf0b
cmp cl, 0x23
jne 0x1002cef2
cmp byte [esi], cl
jne 0x1002cef2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100e2350]
test cl, cl
jne 0x1002cee3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1002d060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1002d073
mov dword [edi], 0
mov edx, 0x100e71a0
call fcn.1002cf20
mov esi, eax
test esi, esi
je 0x1002d15c
push esi
call fcn.10082650
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1002d153
push 2
push 0
push esi
call fcn.10079730
add esp, 0xc
test eax, eax
jne 0x1002d153
push esi
call fcn.10082650
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1002d153
push 0
push dword [ebp + 8]
push esi
call fcn.10079730
add esp, 0xc
test eax, eax
jne 0x1002d153
mov eax, dword [0x1012d1c0]
test eax, eax
je 0x1002d0e6
inc dword [eax + 0x374]
push dword [0x1012d1bc]
push ebx
call fcn.1002c940
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x1002d153
push esi
push ebx
push 1
push eax
call fcn.10078ea0
add esp, 0x10
push esi
cmp eax, ebx
je 0x1002d13d
call fcn.10074a30
mov eax, dword [0x1012d1c0]
add esp, 4
test eax, eax
je 0x1002d125
dec dword [eax + 0x374]
push dword [0x1012d1bc]
push dword [ebp + 8]
call fcn.1002c950
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10074a30
add esp, 4
test edi, edi
je 0x1002d14b
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10074a30
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1002ffc0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8833
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10128014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1012d1c0]
test eax, eax
je 0x1002fff6
inc dword [eax + 0x374]
push dword [0x1012d1bc]
push 0x3b88
call fcn.1002c940
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd]
add esp, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003002f
push ecx
mov ecx, eax
call fcn.1002ba50
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x10030034
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov esi, 0x100e70f5
mov eax, dword [0x1012d1c0]
test eax, eax
mov dword [ebp - 0x20], 0
cmove eax, edi
mov dword [ebp - 0x34], str.Window
mov dword [0x1012d1c0], eax
or edx, 0xffffffff
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x10030073
cmp byte [esi], al
jne 0x10030073
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 + 0x100e2350]
test al, al
jne 0x10030065
mov edi, dword [ebp - 0x14]
not edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0x1003cc00
mov dword [ebp - 0x28], 0x1003cca0
mov esi, dword [edi + 0x2d40]
mov ecx, dword [edi + 0x2d44]
mov dword [ebp - 0x24], 0x1003cd70
cmp esi, ecx
jne 0x1003015a
inc esi
test ecx, ecx
je 0x100300cd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100300d2
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1003015a
mov eax, dword [0x1012d1c0]
test eax, eax
je 0x100300ea
inc dword [eax + 0x374]
push dword [0x1012d1bc]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1002c940
mov edx, dword [edi + 0x2d48]
add esp, 8
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1003014e
mov ecx, dword [edi + 0x2d40]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.10062a50
mov ecx, dword [edi + 0x2d48]
add esp, 0xc
test ecx, ecx
je 0x1003013c
mov eax, dword [0x1012d1c0]
test eax, eax
je 0x1003013c
dec dword [eax + 0x374]
push dword [0x1012d1bc]
push ecx
call fcn.1002c950
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [edi + 0x2d48], eax
mov dword [edi + 0x2d44], esi
mov eax, dword [edi + 0x2d40]
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d48]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d40]
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
ret
Function at 0x10032dc0
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 0x10032dff
cmp bl, 0x23
jne 0x10032de1
cmp byte [esi], bl
jne 0x10032de1
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 + 0x100e2350]
test bl, bl
jne 0x10032dd2
mov ebx, dword [0x1012d1c0]
not eax
mov esi, dword [ebx + 0x19a0]
mov edi, dword [ebx + 0x19a8]
mov ecx, edi
test esi, esi
je 0x10032e44
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10032e38
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10032e3a
mov esi, edx
test esi, esi
jne 0x10032e20
mov ecx, dword [ebx + 0x19a8]
mov edx, dword [ebx + 0x19a0]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x10032e5c
cmp dword [edi], eax
jne 0x10032e5c
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1003c510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x1012d1c0]
push edi
cmp byte [esi + 0x2d58], 0
je 0x1003c5ae
cmp dword [esi + 0x2d60], 0
lea edi, [esi + 0x2d64]
je 0x1003c5a0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1003c559
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.1003db00
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1002d5a0
mov edx, dword [edi]
mov ecx, 0x1012d1b6
push dword [esi + 0x2d60]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d6c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.100759c0
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1002d5a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003c8f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x1012d1c0]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1003c919
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1003c910
sub esi, ecx
test edx, edx
je 0x1003c923
inc dword [edx + 0x374]
push ebx
push dword [0x1012d1bc]
lea eax, [esi + 1]
push eax
call fcn.1002c940
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call fcn.10062a50
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x14
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x1003cabc
nop
mov al, byte [ecx]
cmp al, 0xa
je 0x1003caef
cmp al, 0xd
je 0x1003caef
mov esi, ecx
cmp ecx, ebx
jae 0x1003c987
mov al, byte [esi]
cmp al, 0xa
je 0x1003c987
cmp al, 0xd
je 0x1003c987
inc esi
cmp esi, ebx
jb 0x1003c978
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1003caae
cmp al, 0x5b
jne 0x1003ca8d
cmp esi, ecx
jbe 0x1003ca8d
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1003ca8a
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.10063870
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003caa8
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.10063870
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1003caa8
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x1012d1c0]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [edi]
inc edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x1003ca3e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1003ca1f
cmp byte [edi], cl
jne 0x1003ca1f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x100e2350]
test cl, cl
jne 0x1003ca10
mov ebx, dword [0x1012d1c0]
mov edi, dword [ebx + 0x2d40]
xor ecx, ecx
not eax
test edi, edi
jle 0x1003ca61
mov ebx, dword [ebx + 0x2d48]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x1003ca6a
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x1003ca55
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x1003caab
lea eax, [ecx + ecx*2]
lea edi, [ebx + eax*8]
test edi, edi
je 0x1003ca63
push dword [ebp - 0x14]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x1003caab
mov ebx, dword [ebp - 8]
test edi, edi
je 0x1003caae
test edx, edx
je 0x1003caae
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x1003caae
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1003c960
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x1003cad0
mov eax, dword [0x1012d1c0]
test eax, eax
je 0x1003cad0
dec dword [eax + 0x374]
push dword [0x1012d1bc]
push esi
call fcn.1002c950
mov eax, dword [ebp - 0xc]
add esp, 8
pop edi
mov byte [eax + 0x2d2c], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1003c960
Function at 0x1003cb00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1012d1c0]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d30], 0
test eax, eax
je 0x1003cbf6
lea edi, [esi + 0x2d34]
mov dword [esi + 0x2d30], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1003cb55
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.1003db00
xor ecx, ecx
mov dword [edi], 0
cmp dword [edi + 4], ecx
jne 0x1003cb6d
push 8
mov ecx, edi
call fcn.1003db00
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d40], 0
mov ebx, dword [edi]
jle 0x1003cbb7
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x2d48]
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 + 0x2d40]
jl 0x1003cb90
mov ebx, dword [edi]
mov ecx, dword [ebp - 8]
lea eax, [ebx - 1]
neg ebx
mov edi, 0x1012d1b6
mov edx, 0x100e71a4
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi + 0x2d3c]
test eax, eax
cmovne edi, eax
call fcn.1002cf20
mov esi, eax
test esi, esi
je 0x1003cbf6
push esi
push ebx
push 1
push edi
call fcn.100759c0
push esi
call fcn.10074a30
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004c160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10128014]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x1012d1c0]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push dword [0x1012d338]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 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 [esp + 0x30]
mov ecx, edi
sub ecx, dword [0x1012d340]
mov esi, dword [esp + 0x34]
mov edx, esi
sbb edx, dword [0x1012d344]
call fcn.100b4780
mov edx, dword [0x1012d34c]
mov ecx, dword [0x1012d348]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.100b4780
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1012d344], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1012d340], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov esi, dword [0x1012d1c0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [esi + 0x35b], 0
je 0x1004c298
cvttss2si eax, dword [esi + 0xe8]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [esi + 0xec]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x1012d338]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe8], 0xff7fffff
mov dword [esi + 0xec], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1004c312
mov ecx, dword [0x1012d338]
cmp eax, ecx
je 0x1004c2cc
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1004c312
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1004c312
lea eax, [esp + 0x10]
push eax
push dword [0x1012d338]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1004c312
movd xmm0, dword [esp + 0x10]
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
cmp byte [ebx + 0xb0], 0
je 0x1004c320
or eax, 0xffffffff
jmp 0x1004c32b
mov eax, dword [0x1012d1c0]
mov eax, dword [eax + 0x1d30]
cmp dword [0x10128d48], eax
je 0x1004c33d
mov dword [0x10128d48], eax
call fcn.1004bdb0
call fcn.1004bee0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret
Function at 0x10056870
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10128014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005696a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10056963
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10056949
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10056949
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10056949
mov edx, dword [esi]
test edx, edx
jne 0x10056912
push 0x200
push edx
push dword [0x1012d1c8]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10056963
jmp 0x1005693d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1005693d
shl eax, 3
push eax
push edx
push 0
push dword [0x1012d1c8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10056963
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100568d1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100569af
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100569af
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100569a9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10056700
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10056976
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret