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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x104], eax
xor eax, eax
mov word [ebp - 0xfc], ax
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xc8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xf0], eax
xor eax, eax
push edi
mov edi, dword [0x4fadfc]
mov dword [ebp - 0xd8], 0x4d5a54
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 - 0xec], 0x80
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
cmp dword [0x53c290], eax
jne 0x41ec60
push str.InternetCrackUrlA
push ecx
call fcn.0041b950
add esp, 4
push eax
call esi
mov dword [0x53c290], eax
test eax, eax
jne 0x41ec60
call fcn.00440bb0
push eax
push str.WinInet
push str.InternetCrackUrlA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x41ef25
cmp dword [0x53c270], 0
jne 0x41eca5
push str.InternetConnectA
push ecx
call fcn.0041b950
add esp, 4
push eax
call esi
mov dword [0x53c270], eax
test eax, eax
jne 0x41eca5
call fcn.00440bb0
push eax
push str.WinInet
push str.InternetConnectA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x41ef25
cmp dword [0x53c28c], 0
jne 0x41ecea
push str.InternetCloseHandle
push ecx
call fcn.0041b950
add esp, 4
push eax
call esi
mov dword [0x53c28c], eax
test eax, eax
jne 0x41ecea
call fcn.00440bb0
push eax
push str.WinInet
push str.InternetCloseHandle
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x41ef25
cmp dword [0x53c284], 0
jne 0x41ed2f
push str.HttpOpenRequestA
push ecx
call fcn.0041b950
add esp, 4
push eax
call esi
mov dword [0x53c284], eax
test eax, eax
jne 0x41ed2f
call fcn.00440bb0
push eax
push str.WinInet
push str.HttpOpenRequestA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x41ef25
cmp dword [0x53c27c], 0
jne 0x41ed74
push str.HttpSendRequestA
push ecx
call fcn.0041b950
add esp, 4
push eax
call esi
mov dword [0x53c27c], eax
test eax, eax
jne 0x41ed74
call fcn.00440bb0
push eax
push str.WinInet
push str.HttpSendRequestA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x41ef25
cmp dword [0x53c26c], 0
jne 0x41edb9
push str.HttpQueryInfoA
push ecx
call fcn.0041b950
add esp, 4
push eax
call esi
mov dword [0x53c26c], eax
test eax, eax
jne 0x41edb9
call fcn.00440bb0
push eax
push str.WinInet
push str.HttpQueryInfoA
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x41ef25
test edi, edi
jne 0x41edd0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [0x4fa958], 0
mov dword [0x5430cc], 0x194
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41edf0
lea eax, [ebp - 0x114]
sub ecx, edx
push eax
push 0
push ecx
push edi
call dword [0x53c290]
test eax, eax
je 0x41ef25
cmp dword [ebp - 0x104], 0
je 0x41ef25
cmp dword [ebp - 0xe8], 0
je 0x41ef25
xor edx, edx
mov byte [ebp - 9], 0
xor ecx, ecx
call fcn.0041c000
mov edi, eax
test edi, edi
je 0x41ef25
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0xfc]
push dword [ebp - 0x104]
push edi
call dword [0x53c270]
mov ebx, eax
test ebx, ebx
je 0x41ef1e
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 0x4d5be0
push ebx
call dword [0x53c284]
mov esi, eax
test esi, esi
je 0x41ef17
push 0
push 0
push 0xffffffffffffffff
push str.Accept_Encoding:_gzip__deflate
push esi
call dword [0x53c27c]
test eax, eax
je 0x41ef10
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 4
push eax
push 0x5430cc
push 0x20000013
push esi
call dword [0x53c26c]
cmp dword [0x5430cc], 0xc8
jne 0x41ef10
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 [0x53c26c]
push esi
call dword [0x53c28c]
push ebx
call dword [0x53c28c]
push edi
call dword [0x53c28c]
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.00491940
mov esp, ebp
pop ebp
ret