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

Disassembly:
mov ecx, dword [ecx]
jmp 0x60145700
push 0xffffffffffffffff
push 0x6014bf48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
mov esi, dword [esp + 0x7c]
xor ebx, ebx
cmp esi, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
jne 0x60145748
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
push ebp
lea ebp, [edi + 0x50]
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x28], 1
mov eax, dword [esi]
mov dword [esp + 0x74], ebx
cmp eax, ebx
mov ebx, dword [esp + 0x7c]
jge 0x601457af
push esi
push ebx
mov ecx, edi
call fcn.60145220
mov esi, eax
xor eax, eax
cmp esi, eax
mov dword [esp + 0x18], esi
jge 0x601457a5
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
mov dword [esp + 0x20], 1
jmp 0x601457b1
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 4]
xor ebp, ebp
test eax, eax
mov byte [esp + 0x74], 1
jbe 0x601458c6
cmp ebp, eax
mov dword [esp + 0x1c], ebp
jae 0x60145bfd
mov esi, dword [ecx]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + edx + 4]
add esi, edx
test eax, eax
jne 0x6014582e
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push ecx
mov ecx, edi
call fcn.60143b80
mov edi, eax
cmp edi, 0x80070020
je 0x6014581c
cmp edi, 0x80070021
jne 0x60145826
push esi
lea ecx, [esp + 0x30]
call fcn.6012cf70
test edi, edi
mov edi, dword [esp + 0x14]
jmp 0x6014589a
cmp eax, 4
jne 0x60145849
mov esi, dword [esi]
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
push esi
push eax
mov ecx, edi
call fcn.60143d80
jmp 0x60145898
cmp eax, 1
jne 0x60145864
mov esi, dword [esi]
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
push esi
push eax
mov ecx, edi
call fcn.60143b80
jmp 0x60145898
cmp eax, 2
jne 0x6014587f
mov esi, dword [esi]
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
push esi
push eax
mov ecx, edi
call fcn.60143ed0
jmp 0x60145898
cmp eax, 3
jne 0x601458a0
mov esi, dword [esi]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
push esi
push edx
mov ecx, edi
call fcn.601443b0
test eax, eax
jl 0x601458a0
inc dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 4]
inc ebp
add esi, 0x10
cmp ebp, eax
mov dword [esp + 0x1c], esi
jb 0x601457e6
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x601458e7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x601458df
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
push ecx
mov ecx, edi
call fcn.601454b0
mov dword [esp + 0x18], 0x80004005
mov eax, dword [esp + 0x30]
test eax, eax
je 0x60145b32
xor ebp, ebp
test eax, eax
mov dword [esp + 0x80], ebp
jbe 0x60145b2a
xor esi, esi
mov dword [esp + 0x1c], esi
lea ebx, [ebx]
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
mov edx, dword [0x6015b6f8]
add eax, 0x10
mov ecx, 0x6015b6f8
mov dword [esp + 0x50], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x54], eax
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
mov edx, dword [0x6015b6f8]
add eax, 0x10
mov ecx, 0x6015b6f8
mov dword [esp + 0x58], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x40], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 2
mov dword [esp + 0x4c], edx
call fcn.6010a570
lea eax, [ebx + 0x10]
push eax
lea ecx, [esp + 0x54]
call fcn.6010a570
lea eax, [ebx + 0x14]
push eax
lea ecx, [esp + 0x58]
call fcn.6010a570
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x601459ce
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
jmp 0x601459d6
mov dword [esp + 0x3c], 0xffffffff
cmp ebp, dword [esp + 0x30]
jae 0x60145bfd
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + edx]
mov edi, dword [esp + 0x58]
add esi, edx
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x60145a42
mov edx, dword [edi + 0xc]
test edx, edx
lea ebp, [edi + 0xc]
jl 0x60145a34
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x60145a34
push eax
call fcn.60109070
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x60145a27
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x7c]
jmp 0x60145a42
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.60104370
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x68], edx
call fcn.60144910
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60145a88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60145aa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60145ac4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60145ae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60145b00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc ebp
add esi, 0x10
cmp ebp, eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x1c], esi
jb 0x60145910
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], 0x320002
mov esi, dword [esp + 0x2c]
test esi, esi
mov byte [esp + 0x74], 0
je 0x60145b79
test eax, eax
jbe 0x60145b6b
mov edi, eax
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60145b61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0x10
dec edi
jne 0x60145b45
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x60145bbc
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x60145be4
mov ecx, dword [edi + 0x44]
mov edx, ecx
neg edx
sbb edx, edx
test edx, 0x60143220
je 0x60145bbc
mov edx, dword [esp + 0x84]
mov edx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x60145be4
mov ecx, dword [edi + 0x40]
mov eax, ecx
neg eax
sbb eax, eax
test eax, 0x60143220
je 0x60145be4
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
push 0x80070057
call fcn.601040a0
int3