Function at 0x429270
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a7d3d
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x70]
call fcn.00418140
mov ecx, dword [esi + 4]
lea eax, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x110], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov eax, 0x3c
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x16
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x28
push 0x11
mov byte [esp + 0x10c], 2
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0xa0]
push edx
push 0x5c
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xb4], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
push 1
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [edi]
push 0xb4c9cb
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi]
push 4
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push edi
mov ecx, esi
call fcn.004194c0
mov eax, dword [esi + 0xa0]
sub eax, 1
mov ebx, dword [edi]
lea ecx, [esi + 0x34]
jne 0x4293c8
lea ecx, [esi + 0x64]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
push eax
push edx
push 0
push 0
push eax
push edx
push 3
push 3
push ebx
call fcn.00418e30
push 0x1400
mov dword [esp + 0x20], 0x1400
call fcn.00441b61
add esp, 4
lea ecx, [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi + 0xac]
push ecx
push ebp
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebx, esp
push eax
call fcn.00403ce0
add eax, 0x10
add esp, 4
mov dword [ebx], eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x118], 3
call fcn.0043f850
mov ecx, eax
call fcn.00413720
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push str.DataAvatar.dat
push eax
push ecx
mov byte [esp + 0x124], 4
call fcn.00413780
add esp, 0xc
mov byte [esp + 0x118], 5
call fcn.0043fff0
mov ebx, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x108], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42948c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x4294ce
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x74]
push ebp
push edx
call fcn.00440720
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [edi]
add esp, 0xc
push ecx
push edx
push 0
push 0
push 0x30
push 0x30
push 5
push 5
push eax
lea ecx, [esp + 0x94]
call fcn.00418e30
push ebp
call fcn.00487783
mov eax, dword [esp + 0x28]
mov ecx, dword [edi]
add esp, 4
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax - 0xc]
mov ebp, dword [sym.imp.USER32.dll_DrawTextW]
push 0x40020
lea ebx, [esi + 0xa8]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [edi]
push eax
call ebp
push 0x4ae08c
push ebx
call fcn.004198b0
add esp, 8
test al, al
jne 0x429542
cmp dword [esi + 0xb4], 0xffffffff
jne 0x429542
lea ecx, [esi + 0xb0]
push 0x4bc720
push ecx
call fcn.004198b0
add esp, 8
test al, al
je 0x42963e
mov edx, dword [0x4cf698]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cf698
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
push ecx
mov bl, 6
push edx
mov byte [esp + 0x110], bl
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0xb4]
sub eax, 0
push 5
lea ecx, [esp + 0x18]
je 0x429594
sub eax, 1
je 0x42958d
push 0x4ae080
jmp 0x429599
push 0x4ae074
jmp 0x429599
push 0x4ae068
call fcn.00403e20
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [edi]
push eax
call ebp
lea ecx, [esi + 0xb0]
push ecx
lea edx, [esp + 0x1c]
push 0x4ae05c
push edx
call fcn.00420320
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 7
call fcn.00410d70
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x108], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx - 0xc]
mov edx, dword [edi]
push 0
lea ecx, [esp + 0x4c]
push ecx
push eax
push ebx
push edx
call ebp
lea eax, [ebx - 0x10]
mov byte [esp + 0x108], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42963e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42965d
push eax
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x429668
push eax
call esi
lea ecx, [esp + 0x70]
call fcn.00419ea0
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.004874cc
add esp, 0xf8
ret