Function at 0x403cd8
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x40a0e0
call fcn.00401ca8
mov eax, dword [ebp + 0x10]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x403d02
mov dword [eax], ebx
mov eax, 0x1000
push eax
mov dword [ebp - 0x34], eax
call fcn.00402f32
pop ecx
mov esi, eax
lea eax, [ebp - 0x34]
push eax
push esi
push 0x26
push ebx
call dword [0x409170]
cmp dword [esi], 3
mov edi, dword [0x409168]
mov dword [ebp - 4], ebx
jne 0x403d43
push ebx
push dword [esi + 8]
push dword [esi + 4]
push 3
push dword [0x40c238]
call edi
mov dword [ebp - 4], eax
cmp dword [esi], 1
jne 0x403d58
push ebx
push ebx
push ebx
push 1
push dword [0x40c238]
call edi
mov dword [ebp - 4], eax
cmp dword [esi], ebx
jne 0x403d6f
push ebx
push dword [esi + 8]
push dword [esi + 4]
push ebx
push dword [0x40c238]
call edi
mov dword [ebp - 4], eax
push esi
call fcn.00402f46
cmp dword [ebp - 4], ebx
pop ecx
jne 0x403d93
call dword [0x409068]
push eax
push 0x40a0a4
call fcn.00401ca8
pop ecx
pop ecx
jmp 0x403e9b
mov esi, dword [0x409060]
push ebx
mov edi, 0x80
push edi
push 4
push ebx
push 2
push 2
push dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x403dd7
push ebx
push eax
call dword [0x409088]
mov esi, eax
cmp esi, 0x64
jbe 0x403dc9
sub esi, 0x64
push ebx
push ebx
push esi
push dword [ebp - 8]
call dword [0x409084]
jmp 0x403e0c
call dword [0x409068]
push eax
push dword [ebp + 0xc]
push 0x40a058
call fcn.00401ca8
push 0x40a03c
call fcn.00401ca8
add esp, 0x10
push ebx
push edi
push 2
push ebx
push 2
push 2
push dword [ebp + 0xc]
call esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x403e26
push dword [ebp + 0xc]
push 0x40a00c
call fcn.00401ca8
pop ecx
pop ecx
jmp 0x404070
push esi
lea eax, [ebp - 0x840]
push 0x409fe8
push eax
call dword [0x40913c]
add esp, 0xc
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x840]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [0x409154]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x18], edi
jne 0x403ea2
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x403e6b
call dword [0x409068]
mov dword [esi], eax
call dword [0x409068]
push eax
push 0x409fa8
call fcn.00401ca8
pop ecx
pop ecx
push dword [ebp - 4]
call dword [0x40914c]
push dword [ebp - 8]
call dword [0x4090bc]
push 0x1388
call dword [0x4090ac]
xor al, al
jmp 0x40407b
mov esi, dword [0x409150]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x2c], ebx
call esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x15
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
call esi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x403f32
add eax, 2
push eax
call fcn.00402f32
pop ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0x15
cmp eax, ebx
push edi
mov dword [ebp - 0xc], eax
setne byte [ebp - 0x3c]
call esi
test eax, eax
je 0x403f10
push dword [ebp - 0xc]
push 0x409f84
jmp 0x403f1c
call dword [0x409068]
push eax
push 0x409f38
call fcn.00401ca8
cmp byte [ebp - 0x3c], bl
pop ecx
pop ecx
je 0x403f45
push dword [ebp - 0xc]
call fcn.00402f46
jmp 0x403f44
call dword [0x409068]
push eax
push 0x409f00
call fcn.00401ca8
pop ecx
pop ecx
call dword [0x409068]
push eax
push dword [ebp - 0x14]
push 0x409ec8
call fcn.00401ca8
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x403f7d
cmp dword [ebp - 0x14], 0x194
jne 0x403f7d
push 0x409e90
mov dword [eax], 2
call fcn.00401ca8
pop ecx
cmp dword [ebp - 0x14], 0xc8
je 0x403f93
cmp dword [ebp - 0x14], 0xce
jne 0x404067
mov esi, 0x400
push esi
call fcn.00402f32
pop ecx
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000005
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x30], ebx
call dword [0x40916c]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x403fd6
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
push edi
mov edi, dword [0x409158]
jmp 0x404038
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40403e
add dword [ebp - 0xc], eax
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
push dword [ebp - 8]
call dword [0x4090b8]
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x40401b
mov eax, dword [ecx]
cmp eax, ebx
jle 0x40401b
sub eax, dword [ebp - 0x24]
mov dword [ecx], eax
push dword [ebp - 0x10]
push ebx
push dword [ebp + 0x10]
call fcn.0040304c
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x403fea
push dword [ebp - 0xc]
push 0x409e5c
call fcn.00401ca8
cmp dword [ebp + 0x10], ebx
pop ecx
pop ecx
je 0x40405b
push dword [ebp + 0x10]
call fcn.00402f46
pop ecx
push dword [ebp - 8]
call dword [0x4090bc]
mov edi, dword [ebp - 0x18]
push edi
call dword [0x40914c]
mov bl, 1
push dword [ebp - 4]
call dword [0x40914c]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret