Function at 0x406ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4a2480
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
lea eax, [ecx + 0x20]
mov dword [ecx], 0
mov dword [ecx + 0x34], 0xf
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x20], 0
mov dword [ecx + 0x4c], 0xf
mov dword [ecx + 0x48], 0
mov byte [ecx + 0x38], 0
mov dword [ecx + 0x58], 4
mov dword [ecx + 0x5c], 3
mov dword [ecx + 0x74], 0xf
mov dword [ecx + 0x70], 0
mov byte [ecx + 0x60], 0
mov dword [ebp - 0x24], eax
lea eax, [ecx + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x10], 5
call fcn.00407480
mov dword [ebp - 0x10], 6
lea ecx, [ebp - 0x3c]
push 1
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call fcn.004074a0
xor ecx, ecx
test eax, eax
jne 0x406fd6
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push eax
push 0x65885c
call fcn.00407520
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
push eax
push str.DisplayVersion
call fcn.004075a0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x406fe1
cmp dword [ebp - 0x40], 7
jbe 0x406ffb
mov eax, dword [ebp - 0x54]
jmp 0x406ffe
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
push eax
push str.ReleaseId
call fcn.004075a0
mov ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 7
ja 0x406fdc
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x88]
push ecx
push eax
push edx
call fcn.004076f0
add esp, 0xc
mov esi, dword [ebp - 0x2c]
movsd xmm1, qword [ebp - 0x80]
movsd xmm0, qword [ebp - 0x88]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x70], esi
movsd qword [ebp - 0x64], xmm1
movsd xmm1, qword [ebp - 0x78]
movsd qword [ebp - 0x6c], xmm0
movsd qword [ebp - 0x5c], xmm1
call fcn.004080a0
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x20]
cmp ecx, 8
jb 0x40707c
mov eax, dword [ebp - 0x54]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x407072
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40729f
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x34]
cmp eax, 0x10
jb 0x4070b9
mov ecx, dword [ebp - 0x24]
lea edx, [eax + 1]
cmp edx, 0x1000
mov ecx, dword [ecx]
jb 0x4070af
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x4072ab
add eax, 0x24
mov ecx, esi
mov edx, eax
push edx
push ecx
call fcn.005d319e
add esp, 8
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x24]
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [ebp - 0x10], 4
push eax
push edx
push ecx
call fcn.00408150
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.004082c0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [ecx + 0x114]
lea esi, [ecx + 0x14]
mov dword [edx + 0x18], eax
movzx eax, word [ecx + 0x116]
mov dword [edx + 0x1c], eax
push esi
call fcn.005d3244
add esp, 4
lea ecx, [ebp - 0x70]
push eax
push esi
push ecx
call fcn.004076f0
add esp, 0xc
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x70]
cmp eax, ebx
je 0x4071b6
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x4c]
cmp eax, 0x10
jb 0x407182
mov ecx, dword [ebx]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x407178
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x4072b7
add eax, 0x24
mov ecx, esi
mov edx, eax
push edx
push ecx
call fcn.005d319e
add esp, 8
movsd xmm0, qword [ebp - 0x60]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [ebp - 0x70]
movsd xmm1, qword [ebp - 0x68]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
jmp 0x4071f4
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
cmp eax, 0x10
jb 0x4071f4
mov ecx, dword [ebp - 0x70]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x4071ea
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x4072c3
add eax, 0x24
mov ecx, esi
mov edx, eax
push edx
push ecx
call fcn.005d319e
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x50], ecx
mov ecx, dword [eax + 0x1c]
mov dword [edi + 0x54], ecx
mov ecx, dword [ebx + 4]
cmp ecx, 5
je 0x407230
cmp ecx, 0xa
je 0x407215
cmp ecx, 6
jne case.0x407220.2
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 0xa4
ja case.0x407220.2
jmp dword [eax*4 + 0x6588e8]
mov dword [edi + 0x14], 3
jmp 0x407278
mov ecx, dword [ebx + 8]
cmp ecx, 1
je 0x40725f
cmp ecx, 2
jne case.0x407220.2
cmp byte [ebx + 0x11a], 1
jne 0x40724c
cmp word [eax], 9
je case.0x407220.1
cmp word [ebx + 0x118], 0
js case.0x407220.2
mov dword [edi + 0x14], 2
jmp 0x407278
test byte [ebx + 0x119], 2
jne case.0x407220.2
mov dword [edi + 0x14], 1
jmp 0x407278
mov dword [edi + 0x14], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov dword [edi + 0x14], 4
jmp 0x407278
mov dword [edi + 0x14], 5
jmp 0x407278
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 3
call fcn.006207e0
nop
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.004080a0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
add esp, 0xc
pop ebp
ret