joyce8/EMBER2024-capa huggingface dataset:
Function at 0x551ba4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5735c8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x551bc6
shr eax, 1
xor eax, 0xedb88320
jmp 0x551bc8
shr eax, 1
dec edx
jne 0x551bb4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x551bad
mov byte [0x5739c8], 1
pop esi
pop ebx
ret

Function at 0x551be4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5739c8], 0
jne 0x551bfb
call fcn.00551ba4
mov eax, edi
dec eax
test eax, eax
jl 0x551c24
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5735c8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x551c05
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x554480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x5544b1
dec al
je 0x5544f2
dec al
je 0x554536
dec al
je 0x5545a1
jmp 0x55462b
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x55462b
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5544c1
jmp 0x55462b
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x55462b
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x554502
jmp 0x55462b
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x55462b
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x554564
xor ebp, ebp
jmp 0x554575
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x55457e
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x554546
jmp 0x55462b
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x55462b
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5545f9
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00551c2c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5545b5
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x55ab88
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x84], 2
jne 0x55abcb
cmp dword [ebp - 0x90], 5
ja 0x55abcf
cmp dword [ebp - 0x90], 5
jne 0x55abcb
cmp dword [ebp - 0x8c], 1
jae 0x55abcf
xor eax, eax
jmp 0x55abd1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, reloc.kernel32.dll_VirtualAlloc
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x10004860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002af0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100374e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.Listbox.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
mov dword [esi + 0x1c], 7
mov dword [esi + 0x20], 4
call fcn.100053b0
mov eax, dword [ebp + 0x20]
lea ecx, [ebp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], 0x1e
mov dword [esi + 4], eax
call fcn.10005710
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20

Function at 0x10004950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002aec8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100374e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.Tab.0
mov byte [esi + 0x30], 0
mov dword [esi + 0x1c], 3
mov dword [esi + 0x18], eax
call fcn.100052a0
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], 0x1e
mov dword [esi + 0x20], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002af43
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100374e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x30]
mov dword [edi], vtable.TabGroup.0
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [edi + 0x3c], 5
mov dword [edi + 0x40], 0
mov dword [edi + 0x1c], 2
cmp ebx, eax
je 0x10004ba0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], ecx
sub ecx, edx
mov dword [ebp + 8], edx
mov esi, ecx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx]
sub eax, ecx
sub edx, ecx
sar esi, 2
sar edx, 2
sar eax, 2
mov dword [ebp - 0x18], ecx
cmp esi, edx
jbe 0x10004b51
cmp esi, 0x3fffffff
ja 0x10004beb
mov eax, edx
shr eax, 1
mov dword [ebp - 0x10], eax
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x10]
cmp edx, eax
ja 0x10004b24
mov eax, dword [ebp - 0x10]
add eax, edx
cmp eax, esi
cmovb eax, esi
mov esi, eax
test ecx, ecx
je 0x10004b31
push edx
push ecx
mov ecx, ebx
call fcn.10005970
push esi
mov ecx, ebx
call fcn.100055f0
push dword [ebp - 0x14]
mov esi, dword [ebx]
push dword [ebp + 8]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, esi
jmp 0x10004b9d
cmp esi, eax
jbe 0x10004b88
lea esi, [eax*4]
push esi
push dword [ebp + 8]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
mov esi, dword [ebx + 4]
sub ecx, eax
push ecx
push eax
push esi
mov dword [ebp - 0x10], ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x10]
add esp, 0x18
add eax, esi
jmp 0x10004b9d
push dword [ebp - 0x14]
push dword [ebp + 8]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea eax, [eax + esi*4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [edi + 4], eax
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
sar esi, 2
mov eax, esi
mov dword [edi + 0x3c], edx
shl eax, 4
lea ecx, [esi - 1]
imul ecx, edx
sub eax, esi
lea eax, [ecx + eax*2]
mov dword [edi + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [edi + 0x40], eax
mov eax, edi
mov dword [edi + 0x20], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.100057a0
int3
Function at 0x10005f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10005faa
push 0
push 0
push 0
push 0x10005ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10005f89
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push dword [ebp + 8]
push 0x100059f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10005faa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10006340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x1000635c
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10006378
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10006367
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 4]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x10], edi
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
nop
cmp edx, ebx
jne 0x100063a8
mov eax, ebx
jmp 0x100063ac
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10006458
mov eax, dword [ebp + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x100063c1
mov edx, dword [eax]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x100063cd
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x18]
cmp edi, dword [eax + 0x10]
jne 0x10006430
sub edi, 4
jb 0x100063f1
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100063f6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100063e0
cmp edi, 0xfffffffc
je 0x1000642a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10006423
cmp edi, 0xfffffffd
je 0x1000642a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10006423
cmp edi, 0xfffffffe
je 0x1000642a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10006423
cmp edi, 0xffffffff
je 0x1000642a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000642a
sbb eax, eax
or eax, 1
jmp 0x1000642c
xor eax, eax
test eax, eax
je 0x1000643d
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x100063a0
mov edi, dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.10006b10
test al, al
mov ecx, ebx
cmove ecx, esi
mov eax, ecx
jmp 0x1000645f
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x100064be
mov esi, dword [ebx]
lea eax, [ebp + 0xf]
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov edi, dword [esi + 4]
push eax
push 0x1002ece2
push edi
push esi
call fcn.10005fc0
mov edx, eax
mov ecx, 0x6666665
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x100064d0
mov ecx, dword [ebp - 4]
inc eax
mov dword [ebx + 4], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.100060a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x100064e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x100064fc
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10006518
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10006507
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x10006551
cmp eax, edi
jne 0x10006549
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10006559
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10006559
cmp eax, edi
jne 0x10006559
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.10006a40
push 0x28
push edi
call fcn.10028e92
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x1000a52c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1000a548
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1000a537
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1000a581
cmp eax, edi
jne 0x1000a579
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1000a589
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1000a589
cmp eax, edi
jne 0x1000a589
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.1000a8a0
push 0x38
push edi
call fcn.10028e92
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000cd60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x1000cd7e
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1000cda4
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1000cd90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
and eax, edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 4]
mov dword [ebp + 0xc], edx
mov esi, dword [ecx + eax*8]
add eax, eax
mov edi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edi
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edi, edx
jne 0x1000cdcf
mov eax, edx
jmp 0x1000cdd3
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1000ce83
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x1000cde5
mov edx, dword [ebx]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x1000cdf1
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x18]
cmp edi, dword [ebx + 0x10]
jne 0x1000ce50
sub edi, 4
jb 0x1000ce11
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000ce16
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1000ce00
cmp edi, 0xfffffffc
je 0x1000ce4a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000ce43
cmp edi, 0xfffffffd
je 0x1000ce4a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000ce43
cmp edi, 0xfffffffe
je 0x1000ce4a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1000ce43
cmp edi, 0xffffffff
je 0x1000ce4a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000ce4a
sbb eax, eax
or eax, 1
jmp 0x1000ce4c
xor eax, eax
test eax, eax
je 0x1000ce60
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x1000cdc7
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10006b10
mov ecx, dword [ebp + 0xc]
test al, al
mov eax, dword [ebp + 8]
pop edi
cmove ecx, esi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000dcf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
mov ecx, dword [edi + 0x18]
xor esi, edx
imul edx, esi, 0x1000193
and ecx, edx
mov edx, dword [edi + 0xc]
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x1000dd4c
cmp ecx, eax
jne 0x1000dd44
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x1000dd54
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1000dd54
cmp ecx, eax
jne 0x1000dd54
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.10028e92
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x1000f150
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov ecx, dword [edi + 0x18]
mov esi, dword [edi + 0xc]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [edi + 4]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
lea edi, [esi + ecx*4]
mov esi, dword [esi + ecx*4]
nop dword [eax + eax]
cmp esi, edx
jne 0x1000f198
mov ecx, edx
jmp 0x1000f19d
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1000f1bc
mov cx, word [eax + 8]
cmp cx, word [ebx]
je 0x1000f1ae
mov eax, dword [eax]
jmp 0x1000f190
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
pop ebp
ret 8

Function at 0x10012110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [0x10037c94]
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
lea edx, [ebp - 4]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x180]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
push 1
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10012183
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x10012176
cmp eax, 3
mov eax, 1
jne 0x1001217b
mov eax, 3
mov dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100121af
mov eax, dword [esi + 0x14]
cmp eax, 2
je 0x100121a2
cmp eax, 4
mov eax, 2
jne 0x100121a7
mov eax, 4
mov dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002be40
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100374e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1001bc40
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
mov ecx, dword [ecx]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x28], 0
call fcn.10019d70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001bdb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100374e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x1001be53
cmp byte [esi + 0x3d], 0
je 0x1001be53
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1001be08
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1001be1a
sub eax, 1
je 0x1001be1e
sub eax, 2
je 0x1001be53
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100291f4
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001be3c
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001be08
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100291f4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100291f4
mov esp, ebp
pop ebp
ret