Function at 0x4149a7
Capabilities:
Check http status code

Disassembly:
mov eax, 0x44fa94
call fcn.004419dc
mov eax, 0x1438
call fcn.00442420
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [esi + 0x11c]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
cmp eax, 2
mov dword [ebp - 4], ebx
jbe 0x4149ee
push 2
mov ecx, edi
call fcn.0040530e
mov ecx, eax
call fcn.004031ec
cmp eax, 1
jne 0x4149ee
mov dword [ebp - 0x10], connect
lea eax, [ebp - 0x438]
mov ecx, edi
push eax
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x1444]
push eax
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
mov ecx, esi
call fcn.00414ecc
test al, al
jne 0x414a3c
mov dword [esi + 0x124], 2
jmp 0x414c78
push 3
pop eax
cmp dword [ebp - 0x14], eax
je 0x414a55
cmp dword [ebp - 0x14], 1
je 0x414a55
mov dword [esi + 0x124], eax
jmp 0x414c78
lea edi, [esi + 0x12c]
mov ecx, esi
push edi
push dword [ebp - 0x14]
call fcn.00414f84
test al, al
jne 0x414a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], 4
jmp 0x414c78
cmp dword [ebp - 0x14], 3
je 0x414b71
cmp dword [ebp - 0x14], 1
jne 0x414aa2
cmp dword [esi + 0xf4], 2
je 0x414b71
push ebx
push ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0xc40]
push dword [ebp - 0x34]
push eax
push dword [edi]
call dword [esi + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x414ae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], 7
jmp 0x414c78
cmp byte [esi + 0xa1], bl
je 0x414af4
or dword [ebp - 0x10], 2
jmp 0x414af8
or dword [ebp - 0x10], 1
push ebx
lea ecx, [ebp - 0x1444]
push dword [ebp - 0x10]
push connect
push ecx
push eax
call dword [esi + 0x2c]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x414b2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], 8
jmp 0x414c78
mov ecx, dword [ebp + 8]
push 0x456e8c
push 1
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
call fcn.0044273e
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x414bee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], 9
jmp 0x414c78
mov ecx, dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
push ebx
push ebx
push ebx
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
push dword [edi]
call dword [esi + 0x18]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x414baf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], 5
jmp 0x414c78
mov ecx, dword [ebp + 8]
push 0x456e8c
push 1
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
call fcn.0044273e
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x414bee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], 6
jmp 0x414c78
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x2c], ebx
jne 0x414c24
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x20000013
push dword [ebp - 0x28]
mov dword [ebp - 0x10], 4
call dword [esi + 0x28]
cmp dword [ebp - 0x30], 0xc8
jne 0x414c67
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1040]
push 0x400
push eax
push dword [ebp - 0x28]
call dword [esi + 0x14]
test eax, eax
je 0x414c67
cmp dword [ebp - 0x18], ebx
je 0x414c71
push edi
push 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x1040]
push eax
call fcn.004428d8
mov eax, dword [ebp - 0x18]
add esp, 0x10
add dword [esi + 0x120], eax
cmp eax, ebx
jne 0x414bf5
jmp 0x414c71
mov dword [esi + 0x124], 0xa
push edi
call fcn.0044244f
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00414c95
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4