Function at 0x4073c0
Capabilities:
Check internet connectivity via wininet
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472cde
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 1
push 0x49484c
mov dword [ebp - 0xa4], 0x49484c
call fcn.00435094
add esp, 4
test eax, eax
je 0x407437
push eax
call fcn.00434e47
add esp, 4
mov byte [ebp - 0xa0], 1
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp esi, edi
je 0x407495
lea esp, [esp]
cmp dword [esi + 0x14], 0x10
jb 0x40745a
mov eax, dword [esi]
jmp 0x40745c
mov eax, esi
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
cmp eax, 1
jne 0x40748e
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x94]
call fcn.00407d80
push 2
push 0x481c38
lea ecx, [ebp - 0x94]
call fcn.00407e80
add esi, 0x18
cmp esi, edi
jne 0x407450
push 0x49484c
call fcn.004350a5
add esp, 4
test eax, eax
je 0x4074af
push eax
call fcn.00434e47
add esp, 4
mov eax, dword [ebp - 0x84]
mov byte [ebp - 0xa0], 0
lea ecx, [eax*4]
mov eax, 0x55555556
imul ecx
mov esi, edx
add edx, 0xa
shr esi, 0x1f
add esi, edx
push esi
call fcn.00420ef4
cmp dword [ebp - 0x80], 0x10
lea ecx, [ebp - 0x94]
cmovae ecx, dword [ebp - 0x94]
push ecx
push esi
mov esi, eax
push esi
mov dword [ebp - 0x98], eax
call fcn.00421821
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407503
sub ecx, edx
cmp byte [esi], 0
lea edi, [ecx + 1]
mov dword [ebp - 0x9c], edi
mov eax, esi
je 0x407529
lea esp, [esp]
xor byte [eax], 0xaa
inc eax
cmp byte [eax], 0
jne 0x407520
xor byte [eax], 0xaa
push edi
mov byte [eax + 1], 0
call fcn.00420ef4
mov esi, eax
add esp, 4
test esi, esi
je 0x40754d
push edi
push 0
push esi
call fcn.00424e10
add esp, 0xc
jmp 0x40754f
xor esi, esi
mov eax, dword [ebp - 0x98]
push edi
push eax
push edi
push esi
call fcn.00421876
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x9c]
push eax
mov edx, esi
mov ecx, edi
call fcn.00415160
push esi
call fcn.00421037
mov esi, edi
add esp, 0x18
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x407582
push 0x63
mov byte [ebp - 0x7c], al
lea eax, [ebp - 0x7b]
push 0
push eax
sub esi, ecx
call fcn.00424e10
push 0xa
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004216c2
add esp, 0x18
cmp dword [ebx + 0x14], 0x10
jb 0x4075b4
mov eax, dword [ebx]
jmp 0x4075b6
mov eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.size
push 0x481c34
call esi
cmp dword [ebx + 0x14], 0x10
jb 0x4075d5
mov ebx, dword [ebx]
push ebx
push edi
push 0x481c34
push 0x481c34
call esi
cmp dword [ebp - 0x80], 0x10
jb 0x4075f7
push dword [ebp - 0x94]
call fcn.00420618
add esp, 4
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
test esi, esi
je 0x407654
mov edi, dword [ebp + 0xc]
cmp esi, edi
je 0x40764b
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x407630
push dword [esi]
call fcn.00420618
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x407620
mov esi, dword [ebp + 8]
push esi
call fcn.00420618
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret 0xc