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

Disassembly:
push 0xffffffffffffffff
push 0x485008
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7b70]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
push eax
push ecx
call edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add eax, 0x28
push 4
mov dword [esp + 0x38], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0x30]
sub edx, eax
push edx
push ecx
push eax
push 0
mov ecx, esi
call fcn.00445804
push 0x3f3
mov ecx, esi
call fcn.00445346
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x48]
push ecx
push edx
call edi
push 0x3e9
mov ecx, esi
call fcn.00445346
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x58]
push ecx
push edx
call edi
push 1
mov ecx, esi
call fcn.00445346
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
push 2
mov ecx, esi
call fcn.00445346
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x38]
push ecx
push edx
call edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00446944
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00446944
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
lea edi, [ecx - 5]
mov dword [esp + 0x6c], edi
inc edi
mov dword [esp + 0x68], eax
mov dword [esi + 0x188], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], edi
lea edi, [esi + 0x188]
add eax, 0xfffffffe
mov dword [esi + 0x190], eax
lea eax, [ecx + 0xa]
mov dword [esi + 0x18c], eax
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x70], edx
add eax, dword [esp + 0x54]
mov dword [esi + 0x194], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x198], eax
lea ebx, [esi + 0x198]
lea eax, [ecx + 8]
mov dword [esi + 0x19c], eax
sub eax, dword [esp + 0x5c]
push 0x1000
add eax, dword [esp + 0x68]
push esi
add edx, 0xfffffffe
mov dword [esi + 0x1a4], eax
lea eax, [esp + 0x70]
push eax
mov dword [esi + 0x1a0], edx
mov edx, dword [esi + 0x8c]
mov edx, dword [edx + 0x13c]
lea ecx, [esi + 0x8c]
push 0x50001010
push 0x49c0a0
call edx
push 0x10
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4bc81c
call fcn.0042d450
mov eax, dword [eax]
mov edx, dword [esi + 0xe0]
push 0x1001
push esi
push edi
lea ecx, [esi + 0xe0]
push 0x50000002
push eax
mov eax, dword [edx + 0x13c]
mov dword [esp + 0x94], 0
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422eb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1002
push esi
push ebx
lea ebp, [esi + 0x134]
push 0x50810020
mov ecx, ebp
call fcn.0044943a
push 1
mov ecx, esi
call fcn.00445346
mov ecx, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push ecx
call edi
push eax
call fcn.00446eaf
test eax, eax
je 0x422ef6
mov eax, dword [eax + 4]
mov edx, dword [esi + 0xac]
push 1
push eax
push 0x30
push edx
call edi
push 1
mov ecx, esi
call fcn.00445346
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x31
push eax
call edi
push eax
call fcn.00446eaf
test eax, eax
je 0x422f26
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x100]
push 1
push eax
push 0x30
push ecx
call edi
push 1
mov ecx, esi
call fcn.00445346
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x31
push edx
call edi
push eax
call fcn.00446eaf
test eax, eax
je 0x422f56
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x154]
push 0x30
push eax
call edi
push 0
push 0x204
push 0
mov ecx, ebp
call fcn.004454ab
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00446944
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
add eax, 0xfffffff1
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x20]
push 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
sub eax, ecx
push eax
sub edx, edi
push edx
push ecx
push edi
push 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], ecx
push 1
mov ecx, esi
call fcn.00445346
mov ecx, eax
call fcn.00445804
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push 4
sub eax, edx
push eax
sub ecx, edi
push ecx
push edx
push edi
push 0
push 2
mov ecx, esi
call fcn.00445346
mov ecx, eax
call fcn.00445804
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret