Function at 0x406e80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xadc
push esi
push edi
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
call fcn.0041b3a0
lea ecx, [ebp - 0xad0]
push ecx
call fcn.004053b0
add esp, 0x10
mov ecx, 0xf
mov esi, eax
lea edi, [ebp - 0xa8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xf
lea esi, [ebp - 0xa8c]
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
push 0x420dfb
lea ecx, [ebp - 0x50]
call fcn.0041b340
push 0
push 0
push 0
push 1
push 0x420dfe
call dword [0x64a7c4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x100
mov dword [ebp - 8], 0
mov edx, dword [0x64a480]
push edx
mov eax, dword [ebp - 0x40]
push eax
call dword [0x64a89c]
test eax, eax
jne 0x406f14
mov dword [ebp - 8], 1
cmp dword [ebp - 0x58], 0
je 0x407109
push 0
push 0
push 3
push 0
push 0
movzx ecx, word [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [0x64a8c0]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4070ff
cmp dword [ebp - 8], 0
je 0x406f5a
mov dword [ebp - 0x164], 0xc00100
jmp 0x406f64
mov dword [ebp - 0x164], 0x400100
push 0
mov ecx, dword [ebp - 0x164]
push ecx
push 0
push 0
mov edx, dword [0x64a2b4]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x421a28
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x64a8f0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4070f5
cmp dword [ebp - 8], 0
je 0x406fc5
mov edx, dword [ebp - 0x168]
or edx, 0x10300
mov dword [ebp - 0x168], edx
push 4
lea eax, [ebp - 0x168]
push eax
push 0x1f
mov ecx, dword [ebp - 4]
push ecx
call dword [0x64a6cc]
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [0x64a888]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], 0x100
push 0
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x278]
push ecx
push 0x13
mov edx, dword [ebp - 4]
push edx
call dword [0x64a908]
test eax, eax
jne 0x40702c
push 0x421a2c
mov ecx, dword [ebp + 8]
call fcn.0041b340
lea ecx, [ebp - 0x50]
call fcn.0041b400
lea ecx, [ebp + 0xc]
call fcn.0041b400
mov eax, dword [ebp + 8]
jmp 0x407128
lea eax, [ebp - 0x278]
push eax
call fcn.00419540
add esp, 4
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0xc8
jne 0x4070c9
cmp dword [ebp - 0x170], 0
je 0x4070c7
lea ecx, [ebp - 0xa50]
push ecx
push 0x7cf
lea edx, [ebp - 0xa48]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [0x64a7ec]
mov dword [ebp - 0xa4c], eax
cmp dword [ebp - 0xa4c], 0
je 0x40708b
cmp dword [ebp - 0xa50], 0
jne 0x40708d
jmp 0x4070c7
mov ecx, dword [ebp - 0xa50]
mov byte [ebp + ecx - 0xa48], 0
lea edx, [ebp - 0xa48]
push edx
lea eax, [ebp - 0xadc]
push eax
lea ecx, [ebp - 0x50]
call fcn.0041b5b0
push eax
lea ecx, [ebp - 0x50]
call fcn.0041b4a0
lea ecx, [ebp - 0xadc]
call fcn.0041b400
jmp 0x407056
jmp 0x4070eb
push 0x421a34
mov ecx, dword [ebp + 8]
call fcn.0041b340
lea ecx, [ebp - 0x50]
call fcn.0041b400
lea ecx, [ebp + 0xc]
call fcn.0041b400
mov eax, dword [ebp + 8]
jmp 0x407128
mov ecx, dword [ebp - 4]
push ecx
call dword [0x64a7c0]
mov edx, dword [ebp - 0x54]
push edx
call dword [0x64a7c0]
mov eax, dword [ebp - 0x58]
push eax
call dword [0x64a7c0]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b3a0
lea ecx, [ebp - 0x50]
call fcn.0041b400
lea ecx, [ebp + 0xc]
call fcn.0041b400
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret