Function at 0x488c40
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 eax, dword [0x94bccc]
mov ebx, edx
mov esi, ecx
test eax, eax
je 0x488d42
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jbe 0x488d34
add ebx, 0x28
lea ecx, [esp + 0x78]
mov edx, ebx
push dword [ebp + 8]
call fcn.00489130
add esp, 4
cmp dword [esp + 0x78], 0
je 0x488d34
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
mov dword [esp + 0x28], eax
movsd qword [esp + 0x20], xmm0
mov eax, dword [0x94bccc]
test eax, eax
je 0x488eb6
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.00482e30
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
cmp dword [ecx + 0x38], edx
jbe 0x489090
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x489090
imul edx, edx, 0xf0
mov edi, dword [ecx + edx]
xor edi, 3
or edi, dword [ecx + edx + 4]
je 0x489090
add ecx, edx
cmp dword [ecx + 0xcc], eax
jne 0x489090
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov dword [ecx + 0x40], 0
test eax, eax
je 0x488d21
push edx
call dword [eax + 4]
add esp, 4
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
jmp 0x488d3a
mov dword [esi], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x94a2d8]
test al, al
je 0x488c60
movzx eax, al
cmp eax, 1
je 0x488d78
cmp eax, 2
je 0x488dbc
mov ecx, 0x94a2d0
call fcn.007d3740
test al, al
je 0x488c60
movzx eax, al
cmp eax, 2
je 0x488dbc
mov eax, dword [0x94a2d0]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x488c60
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x488dac
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 0x488c60
mov eax, dword [0x94a2d0]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4890d6
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x38], 0x826f6c
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0x93d1f8
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
lea edx, [esp + 0x5c]
movlps qword [esp + 0x64], xmm0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x50], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x58], 0x81c698
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x488c60
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov edi, dword [0x94bcc8]
je 0x488e8a
mov eax, dword [edi + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 8]
mov dword [esp + 4], edx
push eax
push edx
call dword [edi + 0x28]
add esp, 8
test al, al
je 0x488c60
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [edi + 0x2c]
add esp, 8
jmp 0x488c60
movzx eax, byte [0x94a2e4]
test al, al
je 0x488cb2
movzx eax, al
cmp eax, 1
je 0x488eec
cmp eax, 2
je 0x488f30
mov ecx, 0x94a2dc
call fcn.007d3740
test al, al
je 0x488cb2
movzx eax, al
cmp eax, 2
je 0x488f30
mov eax, dword [0x94a2dc]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x488cb2
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x488f20
mov ebx, dword [ecx + 8]
dec ebx
and ebx, 0xfffffff8
lea edx, [ebx + edx + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x488cb2
mov eax, dword [0x94a2dc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x489111
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
movlps qword [esp + 0x64], xmm0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 4], ecx
cmp dword [edx + 0x38], ebx
jbe 0x4890ea
mov edx, dword [edx + 0x34]
test edx, edx
je 0x4890ea
imul ebx, ebx, 0xf0
mov ecx, dword [edx + ebx]
xor ecx, 3
or ecx, dword [edx + ebx + 4]
je 0x4890ea
mov ecx, dword [esp + 4]
add edx, ebx
cmp dword [edx + 0xcc], ecx
jne 0x4890ea
add edx, 0xcc
mov dword [esp + 0x38], 0x826fa4
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], 0x47c5e0
mov dword [esp + 0x40], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x58], 0x81c698
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x488cb2
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ebx, dword [0x94bcc8]
je 0x489064
mov eax, dword [ebx + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 8]
mov dword [esp + 4], edx
push eax
push edx
call dword [ebx + 0x28]
add esp, 8
test al, al
je 0x488cb2
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [ebx + 0x2c]
add esp, 8
jmp 0x488cb2
lea ecx, [esp + 0x38]
lea eax, [esp + 0x60]
mov dword [esp + 8], 0x828150
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov edx, 0x828168
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x47c5e0
mov dword [esp + 0x14], 1
call fcn.007c1b50
mov ecx, 0x8a6758
mov edx, 0x22
push 0x826f44
call fcn.007c2000
lea ecx, [esp + 0x38]
lea eax, [esp + 0x30]
mov dword [esp + 8], 0x828150
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov edx, 0x828158
jmp 0x4890b5
mov ecx, 0x8a6758
mov edx, 0x22
push 0x826f74
call fcn.007c2000
int3