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

Disassembly:
push 0xffffffffffffffff
push 0x6014b8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x6015b6f8]
push ebx
push ebp
push esi
push edi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x70], ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x60140650
sub eax, edx
mov dword [esp + 0x18], eax
je 0x60140706
mov eax, dword [ebx - 4]
mov esi, dword [ebx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx - 8]
lea edi, [esi + 1]
sub eax, edi
or eax, ecx
jge 0x6014068a
push edi
lea ecx, [esp + 0x18]
call fcn.601042f0
mov ebx, dword [esp + 0x14]
test edi, edi
mov byte [esi + ebx], 0x5c
jl 0x601409ff
cmp edi, dword [ebx - 8]
jg 0x601409ff
mov ecx, dword [esp + 0x7c]
mov dword [ebx - 0xc], edi
mov byte [edi + ebx], 0
mov dl, byte [ecx + ebp]
mov eax, dword [ebx - 4]
mov esi, dword [ebx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx - 8]
lea edi, [esi + 1]
sub eax, edi
or eax, ecx
mov byte [esp + 0x10], dl
jge 0x601406d8
push edi
lea ecx, [esp + 0x18]
call fcn.601042f0
mov ebx, dword [esp + 0x14]
test edi, edi
mov al, byte [esp + 0x10]
mov byte [esi + ebx], al
jl 0x601409ff
cmp edi, dword [ebx - 8]
jg 0x601409ff
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
mov dword [ebx - 0xc], edi
mov byte [edi + ebx], 0
jb 0x60140663
xor ebp, ebp
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push ebx
push ebx
lea eax, [esp + 0x20]
push str.___._____s____s_
push eax
mov byte [esp + 0x80], 1
call fcn.6010a8e0
add esp, 0x10
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 1
mov dword [esp + 0x20], ebp
mov edi, dword [esp + 0x18]
push 1
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 2
call fcn.6013fd30
cmp eax, ebp
je 0x601407a0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x60140786
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x70], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x601409b4
mov esi, dword [esp + 0x78]
push pe_nt_image_headers32
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], esi
call fcn.6013ec50
mov byte [esp + 0x70], 3
jmp 0x601407c0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.6013ee10
test eax, eax
je 0x6014095e
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x7c], eax
jbe 0x601408a9
jmp 0x601407f4
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
sub edi, esi
test esi, esi
jne 0x6014080d
test edi, edi
jne 0x601409ff
mov edx, dword [0x6015b6f8]
push 1
push edi
mov ecx, 0x6015b6f8
call dword [edx]
test eax, eax
je 0x601409fa
test edi, edi
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
jl 0x601409ff
cmp edi, dword [ebp - 8]
jg 0x601409ff
mov ecx, edi
mov eax, ecx
mov dword [ebp - 0xc], edi
mov byte [edi + ebp], 0
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xc]
test eax, eax
mov byte [esp + 0x70], 4
je 0x6014086f
mov ecx, dword [esp + 0x80]
push ebp
call fcn.6010aef0
lea eax, [ebp - 0x10]
mov byte [esp + 0x70], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6014088e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x7c], eax
jb 0x601407f0
mov edi, dword [esp + 0x18]
xor ebp, ebp
mov esi, dword [esp + 0x78]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x601408b2
sub eax, edx
mov dword [esp + 0x7c], eax
jne 0x601407c0
mov eax, dword [esp + 0x54]
cmp eax, ebp
mov esi, dword [sym.imp.MSVCR71.dll_free]
je 0x601408d9
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x50]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x50]
push ecx
mov dword [esp + 0x58], ebp
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebp
mov dword [esp + 0x4c], ebp
je 0x60140906
push eax
call esi
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x70], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x60140925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x70], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x60140947
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
mov eax, dword [esp + 0x54]
cmp eax, ebp
mov esi, dword [sym.imp.MSVCR71.dll_free]
je 0x60140972
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x50]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x50]
push ecx
mov dword [esp + 0x58], ebp
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebp
mov dword [esp + 0x4c], ebp
je 0x6014099f
push eax
call esi
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x70], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x601409be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x70], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x601409e0
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
call fcn.601041a0
push 0x80070057
call fcn.601040a0
int3