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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ebx, dword [ebp + 8]
mov eax, edx
mov edx, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
push eax
call fcn.00717f70
add esp, 4
mov esi, dword [esp + 0x10]
cmp esi, 0x80000000
jne 0x614060
cmp byte [esp + 0x14], 3
mov edi, 1
mov dword [esp + 0xc], 0
jne 0x614077
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 8], eax
push eax
call dword [esi]
add esp, 4
cmp dword [esi + 4], 0
je 0x61409a
cmp dword [esi + 8], 9
jae 0x614084
mov eax, dword [esp + 8]
jmp 0x61408b
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
cmp dword [ebx + 0x140], 0
jne 0x6140b9
jmp 0x6140cd
xor esi, esi
cmp dword [ebx + 0x140], 0
jne 0x6140b9
jmp 0x6140cd
mov eax, dword [esp + 8]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
mov edi, 1
cmp dword [ebx + 0x140], 0
je 0x6140cd
push dword [ebx + 0x144]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x140], esi
mov dword [ebx + 0x144], edi
mov edi, dword [esp + 0xc]
mov dword [ebx + 0x148], edi
mov eax, dword [0x94bccc]
cmp eax, 2
ja 0x6142b8
movzx eax, byte [0x94b44c]
test al, al
je 0x6142b8
movzx eax, al
cmp eax, 1
je 0x614127
cmp eax, 2
je 0x61416b
mov ecx, 0x94b444
call fcn.007d3740
test al, al
je 0x6142b8
movzx eax, al
cmp eax, 2
je 0x61416b
mov eax, dword [0x94b444]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x6142b8
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x61415b
mov esi, dword [ecx + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x6142b8
mov ecx, dword [0x94b444]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x6142c0
mov edx, dword [ecx + 0x1c]
movsd xmm0, qword [ecx + 0x24]
test edi, edi
lea esi, [esp + 0x88]
lea ebx, [ecx + 0x1c]
setne byte [esp + 7]
mov ecx, esi
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
movlps qword [esp + 0x64], xmm0
mov dword [esp + 0x6c], 0
push dword [esp + 0x30]
call fcn.0071e9b0
add esp, 4
lea eax, [esp + 7]
mov dword [esp + 0x70], 0x92a3c4
mov dword [esp + 0x74], 3
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], 0x408c80
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0x418cf0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x7c], 2
mov dword [esp + 0x34], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0x8a682c
mov dword [esp + 0x40], eax
mov eax, dword [0x94b444]
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x614296
cmp dword [0x94bcc0], 0
mov edi, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x61427a
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea edi, [eax + edi + 8]
lea eax, [esp + 0x10]
push eax
push edi
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x614296
lea eax, [esp + 0x10]
push eax
push edi
call dword [esi + 0x2c]
add esp, 8
test dword [esp + 0x88], 0x7fffffff
je 0x6142b8
push dword [esp + 0x8c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x8a6758
mov edx, 0x22
push 0x92a394
call fcn.007c2000
int3