Function at 0x4a0820
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x549f48
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004f5b37
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
call fcn.004f3785
fld qword [0x587a98]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
sub esp, 8
fstp qword [esp]
lea edi, [esi + 0x444]
push edi
push 0xbce
push ecx
mov ecx, eax
lea ebx, [esp + 0x44]
call fcn.0040e0f0
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4a0973
push 0xc76f
mov ecx, esi
call fcn.004f3841
cmp edi, ebp
jne 0x4a08bb
xor ecx, ecx
jmp 0x4a08be
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x30
push edx
call ebx
push 0x4a3
mov ecx, esi
call fcn.004f3841
cmp edi, ebp
jne 0x4a08dd
xor ecx, ecx
jmp 0x4a08e0
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call ebx
push 0x49f
mov ecx, esi
call fcn.004f3841
cmp edi, ebp
jne 0x4a08ff
xor ecx, ecx
jmp 0x4a0902
mov ecx, dword [edi + 4]
push 1
push ecx
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call ebx
push 0x4a0
mov ecx, esi
call fcn.004f3841
cmp edi, ebp
jne 0x4a0921
xor ecx, ecx
jmp 0x4a0924
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x30
push edx
call ebx
push 0x4a1
mov ecx, esi
call fcn.004f3841
cmp edi, ebp
jne 0x4a0943
xor ecx, ecx
jmp 0x4a0946
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call ebx
push 0x4a2
mov ecx, esi
call fcn.004f3841
cmp edi, ebp
jne 0x4a0965
xor edi, edi
jmp 0x4a0968
mov edi, dword [edi + 4]
mov ecx, dword [eax + 0x20]
push 1
push edi
push 0x30
push ecx
call ebx
call fcn.004f4f7c
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4a098d
push 0x80004005
call fcn.00405130
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
xor edi, edi
push 0x138c
mov dword [esp + 0x84], edi
call fcn.004f43d3
cmp eax, edi
je 0x4a09c7
push 0x138c
push eax
lea ecx, [esp + 0x34]
call fcn.00416a20
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esi + 0x3a4]
push ebp
push edi
push 0x14a
push ecx
call ebx
push 0x138d
call fcn.004f43d3
cmp eax, edi
je 0x4a09f8
push 0x138d
push eax
lea ecx, [esp + 0x34]
call fcn.00416a20
mov ebp, dword [esp + 0x2c]
mov edx, dword [esi + 0x3a4]
push ebp
push 1
push 0x14a
push edx
call ebx
push 0x1398
call fcn.004f43d3
cmp eax, edi
je 0x4a0a2a
push 0x1398
push eax
lea ecx, [esp + 0x34]
call fcn.00416a20
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x3a4]
push ebp
push 2
push 0x14a
push eax
call ebx
lea eax, [esi + 0x384]
call fcn.0049b9c0
mov ecx, dword [esi + 0x3a4]
push 0xf
push 0xffffffffffffffff
push 0x153
push ecx
call ebx
mov eax, 0x3c
mov dword [esi + 0x3f4], edi
mov dword [esi + 0x114], eax
mov dword [esi + 0x1a8], 5
mov dword [esi + 0x23c], eax
mov dword [esi + 0x2d0], 0x12
call fcn.004a1390
push edi
mov ecx, esi
call fcn.004ed6b6
push 0xfaceb6
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xc770
lea edx, [esi + 0x2ec]
push edx
mov dword [esi + 0x98], eax
call fcn.0042d8e0
push 0x850
mov ecx, esi
call fcn.004f3841
mov eax, dword [eax + 0x20]
lea edi, [esi + 0x434]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
mov ecx, esi
call fcn.004e9f4a
push 1
push 1
push edi
call dword [sym.imp.USER32.dll_InflateRect]
add ebp, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0b0a
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret