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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec9f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x68a140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.00569020
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x56cfba
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x56d0ed
cmp dword [ebx + 8], 0x2222222
je 0x56d103
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x78
mov dword [ebp - 0x24], 0
call fcn.0059a103
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0x18], 0
mov byte [esi + 0x40], 0
mov byte [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x64a510]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x64a510]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x56d0a0
divss xmm0, xmm3
call fcn.004b42d0
call fcn.005cc200
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x56d082
cmp eax, 0x200
jae 0x56d080
shl eax, 3
cmp eax, ecx
jae 0x56d082
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00568d10
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00569020
mov edx, dword [eax]
jmp 0x56d0a3
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x56d0ce
mov dword [ecx + eax*8], esi
jmp 0x56d0e0
cmp ebx, edx
jne 0x56d0d7
mov dword [ecx + eax*8], esi
jmp 0x56d0e4
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x56d0e4
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
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 8
push str.unordered_map_set_too_long
call fcn.00596c67
int3
Function at 0x56dcf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x68a140]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 0x62a4e0
mov byte [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov dword [esp + 0x18], str.LdrLockLoaderLock
push str.LdrLockLoaderLock
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56ddfd
push str.LdrUnlockLoaderLock
push esi
mov dword [0x6ef388], eax
mov dword [esp + 0x20], str.LdrUnlockLoaderLock
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56de28
push str.RtlIsCriticalSectionLockedByThread
push esi
mov dword [0x6ef38c], eax
mov dword [esp + 0x20], str.RtlIsCriticalSectionLockedByThread
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56de53
push str.RtlGetCurrentPeb
push esi
mov dword [0x6ef390], eax
mov dword [esp + 0x20], str.RtlGetCurrentPeb
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56de7e
push 0x62a4c4
push esi
mov dword [0x6ef394], eax
mov dword [esp + 0x20], 0x62a4c4
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56dea9
cmp dword [0x6ef388], 0
mov dword [0x6ef398], eax
mov eax, dword [esp + 4]
je 0x56dded
cmp dword [0x6ef38c], 0
je 0x56dded
cmp dword [0x6ef390], 0
je 0x56dded
cmp dword [0x6ef394], 0
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.00599e5b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x13
push str.GetProcAddress___
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00446f10
push 0x685e44
lea eax, [esp + 0xc]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x13
push str.GetProcAddress___
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00446f10
push 0x685e44
lea eax, [esp + 0xc]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x13
push str.GetProcAddress___
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00446f10
push 0x685e44
lea eax, [esp + 0xc]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x13
push str.GetProcAddress___
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00446f10
push 0x685e44
lea eax, [esp + 0xc]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x13
push str.GetProcAddress___
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00446f10
push 0x685e44
lea eax, [esp + 0xc]
push eax
call fcn.0059b61b
int3
Function at 0x56f6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ece40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x68a140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 8]
lea esi, [edi + 0x30]
push esi
push 4
push ecx
lea ecx, [edi + 0x28]
call fcn.00570420
push 0
push dword [esi]
lea esi, [edi + 0x28]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetThreadpoolWait]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 7
mov eax, dword [eax + 0x2cc]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, edi
mov dword [ebp - 0x1c], ecx
jbe 0x56f755
mov eax, dword [edi]
push esi
push dword [edi + 0x10]
push eax
call dword [0x5f3508]
mov ecx, dword [ebp - 0x18]
call dword [ebp - 0x1c]
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
Function at 0x576520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi - 0x14]
xorps xmm0, xmm0
mov dword [esi - 0x18], 0x649dcc
xor edx, edx
mov dword [ebp - 0x1c], 0x37453446
mov dword [ebp - 0x18], 0x35313933
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x50], 0x6b736174
mov dword [eax + esi - 0x14], 0x649db8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], 0x62696c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 0x27
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
call fcn.004254c0
lea ecx, [ebp - 0x160]
call fcn.00576d20
lea ecx, [ebp - 0x160]
call fcn.00426740
push ecx
lea eax, [esi - 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push ecx
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00531360
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x576604
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x14]
or eax, 0xffffffff
test edi, edi
je 0x576645
lock xadd dword [edi + 4], eax
jne 0x576642
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x576642
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or eax, 0xffffffff
mov edi, dword [ebp - 0x20]
mov edi, dword [edi - 4]
test edi, edi
je 0x576682
lock xadd dword [edi + 4], eax
jne 0x576682
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x576682
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x24]
call fcn.00575a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
ret
Function at 0x5774a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed8b3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], eax
mov dword [esi], vtable.asw::mi::IExportable.0
call fcn.004492e0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [esi + 0x10]
mov dword [esi], vtable.asw::tasklib::task_processor.0
push 1
push eax
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x577567
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x60]
mov dword [esi + 0x58], 0
xorps xmm0, xmm0
mov dword [esi + 0x5c], 0
push 0xe
movups xmmword [esi + 0x60], xmm0
push str.task_processor
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
call fcn.00427690
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryUnbiasedInterruptTime]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x28]
mov dword [esi + 0x7c], ecx
push eax
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
call dword [sym.imp.KERNEL32.dll_QueryUnbiasedInterruptTime]
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
movq qword [esi + 0x90], xmm0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov byte [ebp - 4], 9
mov dword [esi + 0xa0], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x577676
lea ecx, [esi + 0x60]
cmp ecx, edi
je 0x577676
cmp dword [edi + 0x14], 0xf
jbe 0x57766f
mov edi, dword [edi]
push eax
push edi
call fcn.004262a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x57b890
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ede29
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x68a140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.asw::mi::IExportable.0
call fcn.004492e0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [edi + 0x10]
mov dword [edi], vtable.asw::tasklib::task_scheduler.0
push eax
mov byte [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
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 byte [ebp - 4], 4
lea eax, [ebp - 0x10]
mov dword [edi + 0x40], 0
lea ecx, [edi + 0x60]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
push eax
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [ebp - 0x10], 1
call fcn.004e0c00
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
lea ecx, [edi + 0x68]
call fcn.004e0c00
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 5
push eax
lea ecx, [edi + 0x70]
call fcn.004e0c00
call fcn.005cbc54
mov edx, eax
mov dword [edi + 0x13fc], 0xffffffff
mov dword [edi + 0x7c], edx
lea esi, [edi + 0x80]
mov ecx, 1
mov eax, edx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
inc ecx
mov dword [esi - 4], edx
cmp ecx, 0x270
jb 0x57b9a7
mov dword [edi + 0x78], 0x270
xorps xmm0, xmm0
movsd qword [edi + 0x1400], xmm0
mov eax, edi
movsd xmm0, qword [0x64a4b8]
movsd qword [edi + 0x1408], xmm0
mov dword [edi], vtable.constructible_task_scheduler.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5827a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x5827fd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x5827c0
mov eax, dword [esi]
jmp 0x5828d7
cmp eax, 0x4e0
jb 0x5828d7
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x582816
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x582860
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x583740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eeadb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x68a140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0
push 0
push 1
mov dword [ebp - 0x14], ebx
push 0
mov dword [ebx], vtable.asw::tasklib::detail::task_ended_state.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x10
mov esi, eax
call fcn.0059a103
mov ecx, eax
xorps xmm0, xmm0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10], ecx
add esp, 4
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_obj2_class_asw::wrappers::basic_handle_void___struct_asw::wrappers::detail::traits_basic_win_handle__.0
mov dword [eax], esi
movq qword [ebx + 4], xmm0
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
lea eax, [ebx + 0x10]
mov dword [ebp - 4], 0
push eax
mov byte [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
push 0x10
mov dword [ebx + 0x28], 0
call fcn.0059a103
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_asw::wrappers::basic_handle_void___struct_asw::wrappers::detail::traits_basic_win_handle__.0
mov dword [ecx], 0
movq qword [ebx + 0x2c], xmm0
mov dword [ebx + 0x30], eax
mov eax, ebx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 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
Function at 0x596130
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x68a140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00597ed7
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x5fa0e8
push eax
call fcn.00597d72
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.00598933
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
call fcn.00597dbd
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x596210
push eax
call fcn.005a5880
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x59622b
push eax
call fcn.005a5880
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x596246
push eax
call fcn.005a5880
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x596261
push eax
call fcn.005a5880
add esp, 4
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x59627c
push eax
call fcn.005a5880
add esp, 4
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x596297
push eax
call fcn.005a5880
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.00597f2f
mov dword [esi], vtable.boost::program_options::detail::utf8_codecvt_facet.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x599a79
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x599aa0
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x599aa3
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00599a55
pop esi
leave
ret 8
Function at 0x59a7d4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x59a813
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x59a813
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x59a813
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x59a813
cmp dword [ecx + 0x74], 0xe
jbe 0x59a813
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5b6825
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61bd28
push 0x61bd20
push str.FlsAlloc
push 0x1e
call fcn.005b6671
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5b6859
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f3508]
call esi
jmp 0x5b685f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5b68a3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61bd38
push 0x61bd30
push str.FlsGetValue
push 0x20
call fcn.005b6671
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5b68da
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f3508]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5b735a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b71cb
Function at 0x5b87ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0059ad30
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.005b562e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5b882e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x5b898a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.005cbeb0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x6e9930]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.005b958b
mov ecx, dword [esi*4 + 0x6e9930]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x5b8983
cmp eax, dword [edi + ecx + 0x24]
jne 0x5b8983
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5b8983
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005b958b
add esp, 0x14
test edx, edx
jl 0x5b8983
jg 0x5b88f9
test eax, eax
jb 0x5b8983
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x5b8983
jl 0x5b8913
cmp dword [ebp - 0x1008], eax
ja 0x5b8983
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5b8931
test ebx, ebx
je 0x5b896a
cmp ecx, edi
jae 0x5b896a
mov al, byte [ecx]
cmp al, 0xd
jne 0x5b894b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5b8957
cmp byte [ecx + 1], 0xa
jne 0x5b8957
inc ecx
jmp 0x5b8957
movzx eax, al
movsx eax, byte [eax + 0x68a410]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5b8931
cmp edx, ebx
jne 0x5b8931
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x5b8988
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00599e5b
leave
ret