Function at 0x573420
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac130
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov al, byte [ebp + 0x14]
push 1
mov byte [ebp - 0x6d], al
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x80], esi
push edx
call dword [eax]
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
jb 0x57347c
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebx + 0xc]
call fcn.00573150
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2e
mov dword [ebp - 0x74], eax
call edi
cmp byte [ebp - 0x6d], 0
lea eax, [eax*2 + 0x13]
mov dword [ebp - 0x88], eax
je 0x5734b2
push 0x47
call edi
mov edi, dword [ebp - 0x74]
add edi, 6
add edi, eax
jmp 0x5734cf
push 0x2d
call edi
mov ecx, dword [ebp - 0x74]
mov edx, 0x5d7f18
lea esi, [ecx + eax*2]
mov ecx, dword [ebx + 0xc]
call fcn.00573150
lea edi, [esi + eax*2]
mov esi, dword [ebp - 0x80]
mov eax, dword [ebx + 0x14]
mov ecx, 0x10
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0
cmp eax, 0xc0
jl 0x5734f6
mov ecx, 0x20
mov dword [ebp - 0x74], 0x12c
jmp 0x57351c
cmp eax, 0x90
jl 0x57350b
mov ecx, 0x18
mov dword [ebp - 0x74], 0xc8
jmp 0x57351c
cmp eax, 0x78
jl 0x57351f
mov ecx, 0x14
mov dword [ebp - 0x74], 0x64
mov dword [ebp - 0x78], ecx
cmp byte [ebp - 0x6d], 0
je 0x573530
lea eax, [ecx + 6]
mov dword [ebp - 0x88], eax
mov edi, eax
push 0
mov dword [esi], vtable.GUI::Window.0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
jb 0x573551
mov ecx, dword [ebp - 0x3c]
push 0
push eax
push dword [ebp - 0x7c]
movzx eax, byte [ebp - 0x6d]
push dword [ebx + 4]
neg eax
push dword [ebp - 0x88]
sbb eax, eax
push edi
push 2
push 2
and eax, 0x1083
or eax, 0x44010000
push eax
push ecx
push 0x5d7ee4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebp - 0x6d], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 4], eax
je 0x57367a
mov eax, dword [ebp - 0x7c]
mov edi, 0x65
add eax, 0xffffff18
cmp eax, 9
ja case.0x5735ab.232
jmp dword [eax*4 + 0x5737b4]
mov edi, 0x66
jmp case.0x5735ab.232
mov edi, 0x67
jmp case.0x5735ab.232
mov edi, 0x68
jmp case.0x5735ab.232
mov edi, 0x69
jmp case.0x5735ab.232
mov edi, 0x6a
push str.COMCTL32
mov dword [ebp - 4], 0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x573631
push str.DllGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x573628
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], esi
push ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], 0x14
call eax
test eax, eax
js 0x573628
movzx esi, word [ebp - 0x20]
movzx eax, word [ebp - 0x1c]
shl esi, 0x10
or esi, eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x60000
push 0
sbb esi, esi
and esi, 0x1000
add esi, 0x40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov ecx, eax
mov eax, dword [ebp - 0x78]
push eax
push eax
mov eax, dword [ebp - 0x74]
push 0
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, dword [ebp - 0x80]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0xf7
push dword [esi + 4]
call edi
mov eax, dword [esi + 4]
push 0
push dword [ebx + 0xc]
push 0x30
push eax
call edi
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0x6d], 0
jne 0x5736ee
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
push 0
push 0x1601
push dword [esi + 4]
mov dword [ebp - 0x80], 0
call edi
mov edi, dword [ebp - 0x84]
test edi, edi
jle 0x5736e8
mov ecx, dword [ebx + 0xc]
mov edx, 0x5d7fc0
call fcn.00573150
push 0x14
push dword [ebp - 0x80]
lea eax, [edi + eax*2]
push eax
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x6c], 0x30
mov dword [ebp - 0x68], 0x11
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x48], 0xffffffff
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x6c]
push eax
push 0
push 0x432
push dword [ebx + 0x30]
call edi
push 0
push 1
push 0x401
push dword [ebx + 0x30]
call edi
lea ecx, [ebp - 0x3c]
call fcn.0040ab30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 0x10