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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10121ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], eax
mov byte [esp + 0x78], al
add esi, 0x74
lea edi, [esi + 0x20]
push edi
mov dword [esp + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jbe 0x10015188
lea eax, [esp + 0x18]
push eax
call fcn.10040b80
lea ecx, [esp + 0x18]
push ecx
push esi
mov byte [esp + 0xa8], 1
call fcn.10016540
mov edx, dword [esp + 0x2c]
mov edi, dword [edx]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], edi
nop
mov esi, dword [esp + 0x2c]
test ebx, ebx
je 0x10014f5e
cmp ebx, dword [esp + 0x18]
je 0x10014f63
call fcn.100f3f6c
cmp edi, esi
je 0x10015060
test ebx, ebx
jne 0x10014fd9
call fcn.100f3f6c
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10014f80
call fcn.100f3f6c
mov edi, dword [edi + 8]
test edi, edi
je 0x10015036
cmp dword [edi + 0xc], 0
jle 0x1001502d
cmp dword [esp + 0x88], 0
ja 0x10014fdd
lea esi, [esp + 0x3c]
mov ecx, edi
call fcn.10013530
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 2
call fcn.100057a0
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x54], 0x10
jb 0x1001502d
mov eax, dword [esp + 0x40]
push eax
jmp 0x10015025
mov eax, dword [ebx]
jmp 0x10014f76
push 1
push 0x1013dffc
lea ecx, [esp + 0x7c]
call fcn.10006400
lea esi, [esp + 0x3c]
mov ecx, edi
call fcn.10013530
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 3
call fcn.10006300
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x54], 0x10
jb 0x1001502d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100f4085
add esp, 4
push edi
call fcn.100f4085
add esp, 4
test ebx, ebx
jne 0x1001505c
call fcn.100f3f6c
xor eax, eax
mov esi, dword [esp + 0x38]
cmp esi, dword [eax + 0x14]
jne 0x1001504f
call fcn.100f3f6c
mov edx, dword [esi]
mov dword [esp + 0x38], edx
mov edi, edx
jmp 0x10014f50
mov eax, dword [ebx]
jmp 0x10015041
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
cmp eax, ecx
je 0x10015095
nop
mov esi, dword [eax]
push eax
call fcn.100f4085
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x10015080
cmp dword [esp + 0x88], 0
jbe 0x10015132
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
push 0x1013dff8
push ecx
call fcn.1000d3e0
add esp, 0xc
push 0x1013e000
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xac], 4
call fcn.10008390
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 5
call fcn.100057a0
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x10015106
mov eax, dword [esp + 0x40]
push eax
call fcn.100f4085
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
cmp dword [esp + 0x70], esi
jb 0x1001512e
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xa0], 0
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
cmp eax, ecx
je 0x1001516a
mov esi, dword [eax]
push eax
call fcn.100f4085
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x10015155
push ecx
call fcn.100f4085
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov dword [esp + 0x30], 0
call fcn.100f4085
add esp, 4
cmp dword [esp + 0x88], 0
jbe 0x100151d0
test byte [0x10163758], 1
jne 0x100151af
or dword [0x10163758], 1
push 0x10124890
call fcn.100f3c02
add esp, 4
cmp dword [0x1015ef90], 0
jbe 0x100151d0
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
push 1
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 4]
push edx
call fcn.1000f0f0
jmp 0x100151d4
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x8c], 0x10
mov dword [esi + 0xac], 0
jb 0x10015202
mov ecx, dword [esp + 0x78]
push ecx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.100f30a6
mov esp, ebp
pop ebp
ret