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

Disassembly:
sub esp, 0x264
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1e4]
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov ebx, dword [edi + 0x12c]
mov eax, dword [ecx]
shr ebx, 6
lea edx, [esp + 0x160]
and ebx, 1
push edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x90], ebx
call dword [eax + 0x64]
fld dword [esi + 0xfc]
mov ecx, dword [eax]
fcomp dword [0x73d700]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
fnstsw ax
test ah, 0x44
jnp 0x49306b
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.006fc447
fld dword [esi + 0xfc]
test al, 1
fmul dword [0x740cc0]
mov dword [esp + 0x14], eax
je 0x492f95
call fcn.006fae8c
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jmp 0x492fad
call fcn.006fae8c
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
neg edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul dword [0x73dfec]
fstp dword [esp + 0x38]
call fcn.006fc447
test al, 1
fld dword [esi + 0xfc]
fmul dword [0x740cc0]
mov dword [esp + 0x14], eax
je 0x492fe8
call fcn.006fae8c
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jmp 0x493000
call fcn.006fae8c
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
neg edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul dword [0x73dfec]
fstp dword [esp + 0x3c]
call fcn.006fc447
test al, 1
fld dword [esi + 0xfc]
fmul dword [0x740cc0]
mov dword [esp + 0x14], eax
je 0x49303b
call fcn.006fae8c
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jmp 0x493053
call fcn.006fae8c
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
neg edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul dword [0x73dfec]
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x44]
call fcn.004a9740
mov eax, dword [edi + 0x12c]
shr eax, 4
and al, 1
mov byte [esp + 0x1f], al
mov eax, dword [esi + 0x1cc]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x493ac4
fld dword [0x73d764]
fsub dword [esp + 0x278]
fstp dword [esp + 0xcc]
jmp 0x4930b0
mov ebx, dword [esp + 0x8c]
lea ecx, [ecx]
test ebx, ebx
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esp + 0x10]
mov ebp, dword [eax + ecx*4]
lea edi, [ebp + 8]
mov edx, edi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
je 0x4931c9
fld dword [edi]
lea ecx, [esp + 0x130]
fsub dword [esi + 0x170]
push ecx
lea eax, [esi + 0x1b4]
push eax
fstp dword [esp + 0x138]
lea edx, [esp + 0x23c]
fld dword [edi + 4]
push edx
fsub dword [esi + 0x174]
lea ebx, [esi + 0x1a4]
fstp dword [esp + 0x140]
fld dword [edi + 8]
fsub dword [esi + 0x178]
fstp dword [esp + 0x144]
call fcn.004a9b50
push eax
lea eax, [esp + 0x224]
push ebx
push eax
call fcn.004a9ac0
add esp, 0x14
push eax
lea ecx, [esp + 0x1f8]
push ecx
call fcn.004a9bb0
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 8]
lea ebx, [ebp + 0x54]
push ebx
lea eax, [esi + 0x1b4]
push eax
lea eax, [esp + 0x25c]
push eax
mov dword [esp + 0x40], edx
call fcn.004a9b50
push eax
lea eax, [esi + 0x1a4]
push eax
lea ecx, [esp + 0x238]
push ecx
call fcn.004a9ac0
add esp, 0x14
push eax
lea edx, [esp + 0x204]
push edx
call fcn.004a9bb0
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
add esp, 0xc
lea eax, [esi + 0x164]
push eax
lea ecx, [esp + 0x30]
call fcn.004a9740
jmp 0x4931df
mov ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], ecx
fld dword [esp + 0x278]
lea ebx, [ebp + 0x54]
fmul dword [ebx]
fld dword [esp + 0x278]
fmul dword [ebx + 4]
fld dword [esp + 0x278]
fmul dword [ebx + 8]
fstp dword [esp + 0x1b0]
fxch st(1)
fadd dword [esp + 0x2c]
fstp dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x20], edx
fadd dword [esp + 0x30]
mov edx, dword [esp + 0x54]
fstp dword [esp + 0xb8]
fld dword [esp + 0x1b0]
mov eax, dword [esp + 0xb8]
fadd dword [esp + 0x34]
mov dword [esp + 0x24], eax
fstp dword [esp + 0xbc]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 0x12c]
shr eax, 2
test al, 1
je 0x4932a9
mov eax, dword [esp + 0x278]
mov ecx, dword [0x7b92a0]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 8], eax
lea ecx, [esp + 0x218]
push ecx
mov ecx, dword [0x7b92a0]
call dword [edx + 0xd0]
push eax
lea ecx, [esp + 0x24]
call fcn.004a9740
fld dword [ebp + 0x70]
fdiv dword [esi + 0x78]
fcom dword [0x73d764]
fnstsw ax
test ah, 0x41
jne 0x4932c4
fstp st(0)
fld dword [0x73d764]
fld dword [0x73d764]
mov ecx, dword [esi + 0x1e4]
fsub st(1)
mov edx, dword [ecx]
lea eax, [esp + 0x244]
push eax
fld st(0)
fld st(0)
fmulp st(1)
fld st(0)
fmul st(2)
fstp dword [esp + 0x1c]
fmul st(2)
fmul dword [0x740c84]
fstp dword [esp + 0x48]
fmul st(1)
fmul st(1)
fmul dword [0x740c84]
fstp dword [esp + 0x5c]
fld st(0)
fmul st(1)
fmul st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x4c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x78]
fld dword [esp + 0x50]
fmul dword [esp + 0x18]
fstp dword [esp + 0x7c]
fld dword [esp + 0x54]
fmul dword [esp + 0x18]
fstp dword [esp + 0x80]
call dword [edx + 0x68]
fld dword [eax + 4]
fmul dword [eax + 0xc]
mov ecx, dword [esi + 0x84]
fld dword [eax]
mov dword [esp + 0x5c], ecx
fmul dword [eax + 8]
faddp st(1)
fadd st(0), st(0)
fld dword [eax + 0xc]
fmul dword [eax + 8]
fld dword [eax + 4]
fmul dword [eax]
fsubp st(1)
fadd st(0), st(0)
fld dword [eax + 8]
fld dword [eax + 4]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fadd st(0), st(0)
fsubr dword [0x73d764]
fstp dword [esp + 0x180]
fstp st(0)
fstp st(0)
fxch st(1)
fmul dword [esp + 0x5c]
fstp dword [esp + 0x184]
fmul dword [esp + 0x5c]
fld dword [esp + 0x180]
fmul dword [esp + 0x5c]
fld dword [esp + 0x184]
fadd dword [esp + 0x48]
fstp dword [esp + 0x100]
fxch st(1)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x104]
fadd dword [esp + 0x50]
fld dword [esp + 0x100]
fmul dword [esp + 0x58]
fld dword [esp + 0x104]
fmul dword [esp + 0x58]
fstp dword [esp + 0xe0]
fxch st(1)
fmul dword [esp + 0x58]
fstp dword [esp + 0xe4]
fld dword [esi + 0x80]
fld st(0)
fmul dword [esi + 0x140]
fld st(1)
fmul dword [esi + 0x144]
fstp dword [esp + 0xf8]
fxch st(1)
fmul dword [esi + 0x148]
fstp dword [esp + 0xfc]
fadd dword [esi + 0x164]
fld dword [esp + 0xf8]
fadd dword [esi + 0x168]
fld dword [esp + 0xfc]
fadd dword [esi + 0x16c]
fstp dword [esp + 0x1ec]
fxch st(1)
fmul dword [esp + 0x44]
fstp dword [esp + 0x1c0]
fmul dword [esp + 0x44]
fld dword [esp + 0x1ec]
fmul dword [esp + 0x44]
fld dword [esp + 0x18]
fmul dword [esi + 0x164]
fld dword [esp + 0x18]
fmul dword [esi + 0x168]
fld dword [esp + 0x18]
fmul dword [esi + 0x16c]
fstp dword [esp + 0x174]
fxch st(1)
fadd dword [esp + 0x1c0]
fstp dword [esp + 0x9c]
fadd st(2)
fstp dword [esp + 0xa0]
fld dword [esp + 0x174]
fadd st(1)
fstp dword [esp + 0xa4]
fstp st(0)
fstp st(0)
fadd dword [esp + 0x9c]
fld dword [esp + 0xa0]
fadd dword [esp + 0xe0]
fld dword [esp + 0xa4]
fadd dword [esp + 0xe4]
fstp dword [esp + 0x1e0]
fxch st(1)
fadd dword [esp + 0x74]
fstp dword [esp + 0x80]
fadd dword [esp + 0x78]
fstp dword [esp + 0x84]
fld dword [esp + 0x1e0]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x88]
fld dword [esp + 0x14]
fld dword [esi + 0x60]
call fcn.006fc1f0
fld dword [0x73d764]
fsub st(1)
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x118]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x11c]
fmul dword [esp + 0x28]
fld dword [esp + 0x80]
fmul st(2)
fld dword [esp + 0x84]
fmul st(3)
fstp dword [esp + 0x14c]
fld dword [esp + 0x88]
fmul st(3)
fstp dword [esp + 0x150]
fadd dword [esp + 0x118]
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
fstp st(1)
mov edx, edi
fld dword [esp + 0x14c]
fadd dword [esp + 0x11c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x150]
mov eax, dword [esp + 0x3c]
fadd st(1)
mov dword [esp + 0x24], eax
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fstp st(0)
mov dword [esp + 0x28], ecx
fld dword [ebp + 0x18]
fld st(0)
fmul dword [ebp + 0x1c]
fld st(1)
fmul dword [ebp + 0x20]
fstp dword [esp + 0xec]
fxch st(1)
fmul dword [ebp + 0x24]
fstp dword [esp + 0xf0]
fmul dword [esp + 0x278]
fld dword [esp + 0xec]
fmul dword [esp + 0x278]
fld dword [esp + 0xf0]
fmul dword [esp + 0x278]
fstp dword [esp + 0x198]
fxch st(1)
fadd dword [esp + 0x38]
fstp dword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov dword [edx], eax
fadd dword [esp + 0x3c]
fstp dword [esp + 0x94]
fld dword [esp + 0x198]
mov ecx, dword [esp + 0x94]
fadd dword [esp + 0x40]
mov dword [edx + 4], ecx
fstp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
fld dword [esp + 0x278]
mov dword [edx + 8], eax
fmul dword [esi + 0x7c]
fmul dword [0x7432f4]
fsubr dword [ebp + 0x5c]
fstp dword [ebp + 0x5c]
fld dword [esp + 0xcc]
fmul dword [ebp + 0x18]
fcom dword [0x73d700]
fst dword [ebp + 0x18]
fnstsw ax
test ah, 5
jp 0x493672
fmul dword [0x740cbc]
fstp dword [ebp + 0x18]
jmp 0x493674
fstp st(0)
mov ecx, dword [esi + 0x1e8]
call fcn.00456a60
mov al, byte [esp + 0x1f]
test al, al
je 0x493aad
mov ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], ecx
mov al, byte [edx + 0xf0]
test al, al
je 0x4937b6
mov eax, dword [esi + 0x1e8]
mov ecx, dword [eax + 8]
add eax, 8
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4936da
push ecx
call fcn.006fa390
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax], 0
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0x74]
test edx, edx
mov dword [esp + 0x44], edx
je 0x49372c
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx + 0x10]
add ecx, 8
cmp dword [ecx + 4], eax
mov dword [esp + 0x18], ecx
jne 0x49371d
test eax, eax
je 0x49370a
add eax, eax
jmp 0x49370f
mov eax, 8
push eax
call fcn.005e03c0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x18]
inc dword [eax + 4]
fld dword [edi]
mov edx, dword [esi + 0x90]
fsub dword [esp + 0x68]
mov dword [esp + 0x60], edx
fld dword [edi + 4]
fsub dword [esp + 0x6c]
fld dword [edi + 8]
fsub dword [esp + 0x70]
fstp dword [esp + 0x1a4]
fxch st(1)
fmul dword [esp + 0x60]
fstp dword [esp + 0x1b4]
fmul dword [esp + 0x60]
fld dword [esp + 0x1a4]
fmul dword [esp + 0x60]
fld dword [esp + 0x1b4]
fadd dword [edi]
fstp dword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
fxch st(1)
fadd dword [edi + 4]
fstp dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
fadd dword [edi + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fstp dword [esp + 0xb0]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x28], edx
jmp 0x4937cc
mov ecx, edi
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1e8]
mov edx, dword [0x7b92a0]
push ecx
mov edx, dword [edx]
push edi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x7c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], eax
mov ecx, dword [0x7b92a0]
call dword [edx + 0x38]
test eax, eax
je 0x493aad
mov eax, dword [esi + 0x1e8]
fld dword [eax + 0x40]
mov ecx, ebx
fmul dword [0x7432f0]
fld dword [eax + 0x44]
fmul dword [0x7432f0]
fld dword [eax + 0x48]
fmul dword [0x7432f0]
fstp dword [esp + 0x1d4]
fld dword [ebx + 8]
fmul dword [eax + 0x48]
fld dword [ebx + 4]
fmul dword [eax + 0x44]
faddp st(1)
fld dword [eax + 0x40]
fmul dword [ebx]
faddp st(1)
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x18]
fstp dword [esp + 0x160]
fmul dword [esp + 0x18]
fld dword [esp + 0x1d4]
fmul dword [esp + 0x18]
fld dword [esp + 0x160]
fadd dword [ebx]
fstp dword [esp + 0x10c]
fxch st(1)
fadd dword [ebx + 4]
fstp dword [esp + 0x110]
fadd dword [ebx + 8]
fld dword [esi + 0x5c]
fld dword [esp + 0x10c]
fmul st(1)
fstp dword [esp + 0xc0]
mov edx, dword [esp + 0xc0]
fld dword [esp + 0x110]
mov dword [ecx], edx
fmul st(1)
fstp dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
fxch st(1)
fmul st(1)
mov dword [ecx + 4], eax
fstp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [ecx + 8], edx
fstp st(0)
mov eax, dword [esi + 0x1e8]
fld dword [eax + 0x48]
add eax, 0x40
fmul dword [0x73dff4]
mov ecx, edi
fld dword [eax + 4]
fmul dword [0x73dff4]
fld dword [eax]
lea eax, [esp + 0x124]
fmul dword [0x73dff4]
push eax
fstp dword [esp + 0x128]
fstp dword [esp + 0x12c]
fstp dword [esp + 0x130]
call fcn.004a9740
fld dword [ebp + 0x5c]
fld dword [ebp + 0x58]
fld dword [ebx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x73e9ac]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
jp 0x493a54
mov byte [ebp + 0x6c], 1
mov ecx, dword [esi + 0x1e8]
add ecx, 0x40
mov eax, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
sub esp, 0xc
mov dword [esp + 0xe8], 0
mov eax, dword [esp + 0xe8]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 0xec], 0
mov ecx, dword [esp + 0xec]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x27c]
mov dword [esp + 0xf0], 0x3f800000
mov eax, dword [esp + 0xf0]
push ecx
mov dword [edx + 8], eax
call fcn.004ab630
mov ecx, dword [eax]
lea edx, [ebp + 0x2c]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x1e8]
fld dword [eax + 0x48]
add eax, 0x40
fmul dword [0x743320]
add esp, 0x1c
fld dword [eax + 4]
lea ecx, [esp + 0x13c]
fmul dword [0x743320]
push ecx
fld dword [eax]
mov ecx, edi
fmul dword [0x743320]
fstp dword [esp + 0x140]
fstp dword [esp + 0x144]
fstp dword [esp + 0x148]
call fcn.004a9740
mov edx, dword [esi + 0x1e8]
add edx, 0x40
mov eax, dword [edx]
add ebp, 0x48
mov dword [ebp], eax
mov ecx, dword [edx + 4]
mov dword [ebp + 4], ecx
mov edx, dword [edx + 8]
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x54]
mov cl, byte [eax + 0xf0]
test cl, cl
je 0x493aad
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x1e8]
mov dword [esp + 0x64], ecx
fld dword [esp + 0x64]
add eax, 0x40
fmul dword [eax + 8]
lea edx, [esp + 0x154]
fld dword [esp + 0x64]
push edx
fmul dword [eax + 4]
mov ecx, edi
fld dword [esp + 0x68]
fmul dword [eax]
fstp dword [esp + 0x158]
fstp dword [esp + 0x15c]
fstp dword [esp + 0x160]
call fcn.004a9740
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1cc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4930a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x264
ret 4