Function at 0x597490
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x659e4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4dc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x416]
test eax, eax
je 0x598462
mov eax, dword [esi + 0x41a]
test eax, eax
jle 0x598462
movsx ecx, word [esi + 0x126]
cmp eax, ecx
jge 0x598462
mov dl, byte [esp + 0x5b]
push 0xc80
mov byte [esp + 0x40], dl
call fcn.00643b70
add esp, 4
mov dword [esp + 0x40], eax
mov edi, eax
mov ebx, 0x190
lea eax, [esp + 0x80]
push eax
push edi
call fcn.00525380
add esp, 8
add edi, 8
dec ebx
jne 0x597501
mov ecx, dword [esp + 0x40]
lea eax, [ecx + 0xc80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 0x11a]
mov edi, dword [esi + 0x116]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub edi, ecx
sub eax, edx
sub eax, 2
xor ebx, ebx
lea edx, [ecx + edi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], edx
mov edx, dword [0x73a950]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 8]
push edx
push eax
mov dword [esp + 0x4f8], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x64], 1
call fcn.00643ed0
fld qword [esi + 0x10e]
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
jne 0x598455
mov ecx, dword [esi + 0x41a]
mov edx, dword [esi + 0x11e]
fld dword [edx + ecx*4]
fcomp dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x598455
cmp word [esi + 0x426], bx
je 0x597e06
mov eax, edi
mov dword [esp + 0x10], ebx
cdq
idiv dword [esi + 0x3d6]
test eax, eax
jle 0x597671
fild dword [esp + 0x10]
fmul qword [esi + 0x430]
fadd qword [esi + 0x3ca]
fild dword [esi + 0x116]
fxch st(1)
fsub qword [esi + 0x3ca]
fmul qword [esi + 0x428]
fsubp st(1)
call fcn.00645030
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esi + 0x258]
fld qword [eax + ecx*8]
fcom dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x597655
fild dword [esp + 0x38]
fmul st(1)
fdiv qword [esi + 0x10e]
call fcn.00645030
mov edx, dword [0x73a8e0]
mov ecx, dword [ebp + 8]
push 1
push 0
movsx eax, ax
fstp st(0)
push edx
push ebx
push eax
push ebx
push 0
push ecx
mov ecx, 0x732bc0
call fcn.00495d80
jmp 0x597657
fstp st(0)
mov eax, edi
mov ecx, dword [esp + 0x10]
cdq
idiv dword [esi + 0x3d6]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x5975d8
mov ax, word [esi + 0x426]
cmp ax, 1
jne 0x597a1a
lea edx, [esi + 0x364]
mov dword [esp + 0x1c], 0x6bf7c8
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx]
test eax, eax
je 0x5979f4
cmp dword [esi + 0x41a], eax
jle 0x5979f4
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x116]
cdq
idiv dword [esi + 0x3d6]
xor edi, edi
inc ebx
mov dword [esp + 0x10], edi
test eax, eax
jle 0x597810
fild dword [esp + 0x10]
fmul qword [esi + 0x430]
fadd qword [esi + 0x3ca]
fild dword [esi + 0x116]
fxch st(1)
fsub qword [esi + 0x3ca]
fmul qword [esi + 0x428]
fsubp st(1)
call fcn.00645030
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
fld qword [ecx + edx*8]
fcom dword [0x65f998]
fnstsw ax
test ah, 1
je 0x597723
fstp st(0)
jmp 0x5977f0
fild dword [esp + 0x38]
fmul st(1)
fdiv qword [esi + 0x10e]
call fcn.00645030
test ax, ax
fstp st(0)
jle 0x5977f0
test edi, edi
jne 0x59775a
mov eax, dword [esp + 0x40]
mov dword [eax], edi
mov ecx, dword [esp + 0x40]
mov edi, 1
mov dword [ecx + 4], ebx
jmp 0x5977f0
movsx edx, ax
mov eax, dword [esp + 0x40]
inc edi
cmp edi, 0x186
mov dword [eax + edi*8 - 8], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov dword [ecx + edi*8 - 4], edx
jl 0x5977f0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
test ecx, ecx
jne 0x59778a
xor eax, eax
jmp 0x597791
mov eax, edx
sub eax, ecx
sar eax, 3
test ecx, ecx
lea ebx, [eax + 0x190]
jne 0x59779f
xor eax, eax
jmp 0x5977a6
mov eax, edx
sub eax, ecx
sar eax, 3
cmp eax, ebx
jae 0x5977cd
test ecx, ecx
jne 0x5977b2
xor eax, eax
jmp 0x5977b9
mov eax, edx
sub eax, ecx
sar eax, 3
lea ecx, [esp + 0x6c]
sub ebx, eax
push ecx
push ebx
push edx
lea ecx, [esp + 0x48]
call fcn.005996f0
jmp 0x5977f0
lea ecx, [esp + 0x3c]
call fcn.0051ad90
cmp ebx, eax
jae 0x5977f0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push edx
lea ecx, [eax + ebx*8]
push ecx
lea ecx, [esp + 0x44]
call fcn.00599940
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cdq
idiv dword [esi + 0x3d6]
mov ebx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x5976d0
mov edx, dword [esi + 0x11a]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
cdq
idiv dword [esi + 0x3d6]
mov ebx, eax
dec ebx
mov dword [esp + 0x10], ebx
js 0x5978e2
mov eax, dword [esp + 0x20]
fild dword [esi + 0x116]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
fstp qword [esp + 0x74]
lea eax, [edx + ebx*8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x10]
fmul qword [esi + 0x430]
fadd qword [esi + 0x3ca]
fsub qword [esi + 0x3ca]
fmul qword [esi + 0x428]
fsubr qword [esp + 0x74]
call fcn.00645030
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
fld qword [ecx]
fcom dword [0x65f998]
fnstsw ax
test ah, 1
je 0x597894
mov edx, dword [esp + 0x24]
fstp st(0)
mov dword [esp + 0x4c], edx
jmp 0x5978b4
fild dword [esp + 0x38]
fmul st(1)
fdiv qword [esi + 0x10e]
call fcn.00645030
test ax, ax
fstp st(0)
jg 0x5978ca
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x14]
dec ebx
sub ecx, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
mov dword [esp + 0x14], ecx
jge 0x59784c
jmp 0x5978e2
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov dword [ecx + edi*8], 0
mov edx, dword [esp + 0x40]
mov dword [edx + edi*8 + 4], eax
inc edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x668278
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x4f0], 1
mov edx, dword [ecx]
lea ecx, [esp + 0x50]
push edx
call fcn.0064408c
push 0xffffff
lea ecx, [esp + 0x34]
mov byte [esp + 0x4f4], 2
call fcn.0064408c
mov eax, dword [esp + 0x40]
push 2
push edi
push eax
mov byte [esp + 0x4fc], 3
call dword [0x65e0a0]
push eax
lea ecx, [esp + 0x2c]
call fcn.006440f8
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
mov edi, dword [esp + 0x2c]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x28]
neg ecx
sbb ecx, ecx
push eax
and ecx, edi
mov edi, dword [ebp + 8]
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e12c]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
mov edx, dword [esp + 0x2c]
push 1
sbb eax, eax
push 1
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
mov edx, dword [edi + 4]
push ecx
push edx
call dword [0x65e09c]
mov edi, 0x661578
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 4
call fcn.0064406e
mov ebx, 0x6602dc
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x4f0], 5
call fcn.0064406e
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x4f0], 6
call fcn.0064406e
mov byte [esp + 0x4f0], 0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add eax, 4
add edi, 4
cmp eax, 0x6bf7e0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
jl 0x597694
jmp 0x597f37
cmp ax, 2
jne 0x597f37
lea eax, [esi + 0x34c]
mov dword [esp + 0x28], 0x6bf7e0
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
test eax, eax
je 0x597de0
cmp dword [esi + 0x41a], eax
jle 0x597de0
xor eax, eax
mov ebx, dword [esi + 0x116]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov eax, edi
mov edi, dword [esp + 0x40]
cdq
idiv dword [esi + 0x3d6]
inc ebx
test eax, eax
jle 0x597bbe
fild dword [esp + 0x10]
fmul qword [esi + 0x430]
fadd qword [esi + 0x3ca]
fild dword [esi + 0x116]
fxch st(1)
fsub qword [esi + 0x3ca]
fmul qword [esi + 0x428]
fsubp st(1)
call fcn.00645030
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
fld qword [edx + eax*8]
fcom dword [0x65f998]
fnstsw ax
test ah, 1
je 0x597acb
fstp st(0)
jmp 0x597b9e
fild dword [esp + 0x38]
fmul st(1)
fdiv qword [esi + 0x10e]
call fcn.00645030
test ax, ax
fstp st(0)
jle 0x597b9e
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x597b05
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], 1
mov dword [ecx + 4], ebx
jmp 0x597b9a
movsx edx, ax
mov dword [edi + ecx*8], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*8 + 4], edx
inc ecx
cmp ecx, 0x186
mov dword [esp + 0x20], ecx
jl 0x597b9a
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
test edi, edi
jne 0x597b34
xor eax, eax
jmp 0x597b3b
mov eax, edx
sub eax, edi
sar eax, 3
test edi, edi
lea ecx, [eax + 0x190]
jne 0x597b49
xor eax, eax
jmp 0x597b50
mov eax, edx
sub eax, edi
sar eax, 3
cmp eax, ecx
jae 0x597b7b
test edi, edi
jne 0x597b5c
xor eax, eax
jmp 0x597b63
mov eax, edx
sub eax, edi
sar eax, 3
lea edx, [esp + 0x5c]
sub ecx, eax
mov eax, dword [esp + 0x44]
push edx
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.005996f0
jmp 0x597b9a
test edi, edi
je 0x597b9e
sub edx, edi
sar edx, 3
cmp ecx, edx
jae 0x597b9e
mov edx, dword [esp + 0x44]
lea eax, [edi + ecx*8]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00599940
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cdq
idiv dword [esi + 0x3d6]
mov ebx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x597a78
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x11a]
cdq
idiv dword [esi + 0x3d6]
mov dword [esp + 0x4c], ecx
mov ebx, eax
dec ebx
mov dword [esp + 0x10], ebx
js 0x597c76
mov edx, dword [esp + 0x14]
fild dword [esi + 0x116]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
fstp qword [esp + 0x74]
lea edx, [ecx + ebx*8]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x10]
fmul qword [esi + 0x430]
fadd qword [esi + 0x3ca]
fsub qword [esi + 0x3ca]
fmul qword [esi + 0x428]
fsubr qword [esp + 0x74]
call fcn.00645030
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
fld qword [eax]
fcom dword [0x65f998]
fnstsw ax
test ah, 1
je 0x597c42
mov ecx, dword [esp + 0x24]
fstp st(0)
mov dword [esp + 0x4c], ecx
jmp 0x597c62
fild dword [esp + 0x38]
fmul st(1)
fdiv qword [esi + 0x10e]
call fcn.00645030
test ax, ax
fstp st(0)
jg 0x597cac
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x1c]
dec ebx
sub ecx, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
mov dword [esp + 0x1c], ecx
jge 0x597bfa
mov ebx, dword [esp + 0x20]
xor eax, eax
test edi, edi
je 0x597cca
mov edx, dword [esp + 0x44]
sub edx, edi
sar edx, 3
cmp eax, edx
jae 0x597cca
cmp eax, 0x3e8
jge 0x597cca
mov ecx, dword [edi + eax*8]
mov dword [eax*8 + 0x899fa0], ecx
mov edx, dword [edi + eax*8 + 4]
mov dword [eax*8 + 0x899fa4], edx
inc eax
jmp 0x597c7c
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov dword [edi + ebx*8], 0
mov eax, dword [esp + 0x40]
mov dword [eax + ebx*8 + 4], ecx
mov edi, dword [esp + 0x40]
inc ebx
jmp 0x597c7a
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x668278
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4f0], 7
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x70]
call fcn.0064408c
push 0xffffff
lea ecx, [esp + 0x54]
mov byte [esp + 0x4f4], 8
call fcn.0064408c
mov edx, dword [esp + 0x40]
push 2
push ebx
push edx
mov byte [esp + 0x4fc], 9
call dword [0x65e0a0]
push eax
lea ecx, [esp + 0x34]
call fcn.006440f8
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x6c]
neg eax
mov edi, dword [esp + 0x34]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
and ecx, edi
mov edi, dword [ebp + 8]
push ecx
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e12c]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
mov edx, dword [esp + 0x34]
push 1
sbb eax, eax
push 1
and eax, ecx
lea ecx, [esp + 0x38]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [0x65e09c]
mov edi, 0x661578
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x4f0], 0xa
call fcn.0064406e
mov ebx, 0x6602dc
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4f0], 0xb
call fcn.0064406e
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 0xc
call fcn.0064406e
mov edi, dword [esp + 0x18]
mov byte [esp + 0x4f0], 0
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
add eax, 4
add ebx, 4
cmp eax, 0x6bf7f8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
jl 0x597a36
jmp 0x597f37
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 8]
sub edx, edi
cmp edx, 0x14
jl 0x597f37
cmp dword [esi + 0x416], ebx
je 0x597f37
cmp ecx, ebx
jle 0x597f37
mov eax, dword [esi + 0x116]
mov ebx, dword [esi + 0x11a]
sub eax, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov edi, dword [esi + 4]
cdq
idiv dword [esi + 0x3d6]
sub ebx, edi
mov dword [esp + 0x14], 0
sub ebx, 2
mov dword [esp + 0x28], ebx
test eax, eax
jle 0x597f0e
fild dword [esp + 0x14]
fmul qword [esi + 0x430]
fadd qword [esi + 0x3ca]
fild dword [esi + 0x116]
fxch st(1)
fsub qword [esi + 0x3ca]
fmul qword [esi + 0x428]
fsubp st(1)
call fcn.00645030
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esi + 0x258]
fld qword [eax + ecx*8]
fcom dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x597ef0
fild dword [esp + 0x28]
fmul st(1)
fdiv qword [esi + 0x10e]
call fcn.00645030
mov ecx, dword [esi + 0x41e]
mov edx, dword [0x73a8e4]
cmp edi, ecx
push 1
fstp st(0)
push 0
jg 0x597ed7
mov edx, dword [0x73a8e0]
mov ecx, dword [ebp + 8]
push edx
movsx eax, ax
push edi
push eax
push edi
push 0
push ecx
mov ecx, 0x732bc0
call fcn.00495d80
jmp 0x597ef2
fstp st(0)
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cdq
idiv dword [esi + 0x3d6]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x597e63
mov eax, dword [esi + 0x422]
mov edi, dword [esi + 8]
mov edx, dword [0x73a964]
push 1
sub eax, edi
push 0
push edx
push eax
push ebx
push eax
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, 0x732bc0
call fcn.00495d80
mov di, word [esi + 0x10]
lea edx, [esi + 0x378]
sub di, 0x64
lea ecx, [esi + 0x34c]
mov dword [esp + 0x14], edx
lea ebx, [esp + 0x88]
movsx eax, di
mov dword [esp + 0x1c], 0x6bf7e0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], 0x6bf7dc
mov dword [esp + 0x18], 6
mov edx, 4
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
sub ecx, 0x82
mov dword [ebx], ecx
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
sub ecx, edx
mov dword [ebx + 8], ecx
lea ecx, [eax - 0x11]
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
movsx eax, word [esi + 0x426]
dec eax
mov dword [esp + 0x20], ecx
je 0x598029
dec eax
jne 0x5980b0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
cmp dword [ecx], 0
je 0x5980b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push ebx
call fcn.00643ed0
mov ecx, dword [esp + 0x38]
sub esp, 8
mov eax, dword [ecx]
fld qword [eax + 0xc]
fmul qword [0x663768]
mov edx, dword [eax]
lea eax, [esp + 0xf0]
fstp qword [esp]
push edx
push 0x6bf88c
push eax
call dword [fcn.0065f1cc]
mov edx, dword [0x73a950]
mov eax, dword [ebx + 4]
add esp, 0x14
lea ecx, [esp + 0xe8]
push ecx
mov ecx, dword [ebx]
push 0x69a8e4
push 0
push edx
mov edx, dword [ebp + 8]
add ecx, 6
push eax
push ecx
lea eax, [esp + 0x74]
push edx
push eax
jmp 0x59809e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp dword [eax], 0
je 0x5980b0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
push edx
push ebx
call fcn.00643ed0
mov eax, dword [esp + 0x14]
sub esp, 8
lea edx, [esp + 0xf0]
mov eax, dword [eax]
fld qword [eax + 0xc]
fmul qword [0x663768]
mov ecx, dword [eax]
fstp qword [esp]
push ecx
push 0x6bf878
push edx
call dword [fcn.0065f1cc]
mov ecx, dword [0x73a950]
mov edx, dword [ebx + 4]
add esp, 0x14
lea eax, [esp + 0xe8]
push eax
mov eax, dword [ebx]
push 0x69a8e4
push 0
push ecx
mov ecx, dword [ebp + 8]
add eax, 6
push edx
push eax
lea edx, [esp + 0x8c]
push ecx
push edx
push 0x732bc0
call fcn.00496440
add esp, 0x24
mov edx, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, edx
add ebx, 0x10
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
add ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
add ecx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
jne 0x597f7a
mov eax, dword [esi + 0x41a]
mov ecx, dword [esi + 0x122]
shl eax, 5
mov ebx, 0x2710
mov ecx, dword [ecx + eax]
mov eax, ecx
cdq
idiv ebx
mov ebx, 0x64
mov eax, edx
mov dword [esp + 0x28], edx
cdq
idiv ebx
mov eax, 0x51eb851f
push edx
imul dword [esp + 0x2c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x68db8bad
push edx
imul ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0xf4]
push 0x6a0a74
push edx
call dword [fcn.0065f1cc]
mov eax, dword [0x73a974]
add esp, 0x14
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x5c]
push 0x6bf868
push 0
push eax
movsx eax, di
push eax
push 4
push ebx
push ecx
push 0x732bc0
call fcn.00496440
mov edx, eax
add esp, 0x20
mov eax, dword [edx]
add eax, 0xa
mov ecx, dword [edx + 4]
lea edx, [esp + 0xe8]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x73a974]
push edx
push 0x69a8e4
push 0
push ecx
movsx ecx, di
push ecx
push eax
lea edx, [esp + 0x74]
push ebx
push edx
push 0x732bc0
call fcn.00496440
mov ecx, dword [0x73a974]
add esp, 0x24
add edi, 0x11
lea edx, [esp + 0x5c]
movsx eax, di
push 0x6bf85c
push 0
push ecx
push eax
push 4
push ebx
push edx
push 0x732bc0
mov dword [esp + 0x38], eax
call fcn.00496440
mov ecx, dword [eax]
add esp, 0x20
mov dword [esp + 0x30], ecx
add ecx, 0xa
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x73a8e0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 1
push 0
push ecx
mov ecx, dword [esi + 4]
lea edx, [eax + 0x10]
push edx
mov edx, dword [esi + 0xc]
sub edx, ecx
mov ecx, 0x732bc0
sub edx, 8
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
push ebx
call fcn.00495fa0
mov edx, dword [esp + 0x18]
mov ecx, dword [0x73a8e4]
push 1
push 0
lea eax, [edx + 0x10]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esi + 0xc]
sub eax, edx
sub eax, ecx
sub eax, 0x12
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul qword [esi + 0x3de]
fiadd dword [esp + 0x38]
call fcn.00645030
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push ebx
mov ecx, 0x732bc0
call fcn.00495fa0
fld qword [esi + 0x3de]
fmul qword [0x663768]
mov eax, dword [0x73a974]
mov edx, dword [esi + 0xc]
sub esp, 8
mov ecx, dword [esp + 0x20]
fstp qword [esp]
push 0x6bf854
push 0
push eax
mov eax, dword [esi + 4]
sub edx, eax
mov eax, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x74]
lea eax, [edx + eax + 2]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xe
push eax
push ebx
push ecx
push 0x732bc0
call fcn.00496440
fld dword [0x732a48]
add edi, 0x11
add esp, 0x20
movsx eax, di
mov dword [esp + 0x20], eax
fstp qword [esp]
mov edx, dword [0x73a974]
push 0x6bf844
push 0
push edx
push eax
push 4
lea eax, [esp + 0x78]
push ebx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, dword [eax]
add esp, 0x28
mov dword [esp + 0x30], ecx
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [0x732a48]
push eax
mov dword [esp + 0x38], edx
call fcn.00599510
fmul qword [0x663768]
mov ecx, dword [0x73a974]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
sub esp, 8
add eax, 0xa
fstp qword [esp]
push 0x6bcfdc
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
push ebx
push ecx
push 0x732bc0
call fcn.00496440
fld dword [esi + 0x438]
mov edx, dword [0x73a974]
add esp, 0x20
add edi, 0x11
lea ecx, [esp + 0x64]
fstp qword [esp]
movsx eax, di
push 0x6bf830
push 0
push edx
push eax
push 4
push ebx
push ecx
push 0x732bc0
call fcn.00496440
mov edx, dword [esi + 0x402]
mov eax, dword [esi + 0x3fe]
fld dword [esi + 0x3fa]
add esp, 0x28
mov ecx, dword [0x73a974]
add edi, 0x11
push edx
push eax
sub esp, 8
lea eax, [esp + 0x6c]
movsx edx, di
fstp qword [esp]
fld dword [esi + 0x3f6]
sub esp, 8
fstp qword [esp]
push 0x6bf814
push 0
push ecx
push edx
push 4
push ebx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, dword [esi + 0x412]
add esp, 0x38
add edi, 0x11
mov edx, dword [esi + 0x40e]
push ecx
fld dword [esi + 0x40a]
push edx
mov eax, dword [0x73a974]
sub esp, 8
lea edx, [esp + 0x6c]
movsx ecx, di
fstp qword [esp]
fld dword [esi + 0x406]
sub esp, 8
fstp qword [esp]
push 0x6bf7f8
push 0
push eax
push ecx
push 4
push ebx
push edx
push 0x732bc0
call fcn.00496440
add esp, 0x38
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00548960
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x40]
push eax
call fcn.00643cfc
add esp, 4
mov ecx, dword [esp + 0x4e8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4