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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], esp
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0x75f220
mov ebx, dword [ebp + 8]
mov eax, dword fs:[0]
mov dword [esi + 0x78], eax
lea eax, [esi + 0x78]
mov dword fs:[0], eax
call fcn.005ad850
mov ecx, dword [ebx + 0x14c]
xor edi, edi
mov dword [ebx + 0x14c], 0
mov dword [esi + 8], ecx
cmp edx, ecx
mov ecx, dword [ebx + 0x150]
mov dword [ebx + 0x150], 1
mov dword [ebx + 0x154], 0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0
jbe 0x5ad65e
mov edi, edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x80], 0
lea ecx, [esi + 8]
xor edx, edx
mov dword [esi + 4], edi
push edi
call fcn.007c14a0
add esp, 4
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x20]
mov dword [esi + 4], edi
add ebx, 0x14c
add ecx, edi
push edx
push eax
push ecx
mov edi, edx
call fcn.007bd9b0
add esp, 0xc
add edi, dword [esi + 4]
mov dword [esi + 0x10], edi
mov dword [ebx + 8], edi
movsd xmm0, qword [esi + 8]
movsd qword [ebx], xmm0
mov eax, dword [0x94bccc]
cmp eax, 2
ja 0x5ad7f7
movzx eax, byte [0x94b224]
test al, al
je 0x5ad7f7
movzx eax, al
cmp eax, 1
je 0x5ad6cc
cmp eax, 2
je 0x5ad710
mov ecx, 0x94b21c
call fcn.007d3740
test al, al
je 0x5ad7f7
movzx eax, al
cmp eax, 2
je 0x5ad710
mov eax, dword [0x94b21c]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x5ad7f7
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x5ad700
mov edi, dword [ecx + 8]
dec edi
and edi, 0xfffffff8
lea edx, [edi + edx + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x5ad7f7
mov eax, dword [0x94b21c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5ad808
mov edi, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x58], 0x927ffc
mov dword [esi + 0x5c], 1
mov dword [esi + 0x68], 0
mov dword [esi + 0x44], edx
cmp dword [edi + 0x154], 0
lea edx, [esi + 3]
lea edi, [esi + 0x24]
mov dword [esi + 0x48], ecx
movlps qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], 0
mov dword [esi + 0x24], edx
lea edx, [esi + 0x44]
mov dword [esi + 0x60], edi
lea edi, [esi + 0x58]
mov dword [esi + 0x28], 0x408c80
mov dword [esi + 0x64], 1
mov dword [esi + 0x2c], edx
lea edx, [esi + 0x2c]
mov dword [esi + 0x30], edi
lea edi, [eax + 0x1c]
mov dword [esi + 0x34], 0x8a682c
mov dword [esi + 0x38], edx
lea edx, [esi + 0x38]
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
setne byte [esi + 3]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x5ad7f7
cmp dword [0x94bcc0], 0
mov ebx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov edi, dword [0x94bcc8]
je 0x5ad7dd
mov eax, dword [edi + 8]
dec eax
and eax, 0xfffffff8
lea ebx, [eax + ebx + 8]
lea eax, [esi + 8]
push eax
push ebx
call dword [edi + 0x28]
add esp, 8
test al, al
je 0x5ad7f7
lea eax, [esi + 8]
push eax
push ebx
call dword [edi + 0x2c]
add esp, 8
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x8a6758
mov edx, 0x22
push 0x927fcc
call fcn.007c2000
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x84]
mov ebp, dword [esi + 0x70]
cmp dword [esi + 8], 0
je 0x5ad844
push dword [esi + 0xc]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0xc
pop ebp
ret