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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4361
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5256a8]
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, ecx
mov dword [ebp - 0x7c], esi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
xor ebx, ebx
mov dword [esi + 8], eax
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
mov dword [esi], vtable.HTMLControl.0
mov dword [esi + 4], ebx
push ebx
lea edx, [ebp + 0x18]
mov edi, 7
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov dword [ebp - 4], 1
mov word [ecx], ax
call fcn.00406690
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push ebx
lea edx, [ebp + 0x34]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ebp - 4], 2
mov word [ecx], ax
call fcn.00406690
mov eax, dword [ebp + 0x50]
mov cl, byte [ebp + 0x54]
mov edx, dword [ebp + 8]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x58]
mov dword [esi + 0x54], 2
mov word [esi + 0x58], 0x100
mov byte [esi + 0x5a], cl
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
push 0x64
mov byte [ebp - 4], 3
mov dword [esi + 0x6c], ebx
call fcn.00404fba
add esp, 4
cmp eax, ebx
je 0x4a7daa
mov dword [esi + 0x68], eax
mov dword [eax], eax
mov eax, dword [esi + 0x68]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x68]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x68]
mov byte [ecx + 0x60], 1
mov edx, dword [esi + 0x68]
mov byte [edx + 0x61], 1
mov ecx, dword [0x528178]
push 0x32
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 4
call fcn.00437b5c
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], str.https
mov dword [ebp - 0x68], 0x50b74c
call fcn.004458d0
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 6
call fcn.004a77f0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00406690
mov edi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x4a7d0d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406cf9
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x4a7d2e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406cf9
add esp, 4
mov ecx, esi
call fcn.004a6c60
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], edi
jb 0x4a7d3f
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0049fa60
cmp dword [ebp - 0x50], edi
jb 0x4a7d58
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406cf9
add esp, 4
cmp dword [ebp + 0x2c], edi
jb 0x4a7d69
mov eax, dword [ebp + 0x18]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x2c], 7
mov dword [ebp + 0x28], ebx
mov word [ebp + 0x18], cx
cmp dword [ebp + 0x48], edi
jb 0x4a7d8a
mov edx, dword [ebp + 0x34]
push edx
call fcn.00406cf9
add esp, 4
mov eax, esi
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.00401306
mov esp, ebp
pop ebp
ret 0x54
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], ebx
call fcn.004b6baa
push 0x5137c0
lea ecx, [ebp - 0x78]
push ecx
mov dword [ebp - 0x78], vtable.std::bad_alloc.0
call fcn.004b6ce9
int3