Function at 0x468a70
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5cbf2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [0x6613bc]
mov eax, dword [ecx + 0x198]
test eax, eax
mov dword [esp + 0x1c], edi
mov ebp, 1
je 0x469246
mov eax, dword [edi + 0x2c]
cmp eax, 3
jne 0x468b63
mov eax, dword [edi + 0x28]
test ah, 0x10
jne 0x468aec
test ah, 2
je 0x468ac9
test ah, 4
jne 0x468aec
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x469246
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
test ah, 2
je 0x468b37
mov eax, dword [0x6613ac]
push eax
push 0x6613ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x46922f
mov ecx, dword [0x6613f4]
call fcn.00468450
test eax, eax
je 0x46922f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov ecx, dword [0x6613a8]
push ecx
push 0x6613a8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
inc eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp eax, 4
jne 0x468bdc
mov eax, dword [ecx + 0x294]
test eax, eax
je 0x46922f
mov eax, dword [edi + 0x28]
test ah, 0x10
je 0x468ba8
mov edx, dword [0x6613a8]
push edx
push 0x6613a8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x46922f
mov ecx, dword [0x6613f4]
call fcn.00468430
jmp 0x468b15
mov eax, dword [esp + 0x38]
test eax, eax
je 0x46922f
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x94]
test ecx, ecx
jne 0x469246
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp eax, 7
jne 0x468c09
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0xa8]
test eax, eax
jne 0x469246
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp eax, 5
jne 0x469066
mov ecx, dword [edi + 0x28]
test ecx, 0x6180000
jne 0x46922f
mov eax, dword [edi + 8]
test eax, eax
je 0x468c3c
cmp dword [eax + 0x178], ebp
jne 0x468c3c
test ecx, 0x10000000
je 0x46922f
test byte [0x658438], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x468c69
or dword [0x658438], ebp
mov dword [esp + 0x30], 0
call esi
or ebx, 0xffffffff
mov dword [0x658434], eax
mov dword [esp + 0x30], ebx
jmp 0x468c6c
or ebx, 0xffffffff
call esi
mov ecx, dword [edi + 0x28]
test ecx, 0x10000000
je 0x468c8d
mov edx, dword [0x658434]
add edx, 0x7d0
cmp eax, edx
jb 0x46922f
test ecx, 0x400000
jne 0x469043
mov ecx, dword [edi + 0x158]
test ecx, ecx
lea eax, [edi + 0x158]
mov dword [esp + 0x24], eax
jne 0x46922f
mov eax, dword [edi + 0x24]
push 7
lea esi, [edi + 0x24]
push 0x5e4090
push eax
call fcn.0057c2df
add esp, 0xc
test eax, eax
jne 0x46922f
push 7
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0040db40
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
test eax, eax
mov ebp, dword [sym.imp.WININET.dll_InternetGetCookieW]
jg 0x468cfb
mov dword [esp + 0x18], ebx
jmp 0x468e2f
push 0x2f
push ecx
call fcn.0057a3c2
add esp, 8
test eax, eax
jne 0x468d13
mov dword [esp + 0x18], ebx
jmp 0x468e2f
sub eax, dword [esp + 0x38]
sar eax, 1
test eax, eax
mov dword [esp + 0x18], eax
jle 0x468e2f
lea ecx, [esp + 0x10]
call fcn.00401b20
mov bl, 2
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00401b20
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x38]
cmp dword [eax - 0xc], 8
jle 0x468d97
add eax, 0x10
push 0x2f
push eax
call fcn.0057a3c2
add esp, 8
test eax, eax
je 0x468d97
sub eax, dword [esp + 0x38]
sar eax, 1
test eax, eax
jle 0x468d97
add eax, 7
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041ce60
mov byte [esp + 0x30], 4
push eax
lea ecx, [esp + 0x14]
call fcn.00405540
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x20]
call fcn.00401b70
jmp 0x468da1
push esi
lea ecx, [esp + 0x14]
call fcn.00405540
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x468e14
lea ecx, [esp + 0x3c]
call fcn.00404fe0
mov ecx, dword [esp + 0x14]
inc ecx
push ecx
lea ecx, [esp + 0x40]
call fcn.00402e10
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
call fcn.00431c40
push eax
push 0
push esi
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.00404fa0
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax - 0xc]
cmp eax, dword [edx - 0xc]
lea ecx, [edi + 0x20]
jge 0x468e14
lea eax, [esp + 0x3c]
push eax
call fcn.00405540
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00401b70
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00401b70
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx - 0xc]
test eax, eax
lea edi, [ebx + 0x20]
jne 0x468f1e
mov edx, dword [ebx + 0x148]
mov eax, dword [edx - 0xc]
test eax, eax
lea esi, [ebx + 0x148]
jle 0x468f1e
lea ecx, [esp + 0x3c]
call fcn.00401b20
mov byte [esp + 0x30], 5
mov eax, dword [esi]
cmp dword [eax - 0xc], 8
jle 0x468eb7
add eax, 0x10
push 0x2f
push eax
call fcn.0057a3c2
add esp, 8
test eax, eax
je 0x468eb7
sub eax, dword [esi]
sar eax, 1
test eax, eax
jle 0x468eb7
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041ce60
mov byte [esp + 0x30], 6
push eax
lea ecx, [esp + 0x40]
call fcn.00405540
mov byte [esp + 0x30], 5
lea ecx, [esp + 0x20]
call fcn.00401b70
jmp 0x468ec1
push esi
lea ecx, [esp + 0x40]
call fcn.00405540
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x468f10
mov ecx, edi
call fcn.00404fe0
mov eax, dword [esp + 0x14]
inc eax
push eax
mov ecx, edi
call fcn.00402e10
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00431c40
push eax
push 0
push esi
call ebp
push 0xffffffffffffffff
mov ecx, edi
call fcn.00404fa0
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
call fcn.00401b70
mov eax, dword [esp + 0x18]
test eax, eax
lea ecx, [esp + 0x38]
jl 0x468f54
push eax
lea edx, [esp + 0x40]
push edx
call fcn.0041ce60
mov byte [esp + 0x30], 7
push eax
lea ecx, [esp + 0x3c]
call fcn.00405540
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
call fcn.00401b70
jmp 0x468f5e
lea eax, [esp + 0x38]
push eax
call fcn.00405540
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jg 0x468f6e
or esi, 0xffffffff
jmp 0x468f8a
push 0x3a
push eax
call fcn.0057a3c2
add esp, 8
test eax, eax
jne 0x468f82
or esi, 0xffffffff
jmp 0x468f8a
sub eax, dword [esp + 0x38]
sar eax, 1
mov esi, eax
test esi, esi
mov edi, 0x50
jle 0x468ff1
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
call fcn.0040db40
mov byte [esp + 0x30], 8
mov eax, dword [eax]
push eax
call fcn.0057beb6
add esp, 4
mov edi, eax
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
call fcn.00401b70
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
call fcn.0041ce60
mov byte [esp + 0x30], 9
push eax
lea ecx, [esp + 0x3c]
call fcn.00405540
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
call fcn.00401b70
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebx + 0xc4]
call fcn.004055b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, dword [0x661414]
push 0
push 5
push edi
push edx
call fcn.00493070
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.00401b70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
test ecx, 0x100000
je 0x469246
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp eax, 6
jne 0x469246
test dword [edi + 0x28], 0x400000
jne 0x469246
mov eax, dword [edi + 0x158]
test eax, eax
lea ebp, [edi + 0x158]
jne 0x46922f
mov eax, dword [edi + 0x24]
push 6
lea esi, [edi + 0x24]
push str.ftp:__
push eax
call fcn.0057c2df
add esp, 0xc
test eax, eax
jne 0x46922f
push 6
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0040db40
mov ebx, 0xa
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x469116
push 0x2f
push eax
call fcn.0057a3c2
add esp, 8
test eax, eax
je 0x469116
sub eax, dword [esp + 0x38]
sar eax, 1
test eax, eax
jl 0x469116
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041ce60
mov byte [esp + 0x30], 0xb
push eax
lea ecx, [esp + 0x3c]
call fcn.00405540
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00401b70
jmp 0x469122
lea edx, [esp + 0x38]
push edx
mov ecx, edx
call fcn.00405540
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x469172
push 0x40
push eax
call fcn.0057a3c2
add esp, 8
test eax, eax
je 0x469172
sub eax, dword [esp + 0x38]
sar eax, 1
test eax, eax
jl 0x469172
inc eax
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
call fcn.0040db40
mov byte [esp + 0x30], 0xc
push eax
lea ecx, [esp + 0x3c]
call fcn.00405540
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00401b70
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
test eax, eax
jg 0x469182
or esi, 0xffffffff
jmp 0x46919e
push 0x3a
push ecx
call fcn.0057a3c2
add esp, 8
test eax, eax
jne 0x469196
or esi, 0xffffffff
jmp 0x46919e
sub eax, dword [esp + 0x38]
sar eax, 1
mov esi, eax
test esi, esi
mov edi, 0x15
jle 0x469203
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
call fcn.0040db40
mov byte [esp + 0x30], 0xd
mov eax, dword [eax]
push eax
call fcn.0057beb6
add esp, 4
mov edi, eax
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00401b70
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
call fcn.0041ce60
mov byte [esp + 0x30], 0xe
push eax
lea ecx, [esp + 0x3c]
call fcn.00405540
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x3c]
call fcn.00401b70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [0x661414]
push ebp
push 0
push 5
push edi
push edx
call fcn.00493070
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.00401b70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x469261
mov ecx, dword [0x6613c0]
add edi, 0x44
push edi
call fcn.004420d0
test eax, eax
je 0x46922f
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8