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

Disassembly:
push 0xffffffffffffffff
push 0x6014b468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push edi
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x10], ecx
push edx
add ecx, 0x88
call fcn.601372e0
xor edi, edi
cmp eax, edi
jne 0x6013aab9
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x6015b664
lea ebp, [eax + 4]
call esi
mov bl, byte [ebp + 0x34]
push 0x6015b664
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x6013aaf8
pop esi
pop ebp
pop ebx
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
push 0x6015b664
call esi
mov ebx, dword [ebp]
push 0x6015b664
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, edi
jne 0x6013aade
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
push 4
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
mov byte [esp + 0x7c], 4
call fcn.60139b40
push edi
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call fcn.60139b40
push 1
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.60139b40
push 2
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call fcn.60139b40
push 3
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.60139b40
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push edx
xor bl, bl
call fcn.60139d30
cmp eax, 0x320001
jne 0x6013abc8
mov bl, 1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
call fcn.6013a4a0
cmp eax, 0x320001
jne 0x6013abdf
mov bl, 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.60138a50
cmp eax, 0x320001
jne 0x6013abf8
mov bl, 1
jmp 0x6013abfc
test bl, bl
je 0x6013ac6b
call fcn.601433f0
mov edi, eax
test edi, edi
je 0x6013ac69
mov eax, dword [esp + 0x30]
xor esi, esi
test eax, eax
jbe 0x6013ac35
cmp esi, eax
jae 0x6013ad16
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + esi*4]
mov edx, dword [edi]
push 1
push 1
push eax
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jb 0x6013ac19
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jbe 0x6013ac63
cmp esi, eax
jae 0x6013ad16
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
mov edx, dword [edi]
push 0
push 1
push eax
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x6013ac47
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
call fcn.60137c30
cmp eax, 0x320001
jne 0x6013ac82
mov bl, 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.60139090
cmp eax, 0x320001
jne 0x6013ac99
mov bl, 1
push 0x6015b664
call esi
xor edx, edx
test bl, bl
setne dl
push 0x6015b664
inc edx
mov dword [ebp], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
neg bl
mov byte [esp + 0x74], 3
sbb ebx, ebx
and ebx, 0x320001
cmp eax, edi
mov dword [esp + 0x7c], ebx
je 0x6013ad20
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov ebx, ecx
mov esi, eax
jbe 0x6013ad06
lea ecx, [ecx]
mov eax, dword [esi + edi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013acfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, ebx
jb 0x6013ace0
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.MSVCR71.dll_free]
push eax
call ebp
add esp, 4
xor edi, edi
jmp 0x6013ad26
push 0x80070057
call fcn.601040a0
mov ebp, dword [sym.imp.MSVCR71.dll_free]
mov esi, dword [esp + 0x2c]
cmp esi, edi
mov byte [esp + 0x74], 2
je 0x6013ad6e
mov eax, dword [esp + 0x30]
test eax, eax
mov ebx, eax
jbe 0x6013ad66
lea ecx, [ecx]
mov eax, dword [esi + edi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013ad5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, ebx
jb 0x6013ad40
mov esi, dword [esp + 0x2c]
push esi
call ebp
add esp, 4
xor edi, edi
mov esi, dword [esp + 0x3c]
cmp esi, edi
mov byte [esp + 0x74], 1
je 0x6013adb3
mov eax, dword [esp + 0x40]
test eax, eax
mov ebx, eax
jbe 0x6013adab
mov eax, dword [esi + edi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013ada2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, ebx
jb 0x6013ad85
mov esi, dword [esp + 0x3c]
push esi
call ebp
add esp, 4
xor edi, edi
mov esi, dword [esp + 0x4c]
cmp esi, edi
mov byte [esp + 0x74], 0
je 0x6013adfe
mov eax, dword [esp + 0x50]
test eax, eax
mov ebx, eax
jbe 0x6013adf6
lea ebx, [ebx]
mov eax, dword [esi + edi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013aded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, ebx
jb 0x6013add0
mov esi, dword [esp + 0x4c]
push esi
call ebp
add esp, 4
xor edi, edi
mov ebp, dword [esp + 0x5c]
cmp ebp, edi
mov dword [esp + 0x74], 0xffffffff
je 0x6013ae51
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, edi
mov ebx, eax
jbe 0x6013ae47
lea ebx, [ebx]
mov eax, dword [ebp + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013ae3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
cmp esi, ebx
jb 0x6013ae20
mov ebp, dword [esp + 0x5c]
push ebp
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x7c]
pop esi
pop ebp
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x68
ret 4