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

Disassembly:
mov al, byte [0x6a7570]
xor edx, edx
cmp al, dl
je 0x48b023
mov eax, dword [0x6a756c]
mov ecx, dword [0x6a751c]
push esi
mov esi, eax
sar esi, 0xc
add ecx, esi
add eax, 0xc00
cmp ecx, 0x280
mov dword [0x6a751c], ecx
mov dword [0x6a756c], eax
pop esi
jl 0x48b01e
mov byte [0x6a7570], dl
ret
jmp 0x48b050
cmp byte [0x6a7571], dl
je 0x48b01d
mov ecx, dword [0x6a756c]
mov eax, dword [0x6a751c]
sar ecx, 0xc
sub eax, ecx
cmp eax, edx
mov dword [0x6a751c], eax
jg 0x48b04b
mov byte [0x6a7571], dl
ret
jmp 0x48b050
mov eax, dword [0x56fb04]
mov ecx, dword [0x5fcd1c]
sub esp, 0x88
add eax, 0x4b0
push ebp
mov ebp, dword [0x6a751c]
shl ebp, 4
cmp eax, ecx
jae 0x48bbde
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 1
call fcn.00506440
add esp, 8
cmp ebp, 0x1000
jge 0x48b4c0
xor edi, edi
mov esi, dword [0x56fb04]
cmp edi, ebx
lea ecx, [esi + 0x18]
mov dword [0x56fb04], ecx
mov dword [esi + 4], ebx
mov dword [esi], 0x5000000
mov byte [esi + 7], 0x28
jne 0x48b0cf
mov edx, ebp
mov eax, 0x100
shl edx, 8
sar edx, 0xc
mov word [esi + 0x10], bx
mov word [esi + 8], bx
sub eax, edx
jmp 0x48b0ee
cmp edi, 1
jne 0x48b103
mov eax, 0x200
mov word [esi + 0x10], ax
mov word [esi + 8], ax
mov eax, ebp
shl eax, 8
sar eax, 0xc
add eax, 0x100
mov word [esi + 0x14], ax
mov word [esi + 0xc], ax
mov word [esi + 0xe], bx
mov word [esi + 0xa], bx
jmp 0x48b18b
cmp edi, 2
jne 0x48b14a
mov eax, ebp
mov ecx, 0x100
shl eax, 8
sar eax, 0xc
sub ecx, eax
add eax, 0x100
mov word [esi + 0x14], ax
mov word [esi + 0xc], ax
lea eax, [ebp + ebp*2]
mov word [esi + 0x10], cx
mov word [esi + 8], cx
mov word [esi + 0xe], bx
lea ecx, [eax + eax*4]
mov eax, 0x78
shl ecx, 3
sar ecx, 0xc
mov word [esi + 0xa], bx
sub eax, ecx
jmp 0x48b190
cmp edi, 3
jne 0x48b198
mov eax, ebp
mov ecx, 0x100
shl eax, 8
sar eax, 0xc
sub ecx, eax
add eax, 0x100
mov word [esi + 0x14], ax
mov word [esi + 0xc], ax
lea eax, [ebp + ebp*2]
mov word [esi + 0x10], cx
mov word [esi + 8], cx
lea edx, [eax + eax*4]
shl edx, 3
sar edx, 0xc
lea eax, [edx + 0x78]
mov word [esi + 0xe], ax
mov word [esi + 0xa], ax
mov eax, 0xf0
mov word [esi + 0x16], ax
mov word [esi + 0x12], ax
push 0x56eb54
call fcn.0046cb90
fild dword [0x568158]
mov eax, dword [0x628614]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], eax
mov edx, dword [0x61b5fc]
fstp dword [esp + 0x20]
fild qword [esp + 0x54]
movsx ecx, word [esi + 0x16]
fstp dword [esp + 0x3c]
fld dword [esp + 0x20]
fdiv dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
movsx eax, word [esi + 0x14]
movsx ecx, word [esi + 0x12]
movsx edx, word [esi + 0x10]
fstp dword [esp + 0x24]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
fstp dword [esp + 0x30]
fild dword [0x568154]
fstp dword [esp + 0x20]
fild qword [esp + 0x4c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x20]
fdiv dword [esp + 0x3c]
mov dword [esp + 0x20], eax
movsx eax, word [esi + 0xe]
fstp dword [esp + 0x28]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x28]
mov dword [esp + 0x20], ecx
movsx ecx, word [esi + 0xc]
fstp dword [esp + 0x3c]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
mov dword [esp + 0x20], edx
movsx edx, word [esi + 0xa]
fstp dword [esp + 0x48]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x28]
mov dword [esp + 0x20], eax
movsx eax, word [esi + 8]
fstp dword [esp + 0x40]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x2c]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x28]
mov dword [esp + 0x20], edx
fstp dword [esp + 0x14]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x24]
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x48]
push ebx
fld dword [esp + 0x24]
push ebx
push 0x3f800000
fmul dword [esp + 0x34]
push 0x3f800000
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
push ebx
push 0x3f800000
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x50]
push ebx
push ebx
push 0x3f800000
push edx
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
push eax
push ebx
push ebx
push ebx
push ecx
push edx
call fcn.00507910
fild dword [0x568158]
mov eax, dword [0x628614]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], eax
mov edx, dword [0x61b5fc]
fstp dword [esp + 0x68]
fild qword [esp + 0x6c]
movsx ecx, word [esi + 0x16]
fstp dword [esp + 0x80]
fld dword [esp + 0x68]
fdiv dword [esp + 0x80]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
add esp, 0x58
movsx eax, word [esi + 0x14]
movsx ecx, word [esi + 0xe]
movsx edx, word [esi + 0xc]
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x20]
fstp dword [esp + 0x3c]
fild dword [0x568154]
fstp dword [esp + 0x10]
fild qword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0x10]
fdiv dword [esp + 0x28]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x24]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x24]
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x28]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov dword [esp + 0x10], edx
push ebx
fild dword [esp + 0x14]
movsx eax, word [esi + 0x12]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
mov dword [esp + 0x14], eax
push ebx
movsx ecx, word [esi + 0x10]
fstp dword [esp + 0x40]
fild dword [esp + 0x18]
movsx edx, word [esi + 0xa]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
movsx eax, word [esi + 8]
fstp dword [esp + 0x34]
fild dword [esp + 0x18]
push 0x3f800000
push 0x3f800000
push ecx
mov ecx, dword [esp + 0x4c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [esp + 0x38]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x5c]
fild dword [esp + 0x28]
push ebx
push ebx
push 0x3f800000
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
fstp dword [esp + 0x48]
fild dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push 0x3f800000
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fmul dword [esp + 0x58]
push ebx
push edx
push eax
push ebx
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
push ebx
push ebx
push ecx
push edx
call fcn.00507910
add esp, 0x54
inc edi
cmp edi, 4
jl 0x48b096
xor eax, eax
mov dword [esp + 0x1c], eax
neg eax
sbb eax, eax
mov edi, 0x54ed9c
and eax, 2
mov dword [esp + 0x38], 0x15
dec eax
mov dword [esp + 0x44], eax
movsx eax, byte [edi]
inc edi
sub eax, 3
je 0x48b88a
dec eax
jne 0x48bbba
mov esi, dword [0x56fb04]
inc edi
lea eax, [esi + 0x18]
lea edx, [esi + 0xa]
mov dword [0x56fb04], eax
mov dword [esi + 4], ebx
mov dword [esi], 0x5000000
mov byte [esi + 7], 0x28
mov ebx, 4
movsx cx, byte [edi]
shl ecx, 1
inc edi
add edx, 4
lea eax, [ecx + 1]
movsx ecx, cx
movsx eax, ax
movsx ecx, word [ecx*2 + 0x54ecbc]
movsx eax, word [eax*2 + 0x54ecbc]
imul ecx, ebp
sub eax, 0x78
sar ecx, 0xc
imul eax, ebp
imul ecx, dword [esp + 0x44]
sar eax, 0xc
add ecx, 0x100
add eax, 0x78
mov word [edx - 6], cx
mov word [edx - 4], ax
dec ebx
jne 0x48b517
push 0x56eb54
call fcn.0046cb90
fild dword [0x568158]
mov edx, dword [0x628614]
xor ebx, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
fstp dword [esp + 0x14]
fild qword [esp + 0x5c]
movsx eax, word [esi + 0x16]
fstp dword [esp + 0x2c]
fld dword [esp + 0x14]
fdiv dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [0x61b5fc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
movsx edx, word [esi + 0x14]
movsx eax, word [esi + 0x12]
movsx ecx, word [esi + 0x10]
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
fstp dword [esp + 0x40]
fild dword [0x568154]
fstp dword [esp + 0x14]
fild qword [esp + 0x6c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x14]
fdiv dword [esp + 0x2c]
mov dword [esp + 0x14], edx
movsx edx, word [esi + 0xe]
fstp dword [esp + 0x28]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
mov dword [esp + 0x14], eax
movsx eax, word [esi + 0xc]
fstp dword [esp + 0x2c]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
mov dword [esp + 0x14], ecx
movsx ecx, word [esi + 0xa]
fstp dword [esp + 0x30]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
mov dword [esp + 0x14], edx
movsx edx, word [esi + 8]
fstp dword [esp + 0x44]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
fild dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push ebx
push ebx
push 0x3f800000
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x34]
push 0x3f800000
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push 0x3f800000
push ebx
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
push ebx
push ebx
push 0x3f800000
push ecx
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
push edx
push ebx
push ebx
push ebx
push eax
push ecx
call fcn.00507910
fild dword [0x568158]
mov edx, dword [0x628614]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], edx
mov ecx, dword [0x61b5fc]
fstp dword [esp + 0x6c]
fild qword [esp + 0xe0]
movsx eax, word [esi + 0x16]
fstp dword [esp + 0x88]
fld dword [esp + 0x6c]
fdiv dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ebx
add esp, 0x58
movsx edx, word [esi + 0x14]
movsx eax, word [esi + 0xe]
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp dword [esp + 0x40]
fild dword [0x568154]
fstp dword [esp + 0x14]
fild qword [esp + 0x78]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fdiv dword [esp + 0x30]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x30]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp dword [esp + 0x10]
movsx ecx, word [esi + 0xc]
mov dword [esp + 0x14], ecx
push ebx
fild dword [esp + 0x18]
movsx edx, word [esi + 0x12]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
mov dword [esp + 0x18], edx
push ebx
movsx eax, word [esi + 0x10]
fstp dword [esp + 0x30]
fild dword [esp + 0x1c]
movsx ecx, word [esi + 0xa]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
movsx edx, word [esi + 8]
fstp dword [esp + 0x44]
fild dword [esp + 0x1c]
push 0x3f800000
push 0x3f800000
push eax
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x44]
fild dword [esp + 0x2c]
push ebx
push ebx
push 0x3f800000
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmul dword [esp + 0x44]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x54]
fstp dword [esp + 0x48]
fild dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
push ebx
push 0x3f800000
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fmul dword [esp + 0x58]
push ebx
push ecx
push edx
push ebx
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
push ebx
push ebx
push eax
push ecx
jmp 0x48bbb2
mov esi, dword [0x56fb04]
inc edi
lea edx, [esi + 0x14]
mov dword [0x56fb04], edx
mov dword [esi + 4], ebx
mov dword [esi], 0x4000000
mov byte [esi + 7], 0x20
lea edx, [esi + 0xa]
mov ebx, 3
movsx cx, byte [edi]
shl ecx, 1
inc edi
add edx, 4
lea eax, [ecx + 1]
movsx ecx, cx
movsx eax, ax
movsx ecx, word [ecx*2 + 0x54ecbc]
movsx eax, word [eax*2 + 0x54ecbc]
imul ecx, ebp
sub eax, 0x78
sar ecx, 0xc
imul eax, ebp
imul ecx, dword [esp + 0x44]
sar eax, 0xc
add ecx, 0x100
add eax, 0x78
mov word [edx - 6], cx
mov word [edx - 4], ax
dec ebx
jne 0x48b8af
push 0x56eb54
call fcn.0046cb90
fild dword [0x568158]
mov edx, dword [0x628614]
xor ebx, ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
fstp dword [esp + 0x18]
fild qword [esp + 0x64]
movsx eax, word [esi + 0x12]
fstp dword [esp + 0x34]
fld dword [esp + 0x18]
fdiv dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov edx, dword [0x61b5fc]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
movsx edx, word [esi + 0x10]
push ebx
push ebx
push 0x3f800000
push 0x3f800000
fstp dword [esp + 0x34]
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [esp + 0x34]
fstp dword [esp + 0x28]
fild dword [0x568154]
mov eax, dword [esp + 0x28]
mov ecx, eax
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x28]
fild qword [esp + 0x84]
movsx eax, word [esi + 0xe]
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fdiv dword [esp + 0x44]
mov dword [esp + 0x28], edx
push ecx
fstp dword [esp + 0x3c]
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
movsx eax, word [esi + 0xc]
fstp dword [esp + 0x44]
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
push edx
push ebx
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul dword [esp + 0x40]
mov dword [esp + 0x34], eax
push 0x3f800000
movsx eax, word [esi + 0xa]
fstp dword [esp + 0x54]
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmul dword [esp + 0x48]
mov dword [esp + 0x38], eax
movsx eax, word [esi + 8]
fstp dword [esp + 0x64]
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmul dword [esp + 0x44]
mov dword [esp + 0x38], eax
fstp dword [esp + 0x34]
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmul dword [esp + 0x48]
fstp dword [esp + 0x38]
push ebx
mov eax, edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x70]
push ebx
push ebx
push 0x3f800000
push edx
mov edx, dword [esp + 0x54]
push eax
push ebx
push ebx
push ebx
push ecx
push edx
call fcn.00507910
fild dword [0x568158]
mov eax, dword [0x628614]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], eax
mov edx, dword [0x61b5fc]
fstp dword [esp + 0x6c]
fild qword [esp + 0xd8]
movsx ecx, word [esi + 0xe]
fstp dword [esp + 0x88]
fld dword [esp + 0x6c]
fdiv dword [esp + 0x88]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ebx
add esp, 0x58
movsx edx, word [esi + 0xc]
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp dword [esp + 0x14]
fild dword [0x568154]
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x50], eax
fstp dword [esp + 0x14]
fild qword [esp + 0x90]
movsx eax, word [esi + 0x12]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fdiv dword [esp + 0x30]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
mov dword [esp + 0x14], eax
movsx eax, word [esi + 0x10]
fstp dword [esp + 0x2c]
fild dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
mov dword [esp + 0x14], eax
movsx eax, word [esi + 0xa]
fstp dword [esp + 0x30]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x40]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
movsx eax, word [esi + 8]
fstp dword [esp + 0x10]
push ebx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push ebx
push 0x3f800000
push 0x3f800000
push ecx
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [esp + 0x38]
push edx
push ebx
push ebx
push 0x3f800000
mov eax, edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x6c]
push ebx
push 0x3f800000
push ebx
push edx
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
push eax
push ebx
push ebx
push ebx
push ecx
push edx
call fcn.00507910
add esp, 0x54
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x48b4df
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x48b4c6
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x88
ret