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

Disassembly:
push 0xffffffffffffffff
push 0x103529bc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
push 4
movq qword [esp + 0x28], xmm0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], 0
test eax, eax
je 0x10177f86
mov dword [eax], 0
mov dword [eax], 0
jmp 0x10177f88
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10178e60
mov dword [esp + 0x3c], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
test eax, eax
je 0x10177fd3
push eax
push ecx
call fcn.10176cd0
add esp, 4
mov ecx, eax
call fcn.101770f0
mov dword [esi], 0
call fcn.10176cd0
mov ecx, eax
call fcn.10176fc0
or ebp, 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x101780ad
mov ecx, dword [edi]
lea eax, [esp + 0x24]
push eax
add ecx, 0x30
call fcn.100d0ca0
mov ecx, dword [edi]
sub esp, 8
mov ebx, dword [esp + 0x4c]
mov esi, esp
mov dword [esp + 0x28], esp
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x3c], eax
lea ecx, [ebp + 2]
mov dword [esi], 0
mov dword [esi + 4], 0
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x10178038
lea eax, [edx + 4]
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.100d0d60
mov byte [esp + 0x44], 2
push ebx
mov byte [esp + 0x48], 1
call fcn.101781d0
test al, al
jne 0x10178104
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x3c], 3
lea eax, [esp + 0x18]
mov ecx, dword [edi]
push eax
add ecx, 0x30
call fcn.100d5e50
mov byte [esp + 0x3c], 1
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x101780ad
lea eax, [esi + 4]
mov ecx, ebp
lock xadd dword [eax], ecx
jne 0x101780ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, ebp
lock xadd dword [eax], edx
jne 0x101780ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor bl, bl
mov dword [esp + 0x3c], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x101780e1
lea eax, [esi + 4]
mov ecx, ebp
lock xadd dword [eax], ecx
jne 0x101780e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea edx, [esi + 8]
lock xadd dword [edx], ebp
dec ebp
jne 0x101780e1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
add esp, 0x2c
ret 4
mov eax, dword [edi]
add eax, 0x80
mov dword [esp + 0x20], eax
je 0x1017811e
mov eax, dword [eax]
test eax, eax
je 0x1017811e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x3c], 4
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x1017813d
mov ecx, dword [edi]
lea ecx, [ecx + 0x30]
call fcn.100ea130
mov esi, dword [esp + 0x20]
xor bl, bl
jmp 0x1017819d
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10178158
mov eax, dword [esi]
test eax, eax
je 0x10178152
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
xor bl, bl
mov dword [esp + 0x14], 2
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.10176cd0
mov ecx, eax
call fcn.10177050
mov ecx, dword [esp + 0x14]
test al, al
je 0x1017818e
test ecx, ecx
movzx ebx, bl
mov eax, 1
cmove ebx, eax
mov eax, dword [edi]
mov dword [eax + 0x78], ecx
mov ecx, dword [edi]
lea ecx, [ecx + 0x30]
call fcn.100ea130
mov byte [esp + 0x3c], 1
test esi, esi
je 0x101780af
mov eax, dword [esi]
test eax, eax
je 0x101781b7
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x20], 0
jmp 0x101780af