joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f6250
Capabilities:
Get user security identifier

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea ecx, [ebp - 0xc]
xor esi, esi
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
push ecx
mov eax, edx
push esi
push eax
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4f629f
call fcn.004c73cc
mov esi, eax
push esi
push 0x19d01c0
call dword [sym.imp.certcli.dll_Ordinal_357]
jmp 0x4f6334
mov eax, dword [ebp - 4]
push ebx
add eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4f62c8
mov eax, 0x8007000e
push eax
push 0x1a601c0
mov esi, eax
call dword [sym.imp.certcli.dll_Ordinal_357]
jmp 0x4f6333
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x4f62ee
mov eax, 0x8007000e
push eax
push 0x1af01c0
mov esi, eax
call dword [sym.imp.certcli.dll_Ordinal_357]
jmp 0x4f632b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x4f6326
call fcn.004c73cc
mov esi, eax
push esi
push 0x1bc01c0
call dword [sym.imp.certcli.dll_Ordinal_357]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4f632b
mov eax, dword [ebp + 8]
mov dword [eax], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x4fe6a6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push eax
push ecx
mov edi, edx
mov dword [ebp - 4], ecx
push edi
push ebx
mov esi, ecx
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4fe6d8
push eax
jmp 0x4fe73b
cmp dword [ebp - 0xc], 1
jne 0x4fe739
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x4fe739
cmp eax, 0xffff
jbe 0x4fe6f4
push 0x216
jmp 0x4fe73b
add eax, 2
push eax
call fcn.004fee60
mov esi, eax
test esi, esi
je 0x4fe741
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fe739
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x4fe739
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2], cx
xor eax, eax
cmp ax, word [esi]
jne 0x4fe749
jmp 0x4fe741
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.004feed0
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x503680
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x50dd30
call fcn.005041cc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x51b204
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x50344b
cmp eax, esi
jne 0x50343e
xor esi, esi
inc esi
mov edi, esi
jmp 0x50344e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x503422
xor esi, esi
inc esi
cmp dword [0x51b208], esi
jne 0x503460
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x50349a
cmp dword [0x51b208], ebx
jne 0x503494
mov dword [0x51b208], esi
push 0x401fdc
push 0x401fd0
call fcn.005035da
pop ecx
pop ecx
test eax, eax
je 0x50349a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x5035c4
mov dword [0x518a38], esi
cmp dword [0x51b208], esi
jne 0x5034bd
push 0x401fcc
push 0x401fb0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x51b208], 2
test edi, edi
jne 0x5034ca
xor eax, eax
mov ecx, 0x51b204
xchg dword [ecx], eax
cmp dword [0x51b214], 0
je 0x5034f6
push 0x51b214
call fcn.00504000
pop ecx
test eax, eax
je 0x5034f6
push ebx
push 2
push ebx
mov esi, dword [0x51b214]
mov ecx, esi
call dword [0x51cbac]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x503483
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp ax, si
ja 0x503561
test ax, ax
je 0x503530
test edx, edx
jne 0x503561
test ax, ax
je 0x503530
cmp ax, si
ja 0x503530
add ecx, 2
mov dword [ebp - 0x20], ecx
movzx eax, word [ecx]
jmp 0x50351b
test byte [ebp - 0x3c], 1
je 0x50353c
movzx eax, word [ebp - 0x38]
jmp 0x50353f
push 0xa
pop eax
push eax
push ecx
push ebx
push 0x400000
call main
mov dword [0x518a34], eax
cmp dword [0x518a4c], 0
jne 0x5035a9
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x503572
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x1c], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x50350a
cmp dword [0x518a38], 0
jne 0x5035bd
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x518a34]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00504109
jmp 0x5033f9

Function at 0x503ee0
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x50de28
call fcn.005041cc
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x503f40
cmp eax, 0xffffffff
je 0x503f40
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x503f39
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x503f39
cmp edx, 0x10000000
jae 0x503f39
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x503f36
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x503fb0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x503fee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x503fe6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x503ff0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x503fd6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5040d0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5040ff
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5040ff
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10011d80
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 0x10011de1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10011dc4
cmp edi, 2
jb 0x10011dc4
cmp byte [esi], cl
jne 0x10011dc4
cmp byte [esi + 1], cl
jne 0x10011dc4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100f11c0]
jmp 0x10011d95
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100f11c0]
test edi, edi
jne 0x10011d95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10011e10
cmp cl, 0x23
jne 0x10011df7
cmp byte [esi], cl
jne 0x10011df7
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 + 0x100f11c0]
test cl, cl
jne 0x10011de8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10011f20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10011f33
mov dword [ebx], 0
mov edx, 0x100f0ea8
call fcn.10011e20
mov esi, eax
test esi, esi
je 0x10012010
push esi
call fcn.100b2e4b
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10012007
push 2
push 0
push esi
call fcn.100b3acd
add esp, 0xc
test eax, eax
jne 0x10012007
push esi
call fcn.100b2e4b
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10012007
push 0
push dword [ebp + 8]
push esi
call fcn.100b3acd
add esp, 0xc
test eax, eax
jne 0x10012007
mov eax, dword [0x101739b4]
test eax, eax
je 0x10011fa6
inc dword [eax + 0xa8]
push edi
call fcn.100bc320
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10012007
push esi
push edi
push 1
push eax
call fcn.100b74a9
add esp, 0x10
push esi
cmp eax, edi
je 0x10011ff1
call fcn.100b3772
mov eax, dword [0x101739b4]
add esp, 4
test eax, eax
je 0x10011fdf
dec dword [eax + 0xa8]
push dword [ebp + 8]
call fcn.100b72d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100b3772
add esp, 4
test ebx, ebx
je 0x10011fff
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100b3772
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1001e360
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10145040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101739b4]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e30]
mov esi, 4
mov eax, dword [edi + 0xc8]
add edi, 0xc8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100f11c0]
sub esi, 1
jne 0x1001e3a1
mov eax, dword [0x101739b4]
not ebx
cmp dword [eax + 0x3e50], ebx
jne 0x1001e3db
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100252e0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x1001e406
inc esi
test ecx, ecx
je 0x1001e3f4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001e3f9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10025b80
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096753
mov esp, ebp
pop ebp
ret
Function at 0x1002e2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002e326
mov eax, dword [0x101739b4]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1002e316
dec dword [eax + 0xa8]
push ecx
call fcn.100b72d0
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002e35a
mov eax, dword [0x101739b4]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1002e34a
dec dword [eax + 0xa8]
push ecx
call fcn.100b72d0
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1002e38e
mov eax, dword [0x101739b4]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1002e37e
dec dword [eax + 0xa8]
push ecx
call fcn.100b72d0
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1002e3de
mov eax, dword [0x101739b4]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1002e3ce
dec dword [eax + 0xa8]
push ecx
call fcn.100b72d0
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1002e412
mov eax, dword [0x101739b4]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1002e402
dec dword [eax + 0xa8]
push ecx
call fcn.100b72d0
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1002e446
mov eax, dword [0x101739b4]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1002e436
dec dword [eax + 0xa8]
push ecx
call fcn.100b72d0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10031060
Function at 0x10050270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x10145040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x220], eax
push esi
push edi
test eax, eax
je 0x10050430
xor eax, eax
mov dword [ebp - 0x218], 0
xor edx, edx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], eax
pushal
mov eax, dword fs:[0x30]
mov dword [ebp - 0x218], eax
popal
mov eax, dword [ebp - 0x218]
xor edi, edi
mov ecx, dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0x224], ecx
sub eax, 0
je 0x1005032a
sub eax, 1
je 0x1005030e
sub eax, 1
jne 0x10050343
lea ebx, [ecx + 0x1c]
mov ecx, 0x10
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x208], ecx
jmp 0x1005034f
lea ebx, [ecx + 0x14]
mov ecx, 8
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x208], ecx
jmp 0x1005034f
lea ebx, [ecx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x208], ecx
jmp 0x1005034f
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x208]
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x210]
cmp esi, ebx
je 0x100503f8
nop
mov edx, esi
mov dword [ebp - 0x20c], esi
sub edx, ecx
xor eax, eax
movzx ecx, word [edx + 0x24]
test ecx, 0xfffffffe
jbe 0x10050397
cmp eax, 0x200
jge 0x1005039c
mov ecx, dword [edx + 0x28]
mov cl, byte [ecx + eax*2]
mov byte [ebp + eax - 0x204], cl
inc eax
movzx ecx, word [edx + 0x24]
shr ecx, 1
cmp eax, ecx
jl 0x10050378
cmp eax, 0x200
jae 0x10050441
push dword [ebp - 0x220]
mov byte [ebp + eax - 0x204], 0
lea eax, [ebp - 0x204]
push eax
call fcn.100aece0
add esp, 8
test eax, eax
je 0x100503e6
test edi, edi
jne 0x100503d7
mov eax, esi
sub eax, dword [ebp - 0x208]
mov dword [ebp - 0x214], eax
mov edi, eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov esi, eax
mov ecx, dword [ebp - 0x208]
cmp eax, ebx
jne 0x10050360
mov eax, dword [ebp - 0x21c]
inc eax
mov dword [ebp - 0x21c], eax
cmp eax, 3
jge 0x10050415
mov ecx, dword [ebp - 0x224]
jmp 0x100502e3
mov edx, dword [ebp - 0x214]
test edx, edx
je 0x10050430
mov ecx, dword [edx + 0x40]
mov eax, dword [edx + 0x3c]
mov dword [ecx], eax
mov ecx, dword [edx + 0x3c]
mov eax, dword [edx + 0x40]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096753
mov esp, ebp
pop ebp
ret
call fcn.10096e6d
int3
Function at 0x10050450
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10145040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100505e5
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100505e5
movzx eax, word [eax + ecx + 0x14]
test ax, ax
je 0x100505e5
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], 0
push ebx
push esi
mov eax, dword [eax + 0xc]
push edi
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0xc], ecx
cmp ecx, esi
je 0x10050504
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10050504
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x100504fd
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x100504e0
cmp esi, 0x820621f3
je 0x10050508
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x100504c7
mov eax, dword [eax]
jmp 0x100504a2
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
mov esi, dword [ebp - 0x18]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + edx]
movzx ebx, cx
add eax, edx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], ebx
push ecx
push 0x40
push ebx
push esi
call eax
push ebx
push 0
push esi
call fcn.100af4a0
mov eax, dword fs:[0x30]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x10], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x14], ecx
cmp ecx, edx
je 0x100505b4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x100505b4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x100505ad
nop dword [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x10050590
cmp esi, 0x820621f3
je 0x100505b8
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x10050576
mov eax, dword [eax]
jmp 0x10050551
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
add eax, edx
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10096753
mov esp, ebp
pop ebp
ret
Function at 0x10050660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x1005068b
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10050674
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x1005b500
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, 0x1fffffff
mov esi, 1
push edi
mov edi, ecx
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1005b64c
lea eax, [ecx - 1]
mov ebx, dword [edi + 4]
or eax, esi
mov dword [ebp - 0xc], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.1005b260
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x1005b627
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, edx
mov edx, dword [edi + 0xc]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp - 8], ebx
cmp esi, dword [ebp - 0xc]
jne 0x1005b5b4
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x1005b61c
mov edx, dword [ebx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1005b5eb
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp edx, eax
je 0x1005b5e6
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x1005b619
cmp esi, edx
je 0x1005b5fc
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1005b630
cmp esi, edx
jne 0x1005b5f0
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 0xc]
jne 0x1005b562
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1005b619
push str.invalid_hash_bucket_count
call fcn.10097afe
int3
Function at 0x1005b660
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1005b7b4
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.10096ca5
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x1005b719
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1005b6d7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1005b7aa
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1005b72d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x1005b730
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1005b7aa
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x18]
and eax, dword [ebx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.10096ca5
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1005b7bb
cmp esi, eax
jne 0x1005b785
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1005b740
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8