joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001813
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x10001903
mov eax, 0x94
call fcn.10004ac0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10001978
mov ecx, dword [esi + 0x10]
mov dword [0x1000d050], ecx
mov eax, dword [esi + 4]
mov dword [0x1000d05c], eax
mov edx, dword [esi + 8]
mov dword [0x1000d060], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x1000d054], esi
je 0x1000187e
or esi, 0x8000
mov dword [0x1000d054], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x1000d058], eax
call fcn.10001ac5
test eax, eax
pop ecx
je 0x10001978
call fcn.100042fd
test eax, eax
jne 0x100018ab
call fcn.10001b16
jmp 0x10001978
call fcn.10004a2d
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1000e748], eax
call fcn.1000490b
mov dword [0x1000cee0], eax
call fcn.100043ec
test eax, eax
jl 0x100018fc
call fcn.10004869
test eax, eax
jl 0x100018f7
call fcn.10004636
test eax, eax
jl 0x100018f7
push 0
call fcn.10003e61
test eax, eax
pop ecx
jne 0x100018f7
inc dword [0x1000cedc]
jmp 0x10001989
call fcn.100045ea
call fcn.100040e6
jmp 0x100018a1
test eax, eax
jne 0x10001933
cmp dword [0x1000cedc], eax
jle 0x10001978
dec dword [0x1000cedc]
cmp dword [0x1000d08c], eax
jne 0x10001922
call fcn.10003f9f
call fcn.100045ea
call fcn.100040e6
call fcn.10001b16
jmp 0x10001989
cmp eax, 2
jne 0x1000197c
push 0x8c
push 1
call fcn.10001597
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x10001978
push esi
push dword [0x1000c588]
call dword [0x1000d09c]
test eax, eax
push esi
je 0x10001972
call fcn.10004103
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x10001989
call fcn.100012e5
pop ecx
xor eax, eax
jmp 0x1000198c
cmp eax, 3
jne 0x10001989
push 0
call fcn.100042ce
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
Function at 0x10002e85
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x10003059
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x1000d600]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x10003059
test cl, 0x48
je 0x10002ef0
cmp byte [eax + 5], 0xa
je 0x10002ef0
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10002f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x10002f2a
call fcn.100035b5
mov dword [eax], 9
call fcn.100035be
mov dword [eax], esi
jmp 0x10002f3a
cmp eax, 0x6d
je 0x10003059
push eax
call fcn.100035c7
pop ecx
or eax, 0xffffffff
jmp 0x1000305b
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x10003054
test eax, eax
je 0x10002f69
cmp byte [ebx], 0xa
jne 0x10002f69
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x10002f72
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x1000304e
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x1000303e
cmp al, 0xd
je 0x10002fa4
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x10003030
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x10002fbe
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x10002fb9
add dword [ebp + 0x10], 2
jmp 0x10003012
mov dword [ebp + 0x10], eax
jmp 0x1000302c
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10002fe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1000302c
cmp dword [ebp - 0xc], 0
je 0x1000302c
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x10003007
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x10003012
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x1000302f
cmp ebx, dword [ebp + 0xc]
jne 0x10003017
cmp byte [ebp - 1], 0xa
jne 0x10003017
mov byte [ebx], 0xa
jmp 0x1000302f
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10005cb4
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x10003030
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x10002f88
jmp 0x1000304e
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x1000304e
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x1000305b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003ecb
Capabilities:
Terminate process

Disassembly:
push 8
push 0x1000a308
call fcn.1000283c
push 8
call fcn.10001ce8
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x1000d090], esi
jne 0x10003eff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x1000d08c], esi
mov al, byte [ebp + 0x10]
mov byte [0x1000d088], al
cmp dword [ebp + 0xc], edi
jne 0x10003f49
cmp dword [0x1000d708], edi
je 0x10003f39
mov eax, dword [0x1000d704]
sub eax, 4
mov dword [0x1000d704], eax
cmp eax, dword [0x1000d708]
jb 0x10003f39
mov eax, dword [eax]
cmp eax, edi
je 0x10003f1a
call eax
jmp 0x10003f1a
push 0x1000c02c
mov eax, 0x1000c024
call fcn.10003e49
pop ecx
push 0x1000c034
mov eax, 0x1000c030
call fcn.10003e49
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10003f7a
cmp dword [ebp + 0x10], edi
jne 0x10003f88
mov dword [0x1000d090], esi
push dword [ebp + 8]
call fcn.10003e07
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x10003f87
push 8
call fcn.10001c33
pop ecx
ret
call fcn.10002877
ret

Function at 0x10004c82
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1000c720]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x1000c638]
je 0x10004cb7
inc eax
cmp eax, 0x13
jb 0x10004ca8
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x1000c638]
jne 0x10004ddd
mov eax, dword [0x1000cee8]
cmp eax, 1
je 0x10004db5
cmp eax, edx
jne 0x10004ce7
cmp dword [0x1000ceec], 1
je 0x10004db5
cmp ecx, 0xfc
je 0x10004ddd
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10004d1d
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.100065c0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.10006530
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10004d51
mov eax, edi
push eax
call fcn.10006530
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000a798
push edi
call fcn.100071b0
add esp, 0x10
push edi
call fcn.10006530
push dword [esi + 0x1000c63c]
mov ebx, eax
call fcn.10006530
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.10004ac0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.100065c0
push edi
push ebx
call fcn.100065d0
push 0x1000a778
push ebx
call fcn.100065d0
push dword [esi + 0x1000c63c]
push ebx
call fcn.100065d0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.100070b3
add esp, 0x2c
jmp 0x10004ddd
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x1000c63c]
push dword [esi]
call fcn.10006530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.10006886
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x100058a0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x1000c720]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x100058d1
xor eax, eax
jmp 0x10005a5a
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x1000d600]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x1000590d
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.100072d4
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x100059e8
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x10005a26
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x10005971
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x10005962
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x10005942
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100059b1
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x100059ba
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x10005933
jmp 0x100059bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x10005a55
cmp dword [ebp - 0x6c], edi
je 0x10005a26
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x10005a1b
call fcn.100035b5
mov dword [eax], 9
call fcn.100035be
mov dword [eax], esi
jmp 0x10005a50
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10005a10
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x100059bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x100059bc
push dword [ebp - 0x6c]
call fcn.100035c7
pop ecx
jmp 0x10005a50
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x10005a3e
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x10005a3e
xor eax, eax
jmp 0x10005a58
call fcn.100035b5
mov dword [eax], 0x1c
call fcn.100035be
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x10005a58
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.10006886
add ebp, 0x3a0
leave
ret
Function at 0x100070b3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1000d220], ebx
push esi
push edi
jne 0x10007133
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1000716e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x1000d220], eax
je 0x1000716e
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x1000d224], eax
call esi
cmp dword [0x1000d050], 2
mov dword [0x1000d228], eax
jne 0x10007133
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x1000d230], eax
je 0x10007133
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x1000d22c], eax
mov eax, dword [0x1000d22c]
test eax, eax
je 0x10007178
call eax
test eax, eax
je 0x1000715f
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1000d230]
test eax, eax
je 0x1000715f
test byte [ebp - 8], 1
jne 0x10007178
cmp dword [0x1000d05c], 4
jb 0x10007172
or byte [ebp + 0x12], 0x20
jmp 0x10007197
xor eax, eax
jmp 0x100071a7
or byte [ebp + 0x12], 4
jmp 0x10007197
mov eax, dword [0x1000d224]
test eax, eax
je 0x10007197
call eax
mov ebx, eax
test ebx, ebx
je 0x10007197
mov eax, dword [0x1000d228]
test eax, eax
je 0x10007197
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1000d220]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007357
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.10004ac0
mov eax, dword [0x1000c720]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.10005cb4
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x1000748a
push 2
push esi
push dword [ebp + 8]
call fcn.10005cb4
add esp, 0xc
cmp eax, ebx
je 0x1000748a
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x1000742a
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.10003780
push 0x8000
push dword [ebp + 8]
call fcn.100089a0
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x100073e0
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.100058a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x10007400
sub edi, eax
test edi, edi
jg 0x100073d8
jmp 0x10007418
call fcn.100035be
cmp dword [eax], 5
jne 0x10007415
call fcn.100035b5
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.100089a0
pop ecx
pop ecx
jmp 0x10007472
jge 0x10007472
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005cb4
push dword [ebp + 8]
call fcn.10005621
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x10007472
call fcn.100035b5
mov dword [eax], 0xd
call fcn.100035be
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.10005cb4
add esp, 0xc
mov eax, esi
pop edi
jmp 0x1000748c
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.10006886
leave
ret
Function at 0x10008c18
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10004ac0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10008cb3
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x1000d050]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10008cb3
cmp eax, 1
je 0x10008cd4
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10008cb3
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10008c80
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10008caf
xor eax, eax
inc eax
jmp 0x10008cf3
cmp edi, eax
jae 0x10008cb7
xor eax, eax
jmp 0x10008cf3
cmp eax, esi
jae 0x10008cbe
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1000d050]
jmp 0x10008cd7
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10016150
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ecx + 0x1bf4], 0
je 0x1001617e
mov dword [esi], 0x3000
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x100161e4
lea edi, [ebp - 0x24]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov al, byte [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], str.native_context_creation_failed
mov dword [esp], 0x1e
mov ecx, edi
call fcn.10001080
sub esp, 0xc
mov dword [esp + 4], edi
mov dword [esp], 0x3001
mov ecx, esi
call fcn.10042240
sub esp, 8
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x100161e4
mov eax, dword [ebp - 0x24]
inc ecx
cmp ecx, 0x1000
jae 0x100161f9
mov dword [esp], eax
call dword [sym.imp.mozglue.dll_free]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1021e470
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebp
ret 4
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001620a
mov eax, ecx
jmp 0x100161db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
Function at 0x10016210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 0x10]
lea eax, [ecx + 8]
mov dword [ebp - 0x18], eax
mov ebx, dword [ecx + 0x1274]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 0x1bf4]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x38], edi
mov dword [ebp - 0x10], ebx
jbe 0x10016250
mov eax, dword [ebx + 0x3c]
mov ebx, dword [eax + edi*4]
cmp ebx, 0xffffffff
jne 0x100162dc
jmp 0x100162e0
mov ecx, edi
shr ecx, 0x18
mov edx, edi
shr edx, 0x10
mov eax, edi
shr eax, 8
mov esi, 0xff
and edi, esi
xor edi, 0x811c9dc5
imul edi, edi, 0x1000193
and eax, esi
xor edi, eax
imul edi, edi, 0x1000193
and edx, esi
xor edi, edx
imul esi, edi, 0x1000193
xor esi, ecx
imul esi, esi, 0x1000193
and esi, dword [ebx + 0x58]
mov ecx, ebx
mov ebx, dword [ebx + 0x44]
shl edx, 0x10
mov edi, dword [ebp + 0x10]
and edi, 0xff0000ff
or edi, edx
mov edx, dword [ecx + 0x4c]
shl eax, 8
or edi, eax
mov ecx, dword [edx + esi*8]
lea eax, [esi + esi]
inc eax
mov dword [ebp - 0x20], eax
mov eax, ecx
cmp ebx, ecx
je 0x100162c6
mov esi, dword [ebp - 0x20]
mov esi, dword [edx + esi*4]
mov esi, dword [esi]
jmp 0x100162c8
mov esi, ecx
cmp eax, esi
je 0x100162e0
cmp dword [eax + 8], edi
je 0x100162d5
mov eax, dword [eax]
jmp 0x100162b8
cmp eax, ebx
je 0x100162e0
mov ebx, dword [eax + 0xc]
test ebx, ebx
jne 0x100162f9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100162f7
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call fcn.100323d0
mov ebx, eax
jmp 0x100162f9
xor ebx, ebx
mov al, byte [ebp + 8]
movzx eax, al
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
mov edi, dword [ebp + 0xc]
push edi
push eax
mov esi, dword [ebp - 0x1c]
push esi
call fcn.10080ec0
cmp eax, 1
je 0x10016356
cmp byte [ebp + 8], 0xc
jne 0x10016347
shl edi, 4
add edi, dword [esi + 0x2078]
lea eax, [ebx + 0x20]
test ebx, ebx
cmove eax, ebx
mov ecx, edi
push eax
call fcn.100545d0
mov dword [esi + 0x1f18], 1
jmp 0x10016356
xor eax, eax
inc eax
mov dword [esi + 0x1f18], eax
mov dword [esi + 0x1f1c], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x1001b260
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 8]
mov esi, dword [ecx + 0x1278]
cmp dword [esi + 0x60], edx
jbe 0x1001b28a
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + edx*4]
xor eax, eax
cmp ecx, 0xffffffff
cmovne eax, ecx
jmp 0x1001b31e
mov edi, edx
shr edi, 0x10
mov eax, edx
shr eax, 8
mov ecx, 0xff
mov ebx, edx
and ebx, ecx
and eax, ecx
and edi, ecx
mov ecx, edx
shr ecx, 0x18
xor ebx, 0x811c9dc5
imul ebx, ebx, 0x1000193
xor ebx, eax
imul ebx, ebx, 0x1000193
xor ebx, edi
imul ebx, ebx, 0x1000193
xor ebx, ecx
imul ebx, ebx, 0x1000193
and ebx, dword [esi + 0x80]
mov ecx, dword [esi + 0x6c]
mov esi, dword [esi + 0x74]
shl edi, 0x10
and edx, 0xff0000ff
or edx, edi
mov dword [ebp - 0x14], esi
mov esi, dword [esi + ebx*8]
lea edi, [ebx + ebx]
inc edi
mov dword [ebp - 0x10], edi
shl eax, 8
or edx, eax
mov edi, esi
cmp ecx, esi
je 0x1001b306
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
jmp 0x1001b308
mov ebx, esi
xor eax, eax
cmp edi, ebx
je 0x1001b31e
cmp dword [edi + 8], edx
je 0x1001b317
mov edi, dword [edi]
jmp 0x1001b2f5
cmp edi, ecx
je 0x1001b31e
mov eax, dword [edi + 0xc]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1001b680
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 8]
cmp dword [ecx + 0x1df4], edx
jbe 0x1001b6aa
mov eax, dword [ecx + 0x1df8]
mov ecx, dword [eax + edx*4]
xor eax, eax
cmp ecx, 0xffffffff
cmovne eax, ecx
jmp 0x1001b744
mov edi, edx
shr edi, 0x10
mov eax, edx
shr eax, 8
mov esi, 0xff
mov ebx, edx
and ebx, esi
and eax, esi
and edi, esi
mov esi, edx
shr esi, 0x18
xor ebx, 0x811c9dc5
imul ebx, ebx, 0x1000193
xor ebx, eax
imul ebx, ebx, 0x1000193
xor ebx, edi
imul ebx, ebx, 0x1000193
xor ebx, esi
imul ebx, ebx, 0x1000193
and ebx, dword [ecx + 0x1e14]
mov esi, dword [ecx + 0x1e00]
mov ecx, dword [ecx + 0x1e08]
shl edi, 0x10
and edx, 0xff0000ff
or edx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ecx + ebx*8]
lea edi, [ebx + ebx]
inc edi
mov dword [ebp - 0x10], edi
shl eax, 8
or edx, eax
mov edi, ecx
cmp esi, ecx
je 0x1001b72c
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
jmp 0x1001b72e
mov ebx, ecx
xor eax, eax
cmp edi, ebx
je 0x1001b744
cmp dword [edi + 8], edx
je 0x1001b73d
mov edi, dword [edi]
jmp 0x1001b71b
cmp edi, esi
je 0x1001b744
mov eax, dword [edi + 0xc]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x1001b750
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 8]
cmp dword [ecx + 0x1e4c], edx
jbe 0x1001b77a
mov eax, dword [ecx + 0x1e50]
mov ecx, dword [eax + edx*4]
xor eax, eax
cmp ecx, 0xffffffff
cmovne eax, ecx
jmp 0x1001b814
mov edi, edx
shr edi, 0x10
mov eax, edx
shr eax, 8
mov esi, 0xff
mov ebx, edx
and ebx, esi
and eax, esi
and edi, esi
mov esi, edx
shr esi, 0x18
xor ebx, 0x811c9dc5
imul ebx, ebx, 0x1000193
xor ebx, eax
imul ebx, ebx, 0x1000193
xor ebx, edi
imul ebx, ebx, 0x1000193
xor ebx, esi
imul ebx, ebx, 0x1000193
and ebx, dword [ecx + 0x1e6c]
mov esi, dword [ecx + 0x1e58]
mov ecx, dword [ecx + 0x1e60]
shl edi, 0x10
and edx, 0xff0000ff
or edx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ecx + ebx*8]
lea edi, [ebx + ebx]
inc edi
mov dword [ebp - 0x10], edi
shl eax, 8
or edx, eax
mov edi, ecx
cmp esi, ecx
je 0x1001b7fc
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
jmp 0x1001b7fe
mov ebx, ecx
xor eax, eax
cmp edi, ebx
je 0x1001b814
cmp dword [edi + 8], edx
je 0x1001b80d
mov edi, dword [edi]
jmp 0x1001b7eb
cmp edi, esi
je 0x1001b814
mov eax, dword [edi + 0xc]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4