joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015530
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
add esi, 0xc
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
push esi
lea eax, [esp + 0x10]
push eax
call fcn.100139b0
cmp dword [eax + 4], 0
je 0x100155b4
push esi
lea eax, [esp + 0xc]
push eax
call fcn.10015770
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword fs:[0x18]
mov dword [eax + 0x14], edx
mov ecx, dword [edi + 4]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xb8], eax
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100155c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push edi
mov eax, dword [esi + 4]
bsf edi, dword [eax + 0x14]
je 0x1001566e
cmp edi, 4
jae 0x1001566e
mov ebx, dword [esi]
add ebx, 0xc
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.100139b0
cmp dword [eax + 4], 0
je 0x1001566e
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.10015770
lea ecx, [edi + edi]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 4]
btr dword [eax + 0x18], ecx
mov eax, dword fs:[0x18]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 4]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xb8], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d235
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.100139b0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100157f1
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x100afe24], 0xfffffff
je 0x1001593e
mov dword [ebp - 0x1c], 0x100afe20
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.1004a319
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100afe24]
mov edi, dword [0x100afe38]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a38f0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x100a38f0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x100afe1c]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x100158db
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.10013a50
call fcn.1006ba20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x100158bd
cmp edi, 0x200
jae 0x100158bb
shl edi, 3
cmp edi, ecx
jae 0x100158bd
mov edi, ecx
push edi
call fcn.10013480
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100139b0
mov ecx, dword [0x100afe24]
mov edx, dword [eax]
jmp 0x100158de
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x100afe24], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x100afe34]
mov ecx, dword [0x100afe28]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x100afe20]
jne 0x1001590f
mov dword [ecx + eax*8], esi
jmp 0x1001591e
cmp ebx, edx
jne 0x10015918
mov dword [ecx + eax*8], esi
jmp 0x10015922
cmp dword [ecx + eax*8 + 4], edi
jne 0x10015922
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10031b69
int3
Function at 0x100164b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x100164ce
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100164f4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100164e0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10016520
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10016514
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100166e0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d3ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov dword [ebp - 0x14], 1
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0
push 4
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
test esi, esi
jg 0x10016755
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
jmp 0x10016870
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1c
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1001685b
mov ecx, dword [edi]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [ecx + 4]
jne 0x10016848
push 0x18
call fcn.1004a319
mov ecx, dword [ebp - 0x1c]
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0x10005b
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
or dword [ebp - 0x14], 2
lea ecx, [edi + 0xc]
mov dword [ecx + 8], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x1001680d
mov dword [eax + 4], edi
xor edi, edi
mov dword [eax], ecx
add dword [ebx + 4], 8
mov dword [ebp - 0x2c], 0
jmp 0x1001681c
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, ebx
call fcn.10016940
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test edi, edi
je 0x10016845
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10016845
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10016845
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10016781
mov dword [ebp - 0x14], 0
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10016bf0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006d3dd
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
jne 0x10016c2e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 3
jne 0x10016ce3
cmp byte [eax + 0xe], 0
jne 0x10016ce3
call fcn.10015a20
push 0x10099144
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1000fe40
mov dword [ebp - 4], 0
call fcn.1001bac0
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100164b0
mov eax, dword [ebp - 0x10]
push ebx
cmp eax, dword [esi + 4]
je 0x10016cbc
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10016cc2
push dword [edi + 8]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1000f9d0
cmp esi, 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.1000f9d0
cmp esi, 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0xc]
cmp eax, 0xffffffff
pop edi
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016fb0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
cmp edi, 4
ja 0x10017167
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.1004c020
add esp, 0xc
lea eax, [ebp - 0x2e0]
push 0x2cc
push 0
push eax
call fcn.1004c020
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x10017031
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x10017049
mov dword [ebp - 0x2e0], 0x10010
lea edx, [ebp - 0x2e0]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea ecx, [ebp - 0x8e0]
lea edx, [ebp - 0x2c8]
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test eax, eax
js 0x10017169
mov edx, dword [ecx]
test edi, edi
jne 0x1001707b
and edx, 0xfff0fffe
jmp 0x100170e0
mov eax, edx
cmp edi, 1
jne 0x10017089
mov edx, 0xfffffffb
jmp 0x1001709c
cmp edi, 2
mov dword [ebp - 8], 0xffffffbf
mov edx, 0xffffffef
cmovne edx, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x100170aa
mov eax, 0xff3fffff
jmp 0x100170bd
cmp edi, 2
mov dword [ebp - 8], 0x3fffffff
mov eax, 0xf3ffffff
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x100170cb
mov eax, 0xffcfffff
jmp 0x100170de
cmp edi, 2
mov dword [ebp - 8], 0xcfffffff
mov eax, 0xfcffffff
cmovne eax, dword [ebp - 8]
and edx, eax
mov eax, edx
mov dword [ecx], eax
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x10017102
mov eax, dword [ebp - 0xc]
and edx, 0xfffffeff
mov dword [eax], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.10016bf0
cmp byte [ebp - 1], 0
jne 0x1001712a
test al, al
je 0x1001715a
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x1001713e
test al, al
je 0x1001715a
mov eax, dword [esi]
lea edx, [ebp - 0x2e0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x1001715a
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10017180
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x948
push esi
push edi
push 0x670
lea eax, [esp + 0x2e4]
mov edi, ecx
push 0
push eax
call fcn.1004c020
add esp, 0xc
lea eax, [esp + 0x10]
push 0x2cc
push 0
push eax
call fcn.1004c020
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [esp + 0xf], al
test al, al
jne 0x100171e7
mov dword [esp + 0x310], 0x100010
lea edx, [esp + 0x2e0]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x100171fb
mov dword [esp + 0x10], 0x10010
lea edx, [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [edi + 8]
call eax
cmp byte [esp + 0xf], 0
lea esi, [esp + 0x350]
lea ecx, [esp + 0x28]
cmovne esi, ecx
test eax, eax
jns 0x10017222
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
xor eax, eax
nop word [eax + eax]
lea ecx, [eax*4]
cmp dword [esp + eax*8 + 0x328], edx
jne 0x1001724f
mov edx, dword [ebp + 0xc]
cmp dword [esp + eax*8 + 0x32c], edx
mov edx, dword [ebp + 8]
je 0x10017268
cmp dword [esp + ecx + 0x14], edx
je 0x10017268
inc eax
cmp eax, 4
jl 0x10017230
mov eax, 0xc0000225
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [esp + 0xf], 0
jne 0x10017287
mov dword [esp + eax*8 + 0x328], 0
mov dword [esp + eax*8 + 0x32c], 0
jmp 0x1001728f
mov dword [esp + ecx + 0x14], 0
mov edx, dword [esi]
test eax, eax
jne 0x100172a5
and edx, 0xfff3fffe
mov dword [esi], edx
and edx, 0xfffcffff
jmp 0x100172d5
cmp eax, 1
jne 0x100172ba
and edx, 0xff3ffffb
mov dword [esi], edx
and edx, 0xffcfffff
jmp 0x100172d5
cmp eax, 2
jne 0x100172cf
and edx, 0xf3ffffef
mov dword [esi], edx
and edx, 0xfcffffff
jmp 0x100172d5
and edx, 0xfffffbf
mov eax, esi
mov dword [eax], edx
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x100172f6
and edx, 0xfffffeff
mov dword [esi], edx
mov ecx, edi
mov esi, 0xc000071c
call fcn.10016bf0
cmp byte [esp + 0xf], 0
jne 0x10017320
test al, al
je 0x1001734e
mov eax, dword [edi]
lea edx, [esp + 0x2e0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x10017332
test al, al
je 0x1001734e
mov eax, dword [edi]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [edi + 8]
call eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
je 0x1001734e
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10017630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d43d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 0x2c]
push esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov eax, dword [eax + 8]
mov cl, byte [eax + 0xd]
xor eax, eax
test cl, cl
mov byte [ebp - 0xd], cl
sete al
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
cmp edi, eax
je 0x1001777a
mov esi, ebx
nop
mov eax, dword [edi + 0x24]
mov ecx, dword [edi]
mov dword [ebp - 0x1c], ecx
cmp byte [eax + 0x48], 0
jne 0x10017769
cmp dword [edi + 0x1c], 7
lea ebx, [edi + 8]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x18], ebx
jbe 0x100176b6
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100176e7
mov ebx, dword [ebp - 0x18]
mov esi, eax
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100176d0
mov esi, dword [ebp - 0x14]
lea ebx, [edi + 8]
mov ecx, dword [ebx + 0x18]
mov eax, dword [esi + 0x18]
xor ecx, edx
and ecx, dword [esi + 0x24]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x10017712
cmp eax, edi
jne 0x1001770a
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1001771b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001771b
cmp eax, edi
jne 0x1001771b
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov ecx, dword [edi]
dec dword [esi + 0x14]
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x10017753
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10017753
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10017753
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [edi + 8]
call fcn.10010ed0
push 0x2c
push edi
call fcn.1004a349
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov edi, ecx
cmp ecx, dword [esi + 0x10]
jne 0x10017690
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x28]
push ecx
mov ecx, ebx
call fcn.10018320
cmp byte [ebp - 0xd], 0
je 0x10017795
push 1
push ecx
mov ecx, ebx
call fcn.10018320
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10018210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push esi
push edi
push 0x40
lea eax, [esp + 0x1c]
mov esi, ecx
push 0
push eax
call fcn.1004c020
add esp, 0xc
lea eax, [esp + 0x58]
push 0xf8
push 0
push eax
call fcn.1004c020
mov eax, dword [ebp + 8]
add esp, 0xc
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
or eax, edx
mov ecx, dword [esi + 4]
movlpd qword [esp + 8], xmm0
je 0x100182e8
mov eax, dword [ecx + 0x4c]
lea edi, [esp + 8]
push edi
push 0x40
lea edi, [esp + 0x20]
mov ecx, dword [eax + 8]
push edi
mov edi, dword [ebp + 8]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x100182e8
mov eax, 0x5a4d
cmp word [esp + 0x18], ax
jne 0x100182e8
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
cdq
mov esi, eax
movlpd qword [esp + 0x10], xmm0
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
je 0x100182e8
mov eax, dword [esp + 8]
lea edi, [esp + 0x10]
push edi
push 0xf8
lea edi, [esp + 0x60]
mov eax, dword [eax + 0x4c]
push edi
push edx
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x100182e8
cmp dword [esp + 0x58], 0x4550
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10018ca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006d5a5
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, ebx
cmp dword [ebx + 0x14], 7
mov eax, dword [ebx + 0x10]
jbe 0x10018cd0
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x10018cf4
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10018ce0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, edi
xor eax, edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10019390
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10018d2c
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x5d1745d
je 0x10018e87
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.1004a319
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
lea ecx, [esi + 8]
push ebx
call fcn.10016630
mov ecx, dword [ebx + 0x18]
xorps xmm0, xmm0
mov dword [esi + 0x20], ecx
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a38f0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100a38f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x10018e25
divss xmm2, xmm3
movaps xmm0, xmm2
call fcn.10013a50
call fcn.1006ba20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10018e06
cmp ebx, 0x200
jae 0x10018e04
shl ebx, 3
cmp ebx, ecx
jae 0x10018e06
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10019140
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10019390
mov edx, dword [eax]
jmp 0x10018e2b
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x10018e55
mov dword [ecx + eax*8], esi
jmp 0x10018e67
cmp edi, edx
jne 0x10018e5e
mov dword [ecx + eax*8], esi
jmp 0x10018e6b
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10018e6b
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]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10031b69
int3