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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0xc], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov ebx, dword [edi]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x38], eax
jbe 0x48f12a
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x48f12a
imul edi, dword [esp + 0x14], 0xf0
mov eax, dword [edx + edi]
xor eax, 3
or eax, dword [edx + edi + 4]
je 0x48f12a
add edx, edi
cmp dword [edx + 0xcc], ecx
jne 0x48f12a
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 4], ecx
add edx, 0x20
lea ecx, [esp + 0x2c]
call fcn.0048f220
movzx eax, byte [esp + 0x2c]
cmp al, 3
jne 0x48ee8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 4]
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], ecx
jbe 0x48f19e
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x48f19e
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x48f19e
mov ecx, dword [esp + 4]
add eax, edi
cmp dword [eax + 0xcc], ecx
jne 0x48f19e
mov ecx, dword [eax]
xor ecx, 2
or ecx, dword [eax + 4]
jne 0x48eec6
mov ecx, dword [eax + 8]
or ecx, dword [eax + 0xc]
je 0x48eec6
mov eax, dword [0x94bccc]
cmp eax, 1
ja 0x48ee2c
movzx eax, byte [0x94a338]
test al, al
je 0x48ee2c
movzx eax, al
cmp eax, 1
je 0x48ec7e
cmp eax, 2
je 0x48ecce
mov ecx, 0x94a330
call fcn.007d3740
lea edx, [esp + 0x1c]
test al, al
je 0x48ee2c
movzx eax, al
cmp eax, 2
je 0x48ecce
mov eax, dword [0x94a330]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x48ee2c
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x48ecba
mov dword [esp + 8], esi
mov esi, dword [ecx + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
mov esi, dword [esp + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
lea edx, [esp + 0x1c]
je 0x48ee2c
mov eax, dword [0x94a330]
mov dword [esp + 8], esi
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x48f1fe
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
movlps qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov esi, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc], ecx
cmp dword [edx + 0x38], esi
jbe 0x48f1f4
mov edx, dword [edx + 0x34]
test edx, edx
je 0x48f1f4
imul esi, esi, 0xf0
mov ecx, dword [edx + esi]
xor ecx, 3
or ecx, dword [edx + esi + 4]
je 0x48f1f4
mov ecx, dword [esp + 0xc]
add edx, esi
cmp dword [edx + 0xcc], ecx
jne 0x48f1f4
add edx, 0xcc
mov dword [esp + 0x2c], 0x827338
mov dword [esp + 0x30], 2
mov dword [esp + 0x3c], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x58], 0x47c5e0
mov dword [esp + 0x34], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x38], 1
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], 0x81c698
mov dword [esp + 0x44], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x48ee24
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x48ee01
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 0x68]
mov dword [esp + 0xc], edx
push eax
push edx
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x48ee24
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x10]
call dword [esi + 0x2c]
add esp, 8
mov esi, dword [esp + 8]
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], ecx
jbe 0x48f19e
mov eax, dword [eax + 0x34]
test eax, eax
je 0x48f19e
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x48f19e
mov ecx, dword [esp + 4]
add eax, edi
cmp dword [eax + 0xcc], ecx
jne 0x48f19e
mov eax, dword [eax + 0xcc]
mov word [esi], pe_nt_image_headers32
mov dword [esi + 4], eax
mov dword [esi + 8], 1
jmp 0x48eeb0
movsd xmm0, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x2d]
movsd xmm1, qword [esp + 0x35]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 9], xmm1
movsd qword [esi + 1], xmm2
mov byte [esi], al
mov ecx, ebx
call fcn.0047c700
add ebx, 0x40
mov ecx, ebx
call fcn.0047c7c0
jmp 0x48f122
lea eax, [esp + 0x68]
mov dword [esp + 8], esi
push 0xb0
push ebx
push eax
call fcn.007bd9b0
add esp, 0xc
movsd xmm1, qword [ebx + 8]
movsd xmm2, qword [ebx + 0x10]
movsd xmm0, qword [ebx]
lea ecx, [esp + 0xa8]
movsd qword [esp + 0x120], xmm1
movsd xmm1, qword [ebx + 0x18]
movsd qword [esp + 0x128], xmm2
movsd xmm2, qword [ebx + 0x20]
movsd qword [esp + 0x118], xmm0
movsd qword [esp + 0x130], xmm1
movsd xmm1, qword [ebx + 0x28]
movsd qword [esp + 0x138], xmm2
movsd xmm2, qword [ebx + 0x30]
movsd qword [esp + 0x140], xmm1
movsd xmm1, qword [ebx + 0x38]
movsd qword [esp + 0x148], xmm2
movsd qword [esp + 0x150], xmm1
call fcn.0047c7c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x38], edx
jbe 0x48f158
mov esi, dword [eax + 0x34]
test esi, esi
je 0x48f158
mov eax, dword [esi + edi]
xor eax, 3
or eax, dword [esi + edi + 4]
je 0x48f158
add esi, edi
cmp dword [esi + 0xcc], ecx
jne 0x48f158
movsd xmm1, qword [esp + 0x148]
movsd xmm2, qword [esp + 0x140]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x150]
lea eax, [esp + 0x68]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x138]
movsd qword [esp + 0x98], xmm2
movsd xmm2, qword [esp + 0x130]
mov ebx, dword [edi + 0x74]
lea ecx, [edi + 0x64]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x128]
movsd qword [esp + 0x88], xmm2
movsd xmm2, qword [esp + 0x118]
mov edx, ebx
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0x120]
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x78], xmm1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 5
mov dword [esp + 0xf0], 0
push eax
call fcn.0048c220
add esp, 4
cmp dword [esi + 0xac], 0
je 0x48f0b1
mov ecx, dword [esi + 0xb4]
cmp dword [edi + 0x6c], ecx
jbe 0x48f1e0
mov eax, dword [edi + 0x68]
test eax, eax
je 0x48f1e0
lea ecx, [ecx + ecx*8]
shl ecx, 4
add eax, ecx
mov ecx, dword [eax]
xor ecx, 6
or ecx, dword [eax + 4]
je 0x48f1e0
add esi, 0xb4
mov dword [eax + 0x88], 1
mov dword [eax + 0x8c], ebx
jmp 0x48f0c7
mov dword [esi + 0xac], 1
mov dword [esi + 0xb0], ebx
add esi, 0xb4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x38], ecx
jbe 0x48f158
mov eax, dword [eax + 0x34]
test eax, eax
je 0x48f158
mov ecx, dword [eax + esi]
xor ecx, 3
or ecx, dword [eax + esi + 4]
je 0x48f158
add eax, esi
cmp dword [eax + 0xcc], edx
jne 0x48f158
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
mov esi, dword [esp + 8]
mov dword [eax + 0x50], 0
test ecx, ecx
je 0x48f11f
push edx
call dword [ecx + 4]
add esp, 4
mov byte [esi], 3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x48]
mov dword [esp + 0x68], 0x828150
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0x47c5e0
jmp 0x48f184
lea eax, [esp + 0x1c]
mov dword [esp + 0x68], 0x828150
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x47c5e0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x68]
mov edx, 0x828168
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
call fcn.007c1b50
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x68]
mov edx, 0x828158
mov dword [esp + 0x68], 0x828150
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x30], 0x47c5e0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
call fcn.007c1b50
mov ecx, 0x8ac6bc
mov edx, 0xb
push 0x8aad6c
call fcn.007c2530
lea eax, [esp + 0x48]
mov dword [esp + 0x2c], eax
jmp 0x48f1a2
mov ecx, 0x8a6758
mov edx, 0x22
push 0x8272d4
call fcn.007c2000
int3