Function at 0x490700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5986a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x58], ebx
call fcn.004b7550
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx], 0x5c0e70
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
lea edi, [ebx + 0x38]
mov dword [edi + 4], esi
mov dword [edi], esi
mov byte [edi + 0xc], 0
mov dword [edi + 8], esi
mov byte [ebp - 4], 1
mov eax, dword [0x64bcf0]
push eax
mov ecx, dword [0x64bcec]
push ecx
mov ecx, ebx
call fcn.004c09e0
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x49081e
push str._Coordinate___NULL
lea ecx, [ebp - 0x8c]
call fcn.00403e20
mov byte [ebp - 4], 2
push 0x5ba7cb
lea ecx, [ebp - 0x188]
call fcn.00403e20
mov byte [ebp - 4], 3
push 0x5ba7cb
lea ecx, [ebp - 0xe0]
call fcn.00403e20
mov byte [ebp - 4], 4
push str.assertion_failed
lea ecx, [ebp - 0x1dc]
call fcn.00403e20
mov byte [ebp - 4], 5
push str..Dialogs.cpp
lea ecx, [ebp - 0x118]
call fcn.00403e20
mov byte [ebp - 4], 6
lea edx, [ebp - 0x8c]
push edx
push esi
lea eax, [ebp - 0x188]
push eax
push esi
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x1dc]
push edx
push 0xde5
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x234]
call fcn.0054fb40
push 0x5e02c8
lea ecx, [ebp - 0x234]
push ecx
call fcn.00560081
mov edx, dword [eax]
mov dword [ebx + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x30], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 0x34], edx
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x490841
mov ecx, 0x1c
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push 0x4c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
cmp eax, esi
je 0x490897
mov ecx, dword [str.Enter_a_short_description:]
push ecx
sub esp, 0x14
mov edx, esp
mov ecx, dword [0x64b614]
mov dword [edx], ecx
mov ecx, dword [0x64b618]
mov dword [edx + 4], ecx
mov ecx, dword [0x64b61c]
mov dword [edx + 8], ecx
mov ecx, dword [0x64b620]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x64b624]
mov dword [edx + 0x10], ecx
mov ecx, eax
call fcn.0047b420
jmp 0x490899
xor eax, eax
mov esi, eax
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], esi
push esi
mov ecx, ebx
call fcn.004c0c60
sub esp, 0x10
mov edx, esp
mov eax, dword [0x64bcf4]
mov dword [edx], eax
mov ecx, dword [0x64bcf8]
mov dword [edx + 4], ecx
mov eax, dword [0x64bcfc]
mov dword [edx + 8], eax
mov ecx, dword [0x64bd00]
mov dword [edx + 0xc], ecx
push esi
mov ecx, ebx
call fcn.004c4110
push 0x6c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4908fd
push 0
push 0x64
mov ecx, eax
call fcn.0046eca0
jmp 0x4908ff
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 1
mov dword [ebx + 0xa8], ecx
lea eax, [ebx + 0x44]
test eax, eax
je 0x49091e
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
mov eax, dword [ebx + 0xa8]
push eax
mov ecx, ebx
call fcn.004c0c60
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x64bd04]
mov dword [ecx], edx
mov eax, dword [0x64bd08]
mov dword [ecx + 4], eax
mov edx, dword [0x64bd0c]
mov dword [ecx + 8], edx
mov eax, dword [0x64bd10]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 0xa8]
push ecx
mov ecx, ebx
call fcn.004c4110
push 0x4c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4909b6
mov edx, dword [str.Select_a_type:]
push edx
sub esp, 0x14
mov ecx, esp
mov edx, dword [0x64b614]
mov dword [ecx], edx
mov edx, dword [0x64b618]
mov dword [ecx + 4], edx
mov edx, dword [0x64b61c]
mov dword [ecx + 8], edx
mov edx, dword [0x64b620]
mov dword [ecx + 0xc], edx
mov edx, dword [0x64b624]
mov dword [ecx + 0x10], edx
mov ecx, eax
call fcn.0047b420
jmp 0x4909b8
xor eax, eax
mov esi, eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], esi
push esi
mov ecx, ebx
call fcn.004c0c60
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64bd14]
mov dword [eax], ecx
mov edx, dword [0x64bd18]
mov dword [eax + 4], edx
mov ecx, dword [0x64bd1c]
mov dword [eax + 8], ecx
mov edx, dword [0x64bd20]
mov dword [eax + 0xc], edx
push esi
mov ecx, ebx
call fcn.004c4110
push 0x28
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x490a1a
mov ecx, eax
call fcn.0042d690
jmp 0x490a1c
xor eax, eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
mov dword [ebx + 0xac], eax
xor esi, esi
mov dword [ebp - 0x18], esi
cmp esi, 0x14
jge 0x490ae8
lea eax, [esi + 0x4a]
mov dword [ebp - 0x14], eax
push 0x4c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x490a7e
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
xor edx, edx
mov dword [ebp - 0x28], edx
push edx
mov edi, dword [0x64a43c]
push edi
mov edi, dword [0x64a438]
push edi
push 0x19
push 0x18
mov edi, dword [ebp - 0x14]
push edi
push edx
push ecx
mov ecx, eax
call fcn.0047c5d0
jmp 0x490a80
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov dword [ebx + esi*4 + 0xb0], eax
push eax
mov ecx, ebx
call fcn.004c0c60
mov ecx, dword [ebx + 0xac]
push ecx
mov ecx, dword [ebx + esi*4 + 0xb0]
call fcn.0046d480
cmp dword [ebx + 0x40], esi
jne 0x490ac3
mov eax, dword [ebx + esi*4 + 0xb0]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebx + 0xac]
mov dword [ebp - 0x40], ecx
mov dword [ecx], eax
mov edx, dword [esi*8 + 0x64bd28]
push edx
mov eax, dword [esi*8 + 0x64bd24]
push eax
mov ecx, dword [ebx + esi*4 + 0xb0]
push ecx
mov ecx, ebx
call fcn.004c45f0
inc esi
jmp 0x490a2b
push 1
mov ecx, dword [ebx + 0xa8]
call fcn.00470550
mov ecx, ebx
call fcn.004c27b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push eax
call fcn.00571a0d
add esp, 4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x490b1e
mov dword [ebp - 0x50], eax
push eax
call fcn.00571a0d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8