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

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
jl 0x5a043e
mov edx, dword [esi + 0x20]
cmp edx, edi
jl 0x5a043e
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x40c4]
dec eax
cmp ecx, eax
jge 0x5a043e
cmp edx, eax
jl 0x5a0441
mov dword [esi + 0x18], edi
cmp dword [esi + 0x18], edi
je 0x5a262c
mov eax, dword [esi + 0x30]
xor ebx, ebx
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x5a1351
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x4c]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x18]
push edx
call fcn.0047cee0
lea ecx, [esi + 0x6c]
mov dword [esi + 0x68], edi
mov eax, dword [ecx + 4]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0047cee0
mov eax, dword [esi + 0x3c]
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x38], edi
mov ecx, dword [eax]
push edi
push edi
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], edi
jmp 0x5a04ad
xor edi, edi
lea eax, [ebx + ebx*4]
mov dword [esp + 0x60], edi
shl eax, 3
mov dword [esp + 0x50], eax
lea eax, [ebx + ebx*4 + 0xf]
shl eax, 3
mov dword [esp + 0x5c], eax
lea eax, [ebx + ebx*4 + 0xa]
shl eax, 3
mov dword [esp + 0x20], eax
lea eax, [ebx + ebx*4 + 5]
shl eax, 3
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
mov edi, dword [esp + 0x54]
mov edx, dword [esi + 0x1c]
add ebp, ecx
mov ecx, dword [esi + 0x24]
add edi, edx
push ebp
lea eax, [esp + 0xc4]
push edi
push eax
call fcn.0059ad50
mov eax, dword [esp + 0xc4]
mov edx, dword [esi + 0x58]
mov ecx, eax
shr ecx, 1
and ecx, 0x1f
mov dword [esp + 0x58], ecx
mov ecx, eax
shr ecx, 6
and ecx, 0x1f
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x28]
shr eax, 0xb
and eax, 0x3ff
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0xc4]
mov edx, dword [esi + 0x5c]
shr eax, 0x15
and eax, 0x3ff
mov dword [edx + ecx*4], eax
mov al, byte [esp + 0xc4]
mov edx, dword [esi + 0x60]
and al, 1
mov byte [edx + ecx], al
mov eax, dword [esi + 0x58]
mov eax, dword [eax + ecx*4]
test eax, eax
jl 0x5a067c
mov edx, dword [esi + 0x24]
cmp eax, dword [edx + 0x4188]
jg 0x5a067c
mov eax, dword [esi + 0x60]
cmp byte [eax + ecx], 0
je 0x5a067c
mov eax, dword [esp + 0x58]
lea ecx, [eax + 0x41f]
shl eax, 4
shl ecx, 4
add eax, edx
fld dword [ecx + edx]
mov ecx, dword [eax + 0x41e8]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x41ec]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0x41f4]
fstp dword [esp + 0x74]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x58]
add ecx, 0x427
shl ecx, 4
fld dword [ecx + edx]
mov ecx, dword [eax + 0x4268]
mov dword [esp + 0x88], ecx
mov ecx, dword [eax + 0x426c]
mov eax, dword [eax + 0x4274]
mov dword [esp + 0x8c], ecx
fstp dword [esp + 0x84]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x41f]
shl eax, 4
shl ecx, 4
add eax, edx
fld dword [ecx + edx]
mov ecx, dword [eax + 0x41e8]
mov dword [esp + 0x98], ecx
mov ecx, dword [eax + 0x41ec]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 0x41f4]
fstp dword [esp + 0x94]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x70]
add ecx, 0x427
shl ecx, 4
fld dword [ecx + edx]
mov edx, dword [eax + 0x4268]
mov ecx, dword [eax + 0x426c]
fstp dword [esp + 0xa4]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0x4274]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
jmp 0x5a079b
mov eax, edi
and eax, 0x8000001f
jns 0x5a068a
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x10], eax
mov edx, ebp
fild dword [esp + 0x10]
and edx, 0x8000001f
fmul dword [0x6a8320]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [0x6a8318]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x74], ecx
fadd dword [0x6a8314]
fmul dword [0x6a831c]
fst dword [esp + 0x80]
fstp dword [esp + 0x7c]
jns 0x5a06e0
dec edx
or edx, 0xffffffe0
inc edx
mov eax, 0x20
mov dword [esp + 0x98], 0
sub eax, edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xa0], 0x3f800000
fild dword [esp + 0x10]
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0x3f800000
fmul dword [0x6a8320]
mov dword [esp + 0xa8], 0x3f800000
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fsub dword [0x6a8310]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x84], ecx
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x8c]
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
add edx, eax
and edx, 0x80000001
jns 0x5a07b2
dec edx
or edx, 0xfffffffe
inc edx
jne 0x5a0d5b
push ebp
lea ecx, [esp + 0x204]
push edi
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0059add0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
push ebp
lea eax, [esp + 0x1a0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x24]
push edi
push eax
mov dword [esp + 0x28], edx
call fcn.0059ad50
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
fld dword [eax]
lea eax, [edx + ecx]
lea ecx, [edi*4]
mov dword [esp + 0x10], ecx
lea edx, [ebp*4]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
mov dword [eax + 0x18], ecx
fst dword [esp + 0x40]
fstp dword [eax]
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x1c], edx
fstp dword [eax + 4]
fild dword [esp + 0x10]
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
fst dword [esp + 0x34]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov ecx, dword [esi + 0x24]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x1d4]
push edi
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x1b8]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
add eax, edx
fstp dword [eax + 4]
mov dword [eax], ecx
lea ecx, [ebp + 1]
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fst dword [esp + 0x4c]
fstp dword [eax + 8]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x78]
push ecx
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x8c]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0xac]
fstp dword [eax + 0x14]
mov dword [eax + 0x24], edx
mov ecx, dword [esi + 0x24]
lea eax, [edi + 1]
mov dword [esp + 0x68], eax
push eax
lea eax, [esp + 0x1f0]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
mov dword [esp + 0x18], edx
push eax
lea edx, [esp + 0x1b0]
push ecx
mov ecx, dword [esi + 0x24]
push edx
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x64]
push ebp
push ecx
lea edx, [ecx*4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x54]
fild dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x94]
fst dword [esp + 0x2c]
fstp dword [eax]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0xa4]
fstp dword [eax + 4]
fld dword [esp + 0x1c]
fstp dword [eax + 0xc]
fld dword [esp + 0x20]
fstp dword [eax + 0x10]
fld dword [esp + 0x24]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0xb4]
fstp dword [eax + 0x14]
mov dword [eax + 0x24], edx
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x1cc]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 8]
push ebp
lea edx, [esp + 0x1c0]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
add eax, ecx
add ebx, 4
push ebp
fstp dword [eax + 4]
fld dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x84]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x94]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0xb4]
fstp dword [eax + 0x14]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x54]
mov eax, 0xa0
push edi
add edx, eax
add ecx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
add edx, eax
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], edx
call fcn.0059c720
test eax, eax
mov dword [esp + 0x44], eax
je 0x5a1304
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x6c]
lea edx, [esp + 0x44]
push edx
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.00555c20
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5a0ad2
mov eax, dword [esi + 0x64]
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x68]
shl eax, 2
mov dword [esp + 0x38], eax
mov eax, edi
and eax, reloc.wsock32.dll_closesocket
jns 0x5a0aea
dec eax
or eax, 0xfffffffc
inc eax
shl eax, 3
mov edx, ebp
lea ecx, [eax + 1]
add eax, 7
mov dword [esp + 0x10], ecx
and edx, reloc.wsock32.dll_closesocket
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x6a8310]
fstp dword [esp + 0x58]
fild dword [esp + 0x10]
fmul dword [0x6a8310]
fstp dword [esp + 0x68]
jns 0x5a0b26
dec edx
or edx, 0xfffffffc
inc edx
mov eax, 4
push ebp
sub eax, edx
lea edx, [esp + 0x1e0]
shl eax, 3
push edi
push edx
lea ecx, [eax - 7]
dec eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x24]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fmul dword [0x6a8310]
fstp dword [esp + 0x7c]
fild dword [esp + 0x1c]
fmul dword [0x6a8310]
fstp dword [esp + 0x78]
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push ebp
lea ecx, [esp + 0x1a8]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
shl eax, 5
add eax, ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
fstp dword [eax + 4]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x24]
lea eax, [ebp + 1]
push eax
lea edx, [esp + 0x1f8]
push edi
push edx
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x198]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
fld dword [eax]
lea eax, [edx + 1]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x40]
fstp dword [eax + 4]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x70]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x24]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x174]
push edi
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x108]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
fld dword [eax]
lea eax, [edx + 2]
mov edx, dword [esp + 0x4c]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x24]
push ebp
push edi
fstp dword [eax + 4]
fld dword [esp + 0x1c]
fstp dword [eax + 0xc]
fld dword [esp + 0x20]
fstp dword [eax + 0x10]
fld dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x160]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push ebp
lea ecx, [esp + 0x118]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
lea eax, [edx + 3]
mov edx, dword [esp + 0x34]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x24]
fstp dword [eax + 4]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
jmp 0x5a12fa
mov ecx, dword [esi + 0x24]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x120]
push edi
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x110]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
lea ecx, [edi*4]
add eax, edx
mov dword [esp + 0x10], ecx
lea ecx, [ebp + 1]
fild dword [esp + 0x10]
lea edx, [ecx*4]
push ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x7c]
fst dword [esp + 0x44]
fstp dword [eax]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x8c]
fstp dword [eax + 4]
fild dword [esp + 0x14]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0xac]
fst dword [esp + 0x50]
fstp dword [eax + 8]
fld dword [esp + 0x18]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
fstp dword [eax + 0x14]
mov dword [eax + 0x24], edx
mov ecx, dword [esi + 0x24]
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x190]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea eax, [edi + 1]
lea ecx, [esp + 0xf8]
push eax
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
lea ecx, [edi + 1]
add eax, edx
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x80]
fst dword [esp + 0x28]
fstp dword [eax]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x90]
fstp dword [eax + 4]
fld dword [esp + 0x18]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0xb0]
fstp dword [eax + 0x14]
mov dword [eax + 0x24], edx
lea eax, [esp + 0x138]
push ecx
mov ecx, dword [esi + 0x24]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [edi + 1]
push ebp
lea ecx, [esp + 0xe8]
push eax
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add eax, edx
lea edx, [ebp*4]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x24]
fstp dword [eax + 4]
fild dword [esp + 0x10]
mov edx, dword [esp + 0x90]
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x1c], edx
fst dword [esp + 0x34]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
mov edx, dword [esp + 0xb0]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 0x24], edx
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x24]
push ebp
lea eax, [esp + 0x168]
push edi
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
push ebp
lea ecx, [esp + 0xe0]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
call fcn.0059ad50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
fld dword [eax]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x40]
add ebx, 4
push ebp
fstp dword [eax + 4]
fld dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x88]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0xa8]
fstp dword [eax + 0x14]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x54]
mov eax, 0xa0
push edi
add edx, eax
add ecx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
add edx, eax
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], edx
call fcn.0059c720
test eax, eax
mov dword [esp + 0x3c], eax
je 0x5a1304
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x6c]
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00555c20
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5a106e
mov eax, dword [esi + 0x64]
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x68]
shl eax, 2
mov dword [esp + 0x38], eax
mov eax, edi
and eax, reloc.wsock32.dll_closesocket
jns 0x5a1086
dec eax
or eax, 0xfffffffc
inc eax
shl eax, 3
mov edx, ebp
lea ecx, [eax + 1]
add eax, 7
mov dword [esp + 0x10], ecx
and edx, reloc.wsock32.dll_closesocket
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x6a8310]
fstp dword [esp + 0x68]
fild dword [esp + 0x10]
fmul dword [0x6a8310]
fstp dword [esp + 0x70]
jns 0x5a10c2
dec edx
or edx, 0xfffffffc
inc edx
mov eax, 4
sub eax, edx
lea edx, [esp + 0x14c]
shl eax, 3
lea ecx, [eax - 7]
dec eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x24]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp + 1]
push eax
push edi
fmul dword [0x6a8310]
push edx
fstp dword [esp + 0x64]
fild dword [esp + 0x1c]
fmul dword [0x6a8310]
fstp dword [esp + 0x78]
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x100]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
shl eax, 5
add eax, ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
fstp dword [eax + 4]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x24]
lea eax, [ebp + 1]
push eax
lea eax, [edi + 1]
lea edx, [esp + 0x180]
push eax
push edx
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
push eax
lea eax, [edi + 1]
lea ecx, [esp + 0xf0]
push eax
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
mov edx, dword [esp + 0x38]
fld dword [eax]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x24]
push ebp
fstp dword [eax + 4]
fld dword [esp + 0x18]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x5c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x24]
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [edi + 1]
push ebp
lea ecx, [esp + 0xd0]
push eax
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
call fcn.0059ad50
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
fld dword [eax]
lea eax, [edx + 2]
mov edx, dword [esp + 0x34]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x24]
push ebp
push edi
fstp dword [eax + 4]
fld dword [esp + 0x1c]
fstp dword [eax + 0xc]
fld dword [esp + 0x20]
fstp dword [eax + 0x10]
fld dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x148]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push ebp
lea ecx, [esp + 0xd8]
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0059ad50
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
fld dword [eax]
lea eax, [edx + 3]
mov edx, dword [esp + 0x34]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x40]
fstp dword [eax + 4]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x60]
inc eax
cmp eax, 8
mov dword [esp + 0x60], eax
jl 0x5a04dc
mov eax, dword [esp + 0x54]
inc eax
cmp eax, 8
mov dword [esp + 0x54], eax
jl 0x5a04ab
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5a2623
mov eax, dword [esi + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [esi + 0x3c]
push esi
mov edx, dword [esi]
call dword [edx + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
cmp eax, 2
jne 0x5a1d63
mov edi, dword [esi + 0x50]
lea ebp, [esi + 0x4c]
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x58], eax
je 0x5a1395
lea eax, [esp + 0xbc]
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.00565e90
mov ecx, dword [eax]
lea edx, [esp + 0xc8]
push ecx
push edx
mov ecx, ebp
call fcn.005a80a0
cmp dword [esp + 0x58], edi
jne 0x5a136a
mov eax, dword [esi + 0x3c]
lea edx, [esp + 0x2c]
push 0
push edx
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x2c]
fild dword [esp + 0x30]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x54], 0
test eax, eax
fmul dword [0x6a8310]
fstp dword [esp + 0x5c]
jle 0x5a1d4f
test eax, eax
mov dword [esp + 0x60], 0
jle 0x5a1d3b
mov eax, ebx
shl eax, 5
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x30]
mov ebp, eax
imul eax, dword [esp + 0x60]
imul ebp, dword [esp + 0x54]
mov edi, dword [esi + 0x1c]
add ebp, ecx
add eax, ecx
mov ecx, dword [esi + 0x20]
add eax, ecx
add ebp, edi
mov edi, eax
mov eax, ebp
and eax, 0x8000001f
mov dword [esp + 0x58], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], edi
jns 0x5a1424
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x10], eax
mov ecx, edi
fild dword [esp + 0x10]
and ecx, 0x8000001f
fmul dword [0x6a8310]
fstp dword [esp + 0x50]
jns 0x5a1445
dec ecx
or ecx, 0xffffffe0
inc ecx
mov edx, 0x20
push edi
sub edx, ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x144]
fild dword [esp + 0x14]
push ebp
push eax
fmul dword [0x6a8310]
fstp dword [esp + 0x54]
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0xd8]
push ebp
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
fld dword [eax]
lea eax, [ecx + edx]
lea edx, [ebp*4]
mov dword [esp + 0x10], edx
lea edx, [edi*4]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
mov edi, ebp
add ecx, 0x20
fstp dword [eax]
mov dword [esp + 0x24], ecx
inc ebx
fstp dword [eax + 4]
fild dword [esp + 0x10]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x50]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [eax + 0x18]
fld dword [esp + 0x48]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x24]
sub edi, eax
mov eax, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], eax
push eax
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0xd0]
push edi
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
lea edx, [edi*4]
add eax, ecx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x28]
fild dword [esp + 0x64]
shl edx, 2
mov dword [esp + 0x38], edx
inc ebx
fst dword [esp + 0x40]
fstp dword [eax]
add ecx, 0x20
fstp dword [eax + 4]
fild dword [esp + 0x38]
mov dword [esp + 0x24], ecx
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x50]
fsub dword [esp + 0x5c]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x6c]
fstp dword [eax + 0x18]
fld dword [esp + 0x48]
fadd dword [esp + 0x5c]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x68]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x5a1713
mov al, byte [esi + 0x28]
test al, al
jne 0x5a1713
mov eax, 3
mov dword [esp + 0x3c], ecx
add ebx, eax
add ecx, 0x60
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x24]
inc eax
mov dword [esp + 0x28], eax
push eax
lea eax, [esp + 0x180]
add edx, 4
push edi
push eax
mov dword [esp + 0x44], edx
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0xf0]
push edi
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
fstp dword [eax + 4]
fild dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
and edx, 0x8000001f
mov dword [eax + 0x18], ecx
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
jns 0x5a16d5
dec edx
or edx, 0xffffffe0
inc edx
mov ecx, 0x20
sub ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
fild dword [esp + 0x10]
add ecx, 0x20
mov dword [esp + 0x3c], ecx
fmul dword [0x6a8320]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x5a163c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add eax, edx
lea ecx, [esp + 0x14c]
push eax
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x34], eax
call fcn.0059add0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x100]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], edx
call fcn.0059ad50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
fld dword [eax]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x40]
add ecx, 0x20
fstp dword [eax + 4]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
shl edx, 2
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x6c]
fild dword [esp + 0x38]
mov dword [eax + 0x18], edx
inc ebx
mov dword [esp + 0x24], ecx
fst dword [esp + 0x34]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x48]
fsub dword [esp + 0x5c]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x10]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x34]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
inc eax
cmp eax, edx
mov dword [esp + 0x48], eax
jne 0x5a18e5
mov al, byte [esi + 0x29]
test al, al
jne 0x5a18e5
mov edx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
add ecx, 0x60
mov eax, 3
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
add ebx, eax
add ecx, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
inc edi
add eax, 4
lea ecx, [esp + 0x164]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
push eax
push edi
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0059add0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0xe0]
push edi
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], edx
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
fild dword [esp + 0x3c]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x34]
fstp dword [eax]
mov dword [eax + 8], edx
mov edx, edi
fstp dword [eax + 4]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
and edx, 0x8000001f
jns 0x5a18ab
dec edx
or edx, 0xffffffe0
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x10]
fild dword [esp + 0x44]
mov dword [eax + 0x1c], edx
add ecx, 0x20
mov dword [esp + 0x44], ecx
fmul dword [0x6a8320]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [eax + 0x18]
mov eax, dword [esp + 0x64]
dec eax
mov dword [esp + 0x64], eax
jne 0x5a181e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add ebp, eax
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x138]
push ebp
push edx
call fcn.0059add0
mov ecx, dword [eax]
mov edi, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0xe8]
push ebp
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
fld dword [eax]
lea eax, [ecx + edx]
lea edx, [ebp*4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x34]
fild dword [esp + 0x64]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x1c], edx
inc ebx
fst dword [esp + 0x40]
fstp dword [eax]
add ecx, 0x20
fstp dword [eax + 4]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x50]
fadd dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x44]
fstp dword [eax + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x34]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
inc eax
cmp eax, edx
jne 0x5a1ab1
mov al, byte [esi + 0x2a]
test al, al
jne 0x5a1ab1
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
add ecx, 0x60
mov eax, 3
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
add ebx, eax
add ecx, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x24]
dec edi
lea eax, [esp + 0x188]
push edi
sub edx, 4
push ebp
push eax
mov dword [esp + 0x48], edx
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0xf8]
push ebp
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
add eax, edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
fstp dword [eax + 4]
fild dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, edi
and ecx, 0x8000001f
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
jns 0x5a1a73
dec ecx
or ecx, 0xffffffe0
inc ecx
mov edx, 0x20
sub edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
add ecx, 0x20
fild dword [esp + 0x50]
mov dword [esp + 0x38], ecx
fmul dword [0x6a8320]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x5a19e8
mov edi, dword [esp + 0x4c]
mov ecx, dword [esi + 0x24]
push edi
lea eax, [esp + 0x120]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x110]
push ebp
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
fld dword [eax]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x40]
inc ebx
add ecx, 0x20
mov dword [eax], edx
lea edx, [edi*4]
fstp dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
fild dword [esp + 0x10]
mov dword [esp + 0x24], ecx
fst dword [esp + 0x34]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
inc edx
test eax, eax
mov dword [esp + 0x20], edx
jne 0x5a1c49
mov al, byte [esi + 0x2b]
test al, al
jne 0x5a1c49
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
add ecx, 0x60
mov dword [esp + 0x3c], eax
mov eax, 3
mov dword [esp + 0x24], ecx
mov ecx, edx
add ebx, eax
add ecx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x3c]
dec ebp
push edi
lea ecx, [esp + 0x15c]
push ebp
sub edx, 4
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x48], edx
call fcn.0059add0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
push edi
lea eax, [esp + 0x118]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x24]
push ebp
push eax
mov dword [esp + 0x28], edx
call fcn.0059ad50
fld dword [eax]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
fild dword [esp + 0x3c]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x34]
fstp dword [eax]
fstp dword [eax + 4]
fld dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, ebp
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
and edx, 0x8000001f
jns 0x5a1c0f
dec edx
or edx, 0xffffffe0
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x68]
fild dword [esp + 0x10]
add ecx, 0x20
mov dword [esp + 0x10], ecx
fmul dword [0x6a8320]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fstp dword [eax + 0x18]
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x5a1b8a
mov ebp, dword [esp + 0x70]
mov ecx, dword [esi + 0x24]
push edi
lea eax, [esp + 0x174]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x108]
push ebp
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
fld dword [eax]
lea eax, [ecx + edx]
lea edx, [ebp*4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
fild dword [esp + 0x10]
add ecx, 0x20
inc ebx
mov dword [esp + 0x24], ecx
lea edi, [esi + 0x4c]
fstp dword [eax]
mov ecx, ebx
fstp dword [eax + 4]
fld dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov ebp, dword [edi + 4]
inc eax
sub ecx, edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov edx, dword [ebp + 4]
mov ecx, edi
push edx
push ebp
call fcn.005a8030
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0xb4]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.00426a30
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x50]
add esp, 8
inc edx
mov dword [edi + 8], edx
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov dword [esp + 0x60], eax
jl 0x5a13e3
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x54], ecx
jl 0x5a13ca
mov esi, dword [esi + 0x3c]
push esi
mov eax, dword [esi]
call dword [eax + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
jle 0x5a262c
mov ebp, dword [esi + 0x50]
mov edi, dword [ebp]
cmp edi, ebp
je 0x5a1d8c
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0xbc]
push eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.005a80a0
cmp edi, ebp
jne 0x5a1d73
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x24]
push 0
push ecx
mov edx, dword [eax]
push 0
push 0
push eax
call dword [edx + 0x2c]
fild dword [esp + 0x30]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x54], 0
test eax, eax
fmul dword [0x6a8310]
fstp dword [esp + 0x5c]
jle 0x5a2623
test eax, eax
mov dword [esp + 0x60], 0
jle 0x5a260f
mov edi, ebx
shl edi, 5
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x30]
mov ebp, eax
imul eax, dword [esp + 0x60]
imul ebp, dword [esp + 0x54]
mov edx, dword [esi + 0x1c]
add ebp, ecx
add ebp, edx
mov edx, dword [esi + 0x20]
add eax, ecx
mov dword [esp + 0x58], ebx
add eax, edx
mov edx, ebp
and edx, 0x8000001f
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], eax
jns 0x5a1e16
dec edx
or edx, 0xffffffe0
inc edx
mov dword [esp + 0x10], edx
mov ecx, eax
fild dword [esp + 0x10]
and ecx, 0x8000001f
fmul dword [0x6a8310]
fstp dword [esp + 0x50]
jns 0x5a1e37
dec ecx
or ecx, 0xffffffe0
inc ecx
mov edx, 0x20
push eax
sub edx, ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x144]
fild dword [esp + 0x14]
push ebp
push eax
fmul dword [0x6a8310]
fstp dword [esp + 0x54]
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0xd8]
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
lea ecx, [ebp*4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
fild dword [esp + 0x10]
add eax, edi
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
fstp dword [eax]
sub ecx, edx
inc ebx
fstp dword [eax + 4]
fild dword [esp + 0x10]
push ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], ecx
add edi, 0x20
fstp dword [eax + 8]
fld dword [esp + 0x18]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
fstp dword [eax + 0x14]
fld dword [esp + 0x54]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x3c]
fstp dword [eax + 0x18]
fld dword [esp + 0x4c]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x48]
fstp dword [eax + 0x1c]
mov ecx, dword [esi + 0x24]
mov eax, ebp
sub eax, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], eax
push eax
lea eax, [esp + 0x130]
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0xd0]
push edx
push eax
call fcn.0059ad50
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
fld dword [eax]
lea eax, [ecx + edi]
lea ecx, [edx*4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
fild dword [esp + 0x10]
lea edx, [ecx*4]
inc ebx
mov dword [esp + 0x10], edx
add edi, 0x20
fst dword [esp + 0x40]
fstp dword [eax]
fstp dword [eax + 4]
fild dword [esp + 0x10]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x50]
fsub dword [esp + 0x5c]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x68]
fstp dword [eax + 0x18]
fld dword [esp + 0x5c]
fadd dword [esp + 0x48]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x6c]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x5a20bc
mov al, byte [esi + 0x28]
test al, al
jne 0x5a20bc
mov eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
push ecx
lea ecx, [esp + 0x180]
push eax
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0059add0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0xf0]
push ecx
mov ecx, dword [esi + 0x24]
push edx
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
add eax, edi
inc ebx
add edi, 0x20
mov dword [eax], ecx
lea ecx, [edx*4]
fstp dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x68]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], 1
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, edx
push eax
lea edx, [esp + 0x150]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov dword [esp + 0x34], eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x100]
push edx
push eax
call fcn.0059ad50
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
fld dword [eax]
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x28]
inc ebx
add edi, 0x20
mov dword [eax], edx
lea edx, [ecx*4]
fstp dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x68]
fild dword [esp + 0x10]
fst dword [esp + 0x34]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x48]
fsub dword [esp + 0x5c]
mov dword [eax + 0x18], edx
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x10]
fstp dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x34]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
inc eax
cmp eax, edx
mov dword [esp + 0x48], eax
jne 0x5a224c
mov al, byte [esi + 0x29]
test al, al
jne 0x5a224c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add eax, edx
push ecx
lea ecx, [esp + 0x168]
push eax
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x38], eax
call fcn.0059add0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0xe0]
push ecx
mov ecx, dword [esi + 0x24]
push edx
call fcn.0059ad50
mov ecx, dword [esp + 0x2c]
fld dword [eax]
mov eax, dword [esp + 0x24]
lea edx, [ecx*4]
mov dword [esp + 0x3c], edx
add eax, edi
fild dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
inc ebx
add edi, 0x20
fstp dword [eax]
fstp dword [eax + 4]
fld dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x24]
add ebp, edx
lea eax, [esp + 0x138]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0xe8]
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
lea ecx, [ebp*4]
mov dword [esp + 0x3c], ecx
add eax, edi
fild dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
inc ebx
add edi, 0x20
fst dword [esp + 0x40]
fstp dword [eax]
fstp dword [eax + 4]
fld dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
fld dword [esp + 0x5c]
fadd dword [esp + 0x50]
inc edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
fmul dword [0x6a8318]
fadd dword [0x6a3a64]
fmul dword [0x6a831c]
fst dword [esp + 0x3c]
fstp dword [eax + 0x18]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x34]
lea eax, [edx + 1]
cmp eax, ecx
jne 0x5a23b8
mov al, byte [esi + 0x2a]
test al, al
jne 0x5a23b8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x24]
sub eax, edx
mov dword [esp + 0x28], eax
push eax
lea eax, [esp + 0x18c]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0xf8]
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
add eax, edi
inc ebx
add edi, 0x20
mov dword [eax], ecx
lea ecx, [edx*4]
fstp dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x3c]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
inc dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x24]
push edx
lea eax, [esp + 0x120]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x110]
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
add eax, edi
inc ebx
add edi, 0x20
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
fstp dword [eax + 4]
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
fild dword [esp + 0x10]
fst dword [esp + 0x34]
fstp dword [eax + 8]
fld dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
inc edx
test eax, eax
mov dword [esp + 0x20], edx
jne 0x5a2503
mov al, byte [esi + 0x2b]
test al, al
jne 0x5a2503
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x24]
sub ebp, edx
lea eax, [esp + 0x15c]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x118]
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
lea ecx, [ebp*4]
mov dword [esp + 0x10], ecx
add eax, edi
fild dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc ebx
add edi, 0x20
fstp dword [eax]
fstp dword [eax + 4]
fld dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
fstp dword [eax + 0xc]
fld dword [esp + 0x18]
fstp dword [eax + 0x10]
fld dword [esp + 0x1c]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x70]
push ecx
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x174]
push ebp
push eax
call fcn.0059add0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x108]
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.0059ad50
fld dword [eax]
mov eax, dword [esp + 0x24]
lea ecx, [ebp*4]
mov dword [esp + 0x10], ecx
add eax, edi
fild dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
inc ebx
add edi, 0x20
fstp dword [eax]
push 0x10
fstp dword [eax + 4]
fld dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x70]
fstp dword [eax + 0xc]
fld dword [esp + 0x1c]
fstp dword [eax + 0x10]
fld dword [esp + 0x20]
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esi + 0x50]
mov ecx, ebx
inc eax
sub ecx, edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x14], edx
call fcn.00673b05
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x5a25c4
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5a25d0
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x5a25f5
mov edx, dword [esp + 0xb4]
mov dword [eax], edx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x54]
mov eax, dword [esp + 0x48]
inc edx
mov dword [esp + 0x60], eax
mov dword [esi + 0x54], edx
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jl 0x5a1dd6
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x54], ecx
jl 0x5a1dc1
mov esi, dword [esi + 0x3c]
push esi
mov edx, dword [esi]
call dword [edx + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret