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

Disassembly:
sub esp, 0x18
cmp dword [esp + 0x24], 0
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
push edi
movzx edx, byte [ebp + 1]
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x10]
lea edi, [eax + edx*8]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x14], edi
lea ebx, [eax + edx*4]
je 0x48ddea
cmp dword [esi + 0x910], ebp
jne 0x48ddb6
movzx eax, word [ebx]
mov ecx, eax
cmp ax, word [esi + 0x914]
jne 0x48ddb6
movzx eax, byte [esi + 0x91c]
movzx ebp, word [esi + 0x918]
mov dword [esp + 0x2c], eax
or eax, 0x2900
mov word [esi + 0x7c], ax
mov ax, word [esi + 0x91a]
mov word [esi + 0x78], cx
mov ecx, esi
mov dword [esp + 0x34], ebp
mov word [esi + 0x7a], ax
call fcn.0047ba80
mov dword [ebx], eax
mov dword [ebx + 0xc], eax
movsd xmm0, qword [edi + 0x10]
movaps xmm1, xmm0
addsd xmm1, qword [edi]
jmp 0x48dedd
push 0
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0048e200
movzx eax, byte [esp + 0x34]
add esp, 0x10
movsd xmm0, qword [edi + 0x10]
mov dword [esp + 0x2c], eax
movaps xmm1, xmm0
movzx eax, word [esp + 0x20]
addsd xmm1, qword [edi]
mov dword [esp + 0x34], eax
jmp 0x48dedd
mov edx, edi
call fcn.00477a80
mov eax, dword [ebx]
and eax, 0x1f000000
cmp eax, 0x13000000
je 0x48de0a
mov ebp, 0xe
mov dword [esp + 0x2c], ebp
jmp 0x48de1a
push edi
push esi
call fcn.0047eb00
add esp, 8
mov dword [esp + 0x2c], eax
mov ebp, eax
xor edi, edi
nop dword [eax]
mov ecx, dword [ebx + edi*4]
test ecx, ecx
jne 0x48de3a
mov eax, dword [esp + 0x10]
add eax, edi
push eax
push esi
call fcn.00490230
mov ecx, dword [ebx + edi*4]
add esp, 8
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x48de5f
mov word [esi + 0x78], cx
mov ecx, esi
mov dword [esi + 0x7a], 0x5d8e0000
call fcn.0047ba80
mov ecx, eax
mov dword [ebx + edi*4], eax
mov eax, ecx
cmp ebp, 0x13
jne 0x48de7d
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
jbe 0x48de9e
mov dword [esi + 0x7a], 0x5a93326e
jmp 0x48de90
and eax, 0x1f000000
cmp eax, 0xe000000
je 0x48de9e
mov dword [esi + 0x7a], 0x5a0e01d3
mov word [esi + 0x78], cx
mov ecx, esi
call fcn.0047ba80
mov dword [ebx + edi*4], eax
inc edi
cmp edi, 2
jbe 0x48de20
mov edi, dword [esp + 0x14]
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
push 1
push dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x14]
not eax
mov dword [esp + 0x3c], ebp
push ebp
shr eax, 0x1f
push eax
push dword [esp + 0x3c]
push esi
call fcn.0048dff0
movsd xmm1, qword [edi]
add esp, 0x18
movsd xmm0, qword [edi + 0x10]
cmp dword [edi + 0x14], 0
movsd xmm2, qword [edi + 8]
jl 0x48df12
comisd xmm2, xmm1
jb 0x48df0b
addsd xmm0, xmm0
xor ecx, ecx
mov ebp, 0x280
addsd xmm0, xmm1
comisd xmm0, xmm2
setbe cl
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x48df33
mov ebp, 0x380
jmp 0x48df54
comisd xmm1, xmm2
jb 0x48df4f
addsd xmm0, xmm0
xor eax, eax
mov ebp, 0x180
addsd xmm0, xmm1
comisd xmm2, xmm0
setbe al
inc eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x6c], eax
movzx eax, word [edx + 2]
lea ecx, [eax*4 - 0x1fffc]
jmp 0x48df69
mov ebp, 0x80
mov eax, dword [esp + 0x10]
xor edi, edi
mov edx, dword [esp + 0x30]
add eax, 4
mov dword [esi + 0x6c], eax
mov ecx, 4
lea eax, [edx + 4]
mov dword [esp + 0x14], eax
lea eax, [ecx + edx]
push esi
mov dword [esi + 0x58], eax
call fcn.00490390
movzx eax, word [ebx]
add esp, 4
or ebp, dword [esp + 0x2c]
mov ecx, esi
mov word [esi + 0x78], ax
mov eax, dword [esp + 0x34]
mov word [esi + 0x7c], bp
mov word [esi + 0x7a], ax
call fcn.0047ba80
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x48dfc9
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x6c], eax
movzx eax, word [ecx + 2]
add eax, 0xffff8001
lea eax, [ecx + eax*4]
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
mov byte [esi + 0x75], 1
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
add eax, 4
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
mov byte [esi + 0x75], 1
pop esi
pop ebp
pop ebx
add esp, 0x18
ret