Function at 0x491130
Capabilities:
Access peb ldr_data
Get number of processors
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57ce40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push str.class
mov ebx, 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x40], 0
lea esi, [ebp + 0x24]
push 0x5a
push esi
je 0x4912db
mov ecx, str.sytle_limit_auto_green_switch
call fcn.0044fd30
push 0x59a99c
lea ecx, [ebx + 0x5a]
mov eax, esi
call fcn.0046ea90
mov dword [ebp + 0x388], ebx
push 0x59a9ac
mov ebx, 0x19
lea eax, [esp + 0x3c]
call fcn.00410570
push str.style_title_text_14_t
mov ebx, 0x15
lea eax, [esp + 0x18]
call fcn.00410570
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x49120e
lea edi, [esi - 0x24]
jmp 0x491210
xor edi, edi
mov esi, 0x97
call fcn.004507b0
cmp eax, ebx
je 0x4913aa
mov ecx, dword [eax + 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x2c], edx
call esi
test eax, eax
je 0x49125e
mov eax, dword [ebp + 4]
lea edx, [esp + 0x20]
push edx
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x394]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp + 0x394]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0048f630
lea edx, [esp + 0x3c]
push edx
call fcn.004902c0
mov eax, dword [eax]
lea edi, [ebp + 0x390]
mov esi, eax
call fcn.0048f0a0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4913aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4913aa
mov ecx, str.sytle_limit_auto_yellow_switch
call fcn.0044fd30
push 0x59aa4c
mov ecx, 0x5b
mov eax, esi
call fcn.0046ea90
push 0x59aa5c
mov ebx, 0x17
lea eax, [esp + 0x3c]
call fcn.00410570
push str.style_gray_text_14_t
mov ebx, 0x14
lea eax, [esp + 0x18]
call fcn.00410570
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x388], 0
mov ecx, dword [ebp + 0x3cc]
push 0
push ecx
call edi
mov edx, dword [ebp + 0x394]
push 0
push edx
call edi
cmp dword [ebp + 0x380], 0
mov ecx, str.skin_4check_sel_bg
jne 0x491355
mov ecx, str.skin_4check_nosel_bg
push str.skin
push 0x67
push esi
call fcn.0044fd30
cmp dword [ebp + 0x37c], 0
mov ecx, str.skin_4check_sel_bg
jne 0x491375
mov ecx, str.skin_4check_nosel_bg
push str.skin
push 0xcb
push esi
call fcn.0044fd30
cmp dword [ebp + 0x384], 0
mov ecx, str.skin_4check_sel_bg
jne 0x491398
mov ecx, str.skin_4check_nosel_bg
push str.skin
push 0x12f
push esi
call fcn.0044fd30
xor ebx, ebx
mov eax, dword [ebp + 0x388]
push eax
mov eax, dword [ebp + 0x394]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp + 0x388]
push ecx
lea esi, [ebp + 0x24]
mov ecx, 0x64
mov eax, esi
call fcn.004975e0
mov edx, dword [ebp + 0x388]
push edx
mov ecx, 0x12c
mov eax, esi
call fcn.004975e0
mov eax, dword [ebp + 0x388]
push eax
mov ecx, 0xc8
mov eax, esi
call fcn.004975e0
xor ecx, ecx
cmp dword [ebp + 0x388], ebx
mov eax, esi
sete cl
push ecx
mov ecx, 0x67
call fcn.0046ebd0
xor edx, edx
cmp dword [ebp + 0x388], ebx
mov ecx, 0xcb
sete dl
mov eax, esi
push edx
call fcn.0046ebd0
xor eax, eax
cmp dword [ebp + 0x388], ebx
mov ecx, 0x12f
sete al
push eax
mov eax, esi
call fcn.0046ebd0
push str.class
push 0x96
push esi
mov esi, dword [esp + 0x44]
mov ecx, esi
call fcn.0044fd30
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49147c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4914a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8