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

Disassembly:
push 0xffffffffffffffff
push 0x470e28
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ab20]
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.00436e94
push 0x3f3
mov ecx, esi
call fcn.004369d6
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x48]
push ecx
push edx
call edi
push 0x3e9
mov ecx, esi
call fcn.004369d6
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x58]
push ecx
push edx
call edi
push 1
mov ecx, esi
call fcn.004369d6
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
push 2
mov ecx, esi
call fcn.004369d6
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.00437fd4
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00437fd4
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 + 0x184], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], edi
lea edi, [esi + 0x184]
add eax, 0xfffffffe
mov dword [esi + 0x18c], eax
lea eax, [ecx + 0xa]
mov dword [esi + 0x188], eax
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x70], edx
add eax, dword [esp + 0x54]
mov dword [esi + 0x190], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x194], eax
lea ebx, [esi + 0x194]
lea eax, [ecx + 8]
mov dword [esi + 0x198], eax
sub eax, dword [esp + 0x5c]
push 0x1000
add eax, dword [esp + 0x68]
push esi
add edx, 0xfffffffe
mov dword [esi + 0x1a0], eax
lea eax, [esp + 0x70]
push eax
mov dword [esi + 0x19c], edx
mov edx, dword [esi + 0x88]
mov edx, dword [edx + 0x13c]
lea ecx, [esi + 0x88]
push 0x50001010
push 0x4858e4
call edx
push 0x10
lea eax, [esp + 0x18]
push eax
mov ecx, 0x49e48c
call fcn.0041eb80
mov eax, dword [eax]
mov edx, dword [esi + 0xdc]
push 0x1001
push esi
push edi
lea ecx, [esi + 0xdc]
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 0x413115
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 + 0x130]
push 0x50810020
mov ecx, ebp
call fcn.0043aac7
push 1
mov ecx, esi
call fcn.004369d6
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.0043851d
test eax, eax
je 0x413156
mov eax, dword [eax + 4]
mov edx, dword [esi + 0xa8]
push 1
push eax
push 0x30
push edx
call edi
push 1
mov ecx, esi
call fcn.004369d6
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x31
push eax
call edi
push eax
call fcn.0043851d
test eax, eax
je 0x413186
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xfc]
push 1
push eax
push 0x30
push ecx
call edi
push 1
mov ecx, esi
call fcn.004369d6
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x31
push edx
call edi
push eax
call fcn.0043851d
test eax, eax
je 0x4131b6
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x150]
push 0x30
push eax
call edi
push 0
push 0x204
push 0
mov ecx, ebp
call fcn.00436b3b
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00437fd4
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.004369d6
mov ecx, eax
call fcn.00436e94
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.004369d6
mov ecx, eax
call fcn.00436e94
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret