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

Disassembly:
push 0xffffffffffffffff
push 0x630808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x70]
mov eax, dword [esi + 0x1c8]
mov ebp, dword [esi + 0x204]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x1d8]
mov ebx, dword [edi + 4]
sub eax, ebp
mov dword [esp + 0x30], ebp
cdq
sub eax, edx
mov edx, dword [edi]
sar eax, 1
add ecx, edx
add eax, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x200]
cmp eax, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jge 0x5bfbe9
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0xc]
cmp ebp, eax
jle 0x5bfbf4
mov dword [esp + 0x30], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xa4]
test al, al
jne 0x5bfc07
or dword [esp + 0x10], 1
mov ecx, dword [esi + 0x1e4]
lea edx, [esi + 0x1e0]
xor ebp, ebp
cmp ecx, ebp
je 0x5bfc22
cmp dword [ecx + 0x14], ebp
jne 0x5bfdac
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
cmp eax, ebp
je 0x5bfd8f
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x34], vtable.wxColour.0
call fcn.0046cf80
mov eax, dword [esi + 0x208]
mov dword [esp + 0x64], 1
test ah, 2
je 0x5bfcb0
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x48]
push eax
call fcn.00461160
mov ebp, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 2
cmp ecx, ebp
je 0x5bfc84
push ebp
lea ecx, [esp + 0x38]
call fcn.004e8d20
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], edx
mov al, byte [ebp + 0xc]
mov byte [esp + 0x40], al
mov cl, byte [ebp + 0xd]
mov byte [esp + 0x41], cl
mov dl, byte [ebp + 0xe]
mov byte [esp + 0x42], dl
mov al, byte [ebp + 0xf]
mov byte [esp + 0x43], al
mov cl, byte [ebp + 0x10]
mov byte [esp + 0x44], cl
jmp 0x5bfcf7
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call fcn.00461160
mov ebp, eax
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call fcn.005c5080
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov cl, byte [ebp + 0xc]
mov byte [esp + 0x40], cl
mov dl, byte [ebp + 0xd]
mov byte [esp + 0x41], dl
mov al, byte [ebp + 0xe]
mov byte [esp + 0x42], al
mov cl, byte [ebp + 0xf]
mov byte [esp + 0x43], cl
mov dl, byte [ebp + 0x10]
mov byte [esp + 0x44], dl
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 1
call fcn.0047d2b0
lea eax, [esp + 0x34]
push 0x64
push eax
lea ecx, [esp + 0x1c]
call fcn.004768f0
mov edx, dword [ebx]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x68], 4
call dword [edx + 0x34]
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 1
call fcn.0047d2b0
push 0x64
lea ecx, [esp + 0x38]
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.00475e40
mov edx, dword [ebx]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x68], 5
call dword [edx + 0x30]
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 1
call fcn.0047d2b0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [ebx]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0xf0]
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0xffffffff
call fcn.0047d2b0
call fcn.005cd110
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
mov ecx, eax
call dword [edx + 0x18]
jmp 0x5bff34
test al, al
jne 0x5bfe97
lea edx, [esi + 0x1f8]
mov dword [esp + 0x70], edx
mov al, byte [esi + 0x20c]
mov ebp, dword [esp + 0x6c]
test al, al
mov eax, dword [esp + 0x74]
je 0x5bfec7
test eax, eax
je 0x5bfe7d
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0x48]
push edx
call fcn.00461160
push 0x64
lea eax, [esp + 0x4c]
mov ebx, 6
push 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], ebx
call fcn.00475e40
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov byte [esp + 0x68], 7
call dword [edx + 0x30]
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.0047d2b0
lea ecx, [esp + 0x48]
push 0x64
push ecx
lea ecx, [esp + 0x24]
call fcn.004768f0
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x68], 8
call dword [edx + 0x34]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.0047d2b0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [ebp]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0xf0]
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0047d2b0
call fcn.005cd110
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x28]
push ecx
push ebp
push esi
mov ecx, eax
call dword [edx + 0x24]
jmp 0x5bfee5
mov eax, dword [esi + 0x1c8]
test al, 4
je 0x5bfeb0
lea eax, [esi + 0x1e8]
mov dword [esp + 0x70], eax
jmp 0x5bfdbe
test al, 0x10
je 0x5bfdba
lea ecx, [esi + 0x1f0]
mov dword [esp + 0x70], ecx
jmp 0x5bfdbe
test eax, eax
je 0x5bfee5
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [ebp]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0xf0]
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 4]
test eax, eax
jne 0x5bfef4
xor edx, edx
jmp 0x5bfef7
mov edx, dword [eax + 0xc]
test eax, eax
jne 0x5bfeff
xor ecx, ecx
jmp 0x5bff02
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x30]
push 1
sub eax, edx
mov edi, dword [ebp]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, edx
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, edx
push eax
push esi
call dword [edi + 0x104]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc