Function at 0x402860
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x424d34
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x42fc5c]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42fc5c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CConfig.0
call fcn.00406003
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4028c3
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esp + 0xc0], edi
call fcn.00406003
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4028f3
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [esp + 0xc0], 1
call fcn.00406003
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402924
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x50], eax
mov byte [esp + 0xc0], 2
lea ebx, [esi + 0x54]
call fcn.00406003
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402958
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0xc0], 3
lea ebp, [esi + 0x5c]
call fcn.00406003
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40298b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esi + 0x7c], vtable.CPower.0
mov ecx, 2
push edi
mov word [esi + 0x2c], cx
push 0x426603
lea ecx, [esi + 4]
mov byte [esp + 0xc8], 5
call fcn.004017b0
mov eax, 0x258
lea edx, [esp + 0x18]
push edx
mov dword [esi + 8], 9
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x12c
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x1c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 5
push edi
sbb eax, eax
neg eax
mov dword [esi + 0x94], eax
mov eax, 1
push 0x426603
lea ecx, [esi + 0x4c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call fcn.004017b0
push edi
push 0x426603
lea ecx, [esi + 0x50]
call fcn.004017b0
push 6
push str.public
mov ecx, ebx
call fcn.004017b0
push edi
push 0x426603
mov ecx, ebp
mov dword [esi + 0x58], edi
call fcn.004017b0
mov eax, 3
xor ecx, ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
xor eax, eax
mov edx, 0xa1
mov word [esi + 0x40], ax
mov word [esi + 0x60], cx
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x74], 1
mov word [esi + 0x78], dx
mov dword [esi + 0x70], 0xa
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00412e58
add esp, 0xb0
ret