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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x104], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0xd8], 0x532454
cmp dword [0x59bc48], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov word [ebp - 0xfc], ax
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xc8]
push edi
mov edi, dword [0x55a7bc]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x114], 0x3c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x100], 0x40
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], 0x80
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 1
movq qword [ebp - 0xe0], xmm0
jne 0x4232fe
push str.InternetCrackUrlA
push ecx
call fcn.0041f410
add esp, 4
push eax
call esi
mov dword [0x59bc48], eax
test eax, eax
jne 0x4232fe
call fcn.0044b6b0
push eax
push str.WinInet
push str.InternetCrackUrlA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.0044b0b0
add esp, 0x10
jmp 0x4235bc
cmp dword [0x59bc28], 0
jne 0x423343
push str.InternetConnectA
push ecx
call fcn.0041f410
add esp, 4
push eax
call esi
mov dword [0x59bc28], eax
test eax, eax
jne 0x423343
call fcn.0044b6b0
push eax
push str.WinInet
push str.InternetConnectA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.0044b0b0
add esp, 0x10
jmp 0x4235bc
cmp dword [0x59bc44], 0
jne 0x423388
push str.InternetCloseHandle
push ecx
call fcn.0041f410
add esp, 4
push eax
call esi
mov dword [0x59bc44], eax
test eax, eax
jne 0x423388
call fcn.0044b6b0
push eax
push str.WinInet
push str.InternetCloseHandle
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.0044b0b0
add esp, 0x10
jmp 0x4235bc
cmp dword [0x59bc3c], 0
jne 0x4233cd
push str.HttpOpenRequestA
push ecx
call fcn.0041f410
add esp, 4
push eax
call esi
mov dword [0x59bc3c], eax
test eax, eax
jne 0x4233cd
call fcn.0044b6b0
push eax
push str.WinInet
push str.HttpOpenRequestA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.0044b0b0
add esp, 0x10
jmp 0x4235bc
cmp dword [0x59bc34], 0
jne 0x423412
push str.HttpSendRequestA
push ecx
call fcn.0041f410
add esp, 4
push eax
call esi
mov dword [0x59bc34], eax
test eax, eax
jne 0x423412
call fcn.0044b6b0
push eax
push str.WinInet
push str.HttpSendRequestA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.0044b0b0
add esp, 0x10
jmp 0x4235bc
cmp dword [0x59bc24], 0
jne 0x423457
push str.HttpQueryInfoA
push ecx
call fcn.0041f410
add esp, 4
push eax
call esi
mov dword [0x59bc24], eax
test eax, eax
jne 0x423457
call fcn.0044b6b0
push eax
push str.WinInet
push str.HttpQueryInfoA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.0044b0b0
add esp, 0x10
jmp 0x4235bc
test edi, edi
jne 0x42346e
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [0x55a318], 0
mov dword [0x5a2aec], 0x194
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423487
lea eax, [ebp - 0x114]
sub ecx, edx
push eax
push 0
push ecx
push edi
call dword [0x59bc48]
test eax, eax
je 0x4235bc
cmp dword [ebp - 0x104], 0
je 0x4235bc
cmp dword [ebp - 0xe8], 0
je 0x4235bc
xor edx, edx
mov byte [ebp - 9], 0
xor ecx, ecx
call fcn.004202f0
mov edi, eax
test edi, edi
je 0x4235bc
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0xfc]
push dword [ebp - 0x104]
push edi
call dword [0x59bc28]
mov ebx, eax
test ebx, ebx
je 0x4235b5
cmp dword [ebp - 0x108], 4
mov eax, 0x488c600
push 0
mov ecx, 0x408c600
cmove ecx, eax
lea eax, [ebp - 0xd8]
push ecx
push eax
push 0
push 0
push dword [ebp - 0xe8]
push 0x5325ac
push ebx
call dword [0x59bc3c]
mov esi, eax
test esi, esi
je 0x4235ae
push 0
push 0
push 0xffffffffffffffff
push str.Accept_Encoding:_gzip__deflate
push esi
call dword [0x59bc34]
test eax, eax
je 0x4235a7
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 4
push eax
push 0x5a2aec
push 0x20000013
push esi
call dword [0x59bc24]
cmp dword [0x5a2aec], 0xc8
jne 0x4235a7
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 4
push eax
lea eax, [ebp - 0xd0]
push eax
push 0x20000005
push esi
call dword [0x59bc24]
push esi
call dword [0x59bc44]
push ebx
call dword [0x59bc44]
push edi
call dword [0x59bc44]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp eax, dword [ebp - 0xd0]
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret