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

Disassembly:
push 0xffffffffffffffff
push 0x6a8f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x40]
lea eax, [esi + 0x84]
push eax
call fcn.0040e800
mov dword [esp + 0x40], vtable.wxPen.0
lea ecx, [esi + 0x8c]
mov dword [esp + 0x74], 0
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040d600
mov dword [esp + 0x38], vtable.wxBrush.0
mov edi, dword [esp + 0x80]
mov byte [esp + 0x74], 1
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x28]
mov byte [esp + 0x80], al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x10], al
call dword [edx + 0x30]
mov edi, dword [esp + 0x84]
mov byte [esp + 0x14], al
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x28]
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x84], al
call dword [edx + 0x2c]
mov byte [esp + 0x18], al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x88]
cmp eax, 0x20
je 0x4fb70a
cmp eax, 0x10
je 0x4fb70a
mov ebp, dword [esp + 0x7c]
mov eax, 0x80808081
mov ecx, dword [ebp + 0xc]
imul ecx
add edx, ecx
mov ebx, ecx
sar edx, 7
mov eax, edx
mov dword [esp + 0x34], ebx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov dword [esp + 0x7c], edx
jge reloc.USER32.dll_GetWindowTextLengthA
mov dword [esp + 0x7c], 1
mov edx, dword [esp + 0x7c]
test ecx, ecx
jle 0x4fb969
mov eax, edx
neg eax
mov dword [esp + 0x30], eax
xor edi, edi
jmp 0x4fb4ef
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
sub ecx, edx
sub edi, eax
mov al, byte [esp + 0x84]
mov dword [esp + 0x2c], ecx
mov cl, byte [esp + 0x80]
cmp cl, al
jbe 0x4fb532
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
and edx, 0xff
and eax, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ebx
sub cl, al
mov byte [esp + 0x28], cl
jmp 0x4fb559
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
and eax, 0xff
and edx, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ebx
add al, cl
mov byte [esp + 0x28], al
mov cl, byte [esp + 0x10]
mov al, byte [esp + 0x18]
cmp cl, al
jbe 0x4fb588
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
and edx, 0xff
and eax, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ebx
sub cl, al
mov byte [esp + 0x24], cl
jmp 0x4fb5a9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and eax, 0xff
and edx, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ebx
add al, cl
mov byte [esp + 0x24], al
mov cl, byte [esp + 0x14]
mov al, byte [esp + 0x1c]
cmp cl, al
jbe 0x4fb5d8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
and edx, 0xff
and eax, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ebx
sub cl, al
mov byte [esp + 0x20], cl
jmp 0x4fb5f9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
and eax, 0xff
and edx, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ebx
add al, cl
mov byte [esp + 0x20], al
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 0xff
push eax
push ecx
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 6
mov dword [esp + 0x68], vtable.wxColour.0
call dword [0x6c9f34]
push 0x64
lea eax, [esp + 0x5c]
push 1
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 7
call fcn.004fc0a0
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x78], 8
call dword [edx + 0x30]
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 7
call fcn.004dd920
lea eax, [esp + 0x58]
push 0x64
push eax
lea ecx, [esp + 0x58]
call fcn.004f0f30
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x78], 9
call dword [edx + 0x34]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 7
call fcn.004dd920
cmp dword [esp + 0x88], 0x40
jne 0x4fb6bc
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 4]
add eax, ecx
mov ecx, esi
push eax
mov eax, dword [ebp]
push eax
call dword [edx + 0xf0]
jmp 0x4fb6eb
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x7c]
push dword [esp + 0x7c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
sub eax, ebx
mov ebx, dword [esp + 0x30]
push ecx
sub eax, ebx
mov ebx, dword [ebp + 0xc]
add eax, ebx
mov ebx, dword [esi]
push eax
push edx
mov ecx, esi
call dword [ebx + 0xf0]
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 1
call fcn.004dd920
mov eax, dword [esp + 0x2c]
test eax, eax
jg 0x4fb4e3
jmp 0x4fb969
mov ebx, dword [esp + 0x7c]
mov ecx, dword [ebx + 8]
mov eax, ecx
mov dword [esp + 0x7c], ecx
cdq
and edx, 0xff
mov dword [esp + 0x34], ecx
add eax, edx
mov ebp, eax
sar ebp, 8
cmp ebp, 1
jge 0x4fb733
mov ebp, 1
cmp ecx, ebp
jl 0x4fb969
mov eax, ebp
neg eax
mov dword [esp + 0x30], eax
xor edi, edi
jmp 0x4fb74f
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
sub edi, eax
mov al, byte [esp + 0x80]
sub edx, ebp
mov dword [esp + 0x7c], edx
mov dl, byte [esp + 0x84]
cmp al, dl
jbe 0x4fb79d
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
and edx, 0xff
and eax, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ecx
mov dl, byte [esp + 0x80]
sub dl, al
mov byte [esp + 0x28], dl
jmp 0x4fb7c9
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
and eax, 0xff
and edx, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ecx
add al, byte [esp + 0x80]
mov byte [esp + 0x28], al
mov al, byte [esp + 0x18]
mov dl, byte [esp + 0x10]
cmp dl, al
jbe 0x4fb7fc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
and edx, 0xff
and eax, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ecx
mov dl, byte [esp + 0x10]
sub dl, al
mov byte [esp + 0x24], dl
jmp 0x4fb81f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and eax, 0xff
and edx, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ecx
add al, byte [esp + 0x10]
mov byte [esp + 0x24], al
mov al, byte [esp + 0x1c]
mov dl, byte [esp + 0x14]
cmp dl, al
jbe 0x4fb852
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
and edx, 0xff
and eax, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ecx
mov cl, byte [esp + 0x14]
sub cl, al
mov byte [esp + 0x20], cl
jmp 0x4fb875
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
and eax, 0xff
and edx, 0xff
sub eax, edx
imul eax, edi
cdq
idiv ecx
add al, byte [esp + 0x14]
mov byte [esp + 0x20], al
lea ecx, [esp + 0x58]
call fcn.0040d050
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push StretchBlt
push eax
push ecx
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 2
mov dword [esp + 0x68], vtable.wxColour.0
call dword [0x6c9f34]
push 0x64
lea eax, [esp + 0x5c]
push 1
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 3
call fcn.004fc0a0
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x78], 4
call dword [edx + 0x30]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 3
call fcn.004dd920
lea eax, [esp + 0x58]
push 0x64
push eax
lea ecx, [esp + 0x50]
call fcn.004f0f30
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x78], 5
call dword [edx + 0x34]
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 3
call fcn.004dd920
cmp dword [esp + 0x88], 0x20
jne 0x4fb932
mov eax, dword [ebx]
mov edx, dword [esp + 0x7c]
mov ecx, dword [ebx + 0xc]
sub eax, ebp
sub eax, edx
mov edx, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
add eax, edx
mov edx, dword [esi]
push ebp
push ecx
jmp 0x4fb948
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esi]
push eax
mov eax, dword [ebx]
push ebp
push ecx
mov ecx, dword [esp + 0x88]
add eax, ecx
push eax
mov ecx, esi
call dword [edx + 0xf0]
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 1
call fcn.004dd920
cmp dword [esp + 0x7c], ebp
jge 0x4fb747
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call dword [edx + 0x34]
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 0
call fcn.004dd920
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], 0xffffffff
call fcn.004dd920
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0x10