Function at 0x42e6f5
Capabilities:
Connect to http server
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push ebx
lea eax, [ecx + 0x61858]
xor ebx, ebx
push esi
cmp word [eax], bx
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ebx
je 0x42e71c
mov dword [ebp - 4], eax
jmp 0x42e7c8
cmp word [0x46b800], bx
jne 0x42e7c1
mov al, byte [0x46a700]
mov ecx, 0x208
mov byte [ebp - 0x83c], al
xor eax, eax
lea edi, [ebp - 0x83b]
mov dword [ebp - 8], 0x823
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x83c]
push eax
push ebx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x42e7b8
lea eax, [ebp - 0x83c]
test eax, eax
jne 0x42e770
xor edi, edi
jmp 0x42e7a5
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00432710
mov edi, esp
push esi
push edi
lea eax, [ebp - 0x83c]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x824
push 0x46b800
push edi
call fcn.0042750d
add esp, 0xc
cmp word [0x46b800], bx
je 0x42e7c8
mov dword [ebp - 4], 0x46b800
push 0x10000000
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [ebp + 8]
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x42e92f
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
add eax, 0x2348
mov dword [ebp - 4], ebx
push eax
mov dword [ebp + 8], ebx
mov dword [ebp - 8], 3
call edi
test eax, eax
pop ecx
je 0x42e815
mov eax, dword [esi + 0x20]
add eax, 0x2348
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
add eax, 0x2048
push eax
call edi
test eax, eax
pop ecx
je 0x42e830
mov eax, dword [esi + 0x20]
add eax, 0x2048
mov dword [ebp + 8], eax
cmp dword [ebp - 4], ebx
jne 0x42e850
mov eax, dword [ebp - 0xc]
add eax, 0x60610
push eax
call edi
test eax, eax
pop ecx
je 0x42e850
mov eax, dword [ebp - 0xc]
add eax, 0x60610
mov dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x42e870
mov eax, dword [ebp - 0xc]
add eax, 0x60710
push eax
call edi
test eax, eax
pop ecx
je 0x42e870
mov eax, dword [ebp - 0xc]
add eax, 0x60710
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x20]
push 1
pop eax
cmp dword [ecx + 4], eax
jne 0x42e87e
mov dword [ebp - 8], eax
push 0x42ce56
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov ecx, dword [ebp - 0xc]
push esi
mov eax, dword [esi + 0x20]
push dword [ecx + 0x26d8]
mov cx, word [eax]
add eax, 0x2148
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 4]
push ecx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x42e92f
mov eax, dword [ebp - 0xc]
add eax, 0x60810
push eax
mov dword [ebp + 8], eax
call edi
test eax, eax
pop ecx
jbe 0x42e92a
cmp dword [ebp + 8], ebx
push 3
pop edi
mov dword [ebp - 0x18], edi
jne 0x42e8df
mov dword [ebp - 0x14], ebx
jmp 0x42e912
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 8], eax
add eax, edi
and al, 0xfc
call fcn.00432710
mov edi, esp
push ebx
push ebx
push dword [ebp - 8]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push 0xc
push eax
push 0x26
push dword [esi + 0x14]
mov dword [ebp - 0x10], 0x46a700
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 1
pop eax
jmp 0x42e931
xor eax, eax
lea esp, [ebp - 0x848]
pop edi
pop esi
pop ebx
leave
ret 4