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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
fild dword [ebp + 0x20]
push ebx
push esi
mov esi, dword [ebp + 0x24]
fidiv dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 0x14]
push edi
push esi
fstp qword [esp + 0x98]
fild dword [ebp + 0x1c]
fidiv dword [ebp + 0x24]
fstp qword [esp + 0x90]
call fcn.004a30a0
mov ebx, eax
push edi
push esi
mov dword [esp + 0x60], ebx
call fcn.004a30a0
mov dword [esp + 0x30], eax
xor eax, eax
add esp, 0x10
cmp dword [ebp + 0x18], eax
je 0x48304b
push esi
call fcn.004a3010
mov esi, eax
mov eax, dword [ebp + 0x24]
push eax
mov dword [esp + 0x40], esi
call fcn.004a3010
add esp, 8
jmp 0x483051
mov dword [esp + 0x38], eax
mov esi, eax
mov ecx, dword [ebp + 0xc]
push esi
push ebx
push ecx
mov dword [esp + 0x40], eax
call dword [ebp + 8]
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp dword [ebp + 0x20], 1
jle 0x483085
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
call dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x60], 1
jmp 0x4830b6
mov edx, edi
imul edx, dword [ebp + 0x1c]
push edx
push ebx
push eax
call fcn.00511be0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x4830ae
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x34]
push ecx
push esi
push edx
call fcn.00511be0
add esp, 0xc
mov dword [esp + 0x60], 0
mov eax, dword [ebp + 0x24]
fld qword [0x5312a8]
dec eax
mov dword [esp + 0x30], eax
js 0x483312
mov ecx, dword [esp + 0x34]
fld qword [esp + 0x88]
mov ebx, eax
fmul st(1)
imul ebx, edi
fstp qword [esp + 0x80]
add ebx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov ecx, edi
neg ecx
mov eax, esi
sub eax, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x64], eax
fild dword [esp + 0x30]
fmul qword [esp + 0x88]
fadd qword [esp + 0x80]
fst qword [esp + 0x40]
fsubrp st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fnstcw word [esp + 0x28]
mov ax, word [esp + 0x28]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x24], ax
fldcw word [esp + 0x24]
fistp dword [esp + 0x4c]
fldcw word [esp + 0x28]
mov edx, dword [esp + 0x4c]
lea ecx, [edx + 1]
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
mov dword [esp + 0x54], edx
fld qword [0x5312a8]
fadd st(1), st(0)
fxch st(1)
fsub qword [esp + 0x40]
test edx, edx
jns 0x483171
xor edx, edx
mov dword [esp + 0x54], edx
cmp ecx, dword [ebp + 0x1c]
jl 0x48317e
mov ecx, dword [ebp + 0x1c]
dec ecx
mov dword [esp + 0x3c], ecx
test edi, edi
jle 0x48324a
mov eax, dword [esp + 0x20]
fld1
imul edx, edi
fsub st(1)
mov esi, dword [esp + 0x50]
imul ecx, edi
add edx, eax
add ecx, eax
sub esi, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [esi + edx]
fnstcw word [esp + 0x10]
mov dword [esp + 0xc], eax
movzx eax, byte [esi + ecx]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x10]
fmul st(2)
fild dword [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0xc], eax
fmul st(2)
inc ecx
inc edx
inc ebx
faddp st(1)
fldcw word [esp + 0xc]
fistp dword [esp + 0xc]
movzx eax, byte [esp + 0xc]
mov byte [esi + ebx - 1], al
movzx eax, byte [edx - 1]
fldcw word [esp + 0x10]
mov dword [esp + 0xc], eax
movzx eax, byte [ecx - 1]
fild dword [esp + 0xc]
fnstcw word [esp + 0x10]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x10]
fmul st(2)
fild dword [esp + 0xc]
or eax, 0xc00
dec dword [esp + 0x1c]
mov dword [esp + 0xc], eax
fmul st(2)
faddp st(1)
fldcw word [esp + 0xc]
fistp dword [esp + 0xc]
movzx eax, byte [esp + 0xc]
mov byte [ebx - 1], al
fldcw word [esp + 0x10]
jne 0x4831a2
mov edx, dword [esp + 0x54]
fstp st(0)
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp dword [ebp + 0x18], 0
je 0x4832f3
movzx edx, byte [edx + esi]
fld1
movzx eax, byte [ecx + esi]
fsub st(1)
fnstcw word [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x10]
or eax, 0xc00
fmul st(2)
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
fmul st(2)
faddp st(1)
fldcw word [esp + 0xc]
fistp dword [esp + 0xc]
mov dl, byte [esp + 0xc]
mov byte [eax + esi], dl
mov eax, dword [esp + 0x34]
fldcw word [esp + 0x10]
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + eax]
movzx eax, byte [ecx + eax]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fnstcw word [esp + 0x10]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x10]
fmulp st(2)
fild dword [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0xc], eax
fmulp st(1)
faddp st(1)
fldcw word [esp + 0xc]
fistp dword [esp + 0xc]
mov cl, byte [esp + 0xc]
mov byte [esi], cl
mov esi, dword [esp + 0x38]
fldcw word [esp + 0x10]
jmp 0x4832f5
fstp st(0)
mov eax, dword [esp + 0x30]
add ebx, dword [esp + 0x68]
dec dword [esp + 0x2c]
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ebx
test eax, eax
jns 0x483104
cmp dword [ebp + 0x28], 0
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], 0
jle 0x483730
fld qword [esp + 0x90]
fmul st(1)
fstp qword [esp + 0x98]
fild dword [esp + 0x4c]
fmul qword [esp + 0x90]
fadd qword [esp + 0x98]
fst qword [esp + 0x80]
fsubrp st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fnstcw word [esp + 0x28]
mov ax, word [esp + 0x28]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x7c]
fldcw word [esp + 0x28]
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld qword [0x5312a8]
fadd st(1), st(0)
fxch st(1)
fsub qword [esp + 0x80]
fst qword [esp + 0x70]
test ecx, ecx
jns 0x4833be
fstp st(0)
fld1
fld st(0)
fst qword [esp + 0x70]
jmp 0x4833c2
fld1
fxch st(1)
mov ecx, dword [ebp + 0x20]
cmp eax, ecx
jl 0x4833d4
fstp st(0)
lea eax, [ecx - 1]
fldz
fst qword [esp + 0x70]
cmp eax, dword [esp + 0x60]
jle 0x4835d0
mov eax, dword [esp + 0x50]
fstp st(0)
mov ecx, dword [esp + 0x20]
fstp st(1)
mov edx, dword [esp + 0x34]
fstp st(0)
push esi
push eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
call dword [ebp + 8]
mov edx, dword [ebp + 0x24]
add esp, 0xc
dec edx
mov dword [esp + 0x30], edx
js 0x4835bc
fld qword [esp + 0x88]
mov eax, edi
fld qword [0x5312a8]
neg eax
mov dword [esp + 0x18], eax
fmul st(1), st(0)
mov eax, edx
fxch st(1)
imul eax, edi
fstp qword [esp + 0x80]
add eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jmp 0x483452
fstp st(0)
fild dword [esp + 0x30]
fmul qword [esp + 0x88]
fadd qword [esp + 0x80]
fst qword [esp + 0x40]
fsubrp st(1)
fstp qword [esp + 0x54]
fld qword [esp + 0x54]
fnstcw word [esp + 0x5c]
mov ax, word [esp + 0x5c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x24], ax
fldcw word [esp + 0x24]
fistp dword [esp + 0x68]
fldcw word [esp + 0x5c]
mov ecx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
fld qword [0x5312a8]
fadd st(1), st(0)
fxch st(1)
fsub qword [esp + 0x40]
test ecx, ecx
jns 0x4834c1
mov dword [esp + 0x54], 0
mov ecx, dword [ebp + 0x1c]
cmp eax, ecx
jl 0x4834cf
lea eax, [ecx - 1]
mov dword [esp + 0x3c], eax
fld1
xor ecx, ecx
test edi, edi
jle 0x48354e
mov esi, dword [esp + 0x54]
fld st(0)
mov edx, eax
imul esi, edi
fsub st(2)
mov eax, dword [esp + 0x20]
imul edx, edi
add edx, eax
add esi, eax
movzx eax, byte [esi + ecx]
mov dword [esp + 0x14], eax
movzx eax, byte [edx + ecx]
fild dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
fmul st(3)
inc ecx
fild dword [esp + 0x14]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x40], eax
faddp st(1)
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov al, byte [esp + 0x40]
mov byte [ebx + ecx - 1], al
fldcw word [esp + 0x14]
cmp ecx, edi
jl 0x4834ef
mov edx, dword [esp + 0x30]
fstp st(0)
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
cmp dword [ebp + 0x18], 0
je 0x4835a3
movzx ecx, byte [esi + eax]
fnstcw word [esp + 0x14]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
movzx ecx, byte [esi + eax]
fild dword [esp + 0x40]
movzx eax, word [esp + 0x14]
fld st(1)
fsub st(3)
mov dword [esp + 0x40], ecx
fmulp st(1)
or eax, 0xc00
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
fmulp st(3)
faddp st(2)
fldcw word [esp + 0x40]
fxch st(1)
fistp dword [esp + 0x40]
mov al, byte [esp + 0x40]
mov byte [esi + edx], al
fldcw word [esp + 0x14]
jmp 0x4835a5
fstp st(1)
mov ecx, dword [esp + 0x18]
add dword [esp + 0x1c], ecx
dec edx
mov dword [esp + 0x30], edx
test edx, edx
jns 0x483450
jmp 0x4835c4
fld qword [0x5312a8]
fld1
inc dword [esp + 0x60]
fld qword [esp + 0x70]
mov esi, dword [esp + 0x38]
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x48371a
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
sub edx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x54], eax
xor edx, edx
test edi, edi
jle 0x483656
mov esi, dword [esp + 0x20]
fld st(1)
sub esi, dword [esp + 0x50]
fsub st(1)
movzx eax, byte [esi + ecx]
fnstcw word [esp + 0x14]
mov dword [esp + 0x18], eax
movzx eax, byte [ecx]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
fmul st(1)
fild dword [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x18], eax
fmul st(3)
inc edx
inc ecx
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov al, byte [esp + 0x18]
mov byte [esp + edx + 0x2b], al
fldcw word [esp + 0x14]
cmp edx, edi
jl 0x483607
mov esi, dword [esp + 0x38]
fstp st(0)
mov eax, dword [ebp + 0x10]
mov edx, 1
sub eax, edx
je 0x483699
sub eax, edx
je 0x483685
sub eax, 2
jne 0x4836a1
mov eax, dword [esp + 0x2c]
mov cl, byte [esp + 0x2e]
mov byte [ebx], al
mov al, byte [esp + 0x2f]
add ebx, edx
mov byte [ebx], ah
add ebx, edx
mov byte [ebx], cl
add ebx, edx
jmp 0x48369d
mov eax, dword [esp + 0x2c]
mov cl, byte [esp + 0x2e]
mov byte [ebx], al
add ebx, edx
mov byte [ebx], ah
add ebx, edx
mov byte [ebx], cl
jmp 0x48369f
mov al, byte [esp + 0x2c]
mov byte [ebx], al
add ebx, edx
cmp dword [ebp + 0x18], 0
je 0x4836fe
mov eax, dword [esp + 0x1c]
fnstcw word [esp + 0x14]
mov ecx, dword [esp + 0x6c]
movzx ecx, byte [ecx + eax]
movzx eax, byte [eax]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
fld st(2)
fsub st(2)
or eax, 0xc00
fmulp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
fmul st(2)
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov cl, byte [esp + 0x18]
mov byte [eax], cl
add eax, edx
fldcw word [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x30]
add dword [esp + 0x1c], edx
add ecx, edi
sub dword [esp + 0x54], edx
mov dword [esp + 0x30], ecx
jne 0x4835f5
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x4c]
fstp st(0)
inc eax
fstp st(0)
mov dword [esp + 0x4c], eax
cmp eax, dword [ebp + 0x28]
jl 0x483345
mov edx, dword [esp + 0x34]
fstp st(0)
push edx
call fcn.004a2fd0
push esi
call fcn.004a2fd0
mov eax, dword [esp + 0x28]
push eax
call fcn.004a2fd0
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004a2fd0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28