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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x50
mov dword [esp + 0x30], eax
mov ebx, edx
mov esi, dword [esp + 0x88]
fldz
fst dword [esp + 0x48]
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
add eax, 2
cmp eax, dword [esp + 0x6c]
jl 0x4257e8
test esi, esi
jne 0x4257db
mov eax, dword [esp + 0x84]
fld dword [eax*4 + 0x448d40]
fld dword [eax*4 + 0x44e000]
cmp ebx, ecx
jge 0x4257b7
mov esi, dword [esp + 0x90]
test esi, esi
setne byte [esp + 0x37]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
add eax, eax
add eax, dword [esp + 0x80]
mov esi, eax
mov eax, ecx
sub eax, ebx
imul eax, dword [esp + 0x80]
lea edx, [eax + eax]
add edx, eax
neg edx
mov dword [esp + 0x1c], edx
mov ebp, ebx
mov dword [esp + 0x24], 0
fstp dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
jmp 0x42556e
fstp st(1)
jmp 0x4254b1
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x7c]
bsr edx, dword [eax + 0x1c]
xor edx, 0x1f
add edx, dword [eax + 0x14]
sub edx, 0x20
mov eax, dword [esp + 0x6c]
sub eax, edx
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
cmp edx, 0x17
jg 0x4254df
cmp byte [esp + 0x36], 0
jne 0x425730
cmp byte [esp + 0x35], 0
je 0x4254f5
mov edx, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
cmovg edx, ecx
mov dword [esp + 0x44], edx
cmp eax, 0xe
jg 0x42564e
cmp eax, 1
jg 0x4256bd
je 0x42575b
fld1
fchs
fxch st(1)
mov eax, 0xffffffff
fld dword [esp + 8]
fsub st(2)
mov ecx, dword [esp + 0x78]
fstp dword [ecx + ebx]
sub esi, eax
mov eax, esi
neg eax
cmovs eax, esi
add dword [esp + 0x24], eax
fld dword [esp + 4]
fadd st(1)
fadd st(2)
mov eax, dword [esp]
fstp dword [eax]
fadd st(1)
fxch st(1)
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + edi*4 + 0x48]
add edi, 1
cmp dword [esp + 0x80], edi
jg 0x425587
add ebp, 1
mov edi, dword [esp + 0x40]
add dword [esp + 0x1c], edi
cmp dword [esp + 0x3c], ebp
je 0x4257c3
cmp dword [esp + 0x38], ebp
setne byte [esp + 0x36]
cmp ebp, 1
setg al
and al, byte [esp + 0x37]
mov byte [esp + 0x35], al
xor edi, edi
mov ebx, dword [esp + 0x18]
imul ebx, edi
add ebx, ebp
add ebx, ebx
add ebx, ebx
mov eax, dword [esp + 0x64]
fld dword [eax + ebx]
mov eax, dword [esp + 0x68]
add eax, ebx
mov dword [esp], eax
fld dword [eax]
fld dword [0x446fcc]
fcomi st(1)
fcmovbe st(0), st(1)
fxch st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x28]
fst dword [esp + 4]
fld dword [esp + edi*4 + 0x48]
fxch st(1)
fsubr st(2)
fxch st(2)
fstp dword [esp + 0x20]
fsub st(1), st(0)
fstp dword [esp + 0x10]
fst dword [esp + 8]
fadd dword [0x446fd4]
sub esp, 4
fstp dword [esp]
call fcn.0041959c
pop ecx
fstp dword [esp + 0xc]
cvttss2si esi, dword [esp + 0xc]
mov dword [esp + 0x44], esi
fld dword [esp + 0x14]
fld dword [0x446fd0]
fucomi st(1)
fcmovbe st(0), st(1)
fstp st(1)
test esi, esi
fld dword [esp + 0x10]
jns 0x4254a9
fxch st(1)
fsub dword [esp + 0x8c]
fld dword [esp + 0x20]
fxch st(1)
fcomi st(1)
jbe 0x4254ad
fsubrp st(1)
fstp dword [esp + 0xc]
cvttss2si eax, dword [esp + 0xc]
add esi, eax
test esi, esi
jle 0x425752
mov dword [esp + 0x44], 0
xor esi, esi
jmp 0x4254b1
fstp dword [esp + 0xc]
mov eax, 0x14
cmp ebp, eax
cmovle eax, ebp
lea edx, [eax + eax]
mov ecx, dword [esp + 0x74]
movzx eax, byte [ecx + eax*2 + 1]
shl eax, 6
push eax
movzx eax, byte [ecx + edx]
shl eax, 7
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x88]
call fcn.0041901c
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 8]
mov dword [esp + 0x28], ecx
mov ebx, ecx
imul ebx, edi
add ebx, ebp
add ebx, ebx
add ebx, ebx
mov edx, dword [esp + 0x78]
add edx, ebx
mov dword [esp + 0x10], edx
add esp, 0x10
fld dword [esp + 0xc]
jmp 0x425518
fstp dword [esp + 0xc]
mov edx, dword [esp + 0x44]
test edx, edx
mov eax, 1
cmovle eax, edx
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
mov dword [esp + 0x44], eax
push 2
push 0x44ff88
sar edx, 0x1f
add eax, eax
xor edx, eax
push edx
push dword [esp + 0x88]
call fcn.00418c04
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 8]
mov dword [esp + 0x28], ecx
mov ebx, ecx
imul ebx, edi
add ebx, ebp
add ebx, ebx
add ebx, ebx
mov ecx, dword [esp + 0x78]
add ecx, ebx
mov dword [esp + 0x10], ecx
add esp, 0x10
fld dword [esp + 0xc]
jmp 0x425518
test esi, esi
mov ecx, 1
cmovle ecx, esi
cmp edx, 0xf
jg 0x425749
test ecx, ecx
mov edx, 0xffffffff
cmovs ecx, edx
mov dword [esp + 0x44], ecx
jmp 0x4254df
mov dword [esp + 0x44], esi
jmp 0x4254b1
fstp dword [esp + 0xc]
mov eax, dword [esp + 0x44]
xor edx, edx
test eax, eax
cmovg eax, edx
mov dword [esp + 0x44], eax
push 1
neg eax
push eax
push dword [esp + 0x84]
call fcn.004188d4
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], ecx
mov ebx, ecx
imul ebx, edi
add ebx, ebp
add ebx, ebx
add ebx, ebx
mov ecx, dword [esp + 0x74]
add ecx, ebx
mov dword [esp + 0xc], ecx
add esp, 0xc
fld dword [esp + 0xc]
jmp 0x425518
fstp st(0)
fstp st(0)
mov dword [esp + 0x24], 0
xor eax, eax
mov edx, dword [esp + 0x90]
test edx, edx
cmove eax, dword [esp + 0x24]
add esp, 0x50
pop ebx
pop esi
pop edi
pop ebp
ret
fld dword [0x446fc8]
fldz
jmp 0x42543c
mov dword [esp], ecx
push 3
push esi
push dword [esp + 0x84]
call fcn.004188d4
add esp, 0xc
mov ecx, dword [esp]
jmp 0x42541f