Function at 0x4527d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
push 0xc9
mov edi, ecx
mov dword [ebp - 0x4c], esi
call fcn.00402c1a
lea eax, [edi + 0x30]
xor ebx, ebx
push eax
mov dword [esi], ebx
call fcn.0044e6b0
mov ecx, eax
call fcn.004571d0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0044e6b0
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x452862
push ebx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x45287b
call fcn.0044e6b0
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x452983
xor esi, esi
mov dword [ebp - 0x44], ebx
call fcn.0044e6b0
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x38], eax
xor edx, edx
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45292f
call fcn.004815cc
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x28
jge 0x4528d3
lea esi, [ecx - 0x67]
lea ebx, [ecx - 0x6a]
jmp 0x45292f
cmp edx, 0x50
jge 0x4528dc
xor esi, esi
jmp 0x45292f
cmp edx, 0x5a
jge 0x452900
call fcn.004815cc
mov esi, eax
and esi, reloc.OLEAUT32.dll_VariantInit
jns 0x4528f5
dec esi
or esi, 0xfffffff8
inc esi
sub esi, 4
mov ebx, esi
neg ebx
add ebx, ebx
jmp 0x45292f
call fcn.004815cc
cdq
mov ecx, 0xc8
idiv ecx
mov esi, edx
call fcn.004815cc
cdq
mov ecx, 0x32
idiv ecx
mov dword [ebp - 0x44], edx
call fcn.004815cc
cdq
mov ecx, 0x64
idiv ecx
lea ebx, [esi + edx]
cmp dword [0x4fe854], 0
mov eax, dword [ebp - 0x44]
je 0x452959
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0x54
sub edx, eax
push edx
mov edx, dword [edi + 4]
sub ecx, ebx
push ecx
push eax
push esi
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x452981
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0x14
sub ecx, eax
push ecx
sub edx, ebx
push edx
push eax
mov eax, dword [edi + 4]
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor ebx, ebx
mov edx, dword [0x4fc7ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fc7ec
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
push ebx
lea ecx, [ebp - 0x48]
push ecx
push 0x4d0ac0
lea ecx, [edi + 0x30]
mov dword [ebp - 4], ebx
call fcn.0040f3d0
test eax, eax
je 0x452ad8
mov edx, dword [ebp - 0x48]
cmp dword [edx - 0xc], ebx
je 0x452ad8
mov ecx, edi
call fcn.00450c50
test eax, eax
jne 0x452a01
mov eax, dword [edi + 4]
push ebx
push 0x3e4
push 0x47b
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x452b03
call fcn.0044e610
mov ecx, dword [edi + 0x40]
mov dword [0x4fe850], ecx
push ebx
lea ecx, [edi + 0x44]
call fcn.004526f0
call fcn.0044e6b0
mov eax, dword [eax + 0xc]
sub eax, 0x10
push eax
call fcn.004014d8
lea esi, [eax + 0x10]
add esp, 4
cmp dword [esi - 0xc], ebx
je 0x452a7f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x452a47
xor eax, eax
jmp 0x452a60
add eax, eax
mov dword [ebp - 0x44], eax
call fcn.00480b20
mov edx, dword [ebp - 0x44]
mov eax, esp
push 3
push edx
push esi
push eax
call fcn.004381f0
mov ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x44], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x452a68
sub ecx, dword [ebp - 0x44]
push ebx
push ecx
push eax
push 0x10000001
call sub.urlmon.dll_UrlMkSetSessionOption
mov eax, dword [edi + 4]
push ebx
push 0x1f4
push 0x11c1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 4
lea ecx, [ebp - 0x50]
push ecx
push 0x46
push ebx
mov dword [ebp - 0x50], 1
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [ebp - 0x4c]
add esi, 0xfffffff0
mov dword [edx], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4529e2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4529e2
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452b0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
lea esp, [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret 0x10