Function at 0x10057c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b431
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x102a67c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [0x102a7958]
lea ecx, [eax - 0x543a05ee]
xor ecx, 0x5b1c6e88
mov edi, dword [ecx + 0x150]
mov ecx, dword [0x102a7d80]
test cl, 1
jne 0x10057ce6
or ecx, 1
mov dword [0x102a7d80], ecx
push 0xa4a37590
push 0x72e242a1
mov dword [ebp - 4], 0
call fcn.100f1390
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x102a7958]
add esp, 8
mov dword [0x102a7d7c], ecx
jmp 0x10057cec
mov ecx, dword [0x102a7d7c]
mov ecx, dword [ecx + edi]
shr ecx, 6
test cl, 1
jne 0x10057d4e
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
mov edi, dword [eax + 0x150]
mov eax, dword [0x1071c054]
test al, 1
jne 0x10057d3f
or eax, 1
mov dword [0x1071c054], eax
push 0x9c15080d
push 0x72e242a1
mov dword [ebp - 4], 1
call fcn.100f1390
add esp, 8
mov dword [0x1071c050], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10057d44
mov eax, dword [0x1071c050]
cmp byte [edi + eax], 0
jne 0x10057d4e
mov al, 1
jmp 0x10057d50
xor al, al
mov byte [esi + 1], al
mov ecx, dword [0x102a80e0]
add ecx, 0xf0482cf0
xor ecx, 0x2e3e400f
push 0x10056ca0
call fcn.100564c0
mov ecx, dword [0x102a80e0]
add ecx, 0xf0482cf0
mov dword [ebp - 0x28], eax
xor ecx, 0x2e3e400f
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x2c], 0
lea edi, [ecx + 0xc0]
push edi
mov dword [ebp - 0x30], edi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100580c5
mov eax, dword [edi + 0x2c]
cmp eax, 0x7fffffff
je 0x100580cc
mov byte [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 2
lea eax, [ecx + 0x98]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
nop word [eax + eax]
mov eax, dword [ebp - 0x48]
movq xmm0, qword [eax + 0x120]
movq qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
nop
cmp dword [ebp - 0x3c], eax
ja 0x10057e2e
jb 0x10057e13
cmp dword [ebp - 0x40], ecx
jae 0x10057e2e
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ecx + 0x78]
call fcn.10011d70
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x10057e3a
push edi
push esi
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x10057df0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
add ecx, 0x78
push eax
call fcn.10011d70
lea ecx, [ebp - 0x70]
mov eax, dword [eax]
add eax, 0x18
push eax
call fcn.10046370
push edi
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 3
and eax, 0xfffffffc
je 0x100580c0
add eax, 4
mov byte [ebp - 4], 4
push 0x102a6bb4
push eax
call sub.VCRUNTIME140.dll___std_type_info_compare
add esp, 8
mov byte [ebp - 4], 3
test eax, eax
jne 0x100580c0
lea eax, [ebp - 0x70]
mov al, byte [eax]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x4c]
and eax, 3
mov dword [ebp - 4], 5
sub eax, 1
je 0x10057ec0
sub eax, 1
jne 0x10057ecd
lea ecx, [ebp - 0x70]
push ecx
jmp 0x10057ec3
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [0x1071a810]
add eax, 0x95b0b9da
mov dword [ebp - 4], 0xffffffff
xor eax, 0xe50d6288
cmp byte [ebp - 0xd], 0
jne 0x10057f08
cmp byte [eax + 0x63e70], 0
je 0x10057f04
cmp byte [eax + 0x656c8], 0
je 0x10057f04
cmp byte [eax + 0x656cb], 0
jne 0x10057f08
xor cl, cl
jmp 0x10057f0a
mov cl, 1
mov eax, dword [0x102a7958]
lea edx, [ebp - 0x1c]
add eax, 0xabc5fa12
mov dword [ebp - 0x1c], 0
xor eax, 0x5b1c6e88
mov byte [eax + 0xc], cl
mov eax, dword [0x102a7958]
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
mov eax, dword [eax + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [0x102a7958]
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
mov eax, dword [eax + 0x18]
dec eax
mov dword [esi + 0x30], eax
lea esi, [ebp - 0x14]
mov edi, dword [0x102a7958]
add edi, 0xabc5fa12
xor edi, 0x5b1c6e88
add edi, 0x18
mov ecx, dword [edi]
lea eax, [ecx - 5]
test eax, eax
mov dword [ebp - 0x14], eax
cmovns edx, esi
mov esi, dword [ebp - 0x18]
cmp ecx, eax
cmovl edx, edi
mov eax, dword [edx]
mov dword [esi + 0x34], eax
mov eax, dword [0x10bf3c48]
add eax, 0x23679c21
xor eax, 0x43db7564
cmp byte [eax + 0x38], 0
je 0x10057fa2
cmp byte [eax + 0x39], 0
jne 0x10058090
cmp byte [esi + 1], 0
jne 0x10057fc5
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
jmp 0x10058090
mov ecx, dword [0x1071c058]
add ecx, 0x840e2fed
xor ecx, 0xe0c599ef
call fcn.10025480
test al, al
jne 0x10057ffe
cmp byte [0x10c0507c], al
jne 0x10057ffe
xor ecx, ecx
cmp byte [0x10c050c4], cl
jne 0x10058003
cmp byte [0x10c050e8], cl
sete cl
inc ecx
jmp 0x10058003
mov ecx, 2
cmp dword [esi + 4], ecx
je 0x10058090
cmp ecx, 2
jne 0x1005805a
cmp byte [esi], 0
jne 0x10058039
cmp byte [esi + 0x20], 0
jne 0x10058039
cmp byte [esi + 0x21], 0
je 0x10058039
cmp dword [esi + 0x24], 0
jg 0x10058039
mov eax, dword [esi + 0x30]
dec eax
mov word [esi + 0x38], 1
mov byte [esi + 0x3a], 0
mov dword [esi + 0x3c], eax
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x18], 0
jmp 0x10058079
cmp byte [esi + 0x20], 0
jne 0x1005808d
cmp byte [esi + 0x21], 0
jne 0x1005808d
mov eax, dword [esi + 0x2c]
mov word [esi + 0x20], 1
mov dword [esi + 0x24], eax
mov byte [esi + 0x22], 1
mov byte [esi], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov word [esi + 0xa], 0
mov dword [esi + 4], ecx
cmp byte [0x10c0510c], 0
jne 0x100580af
mov eax, dword [0x1071a810]
add eax, 0x95b0b9da
xor eax, 0xe50d6288
mov byte [eax + 0x63d69], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1004bc90
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
dec eax
push 6
mov dword [edi + 0x2c], eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3