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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41a193
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov eax, dword [0x422948]
xor eax, ebp
push ebx
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov dword [eax], 0xfffffc18
xor eax, eax
mov ecx, 0x44
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4023e8
push 0xffffffffffffffff
push 0x10
push 0x66
call fcn.004173a6
jmp 0x402922
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x40240b
push 0x41b9ac
call fcn.004058d6
add esp, 4
push eax
push 0x41b9ac
mov ecx, esi
call fcn.00401f50
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x154], 0
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x69
mov byte [esp + 0x158], 1
call fcn.004123e1
test eax, eax
je 0x40245f
push 0x69
push eax
lea ecx, [esp + 0x1c]
call fcn.004014d0
test eax, eax
jne 0x402468
lea ecx, [esp + 0x14]
call fcn.004013e0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00401ff0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
add esp, 0x18
push eax
push ecx
mov ecx, esi
call fcn.00401f50
push 0x41b9ac
call fcn.004058d6
add esp, 4
push eax
push 0x41b9ac
mov ecx, esi
call fcn.00401f50
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 + 0x24]
push str.__u._u._u._u.
push ecx
call fcn.00401ff0
add esp, 0x18
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
push 0x6a
mov byte [esp + 0x158], 2
call fcn.004123e1
test eax, eax
je 0x402516
push 0x6a
push eax
lea ecx, [esp + 0x2c]
call fcn.004014d0
test eax, eax
jne 0x40251f
lea ecx, [esp + 0x24]
call fcn.004013e0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401f50
mov edi, dword [esp + 0x24]
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, esi
call fcn.00401f50
push 0x41b9ac
call fcn.004058d6
add esp, 4
push eax
push 0x41b9ac
mov ecx, esi
call fcn.00401f50
add ebx, 0x74
mov ecx, ebx
call fcn.00403560
test eax, eax
jne 0x4025e3
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x6b
mov byte [esp + 0x158], 3
call fcn.004123e1
test eax, eax
je 0x40259f
push 0x6b
push eax
lea ecx, [esp + 0x18]
call fcn.004014d0
test eax, eax
jne 0x4025a8
lea ecx, [esp + 0x10]
call fcn.004013e0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00401f50
push 0x41b9ac
call fcn.004058d6
add esp, 4
push eax
push 0x41b9ac
mov ecx, esi
call fcn.00401f50
mov esi, dword [esi]
push 0
push 0x30
push esi
call fcn.00417384
jmp 0x40288f
mov ecx, ebx
call fcn.004035e0
test eax, eax
mov ebx, dword [esp + 0x1c]
mov dword [ebx], eax
jl 0x4027ce
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x154], 4
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x6c
mov byte [esp + 0x158], 5
call fcn.004123e1
test eax, eax
je 0x402649
push 0x6c
push eax
lea ecx, [esp + 0x18]
call fcn.004014d0
test eax, eax
jne 0x402652
lea ecx, [esp + 0x10]
call fcn.004013e0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401ff0
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, esi
call fcn.00401f50
push 0x41b9ac
mov ecx, esi
call fcn.00402330
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x6d
mov byte [esp + 0x158], 6
call fcn.004123e1
test eax, eax
je 0x4026b9
push 0x6d
push eax
lea ecx, [esp + 0x20]
call fcn.004014d0
test eax, eax
jne 0x4026c2
lea ecx, [esp + 0x18]
call fcn.004013e0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x4026e5
push 0x41b9ac
mov ecx, esi
call fcn.00402330
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00401f50
lea eax, [ebx - 0x10]
mov byte [esp + 0x154], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x154], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40272d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x154], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40274f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x154], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402775
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x154], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40279b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x154], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x402924
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x154], 7
call fcn.004123ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x6e
mov byte [esp + 0x158], 8
call fcn.004123e1
test eax, eax
je 0x40281f
push 0x6e
push eax
lea ecx, [esp + 0x20]
call fcn.004014d0
test eax, eax
jne 0x402828
lea ecx, [esp + 0x18]
call fcn.004013e0
mov eax, dword [ebx]
mov esi, dword [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push str._s_n_n_Error_d_
push ecx
call fcn.00401ff0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
push 0
push 0x24
push ebx
call fcn.00417384
cmp eax, 6
jne 0x40286d
push 3
push 0
push 0
push str.http:__www.167bt.com_bbs
push 0x41b930
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [esp + 0x154], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40288f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x154], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x154], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x154], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x154], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004053fe
mov esp, ebp
pop ebp
ret 8