Function at 0x4015cb
Capabilities:
Check http status code

Disassembly:
sub esp, 0x2ec
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2fc]
lea eax, [esp + 0x34]
push edi
push 0x3c
xor ebp, ebp
xor ebx, ebx
and dword [esp + 0x24], ebx
mov edi, 0x4600300
push ebp
push eax
call fcn.00403d7d
add esp, 0xc
mov dword [esp + 0x38], 0x3c
lea eax, [esp + 0x1f8]
mov ecx, 0x104
mov dword [esp + 0x48], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xb4]
push 0x40
mov dword [esp + 0x60], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x6c], ecx
pop ecx
push eax
push 0x10000000
push ebp
lea eax, [esi + 0x924]
mov dword [esp + 0x64], ecx
push eax
mov dword [esp + 0x70], ecx
call dword [esi + 0xbc]
test eax, eax
je 0x401976
xor eax, eax
cmp dword [esp + 0x44], 4
sete al
mov dword [esp + 0x18], eax
mov eax, 0x4e03300
cmove edi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x3c], edi
call dword [esi + 0xc0]
mov dword [esp + 0x34], eax
test eax, eax
je 0x401976
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 0x401916
xor edx, edx
cmp dword [esp + 0x68], ebx
jne 0x4016ce
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 edi, eax
test edi, edi
je 0x40190c
cmp dword [esp + 0x18], ebx
je 0x401715
test dword [esp + 0x28], 0x1000
je 0x401715
push 4
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x3380
push eax
push 0x1f
push edi
call dword [esi + 0xc8]
cmp dword [esp + 0x58], ebx
je 0x40172e
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x1c
push edi
call dword [esi + 0xc8]
mov ebp, eax
cmp dword [esp + 0x60], ebx
je 0x401747
push dword [esp + 0x60]
push dword [esp + 0x60]
push 0x1d
push edi
call dword [esi + 0xc8]
mov ebp, eax
xor eax, eax
push eax
push eax
push eax
push eax
push edi
call dword [esi + 0xdc]
test eax, eax
je 0x401905
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x28]
push eax
push 0x20000013
push edi
call dword [esi + 0xe0]
test eax, eax
je 0x401905
cmp dword [esp + 0x20], 0xc8
jne 0x401905
and dword [esp + 0x10], ebx
lea eax, [esp + 0x1c]
push 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 4
push eax
push 0x20000005
push edi
call dword [esi + 0xe0]
test eax, eax
jne 0x40186c
call dword [esi + 0x8c]
cmp eax, 0x2f76
jne 0x401905
xor eax, eax
push eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push edi
call dword [esi + 0xd4]
test eax, eax
je 0x401905
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x401858
mov edx, dword [esi + 0x84]
test ebx, ebx
jne 0x401808
push ecx
push 1
call edx
push eax
call dword [esi + 0x7c]
jmp 0x40181b
mov eax, dword [esp + 0x10]
add eax, ecx
push eax
push ebx
push 1
call edx
push eax
call dword [esi + 0x80]
mov ebx, eax
test ebx, ebx
je 0x401905
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add eax, ebx
push eax
push edi
call dword [esi + 0xcc]
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push 0
push 0
push eax
push edi
call dword [esi + 0xd4]
test eax, eax
jne 0x4017eb
lea eax, [esi + 0x84]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x401905
jmp 0x4018b0
cmp dword [esp + 0x10], ebx
je 0x401905
push dword [esp + 0x10]
lea eax, [esi + 0x84]
push 1
call dword [eax]
push eax
call dword [esi + 0x7c]
mov ebx, eax
test ebx, ebx
je 0x401905
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
push ebx
push edi
call dword [esi + 0xcc]
mov ebp, eax
lea eax, [esi + 0x84]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
je 0x401905
push 4
push 0x3000
push dword [esp + 0x18]
push 0
call dword [esi + 0x3c]
mov dword [esi + 0xd60], eax
test eax, eax
je 0x4018e4
push dword [esp + 0x10]
push ebx
push eax
call fcn.00403d59
xor ebp, ebp
add esp, 0xc
inc ebp
jmp 0x4018e6
xor ebp, ebp
push dword [esp + 0x10]
push 0
push ebx
call fcn.00403d7d
mov eax, dword [esp + 0x24]
add esp, 0xc
push ebx
push 1
call dword [eax]
push eax
call dword [esi + 0x88]
push edi
call dword [esi + 0xd0]
push dword [esp + 0x30]
call dword [esi + 0xd0]
push dword [esp + 0x34]
call dword [esi + 0xd0]
test ebp, ebp
je 0x401972
cmp dword [esi + 0x234], 3
jne 0x401972
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.00403a32
push dword [esi + 0x2c]
lea eax, [esi + 0xc2c]
push dword [esi + 0x28]
push eax
call fcn.004038d1
add esp, 0x1c
cmp eax, dword [edi + 0x518]
jne 0x401976
cmp edx, dword [edi + 0x51c]
jne 0x401976
mov eax, ebp
jmp 0x401978
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2ec
ret