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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51879e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
fld qword [ebp + 0xc]
fmul qword [0x524228]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [0x5920e0], 1
fstp qword [edi + 0x168]
mov dword [edi + 0x160], ebx
lea ecx, [esp + 0x14]
mov dword [edi + 0x150], ebx
mov dword [edi + 0x164], ebx
mov dword [edi + 0x170], ebx
mov dword [edi + 0x174], ebx
call fcn.0050b234
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x300], ebx
cmp eax, ebx
je 0x49d55e
push eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00412d00
add esp, 0xc
test al, al
je 0x49d821
mov esi, 0x522d18
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], ebx
mov eax, 0x529510
mov dword [esp + 0x154], ebx
mov dword [esp + 0x150], eax
mov dword [esp + 0x160], ebx
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x130], esi
mov dword [esp + 0x134], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x11c], 0x5294c8
mov dword [esp + 0x120], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ebx
lea ecx, [esp + 0x2d8]
mov byte [esp + 0x300], 6
call fcn.0047dc50
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
push ecx
lea eax, [esp + 0x10c]
push edx
lea ecx, [esp + 0x138]
push eax
lea edx, [esp + 0x128]
push ecx
push edx
mov ecx, 0x591df8
mov byte [esp + 0x314], 7
call fcn.004bf850
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x110]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x138]
add edx, ecx
jne 0x49d850
lea ecx, [esp + 0x2d8]
mov byte [esp + 0x300], 6
call fcn.00507a00
mov dword [esp + 0x11c], 0x5294c8
mov eax, dword [esp + 0x120]
mov byte [esp + 0x300], 8
cmp eax, ebx
je 0x49d6df
push eax
call fcn.0050b204
add esp, 4
mov edi, 0x520384
mov dword [esp + 0x130], esi
mov dword [esp + 0x11c], edi
mov eax, dword [esp + 0x134]
mov byte [esp + 0x300], 9
cmp eax, ebx
je 0x49d70e
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x130], edi
mov dword [esp + 0x108], esi
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x300], 0xa
cmp eax, ebx
je 0x49d738
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x108], edi
mov dword [esp + 0xc8], 0x529510
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x300], 0xb
cmp eax, ebx
je 0x49d794
mov ecx, dword [esp + 0xd0]
mov esi, eax
cmp ecx, ebx
je 0x49d786
lea edi, [ecx]
push ebx
mov ecx, esi
call fcn.00490d00
add esi, 0x58
dec edi
jne 0x49d76c
mov eax, dword [esp + 0xcc]
mov edi, 0x520384
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x522d18
mov dword [esp + 0xc8], edi
mov dword [esp + 0x150], 0x529510
mov eax, dword [esp + 0x154]
mov byte [esp + 0x300], 0xc
cmp eax, ebx
je 0x49d7f0
mov ecx, dword [esp + 0x158]
mov esi, eax
cmp ecx, ebx
je 0x49d7e2
lea edi, [ecx]
push ebx
mov ecx, esi
call fcn.00490d00
add esi, 0x58
dec edi
jne 0x49d7c8
mov eax, dword [esp + 0x154]
mov edi, 0x520384
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x522d18
mov dword [esp + 0x150], edi
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x90]
mov byte [esp + 0x300], 0xd
cmp eax, ebx
je 0x49d81a
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x8c], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x300], 0xffffffff
call fcn.0050b22e
fld qword [0x520dc0]
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
mov dword [esp + 0xc], ebx
jle 0x49d8c5
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x98]
add esi, 0x10
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], eax
mov edx, dword [esi + 8]
add edx, eax
push edx
call fcn.004de680
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea ecx, [ecx + edx*4]
mov edx, eax
dec eax
test edx, edx
je 0x49d8b1
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49d8a4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x124]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x49d858
lea eax, [esp + 0x108]
push 1
push eax
call fcn.0048edc0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x140]
add esp, 8
mov esi, eax
add eax, ecx
lea ecx, [esp + 0x8c]
push 0xffffffffffffffff
push eax
fstp st(0)
call fcn.004de680
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x134]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x138]
cmp edx, ebx
je 0x49d923
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49d916
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x110]
mov esi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x94]
call fcn.004de680
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x10c]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x110]
cmp edx, ebx
je 0x49d96d
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49d960
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x3fe00000
push ebx
push eax
lea edx, [esp + 0x98]
push ecx
push edx
push esi
call fcn.0049cab0
fld qword [esi + 0x188]
fxch st(1)
fdiv st(1)
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x104], eax
lea edx, [esp + 0x168]
lea eax, [esp + 0xa4]
push edx
push eax
mov dword [esp + 0x110], ecx
fmul qword [edi + 0x30]
fsubr qword [ebp + 0xc]
fstp qword [esp + 0x1ac]
fstp st(0)
call fcn.0048f080
add esp, 0x20
mov dword [esp + 0xf4], 0x5294fc
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], ebx
mov eax, 0x5294e8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x138]
add ecx, edx
add ecx, eax
mov byte [esp + 0x300], 0x10
mov dword [esp + 0x44], ecx
jne 0x49da5c
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], ebx
jmp 0x49daa6
mov eax, dword [esp + 0x44]
lea edx, [eax + eax*2]
shl edx, 3
sub edx, eax
shl edx, 3
push edx
call fcn.0050b264
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0xf8], eax
push ecx
push eax
call fcn.004a28c0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x138]
cmp eax, ebx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc], ebx
jle 0x49dbd8
mov ecx, dword [esp + 0xf8]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
lea edx, [ecx + eax*8]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x134]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0xb4], eax
mov eax, dword [edx + ebx*4]
lea ebx, [edx + ebx*4]
mov dword [esp + 0xb8], ecx
mov ecx, eax
mov edx, dword [eax]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], edx
call fcn.0048e7d0
fld qword [esp + 0xb4]
fsub qword [eax + 0x18]
mov eax, ebx
sub esp, 8
mov ecx, dword [eax]
fstp qword [esp]
call fcn.0048e7d0
fld qword [eax + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
sub esp, 8
fchs
fstp qword [esp]
call dword [edx + 0xc]
mov eax, dword [esp + 0x134]
mov ebx, dword [esp + 0xc]
mov ecx, dword [eax + ebx*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004d0e30
mov edx, dword [esi + 0x188]
mov ecx, dword [edi + 0x24]
mov eax, dword [esi + 0x18c]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0x20]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x78], eax
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.004d21a0
mov eax, dword [esp + 0x10]
inc ebx
fld qword [esp + 0xbc]
fadd qword [eax + 0x40]
add eax, 0xb8
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x138]
cmp ebx, eax
fstp qword [esp + 0xbc]
jl 0x49dade
mov edx, dword [esp + 0x124]
xor ebx, ebx
mov ecx, dword [esp + 0x110]
add eax, edx
cmp ecx, ebx
mov dword [esp + 0xc], ebx
jle 0x49dcde
mov edx, dword [esp + 0xf8]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10c]
mov eax, dword [ecx + ebx*4]
lea ebx, [ecx + ebx*4]
mov ecx, eax
mov dword [esp + 0x40], ebx
mov edx, dword [eax]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], edx
call fcn.0048e7d0
fld qword [eax + 8]
mov edx, ebx
sub esp, 8
fchs
mov ecx, dword [edx]
fstp qword [esp]
call fcn.0048e7d0
fld qword [eax + 0x10]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
sub esp, 8
fchs
fstp qword [esp]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10c]
mov ebx, dword [esp + 0xc]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x10]
push edx
call fcn.004d0e30
mov eax, dword [esi + 0x188]
mov edx, dword [edi + 0x24]
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x20]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x78], ecx
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004d21a0
mov eax, dword [esp + 0x10]
inc ebx
fld qword [esp + 0xbc]
fadd qword [eax + 0x40]
add eax, 0xb8
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x110]
cmp ebx, eax
fstp qword [esp + 0xbc]
jl 0x49dc03
mov edx, dword [esp + 0x124]
xor ebx, ebx
cmp edx, ebx
mov dword [esp + 0xc], ebx
jle 0x49ddac
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0xc]
sub esp, 8
mov eax, dword [eax + ecx*4]
sub esp, 8
fld qword [eax + 0x40]
fchs
fstp qword [esp + 8]
fld qword [ebp + 0xc]
fsub qword [eax + 0x38]
add eax, 0x10
fstp qword [esp]
push eax
call fcn.004f3ed0
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x20]
add esp, 0x14
mov ecx, dword [edx + eax*4]
add ecx, 0x10
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004d0f40
mov edx, dword [esi + 0x188]
mov ecx, dword [edi + 0x24]
mov eax, dword [esi + 0x18c]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0x20]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x78], eax
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.004d21a0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fld qword [esp + 0xbc]
fadd qword [ecx + 0x40]
add ecx, 0xb8
inc eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
mov dword [esp + 0xc], eax
fstp qword [esp + 0xbc]
jl 0x49dcf5
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.0048f080
mov eax, dword [esp + 0x104]
mov dword [esp + 0x14], ebx
mov dword [edi + 0x154], eax
mov ecx, dword [esi + 0x188]
mov edx, dword [esi + 0x18c]
lea esi, [eax + 1]
mov dword [edi + 0x158], ecx
mov dword [edi + 0x15c], edx
lea eax, [esi*8]
mov dword [esp + 0x54], 0
push eax
mov dword [esp + 0x5c], 0
call fcn.0050b264
lea ecx, [esi + esi*4]
mov dword [esp + 0xac], eax
lea edx, [ecx*4 + 4]
push edx
call fcn.0050b264
add esp, 0x10
mov dword [esp + 0x7c], eax
cmp eax, ebx
mov byte [esp + 0x300], 0x11
je 0x49de52
push fcn.004309c0
push fcn.004a1fa0
lea edi, [eax + 4]
push esi
push 0x14
push edi
mov dword [eax], esi
call fcn.0050c29d
mov dword [esp + 0x10], edi
jmp 0x49de56
mov dword [esp + 0x10], ebx
lea eax, [esi + esi*4]
mov byte [esp + 0x300], 0x10
lea ecx, [eax*4 + 4]
push ecx
call fcn.0050b264
add esp, 4
mov dword [esp + 0x7c], eax
cmp eax, ebx
mov byte [esp + 0x300], 0x12
je 0x49dea2
push fcn.004a25a0
push 0x4a2580
lea edi, [eax + 4]
push esi
push 0x14
push edi
mov dword [eax], esi
call fcn.0050c29d
mov dword [esp + 0x88], edi
jmp 0x49dea9
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0x16c]
mov byte [esp + 0x300], 0x10
call fcn.0047dc50
mov esi, dword [esp + 0xfc]
mov byte [esp + 0x300], 0x13
cmp esi, ebx
jne 0x49def4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x49dee5
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x30], ebx
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
jmp 0x49dfea
mov edx, dword [esp + 0x30]
cmp edx, ebx
jne 0x49df26
lea edx, [esi*4]
push edx
call fcn.0050b264
add esp, 4
mov dword [esp + 0x30], eax
push esi
push eax
call fcn.00404d30
mov eax, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], eax
jmp 0x49dfea
mov ecx, dword [esp + 0x38]
cmp esi, ecx
jg 0x49df4f
mov eax, dword [esp + 0x34]
cmp esi, eax
jle 0x49df44
mov ecx, esi
lea edx, [edx + eax*4]
sub ecx, eax
push ecx
push edx
call fcn.00404d30
mov eax, esi
mov dword [esp + 0x34], eax
jmp 0x49dfea
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x49df7c
mov eax, dword [esp + 0x34]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x49df70
mov eax, 4
jmp 0x49df7c
cmp eax, 0x400
jle 0x49df7c
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x44], eax
jl 0x49df8a
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x44]
lea ecx, [eax*4]
push ecx
call fcn.0050b264
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xfc]
mov ecx, dword [esp + 0x34]
mov edx, esi
mov dword [esp + 0x40], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.00404d30
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0050b204
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov eax, esi
add esp, 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
xor ecx, ecx
cmp eax, ebx
jle 0x49e00e
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x34]
add edx, 0xb8
cmp ecx, eax
jl 0x49dff7
mov ecx, dword [esp + 0x30]
push 0x49c8f0
push 4
push eax
push ecx
nop
call 0x608deb
mov edx, dword [esp + 0x44]
add esp, 0x10
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call fcn.004de680
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp edx, ebx
je 0x49e053
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49e046
nop
call 0x608df4
mov dword [esp + 0x78], eax
mov dword [esp + 0x44], ebx
call fcn.0050c790
mov dword [esp + 0x54], 0x522d18
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0xfc]
mov eax, 0x66666667
mov byte [esp + 0x300], 0x14
imul ecx, dword [edi + 0x48]
imul ecx
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0xa8], ebx
sar edx, 2
mov eax, edx
mov dword [esp + 0x14c], ecx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x144], edx
mov edx, dword [edi + 0x170]
push ebx
inc edx
mov dword [edi + 0x170], edx
lea edx, [esp + 0x90]
push edx
call fcn.004f3f10
mov ecx, dword [esp + 0x28]
add esp, 8
xor eax, eax
cmp ecx, ebx
jle 0x49e0fe
mov ecx, dword [esp + 0x1c]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx + 0x50], ebx
mov dword [edx + 0x54], ebx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jl 0x49e0e5
cmp ecx, ebx
je 0x49eb85
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
lea edx, [edx + eax*8]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x40], edx
lea edx, [eax + esi]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x88]
lea eax, [eax + edx + 4]
mov dword [esp + 0x80], eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x7c], eax
cmp ecx, dword [esp + 0x144]
jle 0x49e151
mov eax, 1
jmp 0x49e172
cmp ecx, dword [esp + 0x14c]
jle 0x49e166
cmp ecx, 2
mov eax, 2
jg 0x49e172
jmp 0x49e170
cmp ecx, 5
mov eax, 5
jg 0x49e172
mov eax, ecx
xor esi, esi
mov dword [esp + 0x84], eax
test eax, eax
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
jle 0x49e234
mov edi, eax
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
fld qword [ecx + 0x50]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je 0x49e1df
mov eax, 1
jmp 0x49e1e1
xor eax, eax
fld qword [esp + 0xac]
mov dword [ecx + 0x58], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + esi*4]
fadd qword [eax + 0x40]
lea ecx, [eax + 0x20]
fstp qword [esp + 0xac]
call fcn.0047e010
fadd qword [esp + 0xe4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
fstp qword [esp + 0xe4]
add ecx, 0x20
call fcn.0047e030
fadd qword [esp + 0xdc]
inc esi
cmp esi, edi
fstp qword [esp + 0xdc]
jl 0x49e1c3
fld qword [esp + 0xac]
fdiv qword [esp + 0xe4]
mov ebx, dword [ebp + 8]
fstp qword [esp + 0xe4]
fld qword [esp + 0xac]
fdiv qword [esp + 0xdc]
fstp qword [esp + 0xdc]
fld qword [ebx + 0x188]
fmul qword [0x5294a0]
fcomp qword [esp + 0xe4]
fnstsw ax
test ah, 1
je 0x49e28e
fld qword [ebx + 0x188]
fmul qword [0x5294a0]
fstp qword [esp + 0xe4]
fld qword [ebx + 0x188]
fmul qword [0x5294a0]
fcomp qword [esp + 0xdc]
fnstsw ax
test ah, 1
je 0x49e2bb
fld qword [ebx + 0x188]
fmul qword [0x5294a0]
fstp qword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0xec]
push ebx
push edx
mov edx, dword [esp + 0xf0]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0049c320
fld qword [ebp + 0xc]
fcomp qword [esp + 0x1ac]
add esp, 0x20
fnstsw ax
test ah, 1
je 0x49e495
fld qword [0x520dc0]
mov edx, dword [0x5922b8]
mov ecx, 5
fst qword [esp + 0xac]
cmp edx, ecx
jle 0x49e45a
mov eax, dword [0x5922b4]
add eax, 0x10
fld qword [eax + 0x10]
fsub qword [eax]
add ecx, 4
add eax, 0x20
cmp ecx, edx
fmul qword [eax - 8]
faddp st(1)
jl 0x49e32e
fstp qword [esp + 0xac]
lea ecx, [esp + 0x54]
push ecx
call fcn.0048ef50
fsubr qword [esp + 0xb0]
add esp, 4
mov ecx, ebx
fmul qword [0x524fc0]
fstp qword [esp + 0xac]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x1a4]
call fcn.0047dc60
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], eax
push esi
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0x1a8]
push edx
mov edx, dword [esp + 0xb8]
push eax
push ecx
push edx
mov byte [esp + 0x318], 0x15
call fcn.0049cbe0
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
je 0x49e461
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
mov esi, dword [eax + edi*4]
mov eax, dword [esp + 0x60]
add esi, 8
mov ebx, eax
add eax, dword [esi + 8]
push eax
call fcn.004de680
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x58]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + ebx*4]
test edx, edx
je 0x49e41a
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49e40d
mov eax, dword [esp + 0x20]
sub eax, edi
dec eax
je 0x49e43d
shl eax, 2
push eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + edi*4 + 4]
lea edx, [eax + edi*4]
push ecx
push edx
nop
call 0x608dfd
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [esp + 0x300], 0x14
dec eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x20], eax
jmp 0x49eace
fstp st(0)
jmp 0x49e349
xor eax, eax
test esi, esi
jle 0x49e481
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [edx + 0x50], ecx
cmp eax, esi
mov dword [edx + 0x54], edi
jl 0x49e467
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x300], 0x14
call fcn.00507a00
lea ecx, [esp + 0x208]
call fcn.0047dc50
lea ecx, [esp + 0x238]
mov byte [esp + 0x300], 0x16
call fcn.004a1fa0
lea ecx, [esp + 0x24c]
mov byte [esp + 0x300], 0x17
call fcn.004a1fa0
lea ecx, [esp + 0x268]
mov byte [esp + 0x300], 0x18
call fcn.0047dc50
mov edx, dword [esp + 0x5c]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x240]
mov byte [esp + 0x308], 0x19
mov dword [esp + 0x2a0], 0
call fcn.004de680
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x23c]
test edx, edx
je 0x49e523
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49e516
mov eax, dword [esp + 0x240]
push ebx
push eax
lea ecx, [esp + 0x240]
call fcn.00431490
mov eax, dword [0x5922b8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, 5
mov dword [esp + 0x1f0], ecx
mov dword [esp + 0x1f4], edx
mov dword [esp + 0xa4], 0xffffffff
jle 0x49e77c
mov ecx, dword [0x5922b4]
mov edi, 0x28
mov dword [esp + 0x148], 1
mov eax, dword [esp + 0x148]
test eax, eax
mov dword [esp + 0x68], eax
jle 0x49e749
lea edx, [edi + ecx - 0x20]
mov esi, eax
fld qword [edi + ecx]
fcomp qword [edx]
fnstsw ax
test ah, 1
jne 0x49e5b3
sub esi, 4
sub edx, 0x20
test esi, esi
jg 0x49e594
mov dword [esp + 0x68], esi
jmp 0x49e749
mov eax, dword [esp + 0x84]
mov dword [esp + 0x68], esi
xor esi, esi
test eax, eax
jle 0x49e749
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + esi*4]
lea ecx, [ebx + 0x20]
call fcn.0047e010
fdivr qword [ebx + 0x40]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + esi*4]
lea ecx, [ebx + 0x20]
fstp qword [esp + 0xb4]
call fcn.0047e030
fdivr qword [ebx + 0x40]
mov edx, dword [ebp + 8]
mov ecx, dword [0x5922b4]
fstp qword [esp + 0x164]
fld qword [edx + 0x188]
fsub qword [edi + ecx]
fcomp qword [esp + 0xb4]
fnstsw ax
test ah, 0x41
jne 0x49e739
mov ebx, dword [esp + 0x68]
fld qword [edi + ecx - 8]
fsub qword [ecx + ebx*8 - 8]
fcomp qword [esp + 0x164]
fnstsw ax
test ah, 0x41
jne 0x49e739
fld qword [ecx + ebx*8 - 8]
fsub qword [esp + 0x164]
mov eax, dword [esp + 0x1c]
fstp qword [esp + 0x16c]
fld qword [edi + ecx]
fsub qword [esp + 0xb4]
fstp qword [esp + 0x174]
mov ecx, dword [eax + esi*4]
add ecx, 0x20
call fcn.0047e010
mov ecx, dword [0x5922b4]
mov edx, dword [esp + 0x1c]
fadd qword [ecx + ebx*8 - 8]
fstp qword [esp + 0x17c]
mov ecx, dword [edx + esi*4]
add ecx, 0x20
call fcn.0047e030
mov eax, dword [0x5922b4]
lea ecx, [esp + 0x16c]
push ecx
mov ecx, dword [ebp + 8]
fadd qword [edi + eax]
fadd qword [esp + 0xb8]
fstp qword [esp + 0x188]
call fcn.0048e7d0
push eax
call fcn.0047db70
fld qword [esp + 0x184]
fcomp qword [ebp + 0xc]
add esp, 8
fnstsw ax
test ah, 1
jne 0x49e6e2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x17c], edx
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x1c]
push 0x4d4ab0
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x4c]
mov dword [esp + 0x1ec], edx
lea edx, [esp + 0x1e4]
mov dword [esp + 0x1f0], ecx
push edx
lea ecx, [esp + 0x240]
push 0x49c930
lea edx, [esp + 0x178]
push ecx
mov ecx, dword [eax + esi*4]
push edx
call fcn.004d1ac0
cmp eax, 0xffffffff
je 0x49e733
mov dword [esp + 0xa4], esi
mov ecx, dword [0x5922b4]
mov eax, dword [esp + 0x84]
inc esi
cmp esi, eax
jl 0x49e5c8
mov eax, dword [esp + 0x148]
mov edx, dword [0x5922b8]
add eax, 4
add edi, 0x20
mov dword [esp + 0x148], eax
add eax, 4
cmp eax, edx
jl 0x49e57b
cmp dword [esp + 0xa4], 0xffffffff
jne 0x49e888
mov ecx, dword [ebp + 8]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x1c4]
call fcn.0047dc60
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], ecx
lea ecx, [esp + 0x54]
mov eax, dword [edx]
lea edx, [esp + 0x1c0]
push eax
push ecx
push edx
mov byte [esp + 0x30c], 0x1a
call fcn.0049cf10
add esp, 0xc
test al, al
je 0x49eae4
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
mov esi, dword [eax]
mov eax, dword [esp + 0x60]
add esi, 8
mov edi, eax
add eax, dword [esi + 8]
push eax
call fcn.004de680
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x58]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + edi*4]
test edx, edx
je 0x49e813
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49e806
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
je 0x49e836
lea ecx, [eax*4]
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [eax + 4]
push edx
push eax
nop
call fcn.00608e06
add esp, 0xc
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c0]
dec eax
mov byte [esp + 0x300], 0x19
mov dword [esp + 0x20], eax
call fcn.00507a00
lea ecx, [esp + 0x268]
mov byte [esp + 0x300], 0x1d
call fcn.00507a00
lea ecx, [esp + 0x24c]
mov byte [esp + 0x300], 0x1c
call fcn.004309c0
mov byte [esp + 0x300], 0x1b
jmp 0x49eab3
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x1e0]
mov ecx, dword [ecx + esi*4]
push eax
call fcn.004d20a0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x70], eax
mov esi, dword [edx + 0x10]
dec esi
js 0x49ea02
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + esi*4]
call fcn.0048e7d0
fld qword [eax + 0x10]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 1
jne 0x49e904
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + esi*4]
call fcn.0048e7d0
fld qword [eax + 0x10]
fstp qword [esp + 0x6c]
dec esi
jns 0x49e8cb
fld qword [esp + 0x6c]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x49ea02
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x49e96b
fld qword [esp + 0xec]
fmul qword [0x520168]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je 0x49e96b
lea eax, [esp + 0x54]
push eax
call fcn.0048efa0
mov esi, dword [ebp + 0x14]
add esp, 4
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x49e96b
push edi
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00412d00
add esp, 0xc
test al, al
je 0x49eb2a
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
push 0xffffffffffffffff
push edx
call fcn.004de680
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + esi]
test edx, edx
je 0x49e9a2
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
dec edx
jne 0x49e995
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
lea ecx, [esi - 4]
call fcn.004de680
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
test edx, edx
je 0x49e9cc
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
dec edx
jne 0x49e9bf
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
mov dword [eax], edx
mov dword [eax + 4], ecx
inc ebx
add edi, 0x14
add esi, 0x14
add eax, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov esi, dword [ecx + ebx*4]
mov dword [esp + 0x4c], edx
add esi, 8
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push 0xffffffffffffffff
mov edx, dword [esi + 8]
lea ecx, [esp + 0x58]
add edx, eax
mov edi, eax
push edx
call fcn.004de680
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x58]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + edi*4]
test edx, edx
je 0x49ea5c
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49ea4f
mov eax, dword [esp + 0x20]
sub eax, ebx
dec eax
je 0x49ea7f
shl eax, 2
push eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + ebx*4 + 4]
lea edx, [eax + ebx*4]
push ecx
push edx
nop
call 0x608e0f
add esp, 0xc
dec dword [esp + 0x20]
lea ecx, [esp + 0x268]
mov byte [esp + 0x300], 0x26
call fcn.00507a00
lea ecx, [esp + 0x24c]
mov byte [esp + 0x300], 0x25
call fcn.004309c0
mov byte [esp + 0x300], 0x24
lea ecx, [esp + 0x238]
call fcn.004309c0
mov byte [esp + 0x300], 0x14
lea ecx, [esp + 0x208]
call fcn.00507a00
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x49e141
jmp 0x49eb80
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x300], 0x19
call fcn.00507a00
lea ecx, [esp + 0x268]
mov byte [esp + 0x300], 0x20
call fcn.00507a00
lea ecx, [esp + 0x24c]
mov byte [esp + 0x300], 0x1f
call fcn.004309c0
mov byte [esp + 0x300], 0x1e
jmp 0x49eb60
mov dword [esi], 1
lea ecx, [esp + 0x268]
mov byte [esp + 0x300], 0x23
call fcn.00507a00
lea ecx, [esp + 0x24c]
mov byte [esp + 0x300], 0x22
call fcn.004309c0
mov byte [esp + 0x300], 0x21
lea ecx, [esp + 0x238]
call fcn.004309c0
lea ecx, [esp + 0x208]
mov byte [esp + 0x300], 0x14
call fcn.00507a00
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x49eba3
push eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00412d00
add esp, 0xc
test al, al
je 0x49f7e1
lea ecx, [esp + 0x16c]
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.004f3e90
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
je 0x49f297
mov eax, dword [esp + 0xa8]
cdq
idiv dword [edi + 0x10]
test edx, edx
je 0x49ebe8
fld qword [esp + 0xec]
fadd st(0), st(0)
fadd qword [ebp + 0xc]
fmul qword [0x522d90]
fstp qword [ebp + 0xc]
nop
call fcn.00608e18
mov ecx, dword [esp + 0x44]
mov esi, eax
mov eax, dword [esp + 0x78]
sub esi, ecx
sub esi, eax
nop
call fcn.00608e21
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x78]
sub ecx, edx
mov edx, dword [edi + 0x150]
sub ecx, eax
mov eax, dword [edi]
sub ecx, edx
cmp esi, eax
jg 0x49ec26
cmp ecx, 0x186a0
jle 0x49ec2f
cmp dword [ebp + 0x18], ebx
je 0x49f6ee
mov ecx, dword [esp + 0x20]
mov eax, ecx
cdq
idiv dword [edi + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x48], eax
jl 0x49ec46
mov dword [esp + 0x48], ecx
mov esi, dword [esp + 0x34]
xor eax, eax
cmp esi, ebx
jle 0x49ec63
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + eax*4]
mov dword [edx + 0x58], eax
mov esi, dword [esp + 0x34]
inc eax
cmp eax, esi
jl 0x49ec50
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x49ecd0
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 0x58]
test eax, eax
jne 0x49ec8e
fld qword [esi + 0x40]
fmul qword [ecx + 0x48]
jmp 0x49ecc0
cmp eax, 1
jne 0x49eca9
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
fld qword [ecx + 0x48]
fadd qword [eax + 0x48]
mov ecx, dword [edx]
fmul qword [0x520168]
jmp 0x49ecc0
mov ebx, dword [edx + eax*4 - 4]
mov edx, dword [edx + eax*4 - 8]
fld qword [ebx + 0x48]
fadd qword [edx + 0x48]
fmul qword [esi + 0x40]
fmul qword [0x520168]
mov eax, dword [esp + 0x48]
inc edi
fstp qword [ecx + 0x48]
cmp edi, eax
jl 0x49ec74
mov esi, dword [esp + 0x34]
xor edi, edi
test esi, esi
jle 0x49ed38
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
lea ebx, [edi + 1]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
mov dword [esp + 0x194], eax
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x198], ecx
mov ecx, ebx
cmp ecx, esi
jge 0x49ed25
mov edx, dword [esp + 0x68]
add edx, 4
mov eax, dword [edx]
fld qword [eax + 0x48]
fcomp qword [esp + 0x194]
fnstsw ax
test ah, 0x41
je 0x49ed23
inc ecx
add edx, 4
cmp ecx, esi
jl 0x49ed08
cmp ecx, esi
jne 0x49ed38
mov ecx, dword [esp + 0x68]
mov edi, ebx
add ecx, 4
cmp edi, esi
mov dword [esp + 0x68], ecx
jl 0x49ecde
cmp edi, esi
jne 0x49ed4e
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 0x32
mov dword [esp + 0x40], eax
jl 0x49ec67
mov eax, dword [esp + 0xa8]
mov ebx, dword [ebp + 0x14]
cdq
idiv dword [ebx + 0x14]
test edx, edx
jne 0x49f1c1
fld qword [ebp + 0xc]
fcomp qword [esp + 0x18c]
fnstsw ax
test ah, 1
jne 0x49f1c1
lea ecx, [esp + 0x54]
push ecx
call fcn.0048ef50
fld qword [0x520868]
fsub qword [ebx + 0x18]
add esp, 4
fmul qword [esp + 0xbc]
fcompp
fnstsw ax
test ah, 0x41
je 0x49f1bd
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, edi
cmp edi, ecx
mov dword [esp + 0x7c], eax
jge 0x49edcb
mov edx, dword [esp + 0x30]
inc edi
mov ecx, dword [edx + edi*4 - 4]
mov dword [ecx + 0x58], 0xffffffff
mov ecx, dword [esp + 0x34]
cmp edi, ecx
jl 0x49edb3
mov edx, dword [esp + 0xc]
lea ebx, [edx - 1]
test ebx, ebx
jl 0x49eeba
mov edi, dword [esp + 0x88]
lea ecx, [ebx + ebx*4]
lea edx, [edi + ecx*4 + 8]
mov ecx, dword [edx]
mov dword [esp + 0x48], 0
test ecx, ecx
jle 0x49ee0f
mov eax, dword [edx - 4]
mov esi, dword [eax]
cmp dword [esi + 0x58], 0xffffffff
jne 0x49ee05
inc dword [esp + 0x48]
add eax, 4
dec ecx
jne 0x49edf9
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x48], eax
je 0x49ee1d
dec ebx
sub edx, 0x14
test ebx, ebx
jge 0x49ede8
mov ecx, dword [esp + 0x34]
cmp ebx, 0xffffffff
jne 0x49eec6
mov edx, dword [esp + 0x30]
push 0x49c8f0
push 4
push ecx
push edx
nop
call 0x608e2a
mov eax, dword [esp + 0x44]
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0
push ebx
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.004de680
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test edx, edx
je 0x49ee84
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49ee77
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
call fcn.004de680
lea ecx, [esp + 0xc8]
push ecx
call fcn.0048f260
mov eax, dword [esp + 0xac]
mov edi, dword [ebp + 0x14]
add esp, 4
inc eax
mov dword [esp + 0xa8], eax
xor ebx, ebx
jmp 0x49e0bd
mov edi, dword [esp + 0x88]
jmp 0x49ee21
lea esi, [ebx + ebx*4]
push 0x49c8f0
shl esi, 2
push 4
mov edx, dword [esi + edi + 8]
mov eax, dword [esi + edi + 4]
push edx
push eax
nop
call 0x608e33
mov ecx, dword [esi + edi + 8]
add esp, 0x10
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x20]
call fcn.004de680
mov eax, dword [esi + edi + 8]
mov edx, dword [esi + edi + 4]
mov ecx, dword [esp + 0x1c]
mov edi, eax
dec eax
test edi, edi
je 0x49ef17
inc eax
mov edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
dec eax
jne 0x49ef0a
mov ecx, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x49ef34
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + eax*4]
mov dword [ecx + 0x58], eax
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
jl 0x49ef21
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
jle 0x49ef55
or ecx, 0xffffffff
mov edx, dword [esp + 0x1c]
inc eax
mov edx, dword [edx + eax*4 - 4]
mov dword [edx + 0x58], ecx
mov edx, dword [esp + 0x20]
cmp eax, edx
jl 0x49ef41
mov eax, dword [esp + 0x34]
lea edi, [eax - 1]
test edi, edi
jl 0x49ef97
mov edx, dword [esp + 0x30]
mov eax, dword [edx + edi*4]
lea ecx, [edx + edi*4]
cmp dword [eax + 0x58], 0xffffffff
jne 0x49ef94
mov eax, dword [esp + 0x34]
sub eax, edi
dec eax
je 0x49ef90
shl eax, 2
lea edx, [edx + edi*4 + 4]
push eax
push edx
push ecx
nop
call fcn.00608e3c
mov edx, dword [esp + 0x3c]
add esp, 0xc
dec dword [esp + 0x34]
dec edi
jns 0x49ef64
mov ecx, dword [esp + 0xa0]
lea eax, [ebx + 1]
mov dword [esp + 0xc], eax
xor eax, eax
fld qword [ecx + ebx*8]
mov ecx, dword [esp + 0x94]
fstp qword [esp + 0x4c]
test ecx, ecx
jle 0x49efd7
mov edx, dword [esp + 0x90]
inc eax
mov ecx, dword [edx + eax*4 - 4]
mov byte [ecx + 0x140], 0
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jl 0x49efb9
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
mov edx, dword [esi + edi + 8]
push edx
call fcn.004de680
mov eax, dword [esi + edi + 8]
mov esi, dword [esi + edi + 4]
mov ecx, dword [esp + 0x58]
mov edx, eax
dec eax
test edx, edx
je 0x49f00c
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49efff
mov ecx, dword [esp + 0x5c]
xor eax, eax
test ecx, ecx
jle 0x49f02e
mov ecx, dword [esp + 0x58]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov byte [edx + 0x140], 1
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jl 0x49f016
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x54]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0x40080000
push 0
push 0x40080000
push 0
push edx
push eax
call fcn.0049c320
mov ecx, dword [esp + 0x40]
add esp, 0x20
lea edi, [ecx - 1]
test edi, edi
jl 0x49f125
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + edi*4]
push eax
call fcn.0049d0b0
add esp, 4
test al, al
je 0x49f11e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
inc eax
mov esi, dword [ecx + edi*4]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.004de680
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
mov dword [edx + ebx*4], esi
mov eax, dword [esp + 0x20]
mov esi, dword [eax + edi*4]
mov eax, dword [esp + 0x60]
add esi, 8
mov ebx, eax
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004de680
mov edx, dword [esp + 0x58]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea ecx, [edx + ebx*4]
mov edx, eax
dec eax
test edx, edx
je 0x49f0e0
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49f0d3
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov byte [eax + 0x140], 1
mov eax, dword [esp + 0x20]
sub eax, edi
dec eax
je 0x49f11a
lea ecx, [eax*4]
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [eax + edi*4 + 4]
lea eax, [eax + edi*4]
push edx
push eax
nop
call 0x608e45
add esp, 0xc
dec dword [esp + 0x20]
dec edi
jns 0x49f064
mov eax, dword [esp + 0xd0]
xor edi, edi
test eax, eax
jle 0x49f168
mov eax, dword [esp + 0xcc]
xor esi, esi
mov ecx, dword [esi + eax]
mov dl, byte [ecx + 0x140]
test dl, dl
jne 0x49f159
mov edx, dword [ecx]
lea eax, [esi + eax + 8]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
inc edi
add esi, 0x58
cmp edi, ecx
jl 0x49f13b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
add ecx, eax
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.004de680
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x49f6d5
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49f197
mov eax, dword [esp + 0xa8]
mov edi, dword [ebp + 0x14]
inc eax
xor ebx, ebx
mov dword [esp + 0xa8], eax
jmp 0x49e0bd
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x48]
mov edx, dword [esp + 0xfc]
mov ecx, 1
imul edx, eax
sub ecx, eax
mov eax, 0x66666667
imul ecx, dword [esp + 0x144]
add ecx, edx
push 0x49c8f0
imul ecx
mov ecx, dword [esp + 0x150]
push 4
sar edx, 2
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
inc ecx
mov dword [esp + 0x158], ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x154], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
nop
call 0x608e4e
mov edx, dword [esp + 0x44]
add esp, 0x10
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call fcn.004de680
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test edx, edx
je 0x49f261
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49f254
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
call fcn.004de680
lea eax, [esp + 0xc8]
push eax
call fcn.0048f260
mov eax, dword [esp + 0xac]
mov edi, dword [ebp + 0x14]
add esp, 4
inc eax
mov dword [esp + 0xa8], eax
xor ebx, ebx
jmp 0x49e0bd
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x180]
mov dword [esp + 0xec], ecx
lea eax, [esp + 0x150]
lea ecx, [esp + 0x8c]
push eax
push ecx
mov dword [esp + 0xb0], 1
mov dword [esp + 0xf8], edx
call fcn.0048f080
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x3fe80000
push 0
push edx
lea ecx, [esp + 0x68]
push eax
push ecx
push ebx
call fcn.0049cab0
fstp qword [esp + 0x184]
fld qword [ebx + 0x188]
fld qword [esp + 0x184]
fdiv st(1)
mov eax, dword [esp + 0x2c]
add esp, 0x20
or esi, 0xffffffff
cmp eax, 2
fmul qword [edi + 0x30]
fsubr qword [esp + 0x17c]
fstp qword [ebp + 0xc]
fstp st(0)
jl 0x49f364
mov ecx, dword [esp + 0xa0]
mov esi, eax
fld qword [ecx + esi*8 - 0x10]
fcomp qword [ebp + 0xc]
lea edx, [esi - 2]
fnstsw ax
test ah, 0x41
jne 0x49f348
mov esi, edx
fld qword [ecx + esi*8]
fstp qword [ebp + 0xc]
jmp 0x49f364
dec esi
test esi, esi
jl 0x49f364
lea ecx, [ecx + esi*8]
fld qword [ecx]
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 1
jne 0x49f364
dec esi
sub ecx, 8
test esi, esi
jge 0x49f350
nop
call 0x608e57
fld qword [esp + 0xbc]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
fmul qword [0x5205c0]
sub eax, edx
sub eax, ecx
lea ecx, [esp + 0x16c]
mov dword [edi + 0x150], eax
fstp qword [esp + 0xb4]
call fcn.0047e1c0
fdivr qword [esp + 0xb4]
inc dword [edi + 0x174]
fst qword [esp + 0xb4]
fstp qword [edi + 0x160]
fld qword [ebx + 0x188]
fld qword [esp + 0xbc]
fdiv qword [edi + 8]
fdiv st(1)
fcomp qword [esp + 0x17c]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x49f402
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49f4ad
mov edx, eax
push edx
push 1
lea eax, [esp + 0x1c]
push eax
call fcn.00412d00
add esp, 0xc
test al, al
je 0x49f7e1
jmp 0x49f4ad
mov ecx, dword [edi + 0x150]
mov eax, dword [edi]
cmp ecx, eax
jle 0x49f420
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49f72e
mov edx, eax
push edx
push 0
jmp 0x49f3e8
fld qword [ebx + 0x188]
fld qword [esp + 0x164]
fdiv st(1)
fcomp qword [0x520dc8]
fnstsw ax
test ah, 1
fstp st(0)
je 0x49f48e
nop
call 0x608e60
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0050b52e
lea ecx, [esp + 0x8c]
push 1
push ecx
call fcn.004f3f10
mov eax, dword [ebp + 0x18]
add esp, 8
test eax, eax
je 0x49f480
push eax
lea edx, [esp + 0x18]
push 1
push edx
call fcn.00412d00
add esp, 0xc
test al, al
je 0x49f7e1
nop
call 0x608e69
sub eax, ebx
mov dword [esp + 0x44], eax
jmp 0x49f4ad
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49f4ad
push eax
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00412d00
add esp, 0xc
test al, al
je 0x49f7e1
cmp esi, 0xffffffff
jne 0x49f4e7
mov edx, dword [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.004de680
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test edx, edx
je 0x49f26e
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x49f4d5
jmp 0x49f26e
mov ebx, dword [esp + 0x88]
lea edi, [esi + esi*4]
shl edi, 2
push 0xffffffffffffffff
mov ecx, dword [edi + ebx + 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.004de680
mov eax, dword [edi + ebx + 8]
mov edx, dword [edi + ebx + 4]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
dec eax
test ebx, ebx
je 0x49f525
inc eax
mov ebx, dword [edx]
add edx, 4
mov dword [ecx], ebx
add ecx, 4
dec eax
jne 0x49f518
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
lea edx, [esi + 1]
fld qword [eax + esi*8]
xor eax, eax
mov dword [esp + 0xc], edx
fstp qword [esp + 0x4c]
test ecx, ecx
jle 0x49f565
mov ecx, dword [esp + 0x90]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov byte [edx + 0x140], 0
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jl 0x49f547
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
mov eax, dword [edi + esi + 8]
push eax
call fcn.004de680
mov eax, dword [edi + esi + 8]
mov edi, dword [edi + esi + 4]
mov ecx, dword [esp + 0x58]
mov edx, eax
dec eax
test edx, edx
je 0x49f59a
inc eax
mov edx, dword [edi]
add edi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49f58d
mov ecx, dword [esp + 0x5c]
xor eax, eax
test ecx, ecx
jle 0x49f5bc
mov ecx, dword [esp + 0x58]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov byte [edx + 0x140], 1
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jl 0x49f5a4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x54]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0x40080000
push 0
push 0x40080000
push 0
push edx
push eax
call fcn.0049c320
mov ecx, dword [esp + 0x40]
add esp, 0x20
lea edi, [ecx - 1]
test edi, edi
jl 0x49f692
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + edi*4]
push eax
call fcn.0049d0b0
add esp, 4
test al, al
je 0x49f68b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
push 0xffffffffffffffff
mov ebx, eax
mov esi, dword [ecx + edi*4]
lea ecx, [esp + 0x58]
add esi, 8
mov edx, dword [esi + 8]
add edx, eax
push edx
call fcn.004de680
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x58]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + ebx*4]
test edx, edx
je 0x49f64d
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x49f640
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov byte [eax + 0x140], 1
mov eax, dword [esp + 0x20]
sub eax, edi
dec eax
je 0x49f687
lea ecx, [eax*4]
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [eax + edi*4 + 4]
lea eax, [eax + edi*4]
push edx
push eax
nop
call 0x608e72
add esp, 0xc
dec dword [esp + 0x20]
dec edi
jns 0x49f5f2
mov eax, dword [esp + 0xd0]
xor edi, edi
test eax, eax
jle 0x49f6d5
mov eax, dword [esp + 0xcc]
xor esi, esi
mov ecx, dword [eax + esi]
mov dl, byte [ecx + 0x140]
test dl, dl
jne 0x49f6c6
mov edx, dword [ecx]
lea eax, [eax + esi + 8]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
inc edi
add esi, 0x58
cmp edi, ecx
jl 0x49f6a8
mov eax, dword [esp + 0xa8]
mov edi, dword [ebp + 0x14]
inc eax
xor ebx, ebx
mov dword [esp + 0xa8], eax
jmp 0x49e0bd
mov edx, dword [esp + 0x20]
mov eax, 0x10624dd3
push edx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x10624dd3
push edx
imul esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x20]
push 0x547924
push edx
call fcn.0050b258
add esp, 0x14
jmp 0x49f7e1
fld qword [ebp + 0xc]
fmul qword [0x520870]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
sub esp, 8
mov esi, dword [edi + 0x150]
fstp qword [esp]
fld qword [esp + 0x184]
fmul qword [0x520870]
push eax
push ecx
push edx
mov dword [esp + 0x90], esi
sub esp, 8
fstp qword [esp]
push 0
call fcn.0050c7b0
fmul qword [0x5205c0]
mov eax, 0x10624dd3
push ecx
imul esi
fidiv dword [esp + 0xa0]
sar edx, 6
mov eax, edx
lea ecx, [esp + 0x38]
shr eax, 0x1f
add edx, eax
fstp qword [esp]
push edx
push 0x5478c0
push ecx
call fcn.0050b258
mov esi, dword [0x60d37c]
add esp, 0x30
call esi
lea ecx, [esp + 0x14]
call fcn.0050b52e
lea edx, [esp + 0x8c]
push 1
push edx
call fcn.004f3f10
push 0
lea eax, [esp + 0x20]
push 1
push eax
call fcn.00412d00
add esp, 0x14
call esi
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0050b204
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x49f800
mov edx, dword [ecx]
push 3
call dword [edx + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x49f812
mov eax, dword [ecx]
push 3
call dword [eax + 4]
mov eax, dword [edi + 0x174]
test eax, eax
je 0x49f852
lea ecx, [esp + 0x14]
call fcn.0050b52e
lea ecx, [esp + 0x8c]
push 1
push ecx
call fcn.004f3f10
lea edx, [esp + 0x158]
push edx
call fcn.0048f260
push 0
lea eax, [esp + 0x24]
push 1
push eax
call fcn.00412d00
add esp, 0x18
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov dword [edi + 0x168], ecx
mov dword [edi + 0x16c], edx
mov dword [0x5920e0], 0
mov dword [esp + 0x54], 0x522d18
mov eax, dword [esp + 0x58]
mov byte [esp + 0x300], 0x27
test eax, eax
je 0x49f897
push eax
call fcn.0050b204
add esp, 4
mov ebx, 0x520384
lea ecx, [esp + 0x16c]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x300], 0x10
call fcn.00507a00
mov esi, 0x5294e8
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x300], 0x28
test eax, eax
je 0x49f8d6
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x300], 0x29
test eax, eax
je 0x49f8f7
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0xf4], 0x5294fc
mov edi, dword [esp + 0xf8]
mov byte [esp + 0x300], 0x2a
test edi, edi
je 0x49f945
mov ebx, dword [esp + 0xfc]
mov esi, edi
test ebx, ebx
je 0x49f937
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0xb8
dec ebx
jne 0x49f926
push edi
call fcn.0050b204
add esp, 4
mov ebx, 0x520384
lea ecx, [esp + 0x2d8]
mov byte [esp + 0x300], 6
call fcn.00507a00
mov dword [esp + 0x11c], 0x5294c8
mov eax, dword [esp + 0x120]
mov byte [esp + 0x300], 0x2b
test eax, eax
je 0x49f980
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x522d18
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x130], esi
mov eax, dword [esp + 0x134]
mov byte [esp + 0x300], 0x2c
test eax, eax
je 0x49f9af
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x130], ebx
mov dword [esp + 0x108], esi
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x300], 0x2d
test eax, eax
je 0x49f9d9
push eax
call fcn.0050b204
add esp, 4
mov edi, 0x529510
mov dword [esp + 0x108], ebx
mov dword [esp + 0xc8], edi
mov esi, dword [esp + 0xcc]
mov byte [esp + 0x300], 0x2e
test esi, esi
je 0x49fa2f
mov ebx, dword [esp + 0xd0]
test ebx, ebx
je 0x49fa21
add esi, 8
mov ecx, esi
call fcn.00507a00
add esi, 0x58
dec ebx
jne 0x49fa0d
mov esi, dword [esp + 0xcc]
push esi
call fcn.0050b204
add esp, 4
mov ebx, 0x520384
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x150], edi
mov esi, dword [esp + 0x154]
mov byte [esp + 0x300], 0x2f
test esi, esi
je 0x49fa80
mov ebx, dword [esp + 0x158]
test ebx, ebx
je 0x49fa72
add esi, 8
mov ecx, esi
call fcn.00507a00
add esi, 0x58
dec ebx
jne 0x49fa5e
mov esi, dword [esp + 0x154]
push esi
call fcn.0050b204
add esp, 4
mov ebx, 0x520384
mov dword [esp + 0x150], ebx
mov dword [esp + 0x8c], 0x522d18
mov eax, dword [esp + 0x90]
mov byte [esp + 0x300], 0x30
test eax, eax
je 0x49faae
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x300], 0xffffffff
call fcn.0050b22e
mov ecx, dword [esp + 0x2f8]
pop edi
fld qword [esp + 0xe8]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret