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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x621fce
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov edi, dword [esi + 0xa8]
cmp edi, ebx
je 0x4903c9
fld dword [edi + 0x28]
fcomp dword [0x634594]
fnstsw ax
test ah, 0x41
jne 0x48f1fa
mov eax, dword [0x6833d0]
mov ecx, dword [eax + 0x424]
call fcn.00604eb0
fsubr dword [edi + 0x28]
mov ecx, dword [esi + 0xa8]
fstp dword [ecx + 0x28]
mov ecx, dword [esi + 0xa8]
fld dword [ecx + 0x28]
fcomp dword [0x634594]
fnstsw ax
test ah, 0x41
je 0x4903c2
mov dword [ecx + 0x28], ebx
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x4c], eax
jg 0x4903c9
mov eax, dword [esi + 0xa8]
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x48f245
mov ecx, dword [0x6833d0]
mov edx, dword [eax + 0x14]
push edx
mov ecx, dword [ecx + 0x424]
call fcn.00604800
mov ebx, eax
test ebx, ebx
je 0x4903c9
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x10], ebx
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x60], 0x7f7fffff
mov dword [esp + 0x24], 0
mov eax, dword [ecx + 0x24]
cmp eax, 0xffffffff
jle 0x48f294
mov edx, dword [0x6833d0]
push eax
mov ecx, dword [edx + 0x424]
call fcn.00603f70
test eax, eax
mov dword [esp + 0x24], eax
je 0x48f294
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
mov ecx, eax
call fcn.00539330
fstp dword [esp + 0x60]
mov ecx, dword [esi + 0xa8]
mov edi, dword [0x63b890]
mov eax, dword [ecx + 0x30]
mov edx, eax
and edx, edi
xor edi, edi
cmp edi, edx
sbb edx, edx
neg edx
mov dword [esp + 0x1c], edx
mov edx, dword [0x63b888]
test edx, eax
jbe 0x48f4c4
test dword [0x63b88c], eax
jbe 0x48f310
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0x18]
cmp edx, eax
jge 0x48f301
mov edi, dword [esi]
mov eax, edx
lea ecx, [esp + 0x1cc]
push eax
push ecx
mov ecx, ebx
call fcn.004ad5e0
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], eax
call dword [edi + 8]
mov ecx, dword [esi + 0xa8]
push 0
push 1
call fcn.004ad290
mov ecx, dword [esi + 0xa8]
push 0
push 0
call fcn.004ad290
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x18]
inc ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [0x63b888]
test dword [ebx + 0x20], ecx
ja 0x48f49a
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0xb8]
lea ebp, [esi + 4]
mov eax, dword [edx + 0x18]
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.004ad5e0
lea edx, [esp + 0xdc]
push eax
push edx
mov ecx, ebp
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
fld dword [esp + 0x50]
mov edx, dword [eax + 4]
fmul dword [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], edx
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
test eax, eax
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
je 0x48f3f0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp]
mov edi, dword [esi + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
call fcn.00539330
fsub dword [edi + 0x20]
mov ecx, dword [0x63b890]
mov eax, dword [edi + 0x30]
test ecx, eax
fsub dword [0x6345ac]
fstp dword [esp + 0x14]
jbe 0x48f407
push 0
push 2
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.004ad290
jmp 0x48f407
mov edx, dword [esi + 0xa8]
fld dword [esp + 0x10]
fsub dword [edx + 0x20]
fsub dword [0x6345ac]
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0x18]
cmp edx, eax
jl 0x48f48a
fld dword [esp + 0x14]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x48f434
mov dword [ecx + 0x1c], 4
jmp 0x48f4c4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x48f45d
fld dword [esp + 0x14]
fcomp dword [0x6345a8]
fnstsw ax
test ah, 1
je 0x48f45d
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x48f45d
mov dword [ecx + 0x1c], 4
jmp 0x48f4c4
fld dword [esp + 0x10]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x48f477
mov dword [ecx + 0x1c], 4
jmp 0x48f4c4
dec edx
mov dword [ecx + 0x18], edx
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x1c], 2
jmp 0x48f4c4
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x48f4c4
mov dword [ecx + 0x1c], 2
jmp 0x48f4c4
mov ecx, dword [esi + 0xa8]
push 1
mov edx, dword [ecx + 0x18]
mov ecx, ebx
dec edx
push edx
call fcn.004ad840
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 0x18], eax
mov edx, dword [esi + 0xa8]
mov dword [edx + 0x1c], 2
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x1c]
cmp ecx, 4
je 0x48f4db
cmp ecx, 5
jne 0x48f5c6
mov eax, dword [ebx + 0xc]
mov edi, dword [esi]
dec eax
mov ecx, ebx
push eax
lea eax, [esp + 0x170]
push eax
call fcn.004ad5e0
push eax
mov ecx, esi
call dword [edi + 0x8c]
mov ecx, dword [esi + 0xa8]
mov edi, dword [ecx + 4]
test edi, edi
je 0x490484
mov eax, ecx
mov ecx, dword [eax + 8]
cmp ecx, 1
je 0x4902d9
cmp dword [esp + 0x1c], 1
je 0x4902d9
mov ebp, 2
cmp ecx, ebp
jne 0x48f592
mov dword [eax + 4], 0
mov ebx, dword [esi + 0xa8]
test ebx, ebx
je 0x48f54e
mov ecx, ebx
call fcn.004ad080
push ebx
call fcn.00613172
add esp, 4
mov dword [esi + 0xa8], edi
mov dword [edi + 0x1c], ebp
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x48f1fe
mov edx, dword [0x63b888]
mov edi, dword [ecx + 0x20]
test edx, edi
jbe 0x48f1fe
mov eax, dword [eax + 0x18]
push 1
push eax
call fcn.004ad840
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 0x18], eax
jmp 0x48f1fe
cmp ecx, 3
jne 0x48f5cb
mov dword [eax + 4], 0
mov ebx, dword [esi + 0xa8]
test ebx, ebx
je 0x48f5b8
mov ecx, ebx
call fcn.004ad080
push ebx
call fcn.00613172
add esp, 4
mov dword [esi + 0xa8], edi
mov dword [edi + 0x1c], ebp
jmp 0x48f1fe
mov ebp, 2
cmp dword [eax + 0x1c], ebp
jne 0x48ff2b
mov edx, dword [esi + 0xb8]
mov eax, dword [esp + 0x20c]
cmp eax, 1
mov edi, dword [edx + 0xc]
mov dword [esp + 0x30], edi
jne 0x48f603
mov eax, dword [esi + 0xb4]
mov ecx, edi
push eax
call fcn.004b1b10
test eax, eax
je 0x490310
mov ecx, edi
call fcn.004b1b50
mov ecx, dword [esi + 0xa8]
xor ebp, ebp
mov dword [esi + 0xb4], ebp
call fcn.004ad110
cmp eax, ebp
jne 0x48f644
mov ecx, dword [0x6833d0]
mov edi, dword [ecx + 0x424]
mov ecx, dword [esi + 0xa8]
call fcn.004ad0f0
push eax
mov ecx, edi
call fcn.00604800
cmp eax, ebp
je 0x48f651
mov edx, dword [0x63b888]
mov ecx, dword [eax + 0x20]
test edx, ecx
ja 0x48f666
mov ecx, dword [esi + 0xa8]
push 1
call fcn.004ad190
test eax, eax
jle 0x49032b
push 0x34
call fcn.0061317d
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov dword [esp + 0x204], ebp
je 0x48f688
mov ecx, eax
call fcn.004ad030
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x204], 0xffffffff
je 0x4903ac
mov eax, dword [0x6833d0]
mov ecx, dword [eax + 0x424]
call fcn.00604830
mov edi, eax
test edi, edi
je 0x49034f
mov edx, dword [esi + 0xa8]
xor eax, eax
lea ebp, [esi + 4]
lea ecx, [esp + 0xf4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x18]
push ebp
push ecx
lea ecx, [esp + 0x1bc]
push eax
push ecx
mov ecx, ebx
call fcn.004ad5e0
mov ecx, eax
call fcn.005e8590
mov edx, dword [eax]
mov dword [esp + 0x34], edx
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 8]
mov eax, dword [esi + 0xa8]
fstp dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0xc]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
cmp ecx, 2
fadd dword [esp + 0x1c]
fsqrt
fstp dword [esp + 0x2c]
jne 0x48f946
cmp dword [0x66a58c], 1
jne 0x48f946
fld dword [esp + 0x2c]
fcomp dword [0x670604]
fnstsw ax
test ah, 0x41
jne 0x48f946
mov ecx, dword [0x6833d0]
mov edx, dword [esi + 0xb8]
mov eax, dword [ecx + 0x424]
mov ecx, dword [edx + 8]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.0048dbc0
test eax, eax
mov dword [esp + 0x10], eax
je 0x48f8e5
mov edx, dword [esi + 0xa8]
mov dword [esp + 0x64], 0
mov eax, dword [edx + 0x24]
cmp eax, 0xffffffff
je 0x48f7b5
mov ecx, dword [0x6833d0]
push eax
mov ecx, dword [ecx + 0x424]
call fcn.00603f70
test eax, eax
je 0x48f7b5
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xa8]
fld dword [esp + 0x64]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0
push 0
fadd dword [eax + 0x34]
push edx
mov edx, dword [ecx + 0x20]
push edx
push ecx
mov ecx, dword [ecx + 0x18]
lea edx, [esp + 0x120]
fstp dword [esp]
push ecx
push edx
mov ecx, ebx
call fcn.004ad5e0
mov ecx, dword [esi + 0xa8]
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x19c]
mov edx, dword [ecx + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.004ad5e0
mov ecx, dword [eax]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push edi
call fcn.0048a6b0
and eax, 0xff
cmp eax, 3
je 0x48f91b
cmp eax, 4
je 0x48f91b
test eax, eax
je 0x48f91b
mov ecx, dword [esi + 0xb8]
mov eax, 1
push edi
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
call fcn.00492670
mov eax, dword [edi + 0xc]
add esp, 8
dec eax
lea edx, [esp + 0x124]
push eax
push edx
mov ecx, edi
call fcn.004ad5e0
mov ecx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x1e8]
mov edx, dword [ecx + 0x18]
push eax
lea eax, [esp + 0x144]
push edx
push eax
mov ecx, ebx
call fcn.004ad5e0
mov ecx, eax
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], eax
fld dword [esp + 0x8c]
fld st(0)
fmulp st(1)
fld dword [esp + 0x84]
fmul dword [esp + 0x84]
faddp st(1)
fsqrt
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x48f91b
xor eax, eax
mov dword [edi + 0xc], eax
jmp 0x48f917
push ebp
mov ecx, edi
call fcn.004ad650
mov ecx, dword [esi + 0xa8]
lea eax, [esp + 0x19c]
mov edx, dword [ecx + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.004ad5e0
push eax
mov ecx, edi
call fcn.004ad6f0
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov ecx, edi
call fcn.004ad7c0
mov ecx, dword [0x6833d0]
mov edx, dword [ecx + 0x424]
mov eax, dword [edx + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48f946
cmp dword [edi + 0xc], 2
jg 0x48fad4
cmp dword [0x66a588], 1
jne 0x48fad4
fld dword [esp + 0x2c]
fcomp dword [0x6364d0]
fnstsw ax
test ah, 0x41
je 0x48fad4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xb8]
mov edx, dword [0x6833d0]
mov ecx, dword [eax + 4]
mov dword [esp + 0xa4], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [edx + 0x424]
push eax
call fcn.00604cb0
test eax, eax
je 0x48fa20
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd8]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0xb8]
mov ecx, dword [0x6833d0]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x424]
mov dword [esp + 0x10], eax
mov edx, dword [edx + 0x9c]
mov eax, dword [esi + 0xa8]
mov ecx, dword [ecx + 0x60]
push edx
mov edx, dword [esp + 0x14]
push 0
movsx edx, word [edx + 0x6e]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x34]
push edi
push 0
push 0
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ecx + 0x34]
lea ecx, [esp + 0x17c]
push edx
push eax
push ecx
jmp 0x48fa86
mov edx, dword [0x6833d0]
mov eax, dword [esi + 0xb8]
mov ecx, dword [edx + 0x424]
mov edx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x60]
mov eax, dword [esi + 0xa8]
mov edx, dword [edx + 0x9c]
push edx
mov edx, dword [esp + 0x14]
push 0
movsx edx, word [edx + 0x6e]
mov edx, dword [ecx + edx*4]
lea ecx, [esp + 0xac]
push edx
mov edx, dword [eax + 0x24]
push edi
push 0
push 0
push 1
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx + 0x34]
mov edx, dword [eax + 0x18]
push ecx
lea eax, [esp + 0xf0]
push edx
push eax
mov ecx, ebx
call fcn.004ad5e0
push eax
push ebp
call fcn.004ade20
add esp, 0x34
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.004ad7c0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x8c]
mov eax, dword [edx + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp eax, 3
je 0x48fad4
cmp eax, 4
je 0x48fad4
fld dword [edi + 0x18]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 0x41
je 0x48fbf4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x48fbfc
fld dword [esp + 0x2c]
fcomp dword [0x6345a8]
fnstsw ax
test ah, 1
jne 0x48fb06
fld dword [esp + 0x60]
fcomp dword [0x6345a8]
fnstsw ax
test ah, 1
je 0x48fc16
mov eax, dword [esi + 0xb8]
mov edx, dword [0x6833d0]
mov ecx, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [edx + 0x424]
push eax
call fcn.00604cb0
test eax, eax
je 0x48fb68
mov ecx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd8]
push 0x3f800000
push 1
push ecx
push eax
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0xe0]
mov ecx, dword [eax + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.004ad5e0
push eax
mov eax, dword [esi + 0xb8]
push ebp
push eax
jmp 0x48fb9b
mov edx, dword [esi + 0xa8]
push 0x3f800000
push 1
lea ecx, [esp + 0xa4]
mov eax, dword [edx + 0x18]
push 1
push ecx
lea ecx, [esp + 0xf8]
push eax
push ecx
mov ecx, ebx
call fcn.004ad5e0
mov edx, dword [esi + 0xb8]
push eax
push ebp
push edx
call fcn.004923d0
mov eax, dword [0x68d298]
add esp, 0x1c
test eax, eax
jne 0x48fc16
push ebp
mov ecx, edi
mov dword [edi + 0xc], 0
call fcn.004ad650
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x100]
mov ecx, dword [eax + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.004ad5e0
push eax
mov ecx, edi
call fcn.004ad6f0
mov eax, dword [0x6833d0]
mov ecx, dword [eax + 0x424]
mov edx, dword [ecx + 0x10]
mov ecx, edi
mov dword [edi + 0x1c], edx
call fcn.004ad7c0
mov dword [esp + 0x14], 1
cmp dword [edi + 0xc], 2
jl 0x48fc16
fld dword [edi + 0x18]
fcomp dword [0x634968]
fnstsw ax
test ah, 1
je 0x48fd6e
cmp dword [0x66a590], 1
jne 0x48fd6e
mov dword [edi + 0xc], 0
mov eax, dword [esi + 0xa8]
push 0
push edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [esi + 0xb8]
push edx
mov edx, dword [eax + 0x18]
push ecx
lea eax, [esp + 0x138]
push edx
push eax
mov ecx, ebx
call fcn.004ad5e0
fld dword [eax + 8]
call fcn.0061318c
mov ecx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x154]
mov edx, dword [ecx + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.004ad5e0
fld dword [eax]
call fcn.0061318c
fld dword [esi + 0xc]
push eax
call fcn.0061318c
fld dword [ebp]
push eax
call fcn.0061318c
push eax
mov ecx, 0x68e8e8
call fcn.004aea30
mov ecx, dword [esp + 0x30]
and eax, 0xff
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 0x8c]
mov ecx, edi
mov eax, dword [edx + 0x10]
mov dword [edi + 0x1c], eax
call fcn.004ad7c0
fld dword [edi + 0x18]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x48fcde
mov dword [esp + 0x14], 0
jmp 0x48fd6e
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x148]
dec eax
push eax
push ecx
mov ecx, edi
call fcn.004ad5e0
push eax
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x164]
mov ecx, dword [eax + 0x18]
push edx
lea edx, [esp + 0x180]
push ecx
push edx
mov ecx, ebx
call fcn.004ad5e0
mov ecx, eax
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], eax
fld dword [esp + 0x7c]
fld st(0)
fmulp st(1)
fld dword [esp + 0x74]
fmul dword [esp + 0x74]
faddp st(1)
fsqrt
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
fadd dword [esp + 0x1c]
fsqrt
fxch st(1)
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x48fd6e
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0xc]
mov ebp, 1
cmp eax, ebp
jg 0x48fe3b
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.004ad080
push ebp
call fcn.00613172
mov edx, dword [0x6833d0]
add esp, 4
mov ecx, dword [edx + 0x424]
push edi
call fcn.00604950
cmp dword [esp + 0x14], 1
jne 0x48fdcf
mov eax, dword [0x63b888]
mov ecx, dword [ebx + 0x20]
test eax, ecx
jbe 0x490387
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004ad290
jmp 0x48f1fe
mov ecx, dword [esi + 0xa8]
mov edx, dword [ebx + 0xc]
dec edx
cmp dword [ecx + 0x18], edx
jge 0x48fdec
push 1
push 0
call fcn.004ad290
jmp 0x48f1fe
push 0
call fcn.004ad190
test eax, eax
jg 0x490379
mov eax, dword [0x63b888]
mov ecx, dword [ebx + 0x20]
test eax, ecx
mov ecx, dword [esi + 0xa8]
ja 0x49039e
cmp dword [ecx + 0xc], 2
jge 0x4903ac
call fcn.004ad150
cmp eax, 1
jne 0x4903ac
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 0x1c], 5
jmp 0x48f1fe
mov edx, dword [esi + 0xa8]
mov dword [edx + 0x1c], 0
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x2c], 0xa
mov eax, dword [esi + 0xa8]
cmp dword [eax + 0xc], 2
jne 0x48fed8
cmp dword [esp + 0x20], ebp
jne 0x48fed8
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x18]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.004ad1c0
cmp dword [esp + 0x14], ebp
jne 0x48fe8b
mov eax, dword [esi + 0xa8]
push ebp
push eax
jmp 0x48fe94
mov ecx, dword [esi + 0xa8]
push 2
push ecx
mov ecx, ebx
call fcn.004ad250
mov dword [ebx + 0xc], ebp
mov edx, dword [esi + 0xa8]
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x24]
mov dword [ebx + 0x24], edx
mov dword [esi + 0xa8], ebx
mov eax, dword [0x66a588]
mov ebx, edi
cmp eax, ebp
je 0x48f1fe
cmp dword [0x66a590], ebp
jne 0x48ff2b
jmp 0x48f1fe
mov ebx, dword [esp + 0x18]
push edi
mov ecx, ebx
call fcn.004ad210
cmp dword [esp + 0x14], ebp
jne 0x48fef4
mov eax, dword [esi + 0xa8]
push ebp
push eax
jmp 0x48fefd
mov ecx, dword [esi + 0xa8]
push 2
push ecx
mov ecx, ebx
call fcn.004ad250
mov dword [ebx + 0xc], 0
mov edx, dword [esi + 0xa8]
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 0x24]
mov dword [ebx + 0x24], edx
mov dword [esi + 0xa8], ebx
mov ebx, edi
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x190]
lea edi, [esi + 4]
mov ecx, dword [eax + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.004ad5e0
push eax
lea eax, [esp + 0x1ac]
push eax
mov ecx, edi
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
fld dword [esp + 0x70]
fld st(0)
fmulp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
faddp st(1)
fsqrt
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x48ffaf
mov ecx, dword [esi + 0xa8]
push 1
push 1
call fcn.004ad290
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004ad290
jmp 0x48f1fe
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x1c4]
mov eax, dword [edx + 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.004ad5e0
push eax
push edi
mov ecx, esi
call fcn.004905d0
mov edx, dword [0x6833d0]
mov ecx, dword [edx + 0x424]
call fcn.00604eb0
push ecx
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x1dc]
fstp dword [esp]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00490560
mov edx, dword [eax]
mov dword [esp + 0x90], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x90]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x210]
mov dword [esp + 0x98], edx
mov edx, dword [esi + 0xa8]
push eax
push ecx
mov eax, dword [edx + 0x18]
push edi
lea ecx, [esp + 0x1fc]
push eax
push ecx
mov ecx, ebx
call fcn.004ad5e0
push eax
mov ecx, esi
call fcn.004906d0
cmp eax, 2
je 0x48ff8c
cmp eax, 1
jne 0x49007f
mov ecx, dword [esi + 0xa8]
push eax
push eax
call fcn.004ad290
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004ad290
call fcn.004925f0
mov edx, dword [esi + 0xb8]
push edx
call fcn.00492600
mov eax, dword [esi + 0xb8]
mov ecx, dword [0x6833d0]
add esp, 4
mov eax, dword [eax + 0x78]
mov ecx, dword [ecx + 0x424]
push eax
call fcn.00604cb0
mov edi, eax
test edi, edi
je 0x490101
mov ecx, dword [edi + 0xd0]
mov eax, dword [edi + 0xd8]
xor ebp, ebp
test ecx, ecx
jle 0x490101
mov dword [esp + 0x10], eax
mov edx, dword [0x6833d0]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x424]
mov edx, dword [eax]
push edx
call fcn.00603f70
push eax
call fcn.00492600
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xd0]
add esp, 4
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x10], ecx
jl 0x4900ca
mov eax, dword [0x68d2a0]
mov edx, dword [esi + 0xb8]
xor ebp, ebp
push 0x3f800000
push ebp
push eax
lea ecx, [esp + 0x9c]
push 0x68cbb8
lea eax, [esi + 4]
push ecx
push eax
push edx
call fcn.004923d0
mov eax, dword [0x68d298]
add esp, 0x1c
cmp eax, ebp
jle 0x490276
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0x68cdc4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4901d6
mov edx, dword [0x6833d0]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [edx + 0x424]
call fcn.00603f70
mov edi, eax
test edi, edi
je 0x4901d6
mov ecx, dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.004ad940
cmp eax, 1
je 0x4901d6
mov ecx, dword [esi + 0xa8]
call fcn.004ad110
test eax, eax
je 0x4901a7
mov edx, dword [edi + 4]
mov ecx, eax
push edx
call fcn.004ad940
cmp eax, 1
je 0x4901d6
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x24]
test eax, eax
jl 0x4901c1
cmp dword [edi + 4], eax
jne 0x4901c1
mov dword [esp + 0x20], 1
mov edx, dword [edi]
mov ebp, dword [ebx + 0x1c]
mov ecx, edi
call dword [edx + 0x298]
cmp ebp, eax
jae 0x4901d6
inc dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov eax, dword [0x68d298]
inc ecx
add edi, 4
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
jl 0x490150
cmp eax, 1
jne 0x490226
cmp dword [esp + 0x20], 1
jne 0x490226
mov ecx, dword [esi + 0xa8]
push 1
push 0
call fcn.004ad290
mov ecx, dword [esi + 0xa8]
push 1
push 2
call fcn.004ad290
jmp 0x48f1fe
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, ebp
jle 0x490276
mov eax, dword [esi + 0xa8]
mov edi, dword [eax + 4]
cmp edi, ebp
je 0x490484
mov dword [edi + 0x1c], 2
mov ecx, dword [esi + 0xa8]
mov dword [ecx + 4], ebp
mov ebx, dword [esi + 0xa8]
cmp ebx, ebp
je 0x49026b
mov ecx, ebx
call fcn.004ad080
push ebx
call fcn.00613172
add esp, 4
mov dword [esi + 0xa8], edi
jmp 0x48f1fe
cmp dword [esp + 0x24], ebp
je 0x4903d0
mov edx, dword [0x6833d0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [edx + 0x424]
mov edx, dword [eax + 0x24]
push edx
call fcn.00603f70
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0xa8]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
mov ecx, eax
call fcn.00539330
fsub dword [edi + 0x20]
fabs
fcomp qword [0x6345a0]
fnstsw ax
test ah, 1
je 0x49049b
push 1
push ebp
mov ecx, edi
call fcn.004ad290
jmp 0x48f1fe
mov dword [eax + 4], 0
mov ebx, dword [esi + 0xa8]
test ebx, ebx
je 0x4902fa
mov ecx, ebx
call fcn.004ad080
push ebx
call fcn.00613172
add esp, 4
push 1
push 0
mov ecx, edi
mov dword [esi + 0xa8], edi
call fcn.004ad290
jmp 0x48f1fe
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
mov eax, dword [esi + 0xb4]
inc eax
mov dword [esi + 0xb4], eax
xor eax, eax
jmp 0x490536
mov ecx, dword [esi + 0xa8]
call fcn.004ad270
mov ecx, dword [esi + 0xa8]
call fcn.004ad090
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
xor eax, eax
jmp 0x490536
test ebp, ebp
je 0x490363
mov ecx, ebp
call fcn.004ad080
push ebp
call fcn.00613172
add esp, 4
mov ecx, dword [esi + 0xa8]
call fcn.004ad270
mov ecx, dword [esi + 0xa8]
call fcn.004ad090
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
xor eax, eax
jmp 0x490536
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
mov ecx, dword [esi + 0xa8]
call fcn.004ad090
jmp 0x490531
mov dword [ecx + 0x28], 0x3f000000
xor eax, eax
jmp 0x490536
mov ecx, dword [esi + 0xa8]
call fcn.004ad270
mov ecx, dword [esi + 0xa8]
call fcn.004ad090
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
xor eax, eax
jmp 0x490536
mov ecx, dword [0x63b888]
mov eax, dword [ebx + 0x20]
test ecx, eax
ja 0x49049b
mov ecx, dword [esi + 0xa8]
fld dword [ecx + 0x20]
fcomp dword [0x6345ac]
fnstsw ax
test ah, 0x41
jne 0x49049b
call fcn.004ad110
cmp eax, ebp
je 0x49049b
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x68]
dec ecx
push ecx
push edx
mov ecx, eax
call fcn.004ad5e0
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 4]
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xa8]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
fld dword [esp + 0x38]
mov dword [esp + 0x3c], eax
fld dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fsub dword [ecx + 0x20]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x49049b
call fcn.004ad090
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
jmp 0x490531
mov ecx, dword [esi + 0xa8]
call fcn.004ad090
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
jmp 0x490531
lea ecx, [esi + 0x10]
push 1
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov edx, dword [0x6833d0]
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x4c], ecx
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fsqrt
fld dword [esp + 0x44]
fdiv st(1)
fstp dword [esp + 0x44]
fld dword [0x634594]
fdiv st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fdiv st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [edx + 0x424]
fstp st(0)
call fcn.00604eb0
push ecx
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x48]
fstp dword [esp]
push eax
push ecx
mov ecx, esi
call fcn.00490640
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
call fcn.00490910
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov eax, 1
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1f8
ret 8