Function at 0x402180
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x419202
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x421948]
push ebx
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ebx, ecx
mov dword [eax], 0xfffffc18
xor eax, eax
mov ecx, 0x44
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4021ef
push 0xffffffffffffffff
push 0x10
push 0x66
call fcn.0041648c
jmp 0x402644
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x402215
push 0x41a95c
call fcn.00404b0a
add esp, 4
push eax
push 0x41a95c
mov ecx, esi
call fcn.00401f30
call fcn.004114e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x14c], 0
call fcn.004114e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 0x69
mov byte [esp + 0x150], 1
call fcn.004114dc
test eax, eax
je 0x402269
push 0x69
push eax
lea ecx, [esp + 0x14]
call fcn.004014e0
test eax, eax
jne 0x402272
lea ecx, [esp + 0xc]
call fcn.004013d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00401fd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add esp, 0x18
push eax
push ecx
mov ecx, esi
call fcn.00401f30
push 0x41a95c
call fcn.00404b0a
add esp, 4
push eax
push 0x41a95c
mov ecx, esi
call fcn.00401f30
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x7c]
push eax
mov eax, dword [ebx + 0x78]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str.__u._u._u._u.
push ecx
call fcn.00401fd0
add esp, 0x18
call fcn.004114e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x6a
mov byte [esp + 0x150], 2
call fcn.004114dc
test eax, eax
je 0x402320
push 0x6a
push eax
lea ecx, [esp + 0x20]
call fcn.004014e0
test eax, eax
jne 0x402329
lea ecx, [esp + 0x18]
call fcn.004013d0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401f30
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, esi
call fcn.00401f30
push 0x41a95c
call fcn.00404b0a
add esp, 4
push eax
push 0x41a95c
mov ecx, esi
call fcn.00401f30
add ebx, 0x74
mov ecx, ebx
call fcn.00402c70
test eax, eax
jne 0x402417
call fcn.004114e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x6b
mov byte [esp + 0x150], 3
call fcn.004114dc
test eax, eax
je 0x4023ad
push 0x6b
push eax
lea ecx, [esp + 0x18]
call fcn.004014e0
test eax, eax
jne 0x4023b6
lea ecx, [esp + 0x10]
call fcn.004013d0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00401f30
push 0x41a95c
call fcn.00404b0a
add esp, 4
push eax
push 0x41a95c
mov ecx, esi
call fcn.00401f30
mov esi, dword [esi]
push 0
push 0x30
push esi
call fcn.0041646a
lea eax, [ebx - 0x10]
mov byte [esp + 0x14c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4025d3
mov ecx, ebx
call fcn.00402cc0
test eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jl 0x4025ab
call fcn.004114e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x6c
mov byte [esp + 0x150], 4
call fcn.004114dc
test eax, eax
je 0x402461
push 0x6c
push eax
lea ecx, [esp + 0x18]
call fcn.004014e0
test eax, eax
jne 0x40246a
lea ecx, [esp + 0x10]
call fcn.004013d0
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, esi
call fcn.00401f30
push 0x41a95c
mov ecx, esi
call fcn.00402140
call fcn.004114e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x6d
mov byte [esp + 0x150], 5
call fcn.004114dc
test eax, eax
je 0x4024bc
push 0x6d
push eax
lea ecx, [esp + 0x24]
call fcn.004014e0
test eax, eax
jne 0x4024c5
lea ecx, [esp + 0x1c]
call fcn.004013d0
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x4024e8
push 0x41a95c
mov ecx, esi
call fcn.00402140
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00401f30
lea eax, [ebx - 0x10]
mov byte [esp + 0x14c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40250a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x14c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40252c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402552
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x402646
push 0xffffffffffffffff
push 0x24
push 0x6e
call fcn.0041648c
cmp eax, 6
jne 0x4025d3
push 3
push 0
push 0
push str.http:__www.bytelinker.com_bbs
push 0x41a8f8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [edi - 0x10]
mov byte [esp + 0x14c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40261b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402644
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
call fcn.00404630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8