Function at 0x5209f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6ac763
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
push edi
mov eax, 0x6d831c
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
test eax, eax
mov dword [esp + 0xc], edi
jne 0x520a24
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.00570720
mov ecx, esi
mov dword [esp + 0x8c], edi
call fcn.00489a60
mov ecx, esi
mov byte [esp + 0x8c], 1
mov dword [esi], vtable.wxDialog.0
call fcn.004cc8f0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x98]
push 0x20001800
push 0x8c9af0
push eax
push ecx
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.004cc920
mov eax, dword [esp + 8]
mov byte [esp + 0x8c], 3
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x520ab0
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x520ab0
push eax
call dword [0x6c74ac]
add esp, 4
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
lea ebp, [esi + 0x1a4]
push ebx
mov ecx, ebp
call fcn.0040a460
mov ecx, dword [esp + 0xac]
push ebx
mov dword [esi + 0x1a8], ecx
mov ecx, ebp
mov byte [esp + 0x98], 4
mov dword [esi], vtable.wxTextEntryDialog.0
call fcn.00571160
push 0x12
call fcn.004f2580
push eax
call fcn.004fca70
push 0x64
call fcn.00658ea0
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x94], 5
je 0x520b1e
push 8
mov ecx, eax
call fcn.004e0020
mov ebp, eax
jmp 0x520b20
xor ebp, ebp
mov edx, dword [esp + 0xa0]
mov ecx, esi
push edx
mov byte [esp + 0x98], 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xf0
mov dword [esp + 0x38], 0xa
call fcn.004cb3f0
push 0x44
mov edi, eax
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x94], 6
je 0x520b76
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, eax
call fcn.00520810
jmp 0x520b78
xor eax, eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x9c], 4
call dword [edx + 0x10]
push 0x1b4
call fcn.00658ea0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov byte [esp + 0x94], 7
je 0x520c3e
mov eax, 0x6d83c0
test eax, eax
jne 0x520bbe
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.00570720
mov dword [esp + 0x14], 1
mov ecx, edi
mov byte [esp + 0x94], 8
mov dword [esp + 0x20], 0x12c
mov dword [esp + 0x24], 0xffffffff
call fcn.004d8b00
mov ecx, edi
mov dword [esp + 0x94], 9
mov dword [edi], vtable.wxTextCtrl.0
call fcn.00500910
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x10]
push edx
and al, 0xea
push 0x8c9b98
lea ecx, [esp + 0x28]
push eax
push ecx
push 0x8c9ae8
push ebx
push 0xbb8
push esi
mov ecx, edi
call fcn.00500a00
jmp 0x520c40
xor edi, edi
mov al, byte [esp + 0x14]
mov dword [esi + 0x1a0], edi
test al, 1
mov dword [esp + 0x94], 4
je 0x520c79
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x520c79
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x520c79
push eax
call dword [0x6c74ac]
add esp, 4
mov ebx, dword [esp + 0xac]
mov edi, dword [esi + 0x1a0]
mov eax, ebx
push 0x44
shr eax, 5
and eax, 1
mov dword [esp + 0x28], 0x2030
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0xf
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x94], 0xb
je 0x520ccb
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, eax
call fcn.00520f20
jmp 0x520ccd
xor eax, eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x9c], 4
call dword [edx + 0x10]
lea eax, [esi + 0x1a4]
lea ecx, [esp + 0x38]
push eax
push 0
call fcn.0055e360
mov ecx, dword [esi + 0x1a0]
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x98], 0xc
mov eax, dword [ecx]
call dword [eax + 0xec]
mov eax, ebx
mov ecx, esi
and eax, 0x809e
push eax
call fcn.004cb8a0
mov edi, eax
test edi, edi
je 0x520d83
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
or ah, 0x20
push 0x44
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x94], 0xd
je 0x520d6c
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, eax
call fcn.00520810
jmp 0x520d6e
xor eax, eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x9c], 0xc
call dword [edx + 0x10]
mov dl, byte [esi + 0xc8]
push 1
or dl, 1
push ebp
mov ecx, esi
mov byte [esi + 0xc8], dl
call fcn.004db9f0
push esi
mov ecx, ebp
call fcn.004dee70
lea eax, [esp + 0x20]
push esi
push eax
mov ecx, ebp
call fcn.004ded90
pop ebp
test bl, 1
pop ebx
je 0x520dc4
mov edx, dword [esi]
push 0xc
mov ecx, esi
call dword [edx + 0x234]
mov ecx, dword [esi + 0x1a0]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x37c]
mov ecx, dword [esi + 0x1a0]
mov edx, dword [ecx]
call dword [edx + 0xc8]
call fcn.004fcac0
mov dword [esp + 0x30], vtable.wxTextValidator.0
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 0xf
call fcn.005730c0
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 0xe
call fcn.005730c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 4
call fcn.004f31a0
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret 0x18