Function at 0x446980
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451c1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c8
mov eax, dword [0x473388]
push ebx
push esi
push edi
mov dword [esp + 0x8cc], eax
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov word [esp + 0x4b8], bx
mov ecx, 0x81
lea edi, [esp + 0x4ba]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x4b8]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x6c8], bx
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x6ca]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x4c4]
push edx
push 0x45be50
stosw word es:[edi], ax
lea eax, [esp + 0x6d4]
push 0x104
push eax
call ebx
mov word [esp + 0x2cc], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x2ce]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x1ac]
mov ecx, dword [eax + 6]
mov edx, dword [eax + 2]
push ecx
push edx
push str.MatchMode__d__d
lea eax, [esp + 0x2d8]
push 0x104
push eax
call ebx
add esp, 0x30
call dword [sym.imp.FGuilib.dll_public:_static_class_CStdString_const____cdecl_CPaintManagerUI::GetResourcePath_void_]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.FGuilib.dll_public:_void___thiscall_CStdString::constructor_class_CStdString_const__]
lea ecx, [esp + 0x6c0]
xor edi, edi
push ecx
mov dword [esp + 0x8e0], edi
call dword [sym.imp.FGuilib.dll_public:_static_void___cdecl_CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
lea ecx, [esi + 0x64]
call dword [sym.imp.FGuilib.dll_public:_class_CControlUI____thiscall_CPaintManagerUI::GetRoot_void_const]
mov edx, eax
mov word [esp + 0xa8], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0xaa]
rep stosd dword es:[edi], eax
push 1
push 0x4542ac
stosw word es:[edi], ax
push edx
lea edi, [esi + 0x64]
push edi
mov dword [esp + 0x1c], edx
call dword [sym.imp.FGuilib.dll_public:_static_class_CButtonUI____cdecl_CButtonUI::Create_class_CPaintManagerUI___class_CControlUI___wchar_t_const___bool_]
mov edx, dword [esp + 0x1c]
push 1
mov dword [esi + 0x264], eax
push 0x4542ac
push edx
push edi
call dword [sym.imp.FGuilib.dll_public:_static_class_CButtonUI____cdecl_CButtonUI::Create_class_CPaintManagerUI___class_CControlUI___wchar_t_const___bool_]
push 1
mov dword [esi + 0x268], eax
mov eax, dword [esp + 0x30]
push 0x4542ac
push eax
push edi
call dword [sym.imp.FGuilib.dll_public:_static_class_CButtonUI____cdecl_CButtonUI::Create_class_CPaintManagerUI___class_CControlUI___wchar_t_const___bool_]
lea ecx, [esp + 0x2e0]
push ecx
push str._sBT_MATCH_JOIN.png
lea edx, [esp + 0xe0]
push 0x104
push edx
mov dword [esi + 0x26c], eax
call ebx
mov ecx, dword [esi + 0x264]
mov edi, dword [sym.imp.FGuilib.dll_public:_void___thiscall_CButtonUI::SetStatusImage_wchar_t_const__]
add esp, 0x40
lea eax, [esp + 0xa8]
push eax
call edi
lea ecx, [esp + 0x2b0]
push ecx
push str._sBT_MATCH_QUIT.png
lea edx, [esp + 0xb0]
push 0x104
push edx
call ebx
mov ecx, dword [esi + 0x268]
add esp, 0x10
lea eax, [esp + 0xa8]
push eax
call edi
lea ecx, [esp + 0x2b0]
push ecx
push str._sBT_MATCH_DETAILS.png
lea edx, [esp + 0xb0]
push 0x104
push edx
call ebx
mov ecx, dword [esi + 0x26c]
add esp, 0x10
lea eax, [esp + 0xa8]
push eax
call edi
lea ecx, [esp + 0x20]
call dword [sym.imp.FGuilib.dll_public:_wchar_t_const____thiscall_CStdString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.FGuilib.dll_public:_static_void___cdecl_CPaintManagerUI::SetResourcePath_wchar_t_const__]
mov edx, dword [esi + 0x20]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, ebx
sub ecx, edx
push eax
push ecx
mov ecx, esi
call fcn.004440a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x8dc], 0xffffffff
call dword [sym.imp.FGuilib.dll_public:_void___thiscall_CStdString::destructor_void_]
mov ecx, dword [esp + 0x8d4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8cc]
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4