Function at 0x403430
Capabilities:
Access peb ldr_data
Check os version
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443043
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebp
push esi
push edi
mov eax, dword [0x4576e4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], esi
call fcn.00410853
lea edi, [esp + 0x30]
call fcn.00403020
push str.portalmain.htm
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xac], 0
call fcn.004020e0
add esp, 0xc
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4034bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, esi
call fcn.00404d09
push 0
call fcn.0042d9bb
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call fcn.0040de73
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4034fe
push 0x80004005
call fcn.00402c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xa0], 3
call fcn.0040de73
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403530
push 0x80004005
call fcn.00402c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0xa8], 4
call fcn.0042d9f7
add esp, 8
test eax, eax
jne 0x403569
mov eax, dword [esp + 0x60]
add eax, 0x76c
jmp 0x40356b
xor eax, eax
push eax
lea eax, [esp + 0x18]
push 0x44bba8
push eax
call fcn.004026c0
add esp, 0xc
push 0x44c1e4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004020e0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 5
call fcn.004027f0
mov byte [esp + 0xa0], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.0042d9f7
add esp, 8
test eax, eax
jne 0x4035ee
mov eax, dword [esp + 0x5c]
add eax, 1
jmp 0x4035f0
xor eax, eax
push eax
lea eax, [esp + 0x18]
push 0x44bba8
push eax
call fcn.004026c0
add esp, 0xc
push 0x44c1e4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004020e0
add esp, 0xc
mov byte [esp + 0xa0], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00403ad0
mov byte [esp + 0xa0], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40365a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.0042d9f7
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push 0x44bba8
push eax
call fcn.004026c0
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp - 0xc]
add esp, 0x14
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00403ad0
call fcn.0040de73
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4036b2
push 0x80004005
call fcn.00402c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.004026e0
lea edi, [esp + 0x10]
mov byte [esp + 0xa0], 8
call fcn.00403020
push str.configupdate.ini
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xac], 9
call fcn.004020e0
add esp, 0xc
mov byte [esp + 0xa0], 0xb
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40371f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push 0x3000
push ecx
lea ecx, [esp + 0x44]
call fcn.00419be3
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0xc
call fcn.004192db
or eax, edx
je 0x40378e
push 0
push 0x1000
push 1
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x5c]
call fcn.0041a4b8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 0xd
call fcn.0041a5be
lea ecx, [esp + 0x4c]
call fcn.0041a26f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0xc
call fcn.0041a47a
lea ecx, [esp + 0x3c]
call fcn.00419476
mov esi, dword [esp + 0x1c]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x4037b0
push 0x80004005
call fcn.00402c60
mov ecx, dword [esp + 0x18]
push esi
push ecx
call fcn.0042d3e4
add esp, 8
test eax, eax
sete al
test al, al
jne 0x403841
mov ecx, dword [esp + 0x34]
push 0x24
push 0x44c1fc
push 0x44c204
call fcn.004099de
cmp eax, 6
jne 0x403841
lea edi, [esp + 0x10]
call fcn.00403020
push 0x44c228
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0xac], 0xe
call fcn.004020e0
mov byte [esp + 0xac], 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40382d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call fcn.0042df1b
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0xb
call fcn.0041965c
mov byte [esp + 0xa0], 8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40387a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xa0], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xa0], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403915
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret