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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb135
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x689140]
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.00567900
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x56b89a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x56b9cd
cmp dword [ebx + 8], 0x2222222
je 0x56b9e3
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x78
mov dword [ebp - 0x24], 0
call fcn.005988b3
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 + 0x6496a0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x6496a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x56b980
divss xmm0, xmm3
call fcn.004b39f0
call fcn.005ca9d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x56b962
cmp eax, 0x200
jae 0x56b960
shl eax, 3
cmp eax, ecx
jae 0x56b962
mov eax, ecx
push eax
mov ecx, ebx
call fcn.005675f0
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00567900
mov edx, dword [eax]
jmp 0x56b983
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 0x56b9ae
mov dword [ecx + eax*8], esi
jmp 0x56b9c0
cmp ebx, edx
jne 0x56b9b7
mov dword [ecx + eax*8], esi
jmp 0x56b9c4
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x56b9c4
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.00595417
int3
Function at 0x56c5b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x689140]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 0x6294e0
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 0x56c6bd
push str.LdrUnlockLoaderLock
push esi
mov dword [0x6ee410], eax
mov dword [esp + 0x20], str.LdrUnlockLoaderLock
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56c6e8
push str.RtlIsCriticalSectionLockedByThread
push esi
mov dword [0x6ee414], eax
mov dword [esp + 0x20], str.RtlIsCriticalSectionLockedByThread
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56c713
push str.RtlGetCurrentPeb
push esi
mov dword [0x6ee418], eax
mov dword [esp + 0x20], str.RtlGetCurrentPeb
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56c73e
push 0x6294c4
push esi
mov dword [0x6ee41c], eax
mov dword [esp + 0x20], 0x6294c4
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56c769
cmp dword [0x6ee410], 0
mov dword [0x6ee420], eax
mov eax, dword [esp + 4]
je 0x56c6ad
cmp dword [0x6ee414], 0
je 0x56c6ad
cmp dword [0x6ee418], 0
je 0x56c6ad
cmp dword [0x6ee41c], 0
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.0059860b
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.00446e70
push 0x68501c
lea eax, [esp + 0xc]
push eax
call fcn.00599dcb
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.00446e70
push 0x68501c
lea eax, [esp + 0xc]
push eax
call fcn.00599dcb
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.00446e70
push 0x68501c
lea eax, [esp + 0xc]
push eax
call fcn.00599dcb
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.00446e70
push 0x68501c
lea eax, [esp + 0xc]
push eax
call fcn.00599dcb
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.00446e70
push 0x68501c
lea eax, [esp + 0xc]
push eax
call fcn.00599dcb
int3
Function at 0x56df90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb580
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x689140]
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.0056ecb0
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 0x56e005
mov eax, dword [edi]
push esi
push dword [edi + 0x10]
push eax
call dword [0x5f2510]
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 0x574d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebdf0
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx - 0x14]
xor edx, edx
mov dword [ebx - 0x18], 0x648f5c
mov dword [ebp - 0x1c], 0x41314332
mov dword [ebp - 0x18], 0x38434446
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x34], 0x6b736174
mov dword [eax + ebx - 0x14], 0x648f48
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 0x62696c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0x27
call fcn.00425500
lea ecx, [ebp - 0x134]
call fcn.00575580
lea ecx, [ebp - 0x134]
call fcn.00426780
push ecx
lea eax, [ebx - 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push ecx
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.0052ff20
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x574e67
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x14]
or ebx, 0xffffffff
test edi, edi
je 0x574ea4
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x574ea4
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x574ea4
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x38]
mov edi, dword [edi - 4]
test edi, edi
je 0x574ee0
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x574ee0
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x574ee0
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x3c]
call fcn.00574290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret
Function at 0x575d00
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 0x5ebff3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x689140]
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.004496d0
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 0x575dc7
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.004276d0
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 0x575ed6
lea ecx, [esi + 0x60]
cmp ecx, edi
je 0x575ed6
cmp dword [edi + 0x14], 0xf
jbe 0x575ecf
mov edi, dword [edi]
push eax
push edi
call fcn.004262e0
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.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x57a090
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 0x5ec569
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x689140]
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.004496d0
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.004e04d0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
lea ecx, [edi + 0x68]
call fcn.004e04d0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 5
push eax
lea ecx, [edi + 0x70]
call fcn.004e04d0
call fcn.005ca424
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 0x57a1a7
mov dword [edi + 0x78], 0x270
xorps xmm0, xmm0
movsd qword [edi + 0x1400], xmm0
mov eax, edi
movsd xmm0, qword [0x649648]
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 0x580f60
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 0x580fbd
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 0x580f80
mov eax, dword [esi]
jmp 0x581097
cmp eax, 0x4e0
jb 0x581097
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 0x580fd6
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 0x581020
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 0x581f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed21b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x689140]
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.005988b3
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.005988b3
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 0x5948e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef47d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x689140]
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.00596687
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 0x5f90e8
push eax
call fcn.00596522
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.005970e3
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.0059656d
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x5949c0
push eax
call fcn.005a4030
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x5949db
push eax
call fcn.005a4030
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x5949f6
push eax
call fcn.005a4030
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x594a11
push eax
call fcn.005a4030
add esp, 4
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x594a2c
push eax
call fcn.005a4030
add esp, 4
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x594a47
push eax
call fcn.005a4030
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.005966df
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 0x598229
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 0x598250
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x598253
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.00598205
pop esi
leave
ret 8
Function at 0x598f84
Capabilities:
Parse pe header

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

Function at 0x5b4fc5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61ad28
push 0x61ad20
push str.FlsAlloc
push 0x1e
call fcn.005b4e11
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5b4ff9
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f2510]
call esi
jmp 0x5b4fff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5b5043
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x61ad38
push 0x61ad30
push str.FlsGetValue
push 0x20
call fcn.005b4e11
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5b507a
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f2510]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5b5afa
Capabilities:
Read file on windows

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.005994e0
mov eax, dword [0x689140]
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.005b3dce
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5b6fd0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x5b712c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.005ca680
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 + 0x6e89f0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.005b7d2d
mov ecx, dword [esi*4 + 0x6e89f0]
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 0x5b7125
cmp eax, dword [edi + ecx + 0x24]
jne 0x5b7125
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 0x5b7125
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005b7d2d
add esp, 0x14
test edx, edx
jl 0x5b7125
jg 0x5b709b
test eax, eax
jb 0x5b7125
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x5b7125
jl 0x5b70b5
cmp dword [ebp - 0x1008], eax
ja 0x5b7125
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5b70d3
test ebx, ebx
je 0x5b710c
cmp ecx, edi
jae 0x5b710c
mov al, byte [ecx]
cmp al, 0xd
jne 0x5b70ed
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5b70f9
cmp byte [ecx + 1], 0xa
jne 0x5b70f9
inc ecx
jmp 0x5b70f9
movzx eax, al
movsx eax, byte [eax + 0x689410]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5b70d3
cmp edx, ebx
jne 0x5b70d3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x5b712a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0059860b
leave
ret