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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
push eax
call fcn.0071a890
add esp, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov eax, ecx
xor eax, 2
or eax, edx
jne 0x69728b
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov eax, dword [0x94bccc]
cmp eax, 1
ja 0x697232
movzx eax, byte [0x94b860]
test al, al
je 0x697232
movzx eax, al
cmp eax, 1
je 0x6970c1
cmp eax, 2
je 0x69710e
mov ecx, 0x94b858
call fcn.007d3740
test al, al
je 0x697232
movzx eax, al
cmp eax, 2
je 0x69710e
mov eax, dword [0x94b858]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x697232
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x6970fe
mov dword [esp], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx + 8]
dec ecx
and ecx, 0xfffffff8
lea edx, [ecx + edx + 8]
mov ecx, dword [esp]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x697232
mov eax, dword [0x94b858]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x69758e
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 0x70], 0x92c3f4
mov dword [esp + 0x74], 2
mov dword [esp + 0x80], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x3c]
movlps qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x44], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x48], 0x69d5e0
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x50], 0x7116b0
mov dword [esp + 0x78], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x7c], 2
mov dword [esp + 0x14], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], 0x8a682c
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x697229
cmp dword [0x94bcc0], 0
mov ebx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov edi, dword [0x94bcc8]
je 0x697207
mov eax, dword [edi + 8]
dec eax
and eax, 0xfffffff8
lea ebx, [eax + ebx + 8]
lea eax, [esp + 0xa0]
push eax
push ebx
call dword [edi + 0x28]
add esp, 8
test al, al
je 0x697229
lea eax, [esp + 0xa0]
push eax
push ebx
call dword [edi + 0x2c]
add esp, 8
movzx ebx, byte [esp + 0xc]
mov edi, dword [esp + 0x10]
cmp bl, 3
mov word [esi + 8], 0x194
mov dword [esi + 4], 0
mov dword [esi], 2
jne 0x6973b4
mov esi, dword [edi]
mov ebx, dword [edi + 4]
push esi
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
je 0x697277
cmp dword [ebx + 8], 9
jb 0x697268
mov esi, dword [esi - 4]
push esi
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]
jmp 0x6973b4
movsd xmm1, qword [esp + 0xd0]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xe0]
movsd xmm2, qword [esp + 0xc8]
mov edi, dword [esp + 0xe4]
movsd xmm0, qword [esp + 0xd8]
xor ebx, ebx
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0xc0]
mov dword [esp], eax
mov eax, ecx
movsd qword [esp + 0x88], xmm2
movsd xmm2, qword [esp + 0xb8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ecx
movsd qword [esp + 0x98], xmm0
shr al, 4
and al, 1
test edi, 0x20000000
mov edi, dword [esp + 0xac]
movzx eax, al
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0xb0]
cmove ebx, eax
test ecx, 0x400
movsd qword [esp + 0x78], xmm2
mov ecx, dword [esp]
cmove ebx, eax
movsd qword [esp + 0x70], xmm1
mov eax, dword [0x94bccc]
test eax, eax
je 0x6973bc
movsd xmm1, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x88]
movsd xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0x34]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [esp + 0x70]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
mov dword [esi + 4], edx
mov dword [esi], eax
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], edi
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], ecx
mov byte [esi + 0x48], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x94b854]
test al, al
je 0x697346
movzx eax, al
cmp eax, 1
je 0x697401
cmp eax, 2
je 0x69745f
mov ecx, 0x94b84c
mov dword [esp + 8], edx
call fcn.007d3740
mov ecx, dword [esp]
mov edx, dword [esp + 8]
test al, al
je 0x697346
movzx eax, al
cmp eax, 2
je 0x69745f
mov eax, dword [0x94b84c]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
mov ecx, dword [esp]
jne 0x697346
mov dword [esp + 8], edx
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x697448
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 8]
dec ecx
and ecx, 0xfffffff8
lea edx, [ecx + edx + 8]
mov ecx, dword [esp + 4]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
mov edx, dword [esp + 8]
mov ecx, dword [esp]
test al, al
je 0x697346
mov eax, dword [0x94b84c]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x20]
test edx, edx
je 0x6975a2
lea ecx, [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x58], 0x92c3cc
mov dword [esp + 0x5c], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x20]
movlps qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x10], 0x69d5e0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 1
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], 1
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0x8a682c
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ecx
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x697582
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x697551
mov eax, dword [ecx + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 0xa0]
mov dword [esp + 0x2c], edx
push eax
push edx
mov dword [esp + 0xc], ecx
call dword [ecx + 0x28]
add esp, 8
test al, al
je 0x697582
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0xc]
call dword [eax + 0x2c]
add esp, 8
mov edx, dword [esp + 8]
mov ecx, dword [esp]
jmp 0x697346
mov ecx, 0x8a6758
mov edx, 0x22
push 0x92c3d4
call fcn.007c2000
mov ecx, 0x8a6758
mov edx, 0x22
push 0x92c3b0
call fcn.007c2000
int3