Function at 0x401443
Capabilities:
Check http status code

Disassembly:
sub esp, 0x2ec
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2fc]
xor al, al
push edi
push 0x3c
pop edx
mov ecx, edx
lea edi, [esp + 0x38]
rep stosb byte es:[edi], al
lea eax, [esp + 0x1f8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
mov ecx, 0x104
lea eax, [esp + 0xf4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], eax
xor ebx, ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], eax
xor ebp, ebp
and dword [esp + 0x24], ebp
lea eax, [esp + 0xb4]
push 0x40
pop ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x38]
push eax
push 0x10000000
push ebx
lea eax, [esi + 0x924]
mov dword [esp + 0x20], ebx
push eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], ecx
call dword [esi + 0xbc]
test eax, eax
je 0x4017f4
xor eax, eax
mov edi, 0x4600300
cmp dword [esp + 0x44], 4
sete al
mov dword [esp + 0x1c], eax
mov eax, 0x4e03300
cmove edi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call dword [esi + 0xc0]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4017f4
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push dword [esp + 0x64]
lea ecx, [esp + 0x210]
push ecx
push eax
call dword [esi + 0xc4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x401794
xor edx, edx
cmp dword [esp + 0x68], ebx
jne 0x40153f
mov word [esp + 0xf4], 0x2f
push edx
push edi
push edx
push edx
push edx
lea ecx, [esp + 0x108]
push ecx
push edx
push eax
call dword [esi + 0xd8]
mov ebx, eax
test ebx, ebx
je 0x401786
cmp dword [esp + 0x1c], ebp
je 0x401584
test edi, 0x1000
je 0x401584
push 4
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x3380
push eax
push 0x1f
push ebx
call dword [esi + 0xc8]
cmp dword [esp + 0x58], ebp
je 0x4015a3
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x1c
push ebx
call dword [esi + 0xc8]
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4015a5
mov edi, ebp
cmp dword [esp + 0x60], ebp
je 0x4015c2
push dword [esp + 0x60]
push dword [esp + 0x60]
push 0x1d
push ebx
call dword [esi + 0xc8]
mov edi, eax
mov dword [esp + 0x14], edi
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
call dword [esi + 0xdc]
test eax, eax
je 0x40177f
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
push eax
lea eax, [esp + 0x2c]
push eax
push 0x20000013
push ebx
call dword [esi + 0xe0]
test eax, eax
je 0x40177f
cmp dword [esp + 0x24], 0xc8
jne 0x40177f
and dword [esp + 0x10], ebp
lea eax, [esp + 0x20]
push 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 4
push eax
push 0x20000005
push ebx
call dword [esi + 0xe0]
test eax, eax
jne 0x4016eb
call dword [esi + 0x8c]
cmp eax, 0x2f76
jne 0x40177f
xor eax, eax
push eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [esi + 0xd4]
test eax, eax
je 0x40177f
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4016d3
mov edx, dword [esi + 0x84]
test ebp, ebp
jne 0x401683
push ecx
push 1
call edx
push eax
call dword [esi + 0x7c]
jmp 0x401696
mov eax, dword [esp + 0x10]
add eax, ecx
push eax
push ebp
push 1
call edx
push eax
call dword [esi + 0x80]
mov ebp, eax
test ebp, ebp
je 0x40177f
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add eax, ebp
push eax
push ebx
call dword [esi + 0xcc]
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0
push 0
push eax
push ebx
call dword [esi + 0xd4]
test eax, eax
jne 0x401666
mov dword [esp + 0x14], edi
lea eax, [esi + 0x84]
mov dword [esp + 0x1c], eax
test ebp, ebp
je 0x40177f
jmp 0x40172b
cmp dword [esp + 0x10], ebp
je 0x40177f
push dword [esp + 0x10]
lea edi, [esi + 0x84]
push 1
call dword [edi]
push eax
call dword [esi + 0x7c]
mov ebp, eax
test ebp, ebp
je 0x40177f
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
push ebp
push ebx
call dword [esi + 0xcc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x10], 0
je 0x40177f
push 4
push 0x3000
push dword [esp + 0x18]
push 0
call dword [esi + 0x3c]
mov dword [esi + 0xd60], eax
test eax, eax
je 0x40175f
push dword [esp + 0x10]
push ebp
push eax
call fcn.0040250e
xor eax, eax
add esp, 0xc
inc eax
jmp 0x401761
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edi, ebp
mov dword [esp + 0x14], eax
xor al, al
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push ebp
push 1
call dword [eax]
push eax
call dword [esi + 0x88]
push ebx
call dword [esi + 0xd0]
push dword [esp + 0x30]
call dword [esi + 0xd0]
mov ebx, dword [esp + 0x14]
push dword [esp + 0x34]
call dword [esi + 0xd0]
test ebx, ebx
je 0x4017f0
cmp dword [esi + 0x234], 3
jne 0x4017f0
push dword [esi + 0xd58]
mov edi, dword [esi + 0xd60]
lea eax, [esi + 0xd48]
push edi
push eax
lea eax, [esi + 0xd38]
push eax
call fcn.00403986
push dword [esi + 0x2c]
lea eax, [esi + 0xc2c]
push dword [esi + 0x28]
push eax
call fcn.004037b0
add esp, 0x1c
cmp eax, dword [edi + 0x518]
jne 0x4017f4
cmp edx, dword [edi + 0x51c]
jne 0x4017f4
mov eax, ebx
jmp 0x4017f6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2ec
ret