Function at 0x573a00
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e68e2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x8c]
mov ecx, dword [esi + 0x60]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
push eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x34], ecx
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x48], edx
lea edx, [ecx + 1]
or edi, 0xffffffff
mov dword [eax + 4], edx
mov dword [eax + 8], edi
or ebx, edi
mov dword [eax + 0xc], ebx
lea eax, [esp + 0x3c]
push eax
call fcn.0059a290
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x34], ecx
add esp, 0x18
mov ecx, esi
call fcn.005a2320
mov ebp, eax
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 4]
xor edx, edx
cmp ecx, esi
sete dl
xor ebx, ebx
cmp dword [eax + 8], esi
sete bl
mov edi, edx
mov dword [esp + 0x8c], ebx
cmp ecx, esi
jne 0x573acd
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
mov dword [esp + 0x14], 1
test eax, eax
jne 0x573ad5
mov dword [esp + 0x14], 0
test edi, edi
je 0x573b53
mov ecx, ebp
call fcn.0058f9d0
test eax, eax
je 0x573b53
mov eax, dword [esi + 0x60]
test eax, eax
je 0x573af3
lea ebx, [eax - 0x184]
jmp 0x573af5
xor ebx, ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0x8c]
mov ecx, ebx
call edx
test eax, eax
je 0x573b26
mov eax, dword [ebx]
mov edx, dword [eax + 0x8c]
mov ecx, ebx
call edx
xor ebp, ebp
cmp dword [eax + 0xe0], ebp
je 0x573b28
mov dword [esp + 0x8c], ebp
mov ebx, ebp
jmp 0x573b4f
xor ebp, ebp
mov eax, dword [ebx]
mov edx, dword [eax + 0x6c]
mov ecx, ebx
call edx
test eax, eax
je 0x573b46
cmp dword [esp + 0x14], ebp
je 0x573b46
mov dword [esp + 0x8c], 1
mov ebx, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x573cd9
test edi, edi
jne 0x573b6b
test ebx, ebx
je 0x573d88
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00571e90
add esp, 8
mov ecx, eax
mov dword [esp + 0x80], 0
call dword [sym.imp.mfc90u.dll_]
push eax
lea ecx, [esp + 0x24]
push str.CONTEXTTAB_s
push ecx
call fcn.00571e20
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x80], 1
call dword [sym.imp.mfc90u.dll_]
mov ebp, dword [esp + 0x18]
push eax
mov ecx, ebp
call fcn.005617f0
lea ecx, [esp + 0x20]
mov ebx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
test edi, edi
je 0x573c5d
cmp dword [esp + 0x14], eax
jne 0x573c6e
cmp dword [esp + 0x8c], eax
jne 0x573c6e
mov eax, 3
test ebx, ebx
je 0x573d88
mov edi, 5
push edi
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
mov ebp, edi
call fcn.00599170
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebp
mov edx, edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov ecx, ebx
call fcn.00598490
jmp 0x573d88
cmp dword [esp + 0x8c], 0
je 0x573bfa
mov eax, 1
jmp 0x573bfa
push str.RIBBONTAB
mov ecx, ebp
call fcn.005617f0
mov edi, eax
test edi, edi
je 0x573d88
mov eax, 5
push 6
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00599170
mov edx, dword [eax]
push 0xff00ff
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
jmp 0x573d7b
test edi, edi
jne 0x573ce5
test ebx, ebx
je 0x573d88
mov ecx, dword [esp + 0x18]
push str.RIBBONTAB
call fcn.005617f0
mov ebp, eax
xor eax, eax
lea ecx, [eax + 5]
test edi, edi
je 0x573d14
cmp dword [esp + 0x14], eax
je 0x573d08
mov eax, ecx
jmp 0x573d2c
xor eax, eax
test ebx, ebx
setne al
add eax, 3
jmp 0x573d2c
mov edx, dword [esi + 0x60]
cmp dword [edx + 0xc], esi
jne 0x573d23
mov eax, 2
jmp 0x573d2c
test ebx, ebx
je 0x573d2c
mov eax, 1
test ebp, ebp
je 0x573d88
push 6
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
push eax
mov ecx, ebp
call fcn.00599170
mov edx, dword [eax]
push 0xff00ff
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
mov edx, dword [esp + 0xa4]
push edx
call fcn.00599660
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jge 0x573e19
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
inc eax
push str.RIBBONTABSEPARATOR
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.005617f0
mov edi, eax
test edi, edi
je 0x573e19
push 1
xor ebp, ebp
push ebp
lea eax, [esp + 0x60]
push eax
mov ecx, edi
xor ebx, ebx
call fcn.00599170
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
xor edx, edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x58]
push ecx
push edx
mov ecx, edi
call fcn.00598490
cmp dword [esp + 0x1c], 0
je 0x573f5f
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x573ec0
cmp dword [eax], esi
jne 0x573ec0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
inc eax
dec edx
push 0x6a28b8
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.005617f0
mov edi, eax
test edi, edi
je 0x573ec0
push 1
xor ebp, ebp
push ebp
lea eax, [esp + 0x60]
push eax
mov ecx, edi
xor ebx, ebx
call fcn.00599170
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
xor edx, edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x58]
push ecx
push edx
mov ecx, edi
call fcn.00598490
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x573f5f
cmp dword [eax + 4], esi
jne 0x573f5f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x18]
inc eax
dec edx
push 0x6a28b8
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
call fcn.005617f0
mov esi, eax
test esi, esi
je 0x573f5f
push 1
xor ebp, ebp
push ebp
lea eax, [esp + 0x70]
push eax
mov ecx, esi
xor edi, edi
xor ebx, ebx
call fcn.00599170
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
xor edx, edx
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.00598490
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8