Function at 0x4bead0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x620159
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
xor esi, esi
mov dword [esp + 4], esi
mov eax, dword [0x65329c]
push edi
push eax
mov edi, ecx
push esi
push 0x646a20
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], edi
call fcn.004e9b90
mov ecx, edi
mov dword [esp + 0x60], esi
call fcn.00424130
mov ecx, edi
mov byte [esp + 0x60], 1
mov dword [edi], vtable.wxDialog.0
call fcn.0044f460
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0xc]
push ecx
push 0x20001840
push 0x7011f4
push 0x7011ec
push edx
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.0044f490
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x60], 3
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4beb74
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x4beb74
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push ebx
lea ebx, [edi + 0x1a0]
push ebp
push esi
mov ecx, ebx
call fcn.004ec5b0
lea ebp, [edi + 0x1b0]
mov byte [esp + 0x68], 4
mov ecx, ebp
call fcn.004f5520
lea ecx, [edi + 0x1bc]
mov byte [esp + 0x68], 5
call fcn.004f5520
mov dword [edi], vtable.wxLogDialog.0
mov edx, dword [0x702f9c]
mov byte [esp + 0x68], 6
mov eax, dword [edx - 8]
cmp eax, esi
jne 0x4bebf5
push str.Details
mov ecx, 0x702f9c
call fcn.004ea6a0
mov esi, dword [0x702f9c]
call fcn.004f0590
test eax, eax
je 0x4bebe8
mov edx, dword [eax]
push 0
push esi
mov ecx, eax
call dword [edx + 8]
jmp 0x4bebea
mov eax, esi
push eax
mov ecx, 0x702f9c
call fcn.004ea6a0
mov eax, dword [esp + 0x74]
mov ecx, ebx
mov esi, dword [eax + 4]
push esi
mov dword [esp + 0x34], esi
call fcn.004ec7f0
cmp esi, dword [ebp]
jbe 0x4bec15
push esi
mov ecx, ebp
call fcn.004f5620
mov eax, dword [edi + 0x1bc]
lea ecx, [edi + 0x1bc]
cmp esi, eax
jbe 0x4bec2b
push esi
call fcn.004f5620
test esi, esi
mov dword [esp + 0x70], 0
jbe 0x4becf3
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 8]
lea esi, [ecx*4]
add eax, esi
lea ecx, [esp + 0x80]
push eax
call fcn.004698b0
push 1
push 0x6c3db8
push 0x6d2d94
lea ecx, [esp + 0x8c]
mov byte [esp + 0x74], 7
call fcn.004ebbb0
lea eax, [esp + 0x80]
push 1
push eax
mov ecx, ebx
call fcn.004ec930
mov ecx, dword [esp + 0x78]
push 1
mov edx, dword [ecx + 8]
mov ecx, ebp
mov eax, dword [esi + edx]
push eax
call fcn.004f53f0
mov eax, dword [esp + 0x7c]
push 1
mov ecx, dword [eax + 8]
mov esi, dword [esi + ecx]
lea ecx, [edi + 0x1bc]
push esi
call fcn.004f53f0
mov edx, dword [esp + 0x80]
mov byte [esp + 0x68], 6
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4becde
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4becde
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x70], eax
jb 0x4bec3b
xor esi, esi
mov byte [edi + 0x1cc], 0
mov dword [edi + 0x1d0], esi
mov dword [edi + 0x1d4], esi
mov dword [edi + 0x1d8], esi
call fcn.0049c780
cmp eax, 2
push 0x64
setle bl
mov byte [esp + 0x84], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, esi
mov byte [esp + 0x68], 8
je 0x4bed46
push 8
mov ecx, eax
call fcn.00493ab0
mov dword [esp + 0x2c], eax
jmp 0x4bed4a
mov dword [esp + 0x2c], esi
push 0x64
mov byte [esp + 0x6c], 6
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, esi
mov byte [esp + 0x68], 9
je 0x4bed80
xor ecx, ecx
test bl, bl
sete cl
lea ecx, [ecx*4 + 4]
push ecx
mov ecx, eax
call fcn.00493ab0
mov ebp, eax
jmp 0x4bed82
xor ebp, ebp
push 0x64
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x6c], 6
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, esi
mov byte [esp + 0x68], 0xa
je 0x4bedbe
xor edx, edx
mov ecx, eax
test bl, bl
setne dl
lea edx, [edx*4 + 4]
push edx
call fcn.00493ab0
mov dword [esp + 0x70], eax
jmp 0x4bedc2
mov dword [esp + 0x70], esi
push 0x150
mov byte [esp + 0x6c], 6
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
mov byte [esp + 0x68], 0xb
je 0x4bee81
mov eax, dword [0x65329c]
lea ecx, [esp + 0x14]
push eax
push 0
push 0x6469f0
call fcn.004e9b90
mov dword [esp + 0x10], 1
mov eax, dword [0x6e0ea0]
mov byte [esp + 0x68], 0xc
test eax, eax
jne 0x4bee18
mov eax, 0x6fdb50
mov ecx, dword [0x65329c]
push ecx
push 0
push eax
lea ecx, [esp + 0x88]
call fcn.004e9b90
mov ebx, 3
mov dword [esp + 0x10], ebx
mov ecx, esi
mov dword [esp + 0x68], 0xd
call fcn.00402b80
lea edx, [esp + 0x14]
lea eax, [esp + 0x7c]
push edx
push 0x701030
push 0
push 0x7011f4
push 0x7011ec
push eax
push 0x13ec
push edi
mov ecx, esi
mov dword [esp + 0x88], 0xe
mov dword [esi], vtable.wxButton.0
call fcn.00495a80
jmp 0x4bee87
mov ebx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x30], esi
test bl, 2
je 0x4beeb7
mov ecx, dword [esp + 0x7c]
and ebx, 0xfffffffd
mov dword [esp + 0x10], ebx
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4beeb7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4beeb7
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test bl, 1
mov dword [esp + 0x68], 6
je 0x4beeeb
mov edx, dword [esp + 0x14]
and ebx, 0xfffffffe
mov dword [esp + 0x10], ebx
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4beeeb
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4beeeb
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x68], 0x11
je 0x4bef27
mov cl, byte [esp + 0x80]
push 0
neg cl
sbb ecx, ecx
push 5
and ecx, 0xffffff80
add ecx, 0x81
push ecx
push 0
push esi
mov ecx, eax
call fcn.00491b60
jmp 0x4bef29
xor eax, eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x70], 6
call dword [edx + 0x10]
push 0x150
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x68], 0x12
je 0x4befe7
mov eax, dword [0x65329c]
lea ecx, [esp + 0x18]
push eax
push 0
push 0x6469f0
call fcn.004e9b90
or ebx, 4
mov dword [esp + 0x10], ebx
push 0x6d58c8
lea ecx, [esp + 0x2c]
push 0x702f9c
push ecx
mov byte [esp + 0x74], 0x13
call fcn.004eafd0
or ebx, 8
add esp, 0xc
mov ebp, eax
mov dword [esp + 0x10], ebx
mov ecx, esi
mov dword [esp + 0x68], 0x14
call fcn.00402b80
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x701030
push 0
push 0x7011f4
push 0x7011ec
push ebp
push 0x13f5
push edi
mov dword [esp + 0x88], 0x15
mov dword [esi], vtable.wxButton.0
call fcn.00495a80
mov ebp, dword [esp + 0x78]
jmp 0x4befe9
xor esi, esi
test bl, 8
mov dword [edi + 0x1c8], esi
je 0x4bf01a
mov eax, dword [esp + 0x28]
and ebx, 0xfffffff7
add eax, 0xfffffff4
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4bf01a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf01a
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test bl, 4
mov dword [esp + 0x68], 6
je 0x4bf04e
mov ecx, dword [esp + 0x18]
and ebx, 0xfffffffb
mov dword [esp + 0x10], ebx
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4bf04e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf04e
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [edi + 0x1c8]
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x68], 0x18
je 0x4bf08d
mov dl, byte [esp + 0x80]
push 0
neg dl
sbb edx, edx
push 4
and edx, 0xffffffd0
mov ecx, eax
add edx, 0x41
push edx
push 0
push esi
call fcn.00491b60
jmp 0x4bf08f
xor eax, eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x70], 6
call dword [edx + 0x10]
lea ecx, [esp + 0x38]
call fcn.004091e0
mov dword [esp + 0x38], vtable.wxBitmap.0
mov eax, dword [esp + 0x84]
mov byte [esp + 0x68], 0x19
and eax, 0xf00
cmp eax, 0x100
je 0x4bf24a
cmp eax, 0x200
je 0x4bf1ae
cmp eax, 0x800
jne 0x4bf303
mov eax, dword [0x65329c]
lea ecx, [esp + 0x18]
push eax
push 0
push str.wxART_MESSAGE_BOX_C
call fcn.004e9b90
mov ecx, dword [0x65329c]
mov byte [esp + 0x68], 0x1d
push ecx
push 0
push 0x6d5700
lea ecx, [esp + 0x90]
call fcn.004e9b90
lea edx, [esp + 0x18]
push 0x7011f4
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x78], 0x1e
call fcn.004dd680
add esp, 0x10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0x1f
call fcn.005c5080
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x1e
call fcn.0047d2b0
mov edx, dword [esp + 0x84]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4bf17d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf17d
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
mov ecx, dword [eax]
mov byte [esp + 0x68], 0x19
cmp ecx, 0xffffffff
je 0x4bf303
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf303
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4bf303
mov ecx, dword [0x65329c]
push ecx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x2c]
call fcn.004e9b90
mov edx, dword [0x65329c]
lea ecx, [esp + 0x1c]
push edx
push 0
push str.wxART_ERROR
mov byte [esp + 0x74], 0x1a
call fcn.004e9b90
lea eax, [esp + 0x20]
push 0x7011f4
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov byte [esp + 0x78], 0x1b
call fcn.004dd680
add esp, 0x10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0x1c
call fcn.005c5080
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x1b
call fcn.0047d2b0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4bf23e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf23e
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 0xc]
jmp 0x4bf184
mov edx, dword [0x65329c]
lea ecx, [esp + 0x28]
push edx
push 0
push str.wxART_MESSAGE_BOX_C
call fcn.004e9b90
mov eax, dword [0x65329c]
lea ecx, [esp + 0x24]
push eax
push 0
push str.wxART_WARNING
mov byte [esp + 0x74], 0x20
call fcn.004e9b90
lea ecx, [esp + 0x28]
push 0x7011f4
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x60]
mov bl, 0x21
push edx
push eax
mov byte [esp + 0x78], bl
call fcn.004dd680
add esp, 0x10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0x22
call fcn.005c5080
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], bl
call fcn.0047d2b0
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4bf2da
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf2da
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [esp + 0x28]
mov byte [esp + 0x68], 0x19
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4bf2ff
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf2ff
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ebx, dword [esp + 0x10]
mov al, byte [esp + 0x80]
test al, al
jne 0x4bf422
push 0x15c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
xor ebp, ebp
mov byte [esp + 0x68], 0x23
cmp esi, ebp
je 0x4bf3a3
mov eax, dword [0x65329c]
lea ecx, [esp + 0x84]
push eax
push ebp
push str.staticBitmap
call fcn.004e9b90
or ebx, 0x10
mov dword [esp + 0x10], ebx
mov ecx, esi
mov byte [esp + 0x68], 0x24
call fcn.004c0650
lea ecx, [esp + 0x84]
lea edx, [esp + 0x38]
push ecx
push ebp
push 0x7011f4
push 0x7011ec
push edx
push 0xffffffffffffffff
push edi
mov ecx, esi
mov dword [esp + 0x84], 0x25
mov dword [esi], vtable.wxStaticBitmap.0
mov byte [esi + 0x150], 1
mov dword [esi + 0x154], ebp
mov dword [esi + 0x158], ebp
call fcn.004a8460
jmp 0x4bf3a5
xor esi, esi
push 0x44
mov dword [esp + 0x6c], 0x26
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov dword [esp + 0x68], 0x27
je 0x4bf3d9
push ebp
push ebp
push 0x800
push ebp
push esi
mov ecx, eax
call fcn.00491b60
jmp 0x4bf3db
xor eax, eax
mov ebp, dword [esp + 0x70]
push eax
mov byte [esp + 0x6c], 0x26
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push ecx
mov ecx, ebp
call dword [edx + 0x10]
test bl, 0x10
mov dword [esp + 0x68], 0x19
je 0x4bf426
mov eax, dword [esp + 0x84]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4bf426
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4bf426
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4bf426
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*4 - 4]
mov ecx, edi
push eax
call fcn.0044df40
push 0x44
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov byte [esp + 0x68], 0x28
je 0x4bf46a
push 0
push 0xa
push 0x830
push 1
push esi
mov ecx, eax
call fcn.00491c00
jmp 0x4bf46c
xor eax, eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x70], 0x19
call dword [edx + 0x10]
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov byte [esp + 0x68], 0x29
je 0x4bf4c1
mov cl, byte [esp + 0x80]
mov edx, dword [esp + 0x78]
neg cl
sbb ecx, ecx
push 0
and ecx, 0xfffffeb1
push 0xa
add ecx, 0x210
push ecx
push 0
push edx
mov ecx, eax
call fcn.00491c00
jmp 0x4bf4c3
xor eax, eax
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 0x19
call fcn.0044b6f0
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov byte [esp + 0x68], 0x2a
je 0x4bf4fc
push 0
push 0xa
push 0x20f0
push 0
push ebp
mov ecx, eax
call fcn.00491c00
jmp 0x4bf4fe
xor eax, eax
mov esi, dword [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0x19
call fcn.0044b6f0
push 1
push esi
mov ecx, edi
call fcn.00462420
lea eax, [esp + 0x40]
push edi
push eax
mov ecx, esi
call fcn.00492820
mov eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
mov dword [edi + 0x58], eax
push eax
mov eax, dword [esp + 0x54]
push eax
mov ecx, edi
call dword [edx + 0x70]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov eax, dword [edi]
push 0xc
mov ecx, edi
call dword [eax + 0x234]
mov al, byte [esp + 0x80]
pop ebp
test al, al
pop ebx
je 0x4bf5b4
mov edx, dword [edi]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x210]
mov edx, dword [edi]
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x210]
mov eax, esi
push 0
cdq
sub eax, edx
mov edx, dword [edi]
sar eax, 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x88]
push eax
mov ecx, edi
call dword [edx + 0x228]
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 6
call fcn.0047d2b0
mov ecx, dword [esp + 0x58]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x18