Function at 0x40abef
Capabilities:
Check http status code

Disassembly:
mov eax, 0x4b0684
call fcn.0048a7d0
sub esp, 0x16c
mov eax, dword [0x4ea054]
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.004a5f94
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
push dword [ebp + 0x10]
call fcn.0040ab3c
test al, al
je 0x40ae80
mov edi, dword [ebp + 0xc]
push 3
xor ecx, ecx
pop eax
cmp dword [ebp - 0x24], eax
je 0x40ac83
push 1
pop eax
cmp dword [ebp - 0x24], eax
jne 0x40ae80
cmp byte [0x4eeba0], bl
jne 0x40ae80
mov ecx, 0x8000000
mov edx, dword [ebp - 0x1c]
push ebx
push ecx
push eax
cmp dword [edx - 8], ebx
jne 0x40ac92
push ebx
push ebx
jmp 0x40ac96
push dword [ebp - 0x18]
push edx
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call dword [0x4eebc0]
mov esi, eax
cmp esi, ebx
je 0x40ae80
xor eax, eax
cmp dword [ebp - 0x24], 3
mov dword [ebp - 0x20], eax
jne 0x40ae2f
push ebx
push 0xa0000000
push 0x4ddd18
push ebx
push ebx
push dword [ebp - 0x14]
push str.HEAD
push esi
call dword [0x4eebc4]
mov edi, eax
cmp edi, ebx
je 0x40ade5
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 4
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x4eebd0]
test eax, eax
je 0x40adde
lea eax, [ebp - 0x34]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
push 0x20000013
push edi
call dword [0x4eebcc]
test eax, eax
je 0x40adec
mov eax, dword [ebp - 0x30]
cmp eax, 0x197
je 0x40ad2f
cmp eax, 0x191
jne 0x40ad45
mov ecx, dword [ebp - 0x2c]
push edi
push dword [ebp + 8]
call fcn.0040aabd
test al, al
je 0x40adde
jmp 0x40acee
cmp eax, 0x12e
je 0x40ad53
cmp eax, 0x12d
jne 0x40adbe
lea eax, [ebp - 0x38]
push ebx
push eax
lea eax, [ebp - 0x140]
push eax
push 0x21
push edi
mov dword [ebp - 0x38], 0x104
call dword [0x4eebcc]
lea eax, [ebp - 0x140]
lea ecx, [ebp + 0x10]
push eax
call fcn.004a60af
push edi
call dword [0x4eebd8]
push esi
xor edi, edi
call dword [0x4eebd8]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x10]
call fcn.0040ab3c
test al, al
je 0x40ae80
jmp 0x40ac5c
cmp eax, 0xc8
jne 0x40adde
lea eax, [ebp - 0x34]
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000005
push edi
call dword [0x4eebcc]
test eax, eax
jne 0x40ae5d
push edi
call dword [0x4eebd8]
push esi
call dword [0x4eebd8]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.004a5f26
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004a5f26
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004a5f26
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004a5f26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004a5f26
or eax, 0xffffffff
jmp 0x40aec0
cmp dword [ebp - 0x24], 1
jne 0x40ae60
push ebx
lea eax, [ebp - 0x178]
push 0x84000000
push eax
push dword [ebp - 0x14]
push esi
call dword [0x4eeba8]
mov edi, eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x158]
mov dword [ebp - 0x20], eax
jmp 0x40ae60
mov eax, dword [ebp - 0x20]
cmp edi, ebx
je 0x40ae6e
push edi
call dword [0x4eebd8]
mov eax, dword [ebp - 0x20]
cmp esi, ebx
je 0x40ae7c
push esi
call dword [0x4eebd8]
mov eax, dword [ebp - 0x20]
mov esi, eax
jmp 0x40ae83
or esi, 0xffffffff
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.004a5f26
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004a5f26
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004a5f26
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004a5f26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004a5f26
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc