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

Disassembly:
push 0xffffffffffffffff
push 0x1011e94a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x70]
xor esi, esi
mov dword [esp + 0x14], esi
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x68], esi
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x18]
mov ebp, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x18]
test edi, edi
je 0x100185be
cmp edi, eax
je 0x100185c3
call fcn.100f3f6c
cmp ebp, esi
je 0x10018787
test edi, edi
jne 0x10018631
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x100185e0
call fcn.100f3f6c
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x74]
cmp dword [eax + 4], ecx
jne 0x100186df
test edi, edi
jne 0x10018635
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x10018605
call fcn.100f3f6c
mov eax, dword [ebp + 8]
lea esi, [esp + 0x44]
call fcn.10017220
mov edx, dword [esp + 0x78]
mov byte [esp + 0x68], 1
or dword [esp + 0x14], 1
mov edi, dword [edx + 0x14]
mov ebx, 0x10
cmp dword [edx + 0x18], ebx
jb 0x10018639
mov edx, dword [edx + 4]
jmp 0x1001863c
mov eax, dword [edi]
jmp 0x100185d6
mov eax, dword [edi]
jmp 0x100185fb
add edx, 4
mov esi, dword [eax + 0x14]
mov ecx, esi
cmp ecx, esi
jae 0x10018645
mov ecx, esi
cmp esi, edi
jb 0x1001864d
mov ecx, edi
cmp dword [eax + 0x18], ebx
jb 0x10018657
mov eax, dword [eax + 4]
jmp 0x1001865a
add eax, 4
push ecx
push edx
push eax
call fcn.10001070
add esp, 0xc
test eax, eax
jne 0x100186db
cmp esi, edi
jb 0x100186db
cmp esi, edi
setne al
test eax, eax
jne 0x100186db
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x100186b9
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x1001868f
call fcn.100f3f6c
mov eax, dword [ebp + 8]
lea esi, [esp + 0x28]
call fcn.100171f0
mov edx, dword [esp + 0x7c]
mov ecx, 2
mov dword [esp + 0x68], ecx
or dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x14]
cmp dword [edx + 0x18], ebx
jb 0x100186bd
mov edx, dword [edx + 4]
jmp 0x100186c0
mov eax, dword [eax]
jmp 0x10018685
add edx, 4
push ecx
push edx
mov edx, dword [eax + 0x14]
push edx
push 0
mov ecx, eax
call fcn.10005970
test eax, eax
jne 0x100186db
mov edi, dword [esp + 0x20]
mov bl, 1
jmp 0x100186e1
mov edi, dword [esp + 0x20]
xor bl, bl
test byte [esp + 0x14], 2
je 0x10018716
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x40], 0x10
jb 0x10018701
mov eax, dword [esp + 0x2c]
push eax
call fcn.100f4085
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov dword [esp + 0x68], 0
test byte [esp + 0x14], 1
je 0x1001873e
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x5c], 0x10
jb 0x1001873e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100f4085
add esp, 4
test bl, bl
jne 0x10018767
test edi, edi
jne 0x10018763
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x10018757
call fcn.100f3f6c
mov ebp, dword [ebp]
mov ebx, dword [esp + 0x70]
jmp 0x100185b0
mov eax, dword [edi]
jmp 0x1001874d
test edi, edi
jne 0x100187a8
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x1001877c
call fcn.100f3f6c
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
mov eax, dword [edi]
jmp 0x10018772