Function at 0x41a42d
Capabilities:
Check internet connectivity via wininet
Create directory

Disassembly:
push 0x284
mov eax, 0x682f3f
call fcn.0056e2a9
mov esi, ecx
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x278], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x270], eax
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x27c], ebx
lea ecx, [ebp - 0x25c]
call fcn.00406180
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
call fcn.004173bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.004173bc
mov byte [ebp - 4], 2
push 0x149
mov ecx, 0x796c94
call fcn.00417bfd
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x41a4ac
mov eax, dword [eax]
push ecx
push ecx
xorps xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push 6
mov ecx, esi
call fcn.0041b7cc
push ebx
push 6
mov ecx, esi
call fcn.0041b766
lea ecx, [ebp - 0xa0]
call fcn.004173bc
mov byte [ebp - 4], 3
mov eax, 0x796274
cmp dword [0x796288], 8
cmovae eax, dword [0x796274]
push 0x6adf20
push eax
push 0x6adf48
lea eax, [ebp - 0xa0]
push eax
call fcn.0041ccda
push ebx
lea eax, [ebp - 0xbc]
push eax
call fcn.0042810e
add esp, 0x18
mov esi, dword [ebp - 0x270]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x41a597
lea ecx, [ebp - 0x26c]
call fcn.004cf003
mov byte [ebp - 4], 5
push 0x1c
call fcn.0056def4
pop ecx
mov ecx, eax
mov dword [ebp - 0x288], ecx
mov byte [ebp - 4], 6
test ecx, ecx
je 0x41a56f
mov eax, dword [esi + 4]
sub eax, dword [esi]
push ebx
push eax
push dword [esi]
call fcn.0041989a
jmp 0x41a571
mov eax, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x27c], eax
test eax, eax
jne 0x41a5d3
push 0xe
pop edi
mov dword [ebp - 0x264], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x26c]
call fcn.0041998f
mov esi, dword [ebp - 0x260]
mov byte [ebp - 4], 0x19
wait
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00406970
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x19
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401d60
wait
mov dword [ebp - 4], 3
jmp 0x41ac3c
mov byte [ebp - 4], 7
wait
push ebx
push 1
push eax
lea ecx, [ebp - 0x25c]
call fcn.00406510
mov byte [ebp - 0x27d], al
wait
mov dword [ebp - 4], 5
test al, al
je 0x41a588
mov dword [ebp - 0x274], ebx
mov ecx, dword [ebp - 0x1a0]
test ecx, ecx
je 0x41a7c7
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
movzx ecx, ax
mov dword [ebp - 0x288], ecx
mov eax, ebx
mov dword [ebp - 0x270], eax
xor edx, edx
cmp dx, cx
jae 0x41a7c7
push eax
lea ecx, [ebp - 0x25c]
call fcn.00406720
mov esi, eax
test esi, esi
je 0x41a7ab
push 1
mov ecx, esi
call fcn.00403c70
push eax
lea ecx, [ebp - 0x48]
call fcn.00402220
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00403cd0
test al, al
je 0x41a6c7
lea ecx, [ebp - 0x68]
call fcn.004173bc
mov byte [ebp - 4], 0xa
mov esi, 0x796274
cmp dword [0x796288], 8
cmovae esi, dword [0x796274]
push ebx
lea ecx, [ebp - 0x48]
call fcn.004088c0
push eax
push esi
push 0x6adf54
lea eax, [ebp - 0x68]
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae eax, dword [ebp - 0x64]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.0041786a
jmp 0x41a79c
cmp dword [esi + 0x1c], ebx
jbe 0x41a79c
push 0x2c
push ebx
lea eax, [ebp - 0xe8]
push eax
call fcn.00644240
add esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.004173bc
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x26c]
call fcn.004196cb
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
call fcn.0041c8bf
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.0041786a
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x270]
mov word [eax + 8], cx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 4]
push dword [esi + 0x1c]
lea ecx, [ecx + 0x28]
call fcn.0041cd0c
mov edi, 0x796274
cmp dword [0x796288], 8
cmovae edi, dword [0x796274]
mov esi, dword [ebp - 0x26c]
mov esi, dword [esi + 4]
push ebx
lea ecx, [ebp - 0x48]
call fcn.004088c0
push eax
push edi
push 0x6adf60
add esi, 0xc
push esi
call fcn.0041ccda
add esp, 0x10
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401d60
mov eax, dword [ebp - 0x270]
inc eax
mov dword [ebp - 0x270], eax
cmp ax, word [ebp - 0x288]
jb 0x41a631
mov edi, ebx
mov eax, dword [ebp - 0x26c]
mov esi, dword [eax]
cmp esi, eax
je 0x41a588
mov edi, dword [ebp - 0x260]
lea ecx, [edi + 0x80]
call fcn.004c2c9d
lea ecx, [edi + 0x80]
call fcn.00451480
test eax, eax
je 0x41a801
mov edi, 0x18697
jmp 0x41a582
mov byte [ebp - 4], 0x11
wait
movzx eax, word [esi + 8]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004067d0
mov byte [ebp - 0x27e], al
wait
mov dword [ebp - 4], 5
test al, al
je 0x41abb5
mov byte [ebp - 4], 0x13
wait
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
push eax
push dword [esi + 0x28]
lea ecx, [ebp - 0x25c]
call fcn.00406930
mov ecx, eax
mov dword [ebp - 0x290], ecx
wait
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
cmp ecx, eax
jne 0x41ab7b
lea ecx, [ebp - 0xb8]
push 8
pop edi
cmp dword [ebp - 0xa4], edi
cmovae ecx, dword [ebp - 0xb8]
lea eax, [esi + 0x10]
mov dword [ebp - 0x270], eax
cmp dword [eax + 0x14], edi
jb 0x41a88a
mov eax, dword [eax]
push ecx
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x41a8cc
mov edi, dword [ebp - 0x260]
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
push eax
lea ecx, [edi + 0xac]
call fcn.0041cd0c
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
push eax
push dword [esi + 0x28]
push dword [edi + 0xac]
call fcn.00643300
add esp, 0xc
jmp 0x41ab36
mov eax, dword [ebp - 0x270]
cmp dword [eax + 0x14], edi
jb 0x41a8db
mov ecx, dword [eax]
jmp 0x41a8dd
mov ecx, eax
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], edi
cmovae eax, dword [ebp - 0x9c]
push ecx
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x41aa63
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
mov eax, dword [ebp - 0x270]
cmp dword [eax + 0x14], edi
jb 0x41a914
mov eax, dword [eax]
push ecx
push dword [esi + 0x28]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.0041b274
mov edi, eax
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x264], edi
test edi, edi
jne 0x41aa14
inc dword [ebp - 0x274]
push 0x149
mov ecx, 0x796c94
call fcn.00417bfd
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x41a95a
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x274]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ae010]
movsd qword [ebp - 0x28c], xmm0
mov eax, dword [ebp - 0x268]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6ae010]
divsd xmm0, xmm1
mulsd xmm0, qword [0x6ae000]
push ecx
push ecx
movsd qword [esp], xmm0
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push 7
mov ecx, dword [ebp - 0x260]
call fcn.0041b7cc
mov eax, dword [ebp - 0x268]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ae010]
movsd xmm1, qword [ebp - 0x28c]
divsd xmm1, xmm0
mulsd xmm1, qword [0x6ae000]
cvttsd2si eax, xmm1
push eax
push 7
mov ecx, dword [ebp - 0x260]
call fcn.0041b766
jmp 0x41ab3c
mov byte [ebp - 4], 0x15
wait
push ebx
push ebx
lea ecx, [ebp - 0x25c]
call fcn.00406d40
wait
mov dword [ebp - 4], 5
jmp 0x41a588
inc dword [ebp - 0x274]
push 0x149
mov ecx, 0x796c94
call fcn.00417bfd
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], edi
jb 0x41aa82
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x274]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ae010]
movsd qword [ebp - 0x28c], xmm0
mov eax, dword [ebp - 0x268]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6ae010]
divsd xmm0, xmm1
mulsd xmm0, qword [0x6ae000]
push ecx
push ecx
movsd qword [esp], xmm0
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
cmovae eax, dword [ebp - 0x2c]
push eax
push 7
mov ecx, dword [ebp - 0x260]
call fcn.0041b7cc
mov eax, dword [ebp - 0x268]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ae010]
movsd xmm1, qword [ebp - 0x28c]
divsd xmm1, xmm0
mulsd xmm1, qword [0x6ae000]
cvttsd2si eax, xmm1
push eax
push 7
mov ecx, dword [ebp - 0x260]
call fcn.0041b766
mov edi, dword [ebp - 0x284]
mov byte [ebp - 4], 0x17
wait
push ebx
push ebx
lea ecx, [ebp - 0x25c]
call fcn.00406d40
wait
mov dword [ebp - 4], 5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esi]
mov eax, dword [ebp - 0x26c]
jmp 0x41a7cf
push 0x72
pop edi
mov dword [ebp - 0x264], edi
push ebx
push ebx
lea ecx, [ebp - 0x25c]
call fcn.00406d40
jmp 0x41a588
push 0x72
jmp 0x41a581
mov ecx, dword [ebp - 0x27c]
test ecx, ecx
je 0x41ac4d
mov eax, dword [ecx]
push 1
call dword [eax + 0x38]
test edi, edi
jne 0x41accb
lea ecx, [ebp - 0x104]
call fcn.004173bc
mov byte [ebp - 4], 0x1c
push 0x14c
mov ecx, 0x796c94
call fcn.00417bfd
lea esi, [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x41ac7a
mov esi, dword [esi]
lea eax, [ebp - 0x100]
push eax
call fcn.00428617
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push 8
mov ecx, dword [ebp - 0x260]
call fcn.0041b7cc
push 0x64
push 8
mov ecx, dword [ebp - 0x260]
call fcn.0041b766
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
jmp 0x41add7
lea ecx, [ebp - 0x84]
call fcn.004173bc
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x80]
push eax
push 0x6adbfc
call fcn.004a0869
pop ecx
pop ecx
test eax, eax
je 0x41ad0f
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
cmovae eax, dword [ebp - 0x80]
push ebx
push 1
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x41ad0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x120]
call fcn.004173bc
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4c]
call fcn.004173bc
mov byte [ebp - 4], 0x1f
push 0x14a
mov ecx, 0x796c94
call fcn.00417bfd
add eax, 4
mov dword [ebp - 0x27c], eax
cmp dword [eax + 0x14], 8
jb 0x41ad50
mov eax, dword [eax]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x11c]
push eax
push edi
call fcn.005658f0
push eax
push dword [ebp - 0x27c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0041ccda
add esp, 0x14
push 0x14b
mov ecx, 0x796c94
call fcn.00417bfd
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x41ad8a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00419c79
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
push eax
push 9
mov ecx, esi
call fcn.0041b7cc
push edi
push 9
mov ecx, esi
call fcn.0041b766
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4c]
call fcn.0041786a
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x120]
call fcn.0041786a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.0041786a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.0041786a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0041786a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.004063b0
mov eax, edi
call fcn.0056e1f6
ret 4