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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c65dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
cmp ecx, ebx
je 0x492695
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
cmp eax, 2
jb 0x492695
fld dword [ebp + 0x18c]
fmul dword [0x4f26c8]
fstp dword [esp + 0x48]
mov eax, ecx
mov esi, dword [eax]
cmp esi, ebx
mov dword [esp + 0xfc], ebx
je 0x4910e7
inc dword [esi + 4]
mov al, byte [esi + 0x21]
test al, al
mov dword [esp + 0x54], esi
je 0x4914cf
push 0x5c
call fcn.004ad909
add esp, 4
cmp eax, ebx
je 0x49112a
mov dword [eax + 4], ebx
mov dword [eax], 0x4f7340
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x2c], ebx
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov edi, eax
jmp 0x49112c
xor edi, edi
cmp edi, ebx
mov dword [esp + 0x30], edi
je 0x491137
inc dword [edi + 4]
mov eax, dword [ebp + 0x1ac]
push 1
push 1
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
cmp eax, ebx
push ecx
mov ecx, esp
mov byte [esp + 0x10c], 1
mov dword [esp + 0x54], esp
mov dword [ecx], eax
je 0x491160
inc dword [eax + 4]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.0048e770
mov ebx, dword [eax]
test ebx, ebx
mov byte [esp + 0xfc], 2
mov dword [esp + 0x24], ebx
je 0x491181
inc dword [ebx + 4]
test edi, edi
mov dword [esp + 0x30], ebx
je 0x49119e
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi + 4], ecx
jne 0x49119e
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0xfc], 1
je 0x4911c7
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x44], eax
jne 0x4911c7
mov edx, dword [ecx]
push 1
call dword [edx]
add ebx, 8
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x18], edx
lea ecx, [esi + 8]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x14]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x14]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x10]
jb 0x4911e2
fld dword [ebp + 0x1b4]
mov eax, dword [esp + 0x14]
fsub dword [esi + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
fdivr dword [0x4f1a10]
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edi
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
je 0x491239
inc dword [edi + 4]
push 1
mov ecx, ebp
mov byte [esp + 0x100], 3
call fcn.0048dcc0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
mov cl, byte [eax + 0x22]
test cl, cl
jne 0x491298
mov al, byte [edi + 0x23]
test al, al
jne 0x491298
mov ecx, dword [ebp + 0x20]
mov eax, dword [edi + 0x14]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [edi + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, ebx
lea edx, [esp + 0x14]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x14]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x14]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x10]
jb 0x491281
jmp 0x4912d5
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x20]
dec eax
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [edi + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, ebx
lea edx, [esp + 0x14]
xor eax, eax
sub ecx, edx
lea esp, [esp]
fld dword [esp + eax*4 + 0x14]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x14]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x10]
jb 0x4912c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.004360a0
fstp st(0)
fld dword [edi + 0x1c]
xor eax, eax
fld st(0)
inc eax
cmp eax, 2
fmul dword [esp + eax*4 + 0x10]
fstp dword [esp + eax*4 + 0x10]
jb 0x4912f5
fstp st(0)
xor eax, eax
lea esp, [esp]
fld dword [esp + eax + 0x14]
add eax, 4
cmp eax, 8
fadd dword [esp + eax + 0x18]
fstp dword [esp + eax + 0x18]
jb 0x491310
lea eax, [esi + 8]
lea ecx, [esp + 0x1c]
sub ecx, eax
mov edx, 2
fld dword [ecx + eax]
add eax, 4
dec edx
fadd dword [eax - 4]
fstp dword [eax - 4]
jne 0x491332
mov eax, dword [edi + 0x18]
fld dword [esp + 0x48]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
fadd dword [esi + 0x24]
fstp dword [esi + 0x24]
fld dword [esi + 0x24]
fcomp dword [ebp + 0x1b4]
fnstsw ax
test ah, 0x41
jne 0x4913d7
mov eax, dword [esp + 0x24]
mov byte [esi + 0x21], 0
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
add eax, 8
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov dl, byte [edi + 0x23]
push ecx
mov byte [esi + 0x23], dl
mov byte [esi + 0x22], 0
mov eax, esp
mov dword [eax], esi
inc dword [esi + 4]
mov ecx, ebp
mov dword [esp + 0x2c], esp
call fcn.0048eeb0
push 0
mov ecx, ebp
call fcn.0048e100
mov ecx, dword [ebp + 0x31c]
test ecx, ecx
je 0x4913d7
cmp eax, 1
jle 0x4913cd
inc dword [ecx + 0xa4]
jmp 0x4913d7
mov dword [ecx + 0xa4], 0
fld dword [esi + 0x24]
fcomp dword [0x4f68d4]
fnstsw ax
test ah, 5
jp 0x49148d
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x20]
inc eax
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, ebx
lea edx, [esp + 0x1c]
xor eax, eax
sub ecx, edx
lea esp, [esp]
fld dword [esp + eax*4 + 0x1c]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x1c]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x18]
jb 0x491410
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
call fcn.00465170
fsub dword [0x4f730c]
fcom dword [0x4fc4b8]
fst dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x491463
fld dword [0x4f730c]
fadd st(0), st(0)
faddp st(1)
fst dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fstp dword [esi + 0x4c]
mov eax, dword [esi + 0x10]
push edx
push eax
mov eax, dword [esi + 0x2c]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
je 0x491482
inc dword [eax + 4]
mov ecx, ebp
call fcn.0048f740
mov byte [esi + 0x50], 0
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov byte [esp + 0xfc], 1
mov dword [edi + 4], ecx
jne 0x4914aa
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0xfc], 0
je 0x4914cf
mov edx, dword [eax + 4]
dec edx
mov ecx, edx
test ecx, ecx
mov dword [eax + 4], edx
jne 0x4914cf
mov ecx, eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
cmp ecx, ebx
jne 0x4914dc
xor eax, eax
jmp 0x4914e4
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + eax*4 - 4]
cmp edi, ebx
je 0x4914f2
inc dword [edi + 4]
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
cmp eax, ebx
mov dword [esp + 0x54], edi
mov dword [esi + 4], ecx
jne 0x49150b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov al, byte [edi + 0x21]
test al, al
je 0x491921
push 0x5c
call fcn.004ad909
add esp, 4
cmp eax, ebx
je 0x49154a
mov dword [eax + 4], ebx
mov dword [eax], 0x4f7340
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x2c], ebx
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov esi, eax
jmp 0x49154c
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x30], esi
je 0x491557
inc dword [esi + 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov eax, dword [ebp + 0x1ac]
push 1
push ebx
mov byte [esp + 0x104], 4
push eax
jne 0x491574
xor eax, eax
jmp 0x49157c
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4 - 8]
cmp eax, ebx
push ecx
mov edx, esp
mov dword [esp + 0x54], esp
mov dword [edx], eax
je 0x491593
inc dword [eax + 4]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.0048e770
mov ebx, dword [eax]
test ebx, ebx
mov byte [esp + 0xfc], 5
mov dword [esp + 0x24], ebx
je 0x4915b4
inc dword [ebx + 4]
test esi, esi
mov dword [esp + 0x30], ebx
je 0x4915d1
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x4915d1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0xfc], 4
je 0x4915fa
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x44], eax
jne 0x4915fa
mov edx, dword [ecx]
push 1
call dword [edx]
add ebx, 8
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x18], edx
lea ecx, [edi + 8]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x14]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x14]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x10]
jb 0x491615
fld dword [ebp + 0x1b4]
mov eax, dword [esp + 0x14]
fsub dword [edi + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
fdivr dword [0x4f1a10]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fstp st(0)
jne 0x49166a
xor eax, eax
jmp 0x491672
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + eax*4 - 8]
test esi, esi
mov dword [esp + 0x44], esi
je 0x491684
inc dword [esi + 4]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov byte [esp + 0xfc], 6
jne 0x491697
xor eax, eax
jmp 0x49169f
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
add eax, 0xfffffffe
push eax
mov ecx, ebp
call fcn.0048dcc0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
mov cl, byte [eax + 0x22]
test cl, cl
jne 0x4916f8
mov al, byte [esi + 0x23]
test al, al
jne 0x4916f8
mov ecx, dword [ebp + 0x20]
mov eax, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esi + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, ebx
lea edx, [esp + 0x14]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x14]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x14]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x10]
jb 0x4916e1
jmp 0x491735
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x20]
dec eax
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [esi + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, ebx
lea edx, [esp + 0x14]
xor eax, eax
sub ecx, edx
lea esp, [esp]
fld dword [esp + eax*4 + 0x14]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x14]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x10]
jb 0x491720
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.004360a0
fstp st(0)
fld dword [esi + 0x1c]
xor eax, eax
fld st(0)
inc eax
cmp eax, 2
fmul dword [esp + eax*4 + 0x10]
fstp dword [esp + eax*4 + 0x10]
jb 0x491755
fstp st(0)
xor eax, eax
lea esp, [esp]
fld dword [esp + eax + 0x14]
add eax, 4
cmp eax, 8
fadd dword [esp + eax + 0x18]
fstp dword [esp + eax + 0x18]
jb 0x491770
lea eax, [edi + 8]
lea ecx, [esp + 0x1c]
sub ecx, eax
mov edx, 2
fld dword [ecx + eax]
add eax, 4
dec edx
fadd dword [eax - 4]
fstp dword [eax - 4]
jne 0x491792
mov eax, dword [esi + 0x18]
fld dword [esp + 0x48]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
fadd dword [edi + 0x24]
fstp dword [edi + 0x24]
fld dword [edi + 0x24]
fcomp dword [ebp + 0x1b4]
fnstsw ax
test ah, 0x41
jne 0x49182d
mov eax, dword [esp + 0x24]
mov byte [edi + 0x21], 0
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
add eax, 8
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
mov dl, byte [esi + 0x23]
mov byte [edi + 0x23], dl
push ecx
mov byte [edi + 0x22], 0
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi + 4]
inc edx
mov ecx, ebp
mov dword [esp + 0x2c], esp
mov dword [edi + 4], edx
call fcn.0048eeb0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x49181c
xor ecx, ecx
jmp 0x491824
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sar ecx, 2
dec ecx
push ecx
mov ecx, ebp
call fcn.0048e100
fld dword [edi + 0x24]
fcomp dword [0x4f68d4]
fnstsw ax
test ah, 5
jp 0x4918df
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x20]
inc eax
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, ebx
lea edx, [esp + 0x1c]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x1c]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x1c]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x18]
jb 0x491862
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
call fcn.00465170
fsub dword [0x4f730c]
fcom dword [0x4fc4b8]
fst dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x4918b5
fld dword [0x4f730c]
fadd st(0), st(0)
faddp st(1)
fst dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fstp dword [edi + 0x4c]
mov eax, dword [edi + 0x10]
push edx
push eax
mov eax, dword [edi + 0x2c]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
je 0x4918d4
inc dword [eax + 4]
mov ecx, ebp
call fcn.0048f740
mov byte [edi + 0x50], 0
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov byte [esp + 0xfc], 4
mov dword [esi + 4], ecx
jne 0x4918fc
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0xfc], 0
je 0x491921
mov edx, dword [eax + 4]
dec edx
mov ecx, edx
test ecx, ecx
mov dword [eax + 4], edx
jne 0x491921
mov ecx, eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, 1
mov dword [esp + 0x24], edx
lea ebx, [ebx]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x49193b
xor eax, eax
jmp 0x491943
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
dec eax
cmp edx, eax
jge 0x492677
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*4]
mov dl, byte [ecx + 0x21]
test dl, dl
je 0x492667
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + ebx*4]
xor esi, esi
cmp eax, esi
je 0x49196d
inc dword [eax + 4]
mov ecx, dword [esp + 0x54]
cmp ecx, esi
mov edi, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], edi
je 0x491992
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, esi
mov dword [ecx + 4], edx
jne 0x491992
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x5c
call fcn.004ad909
add esp, 4
cmp eax, esi
je 0x4919c4
mov dword [eax + 4], esi
mov dword [eax], 0x4f7340
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x2c], esi
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], esi
mov esi, eax
test esi, esi
mov dword [esp + 0x3c], esi
je 0x4919cf
inc dword [esi + 4]
mov dword [esp + 0x34], 0
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + ebx*4 + 4]
lea eax, [edi + 8]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x8c], eax
xor eax, eax
mov byte [esp + 0xfc], 8
mov dword [esp + 0x88], edi
add ecx, 8
fld dword [esp + eax*4 + 0x88]
inc eax
fsub dword [ecx]
add ecx, 4
cmp eax, 2
fstp dword [esp + eax*4 + 0x84]
jb 0x491a01
mov eax, dword [esp + 0x8c]
fld dword [0x4fc4b8]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ecx
xor eax, eax
mov edi, edi
fld dword [esp + eax*4 + 0xc4]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x491a40
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x491a6c
fstp st(0)
fld dword [0x4fc4b8]
jmp 0x491a6e
fsqrt
mov eax, dword [esp + 0x40]
fst dword [esp + 0x38]
mov ecx, dword [edx + ebx*4 - 4]
add eax, 8
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xa0], eax
xor eax, eax
mov dword [esp + 0x9c], edi
add ecx, 8
fld dword [esp + eax*4 + 0x9c]
inc eax
fsub dword [ecx]
add ecx, 4
cmp eax, 2
fstp dword [esp + eax*4 + 0x98]
jb 0x491a95
mov eax, dword [esp + 0xa0]
fld dword [0x4fc4b8]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], ecx
xor eax, eax
fld dword [esp + eax*4 + 0xd4]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x491ad2
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x491b00
fstp st(0)
mov dword [esp + 0x2c], 0
jmp 0x491b06
fsqrt
fstp dword [esp + 0x2c]
fcomp dword [esp + 0x2c]
mov ecx, dword [ebp + 0x1ac]
push 1
fnstsw ax
test ah, 5
jp 0x491bb4
mov edx, dword [edx + ebx*4 + 4]
test edx, edx
push 1
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], edx
je 0x491b34
inc dword [edx + 4]
lea edx, [esp + 0xc4]
push edx
mov ecx, ebp
call fcn.0048e770
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0xfc], 9
je 0x491b54
inc dword [eax + 4]
test esi, esi
mov edi, eax
mov dword [esp + 0x3c], edi
je 0x491b73
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x491b73
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xb4]
test eax, eax
mov byte [esp + 0xfc], 8
je 0x491b9d
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x491b9d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + ebx*4 + 4]
test eax, eax
je 0x491c4a
inc dword [eax + 4]
jmp 0x491c4a
mov edx, dword [edx + ebx*4 - 4]
test edx, edx
push 0
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], edx
je 0x491bcb
inc dword [edx + 4]
lea edx, [esp + 0xcc]
push edx
mov ecx, ebp
call fcn.0048e770
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0xfc], 0xa
je 0x491beb
inc dword [eax + 4]
test esi, esi
mov edi, eax
mov dword [esp + 0x3c], edi
je 0x491c0a
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x491c0a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xbc]
test eax, eax
mov byte [esp + 0xfc], 8
je 0x491c34
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x491c34
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + ebx*4 - 4]
test eax, eax
je 0x491c42
inc dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
fld dword [ebp + 0x1ac]
mov dword [esp + 0x34], eax
fadd dword [0x4f5880]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jp 0x491c6d
mov edx, dword [esp + 0x40]
mov byte [edx + 0x29], 1
fld dword [ebp + 0x18c]
fcomp dword [0x4f5a6c]
fnstsw ax
test ah, 0x41
jne 0x491dc8
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ebx*4 - 4]
mov esi, dword [eax + 8]
mov ecx, dword [edx + ebx*4 + 4]
add eax, 8
mov eax, dword [eax + 4]
mov dword [esp + 0xb0], eax
xor eax, eax
mov dword [esp + 0xac], esi
add ecx, 8
jmp 0x491cb0
fld dword [esp + eax*4 + 0xac]
inc eax
fsub dword [ecx]
add ecx, 4
cmp eax, 2
fstp dword [esp + eax*4 + 0xa8]
jb 0x491cb0
mov eax, dword [esp + 0xb0]
fld dword [0x4fc4b8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], ecx
xor eax, eax
lea ecx, [ecx]
fld dword [esp + eax*4 + 0xcc]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x491cf0
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x491d1c
fstp st(0)
fld dword [0x4fc4b8]
jmp 0x491d1e
fsqrt
fld dword [ebp + 0x1ac]
fadd st(0), st(0)
fld st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x491dc6
fmul dword [0x4f2588]
mov edx, dword [edx + ebx*4 + 4]
push 1
push 1
sub esp, 8
test edx, edx
fstp dword [esp + 4]
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], edx
je 0x491d59
inc dword [edx + 4]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, ebp
call fcn.0048e770
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0xfc], 0xb
je 0x491d79
inc dword [eax + 4]
mov ecx, edi
test ecx, ecx
mov edi, eax
mov dword [esp + 0x3c], edi
je 0x491d98
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
test eax, eax
mov dword [ecx + 4], edx
jne 0x491d98
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0xc0]
test eax, eax
mov byte [esp + 0xfc], 8
je 0x491dc8
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x28], eax
jne 0x491dc8
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x491dc8
fstp st(0)
add edi, 8
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], ecx
lea ecx, [edx + 8]
lea esi, [esp + 0x78]
xor eax, eax
sub ecx, esi
lea esp, [esp]
fld dword [esp + eax*4 + 0x78]
lea esi, [ecx + eax*4]
fsub dword [esp + esi + 0x78]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x74]
jb 0x491df0
fld dword [ebp + 0x1b4]
mov eax, dword [esp + 0x78]
fsub dword [edx + 0x24]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
fdivr dword [0x4f1a10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x38]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
lea eax, [ebx + 1]
jnp 0x491e4f
lea eax, [ebx - 1]
push eax
mov ecx, ebp
call fcn.0048dcc0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
mov cl, byte [eax + 0x22]
test cl, cl
mov esi, dword [esp + 0x34]
jne 0x491eaf
mov al, byte [esi + 0x23]
test al, al
jne 0x491eaf
mov edx, dword [ebp + 0x20]
mov eax, dword [esi + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], edx
lea ecx, [esi + 8]
mov dword [esp + 0x64], eax
lea edx, [esp + 0x60]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x60]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x60]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x5c]
jb 0x491e90
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x491eee
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0x20]
dec eax
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], edx
lea ecx, [esi + 8]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x58]
xor eax, eax
sub ecx, edx
fld dword [esp + eax*4 + 0x58]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x58]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x54]
jb 0x491ed1
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
fld dword [0x4fc4b8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
xor eax, eax
mov edi, edi
fld dword [esp + eax*4 + 0x1c]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x491f00
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jnp 0x491f46
fsqrt
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jnp 0x491f46
fdivr dword [0x4f1a10]
xor eax, eax
fld st(0)
inc eax
cmp eax, 2
fmul dword [esp + eax*4 + 0x18]
fstp dword [esp + eax*4 + 0x18]
jb 0x491f36
fstp st(0)
xor eax, eax
fld dword [esi + 0x1c]
lea ecx, [ecx]
fld st(0)
inc eax
cmp eax, 2
fmul dword [esp + eax*4 + 0x18]
fstp dword [esp + eax*4 + 0x18]
jb 0x491f50
fstp st(0)
xor eax, eax
fld dword [esp + eax + 0x1c]
add eax, 4
cmp eax, 8
fadd dword [esp + eax + 0x10]
fstp dword [esp + eax + 0x10]
jb 0x491f64
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
xor eax, eax
lea ebx, [ebx]
fld dword [esp + 0x48]
inc eax
cmp eax, 2
fmul dword [esp + eax*4 + 0x48]
fstp dword [esp + eax*4 + 0x48]
jb 0x491f90
mov eax, dword [esp + 0x40]
add eax, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, edi
lea ebx, [esp + 0x70]
xor eax, eax
sub ecx, ebx
fld dword [esp + eax*4 + 0x70]
lea ebx, [ecx + eax*4]
fsub dword [esp + ebx + 0x70]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x6c]
jb 0x491fc0
mov eax, dword [esp + 0x74]
fld dword [0x4fc4b8]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
xor eax, eax
fld dword [esp + eax*4 + 0xa4]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x491ff3
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x49201f
fstp st(0)
fld dword [0x4fc4b8]
jmp 0x492021
fsqrt
fld dword [0x4fc4b8]
xor eax, eax
lea esp, [esp]
fld dword [esp + eax*4 + 0x14]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x492030
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x492059
fstp st(0)
fld dword [0x4fc4b8]
jmp 0x49205b
fsqrt
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4920d2
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
xor eax, eax
fld dword [esp + 0x48]
inc eax
cmp eax, 2
fmul dword [esp + eax*4 + 0x8c]
fstp dword [esp + eax*4 + 0x8c]
jb 0x492078
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xe4], ecx
lea eax, [ebx + 8]
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe8], edx
sub ecx, eax
mov edx, 2
fld dword [ecx + eax]
add eax, 4
dec edx
fadd dword [eax - 4]
fstp dword [eax - 4]
jne 0x4920c1
jmp 0x4920d6
mov ebx, dword [esp + 0x40]
lea eax, [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov ecx, edi
lea edx, [esp + 0x80]
xor eax, eax
sub ecx, edx
lea esp, [esp]
fld dword [esp + eax*4 + 0x80]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x80]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x7c]
jb 0x492100
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov dword [esp + 0xa8], ecx
mov ecx, dword [edi + 0x1c]
mov dword [ebx + 0x1c], ecx
fld dword [ebx + 0x24]
fld dword [esp + 0x48]
fadd dword [ebx + 0x24]
fstp dword [ebx + 0x24]
fld dword [ebx + 0x24]
fcomp dword [ebp + 0x1b4]
fnstsw ax
test ah, 0x41
jne 0x492173
fld dword [ebp + 0x1b4]
fsub dword [0x4f66f4]
fstp dword [ebx + 0x24]
fld dword [ebp + 0x1b4]
fsub dword [0x4f66f4]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x492199
fld dword [ebp + 0x1b4]
fadd dword [0x4f66f4]
fstp dword [ebx + 0x24]
mov byte [ebx + 0x28], 1
fld dword [ebp + 0x1ac]
fmul dword [0x4f2588]
fcomp dword [ebp + 0x2a4]
fnstsw ax
test ah, 5
jp 0x49225e
fld dword [ebp + 0x1b4]
push 1
fadd dword [0x4f26c8]
push 1
fstp dword [ebx + 0x24]
mov edx, dword [ebp + 0x1ac]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx*4 + 4]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
mov dword [ecx], eax
je 0x4921ef
inc dword [eax + 4]
lea eax, [esp + 0xc8]
push eax
mov ecx, ebp
call fcn.0048e770
mov eax, dword [eax]
test eax, eax
mov byte [esp + 0xfc], 0xc
je 0x49220f
inc dword [eax + 4]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov esi, eax
mov dword [esp + 0x3c], esi
je 0x492230
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
test eax, eax
mov dword [ecx + 4], edx
jne 0x492230
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0xb8]
test eax, eax
mov byte [esp + 0xfc], 8
je 0x492262
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x28], eax
jne 0x492262
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x492262
mov esi, dword [esp + 0x3c]
fld dword [ebx + 0x24]
fcomp dword [ebp + 0x1b4]
fnstsw ax
test ah, 1
je 0x4922f2
fld dword [0x4fc4b8]
xor eax, eax
mov edi, edi
fld dword [esp + eax*4 + 0xa4]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x492280
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x4922ac
fstp st(0)
fld dword [0x4fc4b8]
jmp 0x4922ae
fsqrt
fld dword [0x4fc4b8]
xor eax, eax
fld dword [esp + eax*4 + 0x14]
inc eax
cmp eax, 2
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
jb 0x4922b6
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x4922df
fstp st(0)
fld dword [0x4fc4b8]
jmp 0x4922e1
fsqrt
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x49236d
mov byte [ebx + 0x21], 0
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov ecx, dword [edi + 0x18]
mov dword [ebx + 0x18], ecx
mov dl, byte [edi + 0x23]
mov byte [ebx + 0x23], dl
mov al, byte [edi + 0x22]
mov byte [ebx + 0x22], al
mov ecx, dword [ebp + 0x1b4]
push ecx
mov dword [ebx + 0x24], ecx
mov eax, esp
mov dword [eax], ebx
mov edi, dword [ebx + 4]
inc edi
mov ecx, ebp
mov dword [esp + 0x2c], esp
mov dword [ebx + 4], edi
call fcn.0048eeb0
mov edx, dword [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0048e100
mov ecx, dword [ebp + 0x31c]
test ecx, ecx
je 0x49236d
cmp eax, 1
jle 0x492363
inc dword [ecx + 0xa4]
jmp 0x49236d
mov dword [ecx + 0xa4], 0
fld dword [ebp + 0x1ac]
fmul dword [0x4f2588]
fcomp dword [ebp + 0x2a4]
fnstsw ax
test ah, 5
jp 0x49255d
mov eax, dword [esp + 0x24]
dec eax
test eax, eax
mov dword [esp + 0x38], eax
jl 0x49255d
jmp 0x4923a0
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
shl ecx, 2
mov esi, dword [eax + ecx + 4]
test esi, esi
mov dword [esp + 0x30], esi
je 0x4923b9
inc dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + ecx]
test edi, edi
mov dword [esp + 0xec], edi
je 0x4923cd
inc dword [edi + 4]
test edi, edi
push ecx
mov eax, esp
mov byte [esp + 0x100], 0xe
mov dword [esp + 0x2c], esp
mov dword [eax], edi
je 0x4923e5
inc dword [edi + 4]
test esi, esi
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x4923f5
inc dword [esi + 4]
mov ecx, ebp
call fcn.0048e9b0
fcomp dword [ebp + 0x1ac]
fnstsw ax
test ah, 5
jp 0x492511
push 0x5c
call fcn.004ad909
add esp, 4
test eax, eax
je 0x492441
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], 0x4f7340
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov ebx, eax
jmp 0x492443
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x49244e
inc dword [ebx + 4]
test esi, esi
mov eax, dword [ebp + 0x1ac]
push 1
push 1
push eax
push ecx
mov eax, esp
mov byte [esp + 0x10c], 0xf
mov dword [esp + 0xa8], esp
mov dword [eax], esi
je 0x492474
inc dword [esi + 4]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.0048e770
mov esi, dword [eax]
test esi, esi
mov byte [esp + 0xfc], 0x10
je 0x492491
inc dword [esi + 4]
test ebx, ebx
mov dword [esp + 0x28], esi
je 0x4924ae
mov ecx, dword [ebx + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebx + 4], ecx
jne 0x4924ae
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [esp + 0xfc], 0xf
je 0x4924da
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x98], eax
jne 0x4924da
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov byte [esp + 0xfc], 0xe
mov dword [esi + 4], ecx
jne 0x492509
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
test edi, edi
mov byte [esp + 0xfc], 0xd
je 0x492532
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi + 4], ecx
jne 0x492532
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
test esi, esi
mov byte [esp + 0xfc], 8
je 0x492553
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x492553
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
dec dword [esp + 0x38]
jns 0x4923a0
fld dword [ebx + 0x24]
fcomp dword [0x4f68d4]
fnstsw ax
test ah, 5
jp 0x492629
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 0x20]
inc eax
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], ecx
lea ecx, [edx + 8]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x68]
xor eax, eax
sub ecx, edx
jmp 0x4925a0
fld dword [esp + eax*4 + 0x68]
lea edx, [ecx + eax*4]
fsub dword [esp + edx + 0x68]
inc eax
cmp eax, 2
fstp dword [esp + eax*4 + 0x64]
jb 0x4925a0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 0xdc], eax
call fcn.00465170
fsub dword [0x4f730c]
fcom dword [0x4fc4b8]
fst dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x4925fc
fld dword [0x4f730c]
fadd st(0), st(0)
faddp st(1)
fst dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fstp dword [ebx + 0x4c]
mov eax, dword [ebx + 0x10]
push edx
push eax
mov eax, dword [ebx + 0x2c]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0xa4], esp
mov dword [ecx], eax
je 0x49261e
inc dword [eax + 4]
mov ecx, ebp
call fcn.0048f740
mov byte [ebx + 0x50], 0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
dec edx
mov ecx, edx
test ecx, ecx
mov byte [esp + 0xfc], 7
mov dword [eax + 4], edx
jne 0x49264a
mov ecx, eax
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0xfc], 0
je 0x492667
dec dword [eax + 4]
jne 0x492667
mov ecx, eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov edx, eax
jmp 0x491930
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov dword [esp + 0xfc], 0xffffffff
je 0x492695
dec dword [ecx + 4]
jne 0x492695
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0xf4]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret