Function at 0x44d5e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc7a3
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x511d60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov byte [edi + 0x39], 0
mov byte [edi + 0xa88], 0
movsd qword [edi + 0xa80], xmm0
movsd qword [edi + 0xa58], xmm0
movsd qword [edi + 0x30], xmm0
mov dword [edi + 0x18], eax
mov eax, dword [0x516310]
push str.ftdlayouts.xml
push eax
mov ecx, dword [eax]
call dword [ecx + 0x64]
push eax
lea ecx, [ebp - 0x158]
call fcn.004a3510
mov ecx, dword [0x516328]
push str.ftdlayouts.xml
mov dword [ebp - 4], 0
call fcn.00492ac0
mov esi, eax
test esi, esi
je 0x44dda9
push 2
push 0
push esi
lea ecx, [ebp - 0x158]
call fcn.004a64b0
push esi
call fcn.004c273d
add esp, 4
cmp byte [ebp - 0x12c], 0
jne 0x44dda9
lea eax, [ebp - 0x158]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0xfc]
lea eax, [ebp - 0xf4]
push eax
call fcn.004a47b0
mov esi, dword [eax]
test esi, esi
je 0x44dda9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test eax, eax
je 0x44dda9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test eax, eax
je 0x44dda9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test eax, eax
je 0x44dc13
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
mov dword [ebp - 0xec], esi
test esi, esi
je 0x44dc13
nop
mov eax, dword [esi + 0x20]
mov ecx, str.layout
add eax, 8
jmp 0x44d720
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44d740
test dl, dl
je 0x44d73c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44d740
add eax, 2
add ecx, 2
test dl, dl
jne 0x44d720
xor eax, eax
jmp 0x44d745
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44dbfc
mov dword [ebp - 0xf8], eax
mov ecx, esi
lea eax, [ebp - 0xf8]
push eax
push str.level
call fcn.004a5430
mov eax, dword [ebp - 0xf8]
cmp eax, dword [edi + 0x18]
jne 0x44dbfc
push str.back
mov ecx, esi
call fcn.004a3f20
push eax
push dword [edi + 0x18]
lea eax, [ebp - 0xd8]
push str.ftd_d_s
push eax
call fcn.004c2d41
mov ecx, dword [0x516328]
lea eax, [ebp - 0xd8]
add esp, 0x10
push 0
push eax
call fcn.00492990
mov ecx, dword [edi + 4]
push eax
push 0x64
mov dword [edi + 0x3c], eax
call fcn.0048d3c0
push dword [edi + 0x3c]
mov ecx, dword [edi + 4]
push 0x65
call fcn.0048d3c0
push 0x438
lea eax, [edi + 0x40]
mov dword [edi + 0x478], 0
push 0
push eax
call fcn.004c2780
add esp, 0xc
mov ecx, esi
call fcn.004a4840
mov esi, eax
test esi, esi
je 0x44dbf6
jmp 0x44d800
mov ecx, dword [esi + 0x20]
mov edx, str.picture
add ecx, 8
jmp 0x44d810
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44d830
test al, al
je 0x44d82c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44d830
add ecx, 2
add edx, 2
test al, al
jne 0x44d810
xor eax, eax
jmp 0x44d835
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44dbe5
mov dword [ebp - 0xf0], eax
mov ecx, esi
lea eax, [ebp - 0xf0]
push eax
push str.coin
call fcn.004a5430
mov eax, dword [edi + 0x478]
cmp dword [ebp - 0xf0], 0
push str.hidden
setne cl
lea eax, [eax + eax*8]
mov byte [edi + eax*4 + 0x40], cl
mov ecx, esi
call fcn.004a3f20
push eax
push dword [edi + 0x18]
lea eax, [ebp - 0x74]
push str.ftd_d_s
push eax
call fcn.004c2d41
mov ecx, dword [0x516328]
lea eax, [ebp - 0x74]
add esp, 0x10
push 0
push eax
call fcn.00492990
mov ecx, dword [edi + 0x478]
lea ecx, [ecx + ecx*8]
mov dword [edi + ecx*4 + 0x44], eax
cmp dword [ebp - 0xf0], 0
je 0x44d8f6
push str.open
mov ecx, esi
call fcn.004a3f20
push eax
push dword [edi + 0x18]
lea eax, [ebp - 0x74]
push str.ftd_d_s
push eax
call fcn.004c2d41
mov ecx, dword [0x516328]
lea eax, [ebp - 0x74]
add esp, 0x10
push 0
push eax
call fcn.00492990
mov ecx, dword [edi + 0x478]
add ecx, 2
lea ecx, [ecx + ecx*8]
mov dword [edi + ecx*4], eax
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
push 0x4e17a4
call fcn.004a5430
lea eax, [ebp - 0xf4]
mov ecx, esi
push eax
push 0x4e17a8
call fcn.004a5430
lea eax, [ebp - 0xe4]
mov ecx, esi
push eax
push 0x4e17ac
call fcn.004a5430
lea eax, [ebp - 0xe8]
mov ecx, esi
push eax
push 0x4e17b0
call fcn.004a5430
mov eax, dword [edi + 0x478]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x110]
mov dword [edi + ecx*4 + 0x4c], eax
mov eax, dword [edi + 0x478]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0xf4]
mov dword [edi + ecx*4 + 0x50], eax
mov eax, dword [edi + 0x478]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0xe4]
mov dword [edi + ecx*4 + 0x54], eax
mov eax, dword [edi + 0x478]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0xe8]
mov dword [edi + ecx*4 + 0x58], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [edi + 0x478]
lea ecx, [eax + eax*8]
mov ecx, dword [edi + ecx*4 + 0x44]
call fcn.00492a40
cvttsd2si ecx, qword [ebp - 0x104]
mov eax, dword [edi + 0x478]
push 0x32
sub esp, 0x10
lea eax, [eax + eax*8]
mov dword [edi + eax*4 + 0x5c], ecx
cvttsd2si ecx, qword [ebp - 0x10c]
mov eax, dword [edi + 0x478]
lea eax, [eax + eax*8]
mov dword [edi + eax*4 + 0x60], ecx
movd xmm0, dword [ebp - 0xe8]
mov ecx, dword [edi + 0x478]
cvtdq2pd xmm0, xmm0
lea eax, [ecx + 0x82]
movsd qword [esp + 8], xmm0
movd xmm0, dword [ebp - 0xe4]
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ecx + ecx*8]
mov ecx, dword [edi + 4]
push dword [edi + eax*4 + 0x44]
call fcn.00484ba0
movd xmm0, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [edi + 0x478]
cvtdq2pd xmm0, xmm0
push 0x32
sub esp, 0x10
add eax, 0x2ab
movsd qword [esp + 8], xmm0
movd xmm0, eax
lea eax, [ecx + 0x96]
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ecx + ecx*8]
push dword [edi + eax*4 + 0x44]
mov ecx, dword [edi + 4]
call fcn.00484ba0
cmp dword [ebp - 0xf0], 0
jne 0x44da8f
mov eax, dword [edi + 0x478]
sub esp, 8
mov ecx, dword [edi + 4]
xorps xmm0, xmm0
add eax, 0x96
movsd qword [esp], xmm0
push eax
call fcn.0048c9f0
push 0x78
call fcn.004c0d0a
add esp, 4
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x44dab0
mov ecx, eax
call fcn.0044d0c0
jmp 0x44dab2
xor eax, eax
push dword [edi + 0xa30]
mov ecx, eax
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0
call fcn.00445450
movd xmm0, dword [ebp - 0xe8]
movsd xmm1, qword [ebp - 0x10c]
mulsd xmm1, qword [0x4e0730]
mov eax, dword [edi + 0x478]
cvtdq2pd xmm0, xmm0
mov ecx, dword [edi + 4]
add eax, 0xbe
push 0x46
sub esp, 0x10
addsd xmm1, xmm0
movd xmm0, dword [ebp - 0xe4]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 8], xmm1
movsd xmm1, qword [ebp - 0x104]
mulsd xmm1, qword [0x4e0730]
addsd xmm1, xmm0
movsd qword [esp], xmm1
push eax
push dword [ebp - 0xe0]
call fcn.00484960
push 0x78
call fcn.004c0d0a
add esp, 4
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x44db54
mov ecx, eax
call fcn.0044d0c0
jmp 0x44db56
xor eax, eax
push dword [edi + 0xa30]
mov ecx, eax
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0
call fcn.00445450
movd xmm0, dword [ebp - 0xe8]
movsd xmm1, qword [ebp - 0x10c]
mulsd xmm1, qword [0x4e0730]
mov eax, dword [edi + 0x478]
cvtdq2pd xmm0, xmm0
push 0x46
sub esp, 0x10
mov ecx, dword [edi + 4]
add eax, 0xd2
addsd xmm1, xmm0
movd xmm0, dword [ebp - 0xe4]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 8], xmm1
movsd xmm1, qword [ebp - 0x104]
mulsd xmm1, qword [0x4e0730]
addsd xmm1, xmm0
addsd xmm1, qword [0x4e18d0]
movsd qword [esp], xmm1
push eax
push dword [ebp - 0xe0]
call fcn.00484960
inc dword [edi + 0x478]
mov ecx, esi
call fcn.004a4d10
mov esi, eax
test esi, esi
jne 0x44d800
mov esi, dword [ebp - 0xec]
mov ecx, esi
call fcn.004a4d10
mov esi, eax
mov dword [ebp - 0xec], eax
test esi, esi
jne 0x44d710
movsd xmm0, qword [0x4e0738]
lea eax, [edi + 0x49c]
movsd qword [edi + 0xa28], xmm0
xor ecx, ecx
mov dword [edi + 0xa24], 0
xorps xmm0, xmm0
mov dword [edi + 0xa20], 0
movsd qword [eax - 0x14], xmm0
mov dword [eax - 0x1c], 0
mov dword [eax], 0
movups xmmword [eax + 4], xmm0
mov dword [eax - 4], 0
cmp ecx, dword [edi + 0x478]
jge 0x44dc74
mov dword [eax - 0x1c], 1
inc dword [edi + 0xa24]
inc ecx
add eax, 0x30
cmp ecx, 0x1e
jl 0x44dc42
movsd qword [edi + 0x20], xmm0
xorps xmm0, xmm0
mov byte [edi + 0x28], 0
movdqu xmmword [edi + 0xa38], xmm0
push 0x78
movdqu xmmword [edi + 0xa48], xmm0
call fcn.004c0d0a
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
test esi, esi
je 0x44dd0e
movsd xmm0, qword [0x4e0738]
lea ecx, [esi + 0x5c]
mov byte [esi + 4], 0
movsd qword [esi + 8], xmm0
mov byte [esi + 0x10], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [ebp - 0xec], ecx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
push 0x5dc
mov byte [ebp - 4], 4
call fcn.00446de0
jmp 0x44dd10
xor esi, esi
mov dword [edi + 0xa3c], esi
mov ecx, dword [0x516328]
push str.graphhoghint_finish.psb
mov byte [ebp - 4], 0
call fcn.00492750
mov ecx, dword [edi + 0xa3c]
push eax
call fcn.00445450
mov ecx, dword [edi + 4]
xorps xmm0, xmm0
push 0x50
sub esp, 0x10
movups xmmword [esp], xmm0
push 0x3a3
push dword [edi + 0xa3c]
call fcn.00484960
movsd xmm0, qword [0x4e0738]
mov ecx, dword [edi + 4]
push 7
movsd qword [edi + 0xa50], xmm0
call fcn.00486340
mov dword [0x514e20], edi
mov ecx, dword [edi + 4]
push 0x44ed90
call fcn.004852b0
mov ecx, dword [0x516328]
push str.particles_to_sunduk_green.psi
call fcn.004928e0
mov ecx, dword [edi + 4]
mov dword [edi + 0xa44], eax
call fcn.0048d5b0
mov byte [ebp - 0xd9], 1
jmp 0x44ddb0
mov byte [ebp - 0xd9], 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp ecx, 0x5199f4
je 0x44ddd8
push ecx
call fcn.004c2d3c
add esp, 4
lea ecx, [ebp - 0x158]
call fcn.004a3b80
mov al, byte [ebp - 0xd9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c1624
mov esp, ebp
pop ebp
ret 4