joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470ea5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x470fbd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470fbd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048ac4d
mov esi, eax
test esi, esi
je 0x470fbd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x470fbd
mov ecx, esi
call fcn.00470e30
cmp edi, eax
jge 0x470fbd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x470f43
mov dword [esp + 0x34], 1
jmp 0x470f9e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x470fbd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004703d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48b5f1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48b629
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048967b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00489653
jmp 0x48b635
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48cce3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48cd25
call fcn.004927db
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48cd25
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48cd1c
xor eax, eax
jmp 0x48cd2d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048cd33
pop edi
pop esi
pop ebx
ret 4
Function at 0x492d0b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x492d39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x492d57
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00492c71
jmp 0x492d57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x492d57
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00492c71
test edi, edi
mov eax, edi
jne 0x492d41
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x4233c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4233d3
pop dword [ebp - 0x50]
mov eax, 0xa98af4f
sub eax, 0xa567b7c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xbc75532e
add dword [ebp - 0x60], 0x91dcf21d
mov dword [ebp - 0x5c], 0x649b9d39
sub dword [ebp - 0x5c], 0x326850f4
mov dword [ebp - 0x58], 0xa04ca6d7
add dword [ebp - 0x58], 0xabff9d57
mov dword [ebp - 0x54], 0xb44b4c00
add dword [ebp - 0x54], 0x4bb4b400
lea eax, [ebp - 0x60]
push eax
mov eax, 0x6dcc6d43
sub eax, 0x6d88ab17
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xb7486285
add dword [ebp - 0x60], 0xbd2a06d1
mov dword [ebp - 0x5c], 0x5211de1d
add dword [ebp - 0x5c], 0xef5a8358
mov dword [ebp - 0x58], 0x21c0869c
sub dword [ebp - 0x58], 0xbe511a30
mov dword [ebp - 0x54], 0x920fd0c7
sub dword [ebp - 0x54], 0x920fd0c7
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x8cb15ee5
add eax, 0x7392640b
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x48c85
push 0
call eax
mov ecx, 0x937c5620
sub ecx, 0x937c07e3
xor ebx, ebx
add ebx, eax
mov esi, 0x475600
add esi, dword [ebp - 0x50]
mov edx, 0x1e70da02
sub edx, 0xb6c075e9
mov dword [ebp - 0x38], 0x665e2907
mov edi, dword [esi]
mov dword [ebp - 0x44], 0x83789f69
xor edi, edx
xor dword [ebp - 0x20], 0xa8c17113
mov dword [ebx], edi
sub dword [ebp - 0x3c], eax
add ebx, 0x4999f0d1
add ebx, 0xb6660f33
add esi, 4
loop 0x4234f1
add eax, 0x12bc7
xor ebx, ebx
add ebx, eax
add eax, 0xe9ea5441
sub eax, 0xe9ea543c
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x10008880
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [ebp + 0xc]
push edi
call fcn.1001cec0
test eax, eax
jne 0x100089e6
cmp byte [0x101170fc], al
jne 0x100088a4
xor edi, edi
jmp 0x100088bf
push 5
call dword [0x10117140]
mov edi, eax
add esp, 4
test edi, edi
je 0x100088bf
push edi
call dword [0x10117148]
add esp, 4
mov edx, dword [ebp + 8]
test edx, edx
jle 0x100089ce
test esi, esi
je 0x100089ce
cmp dword [0x10119650], 0
jne 0x1000895a
push 0
call fcn.1001cec0
movups xmm0, xmmword [str.expand_32_byte_k]
add esp, 4
movups xmmword [0x10119650], xmm0
test eax, eax
jne 0x10008906
push 0x2c
push eax
push 0x10119660
call sub.VCRUNTIME140.dll_memset
jmp 0x10008936
cmp dword [0x1011720c], 0
je 0x10008929
push 0x2c
push 0
push 0x10119660
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1011720c]
mov dword [0x10119660], eax
jmp 0x10008936
push 0x10119660
push 0x2c
push eax
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x10119680]
add esp, 0xc
mov edx, dword [ebp + 8]
xor cl, cl
mov dword [0x1011968c], eax
mov dword [0x10119680], 0
mov byte [0x101196d0], cl
jmp 0x10008960
mov cl, byte [0x101196d0]
movzx eax, cl
cmp edx, eax
jle 0x100089ae
test cl, cl
je 0x10008989
movzx eax, cl
push eax
push 0x10119690
push esi
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [0x101196d0]
add esp, 0xc
sub dword [ebp + 8], eax
add esi, eax
inc dword [0x10119680]
mov edx, 0x10119650
mov ecx, 0x10119690
call fcn.1001cec0
mov edx, dword [ebp + 8]
mov cl, 0x40
mov byte [0x101196d0], cl
cmp edx, 0x40
jg 0x10008967
movzx eax, cl
sub eax, edx
push edx
add eax, 0x10119690
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
sub byte [0x101196d0], al
jmp 0x100089d8
mov dword [0x10119650], 0
test edi, edi
je 0x100089e6
push edi
call dword [0x10117150]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001cec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1001cecf
pop dword [ebp - 8]
mov eax, 0x252e084c
add eax, 0xead3c683
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xf17547ce
add dword [ebp - 0x18], 0x5cdcfd7d
mov dword [ebp - 0x14], 0x2f41fe0d
sub dword [ebp - 0x14], 0xfd0eb1c8
mov dword [ebp - 0x10], 0x9aec15dd
sub dword [ebp - 0x10], 0x4e9fd1af
mov dword [ebp - 0xc], 0xa3b2ef95
add dword [ebp - 0xc], 0x5c4d106b
lea eax, [ebp - 0x18]
push eax
mov eax, 0xe111b07f
sub eax, 0xd1019feb
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x1108e75a
sub dword [ebp - 0x18], 0x9c967e04
mov dword [ebp - 0x14], 0x3a2696e1
sub dword [ebp - 0x14], 0xf8ba356c
mov dword [ebp - 0x10], 0x2bb3e2a0
sub dword [ebp - 0x10], 0xc8447634
mov dword [ebp - 0xc], 0x796a6c32
add dword [ebp - 0xc], 0x869593ce
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x6df5d
push 0
call eax
mov ecx, 0x278db30b
sub ecx, 0x278d5981
mov edx, eax
mov ebx, 0x10123e00
add ebx, dword [ebp - 8]
mov edi, 0x3a887050
mov dword [ebp - 4], 0xbcf37e8b
mov esi, dword [ebx]
xor esi, edi
xor dword [ebp - 4], 0x5cc36c35
mov dword [edx], esi
xor dword [ebp - 4], edi
add edx, 0xfbeaab2
sub edx, 0xfbeaaae
add ebx, 4
loop 0x1001cfe0
add eax, 0x8a1cfba1
sub eax, 0x8a1ba2a6
mov ebx, eax
add eax, 0x488b9768
sub eax, 0x488b9763
mov ecx, 0xd5676e8e
add ecx, 0x3a989172
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0xa86ab0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0xaf197c]
mov edi, eax
add esp, 4
test edi, edi
jne 0xa86ae3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x10]
jbe 0xa86b2a
mov eax, dword [esi]
push ecx
call eax
push dword [ebp + 8]
mov eax, dword [esi + 4]
push ebx
push dword [edi + 4]
call eax
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
mov eax, dword [esi + 8]
push ebx
mov dword [ebp - 8], ebx
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 8]
add esp, 8
xor ebx, ebx
test eax, eax
je 0xa86b83
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 8], 1
jne 0xa86b48
mov ebx, dword [ebp - 0xc]
cmp ebx, dword [esi + 0x10]
jae 0xa86bb7
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0xabe23b
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0xabe23a
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0xa86b90
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa876d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push esi
push edi
push 0xf0000040
mov esi, ecx
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa8770b
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
ret

Function at 0xaa12e9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00aa0fa9

Function at 0xaa860c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00aa848b

Function at 0x7ad09c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ad0a6
pushal
call 0x7ad0ac
pop ebp
sub ebp, 0x10
sub ebp, 0x3ad09c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x7ad0d0
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x7ad0d9
mov eax, 0x3ad09c
add eax, ebp
add eax, 0x63
mov ecx, 0x613
mov edx, 0x95ed2cff
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ad0f0
jmp 0x7ad103
je 0x7ad137
je 0x7ad17d
ret
fist dword [edi + 0x6727e55d]
pop ss
cli
invalid
invalid
Function at 0x100020a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x10048100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x3f4], eax
call fcn.10013be0
add esp, 4
test eax, eax
je 0x1000217c
push esi
add eax, 0x158
push 0x3e8
push eax
call fcn.10022050
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100020f0
sub eax, edx
mov esi, 0x1505
push edi
sar eax, 1
xor edi, edi
add eax, eax
je 0x1000213c
nop dword [eax + eax]
dec eax
lea ebx, [ebx + 1]
mov dword [ebp - 0x3f0], eax
mov ecx, edi
mov eax, esi
shld edi, esi, 5
shl esi, 5
add esi, eax
movzx eax, byte [ebx - 1]
cdq
adc edi, ecx
add esi, eax
mov eax, dword [ebp - 0x3f0]
adc edi, edx
test eax, eax
jne 0x10002110
push edi
push esi
push dword [ebp - 0x3f4]
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.100027a0
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d2f8
mov esp, ebp
pop ebp
ret
Function at 0x10004c40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038093
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10048100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
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 + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x10004d3a
test dl, 0x10
jne 0x10004d3a
mov al, 1
jmp 0x10004d3c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x10004d60
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x10004d93
jbe 0x10004d93
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x10004d78
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.10003fa0
jmp 0x10004d93
sub esi, edx
je 0x10004d90
shl esi, 3
push esi
push 0
push ebx
call fcn.1001ef40
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000cd40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x1000cd71
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000cd60
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10010250
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038a95
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10048100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1000fe70
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100102e3
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 0x10
cmp dword [edi + 8], 0x38e38e3
je 0x10010443
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.1001cfa0
mov edx, dword [ebp + 0x14]
mov esi, eax
mov ecx, dword [ebx]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push dword [edx]
push dword [eax]
call fcn.10010bf0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1003afb0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1003afb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100103e5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.10026e80
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1001d7b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100103c7
cmp ebx, 0x200
jae 0x100103c5
shl ebx, 3
cmp ebx, ecx
jae 0x100103c7
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10017b60
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000fe70
mov edx, dword [eax]
jmp 0x100103e8
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x10010413
mov dword [ecx + eax*8], esi
jmp 0x10010422
cmp edi, edx
jne 0x1001041c
mov dword [ecx + eax*8], esi
jmp 0x10010426
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10010426
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.unordered_map_set_too_long
call fcn.1001b955
int3
Function at 0x10010450
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038acd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10048100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffffc
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.10016920
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x10010506
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.10016c30
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x100104e8
cmp dword [ebp + 8], eax
je 0x10010506
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.10016ab0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x1001056c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x10010535
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.100136a0
jmp 0x10010545
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x1001056c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10010599
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x100105f2
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.10016ab0
mov edx, dword [ebp + 8]
jmp 0x100105f4
cmp dword [esi + 0x18], 0
je 0x100105cf
cmp dword [esi + 0x10], 0
je 0x100105cf
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.10015540
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x10010572
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x10010572
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4