Function at 0x4044cb
Capabilities:
Check http status code
Create http request
Reference http user-agent string

Disassembly:
mov eax, 0x42d134
call fcn.0042d00c
sub esp, 0x414
push ebx
push esi
mov esi, 0x104
push esi
call fcn.00420778
push esi
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x20], eax
call fcn.00426af0
mov eax, dword [0x441270]
add esp, 0x10
cmp byte [eax + 0x69d2], bl
je 0x4046e3
lea esi, [eax + 0x69d3]
cmp esi, ebx
je 0x4046e3
lea edx, [esi + 1]
mov cl, byte [esi]
inc esi
cmp cl, bl
jne 0x40451a
sub esi, edx
je 0x4046e3
add eax, 0x72d7
cmp eax, ebx
je 0x4046e3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404539
sub eax, edx
je 0x4046e3
push edi
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_GB__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x441270]
push ebx
push 0x40300
push ebx
push ebx
add ecx, 0x69d3
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x3ff
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x41f]
push ebx
push eax
mov byte [ebp - 0x420], bl
call fcn.00426af0
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 0xc
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x13
push dword [ebp - 0x18]
mov edi, 0x400
mov dword [ebp - 0x1c], edi
call esi
lea eax, [ebp - 0x420]
push eax
call fcn.00420921
cmp eax, 0xc8
pop ecx
mov byte [ebp - 0x420], bl
mov dword [ebp - 0x1c], edi
jne 0x40463a
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x2f
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x4045f0
mov byte [ebp - 0x420], bl
lea eax, [ebp - 0x420]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4045f9
sub eax, edx
je 0x40463a
lea eax, [ebp - 0x420]
push 0x43098c
push eax
call fcn.004213d0
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x40463a
add esi, 9
push 0x430998
push esi
mov dword [ebp - 0x10], esi
call fcn.004213d0
cmp eax, ebx
pop ecx
pop ecx
je 0x404636
mov byte [eax], bl
cmp esi, ebx
jne 0x404658
mov eax, dword [0x441270]
add eax, 0x69d3
push 0x2f
push eax
call fcn.00420860
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
je 0x404658
inc dword [ebp - 0x10]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [0x441270]
mov eax, dword [eax + 0x56be]
dec eax
je 0x404682
dec eax
je 0x40467d
xor edi, edi
jmp 0x404685
push 2
pop edi
jmp 0x404685
xor edi, edi
inc edi
push 0x1218
call fcn.004208a6
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x4046b1
mov eax, dword [0x441270]
push eax
mov eax, esi
mov dword [esi + 0x1214], edi
call fcn.00405a09
jmp 0x4046b3
xor esi, esi
lea eax, [esi + 0xcf4]
push eax
push 0x430278
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, ebx
pop edi
je 0x4046e3
push esi
call fcn.00420926
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret