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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x77251e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0x1c]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xa8], esi
je 0x492db7
mov eax, dword [esi + 0x80]
add ecx, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x14], 3
jge 0x491ea4
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [ebx + 0x70]
push eax
call fcn.0043ce80
fcomp dword [esp + 0x28]
add esp, 8
fnstsw ax
test ah, 5
jp 0x491e8c
mov edi, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 0x10
test edi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
je 0x491e64
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x491ef6
mov ecx, dword [0x7f3940]
mov eax, ecx
shl eax, 0x11
xor eax, ecx
mov edx, eax
shr edx, 0xd
xor eax, edx
mov ecx, eax
shl ecx, 5
xor eax, ecx
mov dword [0x7f3940], eax
and eax, 0x7fffffff
test eax, eax
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
jge 0x491ee2
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [0x786d84]
call fcn.0075bc00
mov dword [ebx + 0x24], eax
test edi, edi
mov eax, dword [ebx + 0x10]
je 0x492db7
cmp eax, 1
je 0x491f1a
fld dword [ebp + 0xc]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 5
jp 0x492db7
fld dword [ebp + 0xc]
mov eax, dword [ebx + 0x14]
fcomp dword [0x7d7d3c]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 1
jne 0x491f61
fld dword [esp + 0x14]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x491f6a
fld dword [ebp + 0xc]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x491f6a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
jmp 0x491f6a
fld dword [ebp + 0xc]
fchs
fstp dword [esp + 0x24]
fld dword [ebx + 0x18]
fst dword [esp + 0x1c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x492d80
mov edi, dword [ebx + 0x20]
test edi, edi
mov dword [esp + 0x14], edi
je 0x491f9a
cmp dword [edi + 0xc], ebx
jne 0x491f9a
mov edx, dword [ebp + 0x10]
cmp dword [edi + 0x10], edx
je 0x492006
mov eax, dword [0x82da3c]
fstp st(0)
push eax
call fcn.0043cd80
add esp, 4
test eax, eax
jne 0x492002
mov ecx, dword [0x82da3c]
push ecx
call fcn.0043f940
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
mov dword [esp + 0x23c], 0
je 0x491fde
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov ecx, eax
call fcn.00491bc0
jmp 0x491fe0
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov dword [ecx + 4], eax
mov dword [esp + 0x23c], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [eax + 4], edx
mov dword [eax], ecx
mov edi, eax
fld dword [esp + 0x1c]
test edi, edi
je 0x492d80
mov eax, dword [esi + 0x60]
fstp st(0)
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x68]
mov dword [esp + 0xc4], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x98], eax
lea eax, [ebx + 0x40]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esi + 0x78]
push eax
lea ecx, [esp + 0xe4]
push ecx
mov dword [esp + 0xb8], edx
call fcn.00401310
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x1cc]
push eax
call fcn.00401310
mov al, byte [esi + 0x1c]
add esp, 0x10
test al, al
mov dword [esp + 0x94], 0x3f800000
je 0x4920ad
mov cl, byte [esi + 0x1a]
mov edx, 1
shl edx, cl
mov cl, byte [esi + 0x19]
mov eax, 1
shl eax, cl
imul edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp dword [esp + 0x94]
fld dword [esi + 0x4c]
mov eax, dword [esi + 0x50]
fmul dword [str.a_v6C]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x50], eax
fst dword [esp + 0xa4]
mov dword [esp + 0x60], edx
fmul dword [0x787b5c]
mov dword [esp + 0x48], ecx
movsx ecx, byte [esi + 0x1d]
movsx edx, byte [esi + 0x18]
fstp dword [esp + 0xd8]
fld dword [esi + 0x34]
fld dword [esi + 0x44]
mov dword [esp + 0xd4], ecx
fld dword [esp + 0x50]
mov ecx, dword [ebx + 0x24]
fmul dword [0x784260]
mov dword [esp + 0xcc], edx
fstp dword [esp + 0x58]
fld dword [esi + 0x38]
fmul st(2)
fstp dword [esp + 0x20]
fld dword [esi + 0x48]
fmul st(1)
fstp dword [esp + 0xac]
fld dword [esi + 0x40]
fmul dword [esp + 0x60]
fstp dword [esp + 0x9c]
fld dword [esi + 0x58]
fmul dword [esp + 0x48]
fstp dword [esp + 0xb4]
fxch st(1)
fsub dword [esp + 0x20]
fstp dword [esp + 0x6c]
fsub dword [esp + 0xac]
fstp dword [esp + 0xc8]
fld dword [esp + 0x60]
fsub dword [esp + 0x9c]
fstp dword [esp + 0x60]
fld dword [esp + 0x48]
fsub dword [esp + 0xb4]
fstp dword [esp + 0x48]
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x492d22
fld dword [esp + 0x98]
fmul dword [0x784260]
fstp dword [esp + 0xb8]
fld dword [esp + 0xa0]
fmul dword [0x784260]
fstp dword [esp + 0xc0]
fld dword [esp + 0xb0]
fmul dword [0x784260]
fstp dword [esp + 0xbc]
jmp 0x4921d0
fld dword [esp + 0x24]
mov eax, dword [esp + 0xcc]
test eax, eax
fsub st(1)
fstp dword [esp + 0x24]
fstp st(0)
je 0x4924a7
mov esi, ecx
shl esi, 0x11
xor esi, ecx
mov eax, esi
shr eax, 0xd
xor esi, eax
mov ecx, esi
shl ecx, 5
xor esi, ecx
mov eax, esi
shl eax, 0x11
xor eax, esi
mov edx, eax
shr edx, 0xd
xor eax, edx
mov ecx, eax
shl ecx, 5
xor eax, ecx
mov ebx, eax
and eax, 0x7fffffff
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x49222e
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [0x78450c]
fsub dword [0x784510]
fmul dword [0x784238]
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
push edi
call fcn.0043c3d0
push edi
fstp dword [esp + 0x38]
call fcn.0043c310
and esi, 0x7fffffff
fstp dword [esp + 0x3c]
test esi, esi
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
jge 0x49228e
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0x58]
fsub dword [esp + 0x60]
fmul dword [0x784238]
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x16c]
push 0x872e90
push edx
call fcn.005baad0
add esp, 0x14
fld dword [esp + 0x170]
fmul dword [esp + 0x34]
fld dword [esp + 0x3c]
fmul dword [esp + 0x190]
faddp st(1)
fld dword [esp + 0x160]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x180]
fmul dword [0x7d7d3c]
faddp st(1)
fld dword [esp + 0x174]
fmul dword [esp + 0x34]
fld dword [esp + 0x164]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x194]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x184]
fmul dword [0x7d7d3c]
faddp st(1)
fld dword [esp + 0x178]
fmul dword [esp + 0x34]
fld dword [esp + 0x168]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x198]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x188]
fmul dword [0x7d7d3c]
faddp st(1)
fstp dword [esp + 0x1a8]
mov eax, dword [esp + 0x1a8]
fld dword [esp + 0x17c]
mov dword [esp + 0x38], eax
fmul dword [esp + 0x34]
fld dword [esp + 0x16c]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x19c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x18c]
fmul dword [0x7d7d3c]
faddp st(1)
fstp dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1ac]
fxch st(1)
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x3c]
fmul dword [0x7d7d3c]
fstp dword [esp + 0x18]
fld dword [esp + 0x1e0]
fmul dword [esp + 0x38]
fld dword [esp + 0x1d0]
fmul st(2)
faddp st(1)
fld dword [esp + 0x1c0]
fmul dword [esp + 0x30]
faddp st(1)
fadd dword [esp + 0x18]
fld dword [esp + 0x1e4]
fmul dword [esp + 0x38]
fld dword [esp + 0x1d4]
fmul st(3)
faddp st(1)
fld dword [esp + 0x1c4]
fmul dword [esp + 0x30]
faddp st(1)
fadd dword [esp + 0x18]
fld dword [esp + 0x1e8]
fmul dword [esp + 0x38]
fld dword [esp + 0x1d8]
fmul st(4)
faddp st(1)
fld dword [esp + 0x1c8]
fmul dword [esp + 0x30]
faddp st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0x1b8]
fld dword [esp + 0x1ec]
fmul dword [esp + 0x38]
fld dword [esp + 0x1dc]
fmul st(4)
faddp st(1)
fld dword [esp + 0x1cc]
fmul dword [esp + 0x30]
faddp st(1)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x1bc]
mov edx, dword [esp + 0x1bc]
fxch st(1)
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fstp st(1)
fld dword [esp + 0x1b8]
jmp 0x4926d3
mov eax, ecx
shl eax, 0x11
xor eax, ecx
mov ecx, eax
shr ecx, 0xd
xor eax, ecx
mov edx, eax
shl edx, 5
xor eax, edx
mov esi, eax
shl esi, 0x11
xor esi, eax
mov ecx, esi
shr ecx, 0xd
xor esi, ecx
mov edx, esi
shl edx, 5
xor esi, edx
mov edi, esi
shl edi, 0x11
xor edi, esi
mov ecx, edi
shr ecx, 0xd
xor edi, ecx
mov edx, edi
shl edx, 5
and eax, 0x7fffffff
xor edi, edx
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov ebx, edi
jge 0x4924ff
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0x50]
fsub dword [esp + 0x58]
fmul dword [0x784238]
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0x124]
push 0x872e90
push ecx
call fcn.005baa20
and esi, 0x7fffffff
test esi, esi
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
jge 0x492558
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0x5c]
fsub dword [esp + 0x64]
fmul dword [0x784238]
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x134]
push edx
call fcn.005baad0
and edi, 0x7fffffff
test edi, edi
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
jge 0x4925b4
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0x68]
fsub dword [esp + 0x70]
fmul dword [0x784238]
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.005bab90
add esp, 0x24
fld dword [esp + 0x10c]
fmul dword [esp + 0x150]
fld dword [esp + 0x108]
fmul dword [esp + 0x140]
faddp st(1)
fld dword [esp + 0x104]
fmul dword [esp + 0x130]
faddp st(1)
fld dword [esp + 0x100]
fmul dword [esp + 0x120]
faddp st(1)
fld dword [esp + 0x10c]
fmul dword [esp + 0x154]
fld dword [esp + 0x108]
fmul dword [esp + 0x144]
faddp st(1)
fld dword [esp + 0x104]
fmul dword [esp + 0x134]
faddp st(1)
fld dword [esp + 0x100]
fmul dword [esp + 0x124]
faddp st(1)
fld dword [esp + 0x10c]
fmul dword [esp + 0x158]
fld dword [esp + 0x108]
fmul dword [esp + 0x148]
faddp st(1)
fld dword [esp + 0x104]
fmul dword [esp + 0x138]
faddp st(1)
fld dword [esp + 0x100]
fmul dword [esp + 0x128]
faddp st(1)
fstp dword [esp + 0x208]
fxch st(1)
fstp dword [esp + 0x210]
mov eax, dword [esp + 0x210]
fld dword [esp + 0x208]
mov dword [esp + 0x5c], eax
fxch st(1)
mov eax, ebx
fstp dword [esp + 0x54]
shl eax, 0x11
xor eax, ebx
fstp dword [esp + 0x18]
mov ecx, eax
shr ecx, 0xd
xor eax, ecx
mov edx, eax
shl edx, 5
xor eax, edx
mov ecx, eax
and ecx, 0x7fffffff
test ecx, ecx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
jge 0x492710
fadd dword [0x78454c]
fmul dword [0x78d864]
mov ecx, eax
shl ecx, 0x11
xor ecx, eax
mov edx, ecx
shr edx, 0xd
xor ecx, edx
mov eax, ecx
fmul dword [esp + 0x98]
shl eax, 5
xor ecx, eax
fsub dword [esp + 0xb8]
mov edx, ecx
and edx, 0x7fffffff
test edx, edx
fadd dword [esp + 0xc4]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jge 0x49275a
fadd dword [0x78454c]
fmul dword [0x78d864]
mov eax, ecx
shl eax, 0x11
xor eax, ecx
mov ecx, eax
shr ecx, 0xd
xor eax, ecx
fmul dword [esp + 0xa0]
mov edx, eax
shl edx, 5
fsub dword [esp + 0xc0]
xor eax, edx
mov ecx, eax
and ecx, 0x7fffffff
test ecx, ecx
fadd dword [esp + 0xd0]
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x84]
fild dword [esp + 0x10]
jge 0x4927ab
fadd dword [0x78454c]
fmul dword [0x78d864]
mov esi, eax
shl esi, 0x11
xor esi, eax
fmul dword [esp + 0xb0]
mov eax, esi
shr eax, 0xd
fsub dword [esp + 0xbc]
xor esi, eax
mov ecx, esi
shl ecx, 5
fadd dword [esp + 0xdc]
xor esi, ecx
fstp dword [esp + 0x88]
fld dword [esp + 0x100]
fmul dword [esp + 0x88]
fld dword [esp + 0xf0]
fmul dword [esp + 0x84]
faddp st(1)
fld dword [esp + 0xe0]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x110]
fld dword [esp + 0x104]
fmul dword [esp + 0x88]
fld dword [esp + 0xf4]
fmul dword [esp + 0x84]
faddp st(1)
fld dword [esp + 0xe4]
fmul st(3)
faddp st(1)
fadd dword [esp + 0x114]
fld dword [esp + 0x108]
fmul dword [esp + 0x88]
fld dword [esp + 0xf8]
fmul dword [esp + 0x84]
faddp st(1)
fld dword [esp + 0xe8]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x118]
fstp dword [esp + 0x228]
mov edx, dword [esp + 0x228]
fxch st(1)
mov dword [esp + 0x88], edx
fstp dword [esp + 0x80]
mov edx, esi
and edx, 0x7fffffff
test edx, edx
fstp dword [esp + 0x84]
mov dword [esp + 0x10], edx
fstp st(0)
fild dword [esp + 0x10]
jge 0x4928b3
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0x94]
call fcn.0075bc00
mov byte [esp + 0x2b], al
mov eax, esi
shl eax, 0x11
xor eax, esi
mov ecx, eax
shr ecx, 0xd
xor eax, ecx
mov edx, eax
shl edx, 5
xor eax, edx
mov ecx, eax
and ecx, 0x7fffffff
test ecx, ecx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
jge 0x4928f8
fadd dword [0x78454c]
fmul dword [0x78d864]
mov ecx, eax
shl ecx, 0x11
xor ecx, eax
mov edx, ecx
shr edx, 0xd
xor ecx, edx
mov eax, ecx
shl eax, 5
fmul dword [esp + 0x9c]
xor ecx, eax
mov edx, ecx
fadd dword [esp + 0x60]
and edx, 0x7fffffff
test edx, edx
mov dword [esp + 0x10], edx
fstp dword [esp + 0x64]
fild dword [esp + 0x10]
jge 0x49293c
fadd dword [0x78454c]
fmul dword [0x78d864]
mov edx, ecx
shl edx, 0x11
xor edx, ecx
mov eax, edx
shr eax, 0xd
xor edx, eax
mov ecx, edx
shl ecx, 5
fmul dword [esp + 0xa4]
xor edx, ecx
mov eax, edx
fadd dword [esp + 0xd8]
and eax, 0x7fffffff
test eax, eax
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x10]
mov dword [esp + 0x68], edx
fild dword [esp + 0x2c]
jge 0x492986
fadd dword [0x78454c]
fmul dword [0x78d864]
mov dword [esp + 0x4c], 0
fmul dword [esp + 0xac]
fadd dword [esp + 0xc8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x48]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x492ae5
mov eax, edx
shl eax, 0x11
xor eax, edx
mov ecx, eax
shr ecx, 0xd
xor eax, ecx
mov edx, eax
shl edx, 5
xor eax, edx
mov dword [esp + 0x68], eax
and eax, 0x7fffffff
test eax, eax
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
jge 0x4929eb
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0xb4]
fadd dword [esp + 0x48]
fst dword [esp + 0x2c]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x492ada
fld dword [esp + 0x2c]
fld dword [0x784250]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x492a2e
fstp st(0)
fld dword [0x784250]
mov edi, dword [esp + 0xa8]
fst dword [esp + 0x4c]
mov al, byte [edi + 0x1e]
test al, al
mov esi, dword [ebp + 8]
jne 0x492af1
fld st(0)
lea eax, [esp + 0x70]
fmul dword [esi + 0x80]
push eax
fld dword [esp + 0x20]
lea ecx, [esp + 0x74]
fmul dword [esp + 0x60]
push ecx
faddp st(1)
fstp dword [esp + 0x78]
fld st(0)
fmul dword [esi + 0x84]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
faddp st(1)
fstp dword [esp + 0x7c]
fmul dword [esi + 0x88]
fld dword [esp + 0x24]
fmul dword [esp + 0x20]
faddp st(1)
fst dword [esp + 0x80]
fmul dword [esp + 0x80]
fld dword [esp + 0x7c]
fmul dword [esp + 0x7c]
faddp st(1)
fld dword [esp + 0x78]
fmul dword [esp + 0x78]
faddp st(1)
fsqrt
fstp dword [esp + 0x24]
call fcn.0043cf80
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
add esp, 8
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
jmp 0x492af3
fld dword [0x7d7d3c]
jmp 0x492a2e
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0xa8]
jmp 0x492af3
fstp st(0)
fld dword [esp + 0x10]
call fcn.0075bc00
mov ecx, dword [esp + 0xd4]
and eax, 0xfffe
test ecx, ecx
mov dword [esp + 0x2c], eax
je 0x492b1f
xor edx, edx
mov dl, byte [esp + 0x68]
and edx, 1
or eax, edx
mov dword [esp + 0x2c], eax
fld dword [esp + 0x64]
fcomp dword [0x787590]
fnstsw ax
test ah, 0x41
jne 0x492b38
mov dword [esp + 0x64], 0x42700000
cmp word [esi + 0x28], 0
jne 0x492c7d
mov eax, dword [0x870cec]
xor esi, esi
test eax, eax
jne 0x492b5a
mov al, byte [edi + 0x21]
test al, al
jne 0x492b5a
mov esi, 1
mov eax, dword [0x82da38]
push eax
call fcn.0043cd80
add esp, 4
test eax, eax
jne 0x492c7d
test esi, esi
jne 0x492c7d
movsx ebx, byte [edi + 0x1f]
test ebx, ebx
jl 0x492b85
cmp ebx, 3
jle 0x492b87
xor ebx, ebx
mov ecx, dword [0x82da38]
push ecx
call fcn.0043f940
fld dword [esp + 0x68]
fmul dword [0x78a194]
add esp, 4
mov esi, eax
call fcn.0075bc00
fld dword [esp + 0x1c]
fmul dword [0x784540]
mov dx, word [esp + 0x2c]
fld dword [0x78da34]
mov word [esi + 8], ax
mov word [esi + 0xa], dx
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x492bd5
fstp st(0)
fld dword [0x78da34]
call fcn.0075bc00
fld dword [esp + 0x4c]
fmul dword [0x784544]
mov word [esi + 0xc], ax
call fcn.0075bc00
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
fmul dword [0x78b104]
mov edx, dword [esp + 0x84]
mov byte [esi + 0xe], al
mov al, byte [edi + 0x20]
and al, 0xf
shl bl, 4
or al, bl
mov byte [esi + 0xf], al
mov eax, dword [esp + 0x88]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
call fcn.0075bc00
fld dword [esp + 0x54]
fmul dword [0x78b104]
mov byte [esi + 0x1c], al
call fcn.0075bc00
fld dword [esp + 0x18]
fmul dword [0x78b104]
mov byte [esi + 0x1d], al
call fcn.0075bc00
mov cl, byte [esp + 0x2b]
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], cl
mov dl, byte [edi + 0x20]
mov edi, dword [esp + 0x14]
xor eax, eax
test dl, dl
setne al
mov edx, dword [edi + eax*8 + 0x18]
mov dword [edx], esi
mov dword [edi + eax*8 + 0x18], esi
mov dword [esi + 4], edx
lea ecx, [edi + eax*8 + 0x14]
mov dword [esi], ecx
inc dword [edi + eax*4 + 0x24]
mov ecx, dword [esp + 0x68]
mov eax, ecx
shl eax, 0x11
xor eax, ecx
mov edx, eax
shr edx, 0xd
xor eax, edx
mov ecx, eax
shl ecx, 5
xor eax, ecx
mov ecx, eax
and eax, 0x7fffffff
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x492caf
fadd dword [0x78454c]
fmul dword [0x78d864]
fmul dword [esp + 0x20]
fadd dword [esp + 0x6c]
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x492ce7
fdivr dword [0x784250]
fcom dword [0x78da30]
fnstsw ax
test ah, 0x41
jne 0x492cf1
fstp st(0)
fld dword [0x78da30]
jmp 0x492d06
fstp st(0)
fld dword [0x784358]
jmp 0x492d06
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 5
jp 0x492d06
fstp st(0)
fld dword [0x7d7d3c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4921d0
mov ebx, dword [ebp + 8]
fst dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea esi, [edi + 0x14]
mov dword [ebx + 0x24], ecx
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x20], 2
xor edx, edx
cmp dword [eax], eax
setne dl
add eax, 8
or ecx, edx
dec dword [esp + 0x20]
jne 0x492d34
xor edx, edx
cmp ecx, edx
jne 0x492d80
mov eax, dword [edi]
fstp st(0)
mov ecx, dword [edi + 4]
push 0x491a80
push 2
mov dword [ecx], eax
push 8
mov dword [eax + 4], ecx
push esi
mov dword [edi + 0xc], edx
mov dword [edi + 8], edx
call fcn.0075c12d
mov eax, dword [0x82da3c]
push edi
push eax
call fcn.0043f970
fld dword [esp + 0x24]
add esp, 8
fld dword [ebp + 0xc]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 1
jne 0x492dae
fsub dword [esp + 0x24]
fstp dword [ebx + 0x18]
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(0)
mov dword [ebx + 0x18], 0
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc