Function at 0x42698b
Capabilities:
Check http status code
Link many functions at runtime

Disassembly:
push ebp
xor eax, eax
mov ecx, 0xe
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x13c
mov dword [ebp - 0x120], edi
lea edi, [ebp - 0x110]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x118], eax
xor eax, eax
cmp dword [0x523a80], 0
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x11c], 0x4a1e1c
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x114], 0x3c
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x100], 0x40
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], pe_nt_image_headers32
mov dword [ebp - 0xe4], 1
jne 0x426a5f
call fcn.00423487
mov dword [esp + 4], str.InternetCrackUrlA
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
push esi
mov dword [0x523a80], eax
test eax, eax
jne 0x426a5f
call fcn.0043f53d
mov dword [esp + 8], str.WinInet
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.InternetCrackUrlA
jmp 0x426bbf
cmp dword [0x523a7c], 0
jne 0x426aa7
call fcn.00423487
mov dword [esp + 4], str.InternetConnectA
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ecx
push ecx
mov dword [0x523a7c], eax
test eax, eax
jne 0x426aa7
call fcn.0043f53d
mov dword [esp + 8], str.WinInet
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.InternetConnectA
jmp 0x426bbf
cmp dword [0x523a78], 0
jne 0x426aef
call fcn.00423487
mov dword [esp + 4], str.InternetCloseHandle
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edx
push edx
mov dword [0x523a78], eax
test eax, eax
jne 0x426aef
call fcn.0043f53d
mov dword [esp + 8], str.WinInet
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.InternetCloseHandle
jmp 0x426bbf
cmp dword [0x523a74], 0
jne 0x426b37
call fcn.00423487
mov dword [esp + 4], str.HttpOpenRequestA
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edi
push edi
mov dword [0x523a74], eax
test eax, eax
jne 0x426b37
call fcn.0043f53d
mov dword [esp + 8], str.WinInet
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.HttpOpenRequestA
jmp 0x426bbf
cmp dword [0x523a70], 0
jne 0x426b7c
call fcn.00423487
mov dword [esp + 4], str.HttpSendRequestA
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
push esi
mov dword [0x523a70], eax
test eax, eax
jne 0x426b7c
call fcn.0043f53d
mov dword [esp + 8], str.WinInet
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.HttpSendRequestA
jmp 0x426bbf
cmp dword [0x523a6c], 0
jne 0x426bd0
call fcn.00423487
mov dword [esp + 4], str.HttpQueryInfoA
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ecx
push ecx
mov dword [0x523a6c], eax
test eax, eax
jne 0x426bd0
call fcn.0043f53d
mov dword [esp + 8], str.WinInet
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.HttpQueryInfoA
mov dword [esp], 0x4a1cec
call fcn.0043efa9
jmp 0x426db2
xor eax, eax
test ebx, ebx
je 0x426dbe
mov dword [0x523a68], 0x194
xor eax, eax
mov dword [0x4e2900], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea edx, [ebp - 0x114]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dword [0x523a80]
sub esp, 0x10
test eax, eax
je 0x426db2
cmp dword [ebp - 0x104], 0
je 0x426db2
cmp dword [ebp - 0xe8], 0
je 0x426db2
xor edx, edx
xor eax, eax
mov byte [ebp - 0x99], 0
call fcn.004235a4
mov esi, eax
test eax, eax
je 0x426db2
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
movzx eax, word [ebp - 0xfc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [0x523a7c]
sub esp, 0x20
mov edi, eax
test eax, eax
je 0x426da8
cmp dword [ebp - 0x108], 4
mov edx, 0x488c600
mov eax, 0x408c600
cmove eax, edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], 0x4a1f30
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [0x523a74]
sub esp, 0x20
mov ebx, eax
test eax, eax
je 0x426d9e
xor eax, eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.Accept_Encoding:_gzip__deflate
mov dword [esp], ebx
call dword [0x523a70]
sub esp, 0x14
test eax, eax
je 0x426d94
xor eax, eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x523a68
mov dword [esp + 4], 0x20000013
mov dword [esp], ebx
call dword [0x523a6c]
sub esp, 0x14
cmp dword [0x523a68], 0xc8
jne 0x426d94
xor eax, eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x20000005
mov dword [esp], ebx
call dword [0x523a6c]
sub esp, 0x14
mov dword [esp], ebx
call dword [0x523a78]
push edx
mov dword [esp], edi
call dword [0x523a78]
push ecx
mov dword [esp], esi
call dword [0x523a78]
push eax
xor eax, eax
cmp dword [ebp - 0x120], 0
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret