Function at 0x40f270
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51af99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], ebx
push 0x40
mov dword [ebp - 4], ebx
mov dword [esi + 0x148], 0x10
call fcn.00514cc0
mov dword [esi + 0x13c], eax
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov ecx, dword [0x5b7468]
add esp, 4
push str.TEX_INT_CRIST
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0x68], eax
mov ecx, dword [0x5b7468]
push str.TEX_INT_GRID
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0x118], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_PANEL_L
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xcc], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_L
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0xcc]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0x6c], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x70], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_PANEL_R
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xd0], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_R
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xfc], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_PANEL_R2
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xd4], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_R2
add ecx, 0x30
call fcn.00404620
mov ecx, dword [esi + 0xd4]
push ecx
lea edx, [ebp - 0x28]
mov dword [esi + 0x100], eax
mov ecx, dword [0x5b7478]
push edx
call fcn.004a5460
mov ecx, dword [eax]
mov dword [esi + 0x7c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0xd0]
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0x80], edx
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0x74], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x78], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_CORNER_U
add ecx, 0x30
call fcn.00404620
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0xe0], eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0x84], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x88], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_CORNER_D
add ecx, 0x30
call fcn.00404620
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0xe4], eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0x8c], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x90], eax
mov ecx, dword [0x5b7478]
push str.SUF_FON_BASE
add ecx, 0x30
call fcn.00404620
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0xec], eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0x94], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x98], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_PANEL_U
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xd8], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_U
add ecx, 0x30
call fcn.00404620
mov ecx, dword [esi + 0xd8]
push ecx
lea edx, [ebp - 0x28]
mov dword [esi + 0xf0], eax
mov ecx, dword [0x5b7478]
push edx
call fcn.004a5460
mov ecx, dword [eax]
mov dword [esi + 0x9c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xa0], edx
mov ecx, dword [0x5b7478]
push str.SUF_INT_PANEL_D
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xdc], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_D
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xdc]
lea ecx, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0xa4], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xa8], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_S
add ecx, 0x30
call fcn.00404620
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0x104], eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0xbc], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xc0], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_BS
add ecx, 0x30
call fcn.00404620
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0x114], eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0xc4], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xc8], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_INFO
add ecx, 0x30
call fcn.00404620
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0xe8], eax
push ecx
mov ecx, dword [0x5b7478]
call fcn.004a5460
mov edx, dword [eax]
mov dword [esi + 0xac], edx
mov eax, dword [eax + 4]
mov dword [esi + 0xb0], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_MASK_I
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0x108], eax
mov ecx, dword [0x5b7478]
push str.SUF_INT_BUTTON
add ecx, 0x30
call fcn.00404620
mov dword [esi + 0x110], eax
mov ecx, dword [0x5b7478]
push 0x522568
add ecx, 0x30
call fcn.00404620
mov ecx, dword [esi + 0x110]
push ecx
lea edx, [ebp - 0x28]
mov dword [esi + 0x10c], eax
mov ecx, dword [0x5b7478]
push edx
call fcn.004a5460
mov ecx, dword [eax]
mov dword [esi + 0xb4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xb8], edx
fild dword [0x541104]
fmul dword [0x522564]
fstp dword [esi + 0x60]
fild dword [0x541108]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
fidiv dword [esi + 0x70]
fstp dword [esi + 0x64]
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x12c], ebx
xor eax, eax
mov ecx, 6
lea edi, [esi + 0x14c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x164], ebx
mov ecx, dword [0x5b7484]
call fcn.004983d0
sar eax, 1
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fld dword [esi + 0x60]
fmul dword [0x522560]
call fcn.00514cfc
fld dword [esi + 0x64]
fmul dword [0x52255c]
mov edi, eax
fsub st(1)
call fcn.00514cfc
mov ebx, eax
mov eax, dword [0x541104]
sar eax, 1
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fld dword [esi + 0x60]
fmul dword [0x521624]
fsubp st(1)
call fcn.00514cfc
fmul dword [0x522558]
mov dword [ebp - 0x18], eax
add eax, edi
mov dword [ebp - 0x5c], eax
call fcn.00514cfc
mov edi, ebx
push 0x54
sub edi, eax
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x40f795
mov ecx, dword [0x576328]
mov eax, dword [ecx + 0xf90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00446fa0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x5c]
push 1
push 0xe0ffffff
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 0xc], edi
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 1
call int.00428f50
jmp 0x40f797
xor eax, eax
mov dword [esi + 0x184], eax
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
je 0x40f7bb
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00446d60
mov eax, dword [esi + 0x184]
mov dword [eax + 0x50], 1
mov ecx, dword [esi + 0x184]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov edi, dword [esi + 0xb0]
lea edx, [edi - 0x28]
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x1c]
fmul dword [esi + 0x64]
call fcn.00514cfc
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x18], eax
add eax, 0xffffff88
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fmul dword [esi + 0x60]
call fcn.00514cfc
fild dword [0x541108]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xa8]
lea ecx, [edi + eax - 0x14]
mov dword [ebp - 0x1c], ecx
fild dword [ebp - 0x1c]
fmul dword [esi + 0x64]
fsubp st(1)
call fcn.00514cfc
fild dword [0x541104]
fild dword [ebp - 0x18]
mov edi, eax
fmul dword [esi + 0x60]
fsubp st(1)
call fcn.00514cfc
sar eax, 1
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fld dword [esi + 0x60]
fmul dword [0x522554]
faddp st(1)
call fcn.00514cfc
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov ebx, eax
lea eax, [ebx + edx]
lea edx, [edi + ecx]
push 0x54
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x40f8c8
push 0x52145c
lea ecx, [ebp - 0x44]
call fcn.00446fa0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
push 0
push 0xe0ffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
or edx, 2
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x58]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 5
call int.00428f50
jmp 0x40f8ca
xor eax, eax
mov dword [esi + 0x188], eax
test byte [ebp - 0x14], 2
mov dword [ebp - 4], 0
je 0x40f8ee
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffd
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
call fcn.00446d60
mov eax, dword [esi + 0x188]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
fild dword [esi + 0xc0]
fmul dword [esi + 0x64]
fcom dword [0x521418]
fst dword [ebp - 0x24]
fnstsw ax
test ah, 0x41
jne 0x40f91d
fadd dword [0x5213d0]
jmp 0x40f923
fsub dword [0x5213d0]
call fcn.00514cfc
fild dword [esi + 0xbc]
mov dword [ebp - 0x18], eax
fmul dword [esi + 0x60]
fld st(0)
fcom dword [0x521418]
fnstsw ax
test ah, 0x41
jne 0x40f94b
fadd dword [0x5213d0]
jmp 0x40f951
fsub dword [0x5213d0]
call fcn.00514cfc
fild dword [0x541108]
mov ebx, eax
fsub dword [ebp - 0x24]
fld dword [esi + 0x64]
fmul dword [0x522500]
fsubp st(1)
fcom dword [0x521418]
fnstsw ax
test ah, 0x41
jne 0x40f981
fadd dword [0x5213d0]
jmp 0x40f987
fsub dword [0x5213d0]
call fcn.00514cfc
fisubr dword [0x541104]
mov edi, eax
fcom dword [0x521418]
fnstsw ax
test ah, 0x41
jne 0x40f9a9
fadd dword [0x5213d0]
jmp 0x40f9af
fsub dword [0x5213d0]
call fcn.00514cfc
fld dword [esi + 0x60]
mov edx, dword [ebp - 0x18]
fmul dword [0x522550]
sar edi, 1
mov ecx, edi
sar eax, 1
mov edi, eax
lea eax, [edi + ebx]
lea ebx, [esi + 0x50]
mov dword [ebx], edi
mov dword [ebx + 4], ecx
add edx, ecx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov dword [ebp - 0x48], edi
mov ebx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.00514cfc
fld dword [esi + 0x64]
fmul dword [0x52254c]
sub edi, eax
call fcn.00514cfc
fld dword [esi + 0x60]
fmul dword [0x522550]
add ebx, eax
call fcn.00514cfc
fld dword [esi + 0x64]
mov edx, dword [ebp - 0x40]
fmul dword [0x522550]
add edx, eax
mov dword [ebp - 0x40], edx
call fcn.00514cfc
mov ecx, dword [ebp - 0x3c]
add ecx, eax
push 0xcc
mov dword [ebp - 0x3c], ecx
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x40fa62
mov edx, dword [ebp - 0x40]
push 0
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edx
mov ecx, eax
call fcn.0040c340
jmp 0x40fa64
xor eax, eax
mov dword [esi + 0x4c], eax
mov ecx, dword [eax + 0x64]
mov byte [ebp - 4], 0
call fcn.0042f5a0
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x64]
mov dword [eax + 0x40], 0xffffff
mov dword [eax + 0x2c], 0xd0d0d0
mov dword [eax + 0x38], 0xa099ea
mov dword [eax + 0x34], 0xc4635a
mov dword [eax + 0x3c], 0x8b8a9c
mov dword [eax + 0x44], 0
mov eax, dword [esi + 0x4c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov ecx, dword [esi + 0x4c]
mov dword [ecx + 0x18], esi
mov edx, dword [esi + 0xa8]
sar edx, 1
add edx, 4
mov byte [esi + 0x1d1], 0
fild dword [0x541108]
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fmul dword [esi + 0x64]
fsubp st(1)
call fcn.00514cfc
fild dword [0x541104]
mov edi, eax
mov eax, dword [esi + 0xa4]
sub eax, 0x50
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
fmul dword [esi + 0x60]
fsubp st(1)
call fcn.00514cfc
sar eax, 1
lea ebx, [eax - 0x10]
add edi, 0xfffffff0
lea ecx, [ebx + 0x64]
lea edx, [edi + 0x24]
push 0x54
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 8
je 0x40fb71
push 0x52145c
lea ecx, [ebp - 0x44]
call fcn.00446fa0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
push 1
push 0xe0ffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
or edx, 4
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x58]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 9
call int.00428f50
jmp 0x40fb73
xor eax, eax
mov dword [esi + 0x18c], eax
test byte [ebp - 0x14], 4
mov dword [ebp - 4], 0
je 0x40fb97
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffb
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
call fcn.00446d60
mov ecx, dword [esi + 0x18c]
add ecx, 8
push ecx
mov ecx, dword [0x576328]
push 0x522538
call int.004373f0
mov eax, dword [esi + 0x18c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
fld dword [esi + 0x60]
fmul dword [0x521624]
fiadd dword [ebp - 0x20]
call fcn.00514cfc
fld dword [esi + 0x64]
fmul dword [0x5215e4]
mov edi, eax
call fcn.00514cfc
fld dword [esi + 0x60]
fmul dword [0x52161c]
mov dword [ebp - 0x20], eax
fadd dword [0x522534]
call fcn.00514cfc
fild dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
fstp dword [ebp - 0x18]
fld dword [esi + 0x64]
fmul dword [0x521620]
fsubr dword [ebp - 0x18]
call fcn.00514cfc
mov ecx, dword [ebp - 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x20]
add edi, 0xffffffe2
lea edx, [edi + ecx]
add eax, ebx
push 0x54
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 0xb
je 0x40fc81
push 0x52145c
lea ecx, [ebp - 0x44]
call fcn.00446fa0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
or ecx, 8
push 1
mov dword [ebp - 0x14], ecx
push 0xe0ffffff
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
call int.00428f50
jmp 0x40fc83
xor eax, eax
mov dword [esi + 0x190], eax
test byte [ebp - 0x14], 8
mov dword [ebp - 4], 0
je 0x40fca7
mov eax, dword [ebp - 0x14]
and eax, 0xfffffff7
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
call fcn.00446d60
lea ecx, [ebp - 0x38]
call fcn.00446ee0
mov ecx, dword [0x576328]
lea edx, [ebp - 0x38]
push edx
push str.INT_MASSA_TIP
mov byte [ebp - 4], 0xe
call int.004373f0
mov ecx, dword [esi + 0x190]
lea eax, [ebp - 0x38]
push eax
call fcn.00428410
mov eax, dword [esi + 0x190]
mov dword [eax + 0x48], 1
mov eax, dword [esi + 0x190]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
fld dword [esi + 0x64]
fmul dword [0x5215e4]
call fcn.00514cfc
fld dword [esi + 0x60]
fmul dword [0x5215e8]
mov dword [ebp - 0x20], eax
fadd dword [0x522534]
call fcn.00514cfc
fld dword [esi + 0x64]
fadd st(0), st(0)
mov dword [ebp - 0x24], eax
fadd dword [ebp - 0x18]
call fcn.00514cfc
mov ecx, dword [ebp - 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x20]
lea edx, [edi + ecx]
lea ecx, [ebx + eax]
push 0x54
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 0xf
je 0x40fd94
push 0x52145c
lea ecx, [ebp - 0x54]
call fcn.00446fa0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
push 1
push 0xe0ffffff
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
or ecx, 0x10
mov dword [edx + 4], ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 0x10
call int.00428f50
jmp 0x40fd96
xor eax, eax
mov dword [esi + 0x194], eax
test byte [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xe
je 0x40fdb1
lea ecx, [ebp - 0x54]
call fcn.00446d60
mov ecx, dword [0x576328]
lea eax, [ebp - 0x38]
push eax
push str.INT_RATING_TIP
call int.004373f0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [esi + 0x194]
call fcn.00428410
mov eax, dword [esi + 0x194]
mov dword [eax + 0x48], 1
mov eax, dword [esi + 0x194]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00446d60
fld dword [esi + 0x64]
mov ecx, dword [0x57643c]
fmul dword [0x522474]
mov edi, dword [ecx]
mov ecx, dword [0x541108]
imul ecx, ecx, 0x1d6
mov eax, 0x1b4e81b5
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 0x28]
mov dword [ebp - 0x24], ecx
fild dword [ebp - 0x24]
fadd st(1)
call fcn.00514cfc
mov ebx, eax
mov eax, dword [0x541108]
imul eax, eax, 0x190
mov ecx, eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 0x28]
mov dword [ebp - 0x24], ecx
fild dword [ebp - 0x24]
fadd st(1)
call fcn.00514cfc
fstp st(0)
push 0x60
mov dword [ebp - 0x14], eax
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 0x12
je 0x40ff19
fild dword [0x541104]
mov dword [ebp - 0x60], 0xe6
fld dword [esi + 0x60]
mov dword [ebp - 0x58], 0x2e6
fmul dword [0x522474]
fsubp st(1)
call fcn.00514cfc
push edi
lea edx, [eax + 0x19]
mov dword [ebp - 0x40], edx
push 0x101
sub esp, 0x10
mov edx, esp
mov ecx, 0x80
mov dword [edx], ecx
mov ecx, 0xe6
mov dword [edx + 4], ecx
mov ecx, 0x280
mov dword [edx + 8], ecx
mov ecx, 0x2e6
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, 0x9b
mov dword [edx], ecx
mov ecx, dword [ebp - 0x60]
mov dword [edx + 4], ecx
mov ecx, 0x29b
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
lea eax, [ebx + 0x11]
mov dword [edx + 0xc], eax
call fcn.00428620
jmp 0x40ff1b
xor eax, eax
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 0
mov dword [esi + 0x19c], eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x19c]
push 0x60
mov byte [eax + 0x2d], 1
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 0x13
je 0x40ffe3
fild dword [0x541104]
add ebx, 0x22
fld dword [esi + 0x60]
fmul dword [0x522474]
fsubp st(1)
call fcn.00514cfc
push edi
push 0x102
lea ecx, [eax + 0x19]
mov dword [ebp - 0x5c], ecx
sub esp, 0x10
lea edx, [ebx - 0x11]
mov dword [ebp - 0x58], edx
mov edx, esp
mov ecx, 0x80
mov dword [edx], ecx
mov ecx, 0xffffff1a
mov dword [edx + 4], ecx
mov ecx, 0x280
mov dword [edx + 8], ecx
mov ecx, 0xfffffd1a
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, 0x9b
mov dword [edx], ecx
mov ecx, 0xffffff1a
mov dword [edx + 4], ecx
mov ecx, 0x29b
mov dword [edx + 8], ecx
mov ecx, 0xfffffd1a
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x5c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x24]
call fcn.00428620
jmp 0x40ffe5
xor eax, eax
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 0
mov dword [esi + 0x1a0], eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x1a0]
push 0x60
mov byte [eax + 0x2d], 1
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 0x14
je 0x4100ad
fld dword [esi + 0x60]
mov ebx, 0xe6
fmul dword [0x522480]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], 0x2e6
call fcn.00514cfc
mov edx, dword [ebp - 0x14]
add edx, 0x11
mov dword [ebp - 0x3c], edx
push edi
lea ecx, [eax + 0x19]
mov dword [ebp - 0x40], ecx
push 0x103
sub esp, 0x10
mov edx, esp
mov ecx, 0x80
mov dword [edx], ecx
mov dword [edx + 4], ebx
mov ecx, 0x280
mov dword [edx + 8], ecx
mov ecx, 0x2e6
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, 0x9b
mov dword [edx], ecx
mov ecx, ebx
mov dword [edx + 4], ecx
mov ecx, 0x29b
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x40]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
call fcn.00428620
jmp 0x4100af
xor eax, eax
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 0
mov dword [esi + 0x1a4], eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x1a4]
push 0x60
mov byte [eax + 0x2d], 1
call fcn.00514cc5
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 0x15
je 0x41018a
fld dword [esi + 0x60]
mov ebx, dword [ebp - 0x14]
fmul dword [0x522480]
mov dword [ebp - 0x64], 0x80
mov dword [ebp - 0x5c], 0x280
mov dword [ebp - 0x44], 0xffffff1a
mov dword [ebp - 0x48], 0x9b
mov dword [ebp - 0x40], 0x29b
mov dword [ebp - 0x3c], 0xfffffd1a
add ebx, 0x22
call fcn.00514cfc
push edi
push 0x104
sub esp, 0x10
lea edx, [ebx - 0x11]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x64]
mov edi, esp
mov dword [edi], edx
mov edx, 0xffffff1a
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x5c]
mov dword [edi + 8], edx
mov edx, 0xfffffd1a
mov dword [edi + 0xc], edx
mov edi, dword [ebp - 0x48]
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [ebp - 0x44]
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x40]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x3c]
mov dword [edx + 0xc], edi
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
lea ecx, [eax + 0x19]
mov eax, dword [ebp - 0x68]
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
call fcn.00428620
jmp 0x41018c
xor eax, eax
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 0
mov dword [esi + 0x1a8], eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x1a8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov byte [eax + 0x2d], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret