Function at 0x40ab4d
Capabilities:
Check http status code

Disassembly:
push 0x9ec
mov eax, 0x4339dd
call fcn.00423669
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x9f0], eax
mov dword [ebp - 0x9e0], ebx
push 0x43d106
lea ecx, [ebp - 0x9dc]
mov dword [ebp - 4], ebx
call fcn.00404948
push 0xf
pop eax
mov dword [ebp - 0x920], eax
mov dword [ebp - 0x924], ebx
mov byte [ebp - 0x934], bl
mov dword [ebp - 0x93c], eax
mov dword [ebp - 0x940], ebx
mov byte [ebp - 0x950], bl
mov dword [ebp - 0x8e8], eax
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
mov dword [ebp - 0x974], eax
mov dword [ebp - 0x978], ebx
mov byte [ebp - 0x988], bl
mov dword [ebp - 0x990], eax
mov dword [ebp - 0x994], ebx
mov byte [ebp - 0x9a4], bl
mov dword [ebp - 0x9ac], eax
mov dword [ebp - 0x9b0], ebx
mov byte [ebp - 0x9c0], bl
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x9e4], ebx
call fcn.0040a9f1
pop ecx
mov esi, eax
lea edi, [ebp - 0x8fc]
mov byte [ebp - 4], 8
call fcn.00404991
push ebx
push 1
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 7
call fcn.004049d5
mov esi, str.https:__
push esi
call fcn.0041f710
pop ecx
push esi
push 8
mov edi, eax
pop eax
lea ecx, [ebp - 0x8fc]
call fcn.0040cd76
test eax, eax
jne 0x40ac59
mov dword [ebp - 0x9e4], 8
jmp 0x40ac84
mov esi, str.http:__
push esi
call fcn.0041f710
pop ecx
push esi
push 7
mov edi, eax
pop eax
lea ecx, [ebp - 0x8fc]
call fcn.0040cd76
test eax, eax
jne 0x40ac84
mov dword [ebp - 0x9e4], 7
mov eax, dword [ebp - 0x9e4]
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x9ec]
push ecx
lea ecx, [ebp - 0x8fc]
inc eax
push ecx
mov byte [ebp - 0x9ec], 0x2f
call fcn.0040cced
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
jne 0x40acd0
push 0x43d106
lea ecx, [ebp - 0x96c]
call fcn.00404948
mov byte [ebp - 4], 9
mov dword [ebp - 0x9e0], esi
jmp 0x40acf6
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x8fc]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccb6
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x9e0], 2
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.00404991
test byte [ebp - 0x9e0], 2
je 0x40ad21
and dword [ebp - 0x9e0], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049d5
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 1
je 0x40ad46
and dword [ebp - 0x9e0], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049d5
mov ecx, dword [ebp - 0x9e8]
mov eax, dword [ebp - 0x8fc]
cmp ecx, 0xffffffff
je 0x40ad68
cmp dword [ebp - 0x8e8], 0x10
jae 0x40ad7d
lea eax, [ebp - 0x8fc]
jmp 0x40ad7d
cmp dword [ebp - 0x8e8], 0x10
jae 0x40ad77
lea eax, [ebp - 0x8fc]
mov ecx, dword [ebp - 0x8ec]
add ecx, eax
cmp dword [ebp - 0x8e8], 0x10
mov eax, dword [ebp - 0x8fc]
jae 0x40ad94
lea eax, [ebp - 0x8fc]
push dword [ebp - 0x9f4]
add eax, dword [ebp - 0x9e4]
push ecx
push eax
lea eax, [ebp - 0x918]
push eax
mov dword [ebp - 0x904], 0xf
mov dword [ebp - 0x908], ebx
mov byte [ebp - 0x918], bl
call fcn.0040cfe3
lea esi, [ebp - 0x918]
lea edi, [ebp - 0x950]
mov byte [ebp - 4], 0xb
call fcn.00404991
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004049d5
mov esi, 0x43f488
push esi
call fcn.0041f710
pop ecx
push eax
push esi
lea eax, [ebp - 0x934]
push eax
xor eax, eax
call fcn.0040cced
cmp eax, 0xffffffff
je 0x40ae29
push eax
push ebx
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccb6
mov byte [ebp - 4], 0xc
or dword [ebp - 0x9e0], 4
jmp 0x40ae49
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x96c]
call fcn.00404e02
mov dword [ebp - 4], 0xd
or dword [ebp - 0x9e0], 8
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.00404991
test byte [ebp - 0x9e0], 8
je 0x40ae74
and dword [ebp - 0x9e0], 0xfffffff7
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049d5
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 4
je 0x40ae99
and dword [ebp - 0x9e0], 0xfffffffb
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049d5
mov esi, 0x43f370
push esi
call fcn.0041f710
pop ecx
push eax
push esi
lea eax, [ebp - 0x950]
push eax
xor eax, eax
call fcn.0040cced
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
je 0x40aee3
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x950]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccb6
mov byte [ebp - 4], 0xe
or dword [ebp - 0x9e0], 0x10
jmp 0x40af01
push 0x43d106
lea ecx, [ebp - 0x96c]
call fcn.00404948
mov dword [ebp - 4], 0xf
or dword [ebp - 0x9e0], 0x20
mov esi, eax
lea edi, [ebp - 0x9a4]
call fcn.00404991
test byte [ebp - 0x9e0], 0x20
je 0x40af2c
and dword [ebp - 0x9e0], 0xffffffdf
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049d5
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 0x10
je 0x40af51
and dword [ebp - 0x9e0], 0xffffffef
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049d5
mov eax, dword [ebp - 0x9e8]
cmp eax, 0xffffffff
jne 0x40af62
mov eax, dword [ebp - 0x940]
push eax
push ebx
lea eax, [ebp - 0x950]
push eax
lea esi, [ebp - 0x96c]
call fcn.0040ccb6
mov esi, eax
lea edi, [ebp - 0x950]
mov byte [ebp - 4], 0x10
call fcn.00404991
push ebx
push 1
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 7
call fcn.004049d5
cmp dword [ebp - 0x9e4], ebx
jle 0x40afcb
mov eax, dword [ebp - 0x9e4]
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp - 0x8fc]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccb6
mov byte [ebp - 4], 0x11
or dword [ebp - 0x9e0], 0x40
jmp 0x40afec
push 0x43d106
lea ecx, [ebp - 0x96c]
call fcn.00404948
mov dword [ebp - 4], 0x12
or dword [ebp - 0x9e0], 0x80
mov esi, eax
lea edi, [ebp - 0x988]
call fcn.00404991
test byte [ebp - 0x9e0], 0x80
je 0x40b01a
and dword [ebp - 0x9e0], 0xffffff7f
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049d5
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 0x40
je 0x40b03f
and dword [ebp - 0x9e0], 0xffffffbf
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049d5
mov esi, 0x43f48c
push esi
call fcn.0041f710
pop ecx
push eax
push esi
lea eax, [ebp - 0x934]
push eax
xor eax, eax
call fcn.0040cced
mov dword [ebp - 0x9e4], eax
cmp eax, 0xffffffff
je 0x40b08c
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccb6
mov byte [ebp - 4], 0x13
or dword [ebp - 0x9e0], 0x100
jmp 0x40b0ad
push 0x43d106
lea ecx, [ebp - 0x96c]
call fcn.00404948
mov dword [ebp - 4], 0x14
or dword [ebp - 0x9e0], 0x200
mov esi, eax
lea edi, [ebp - 0x9c0]
call fcn.00404991
test dword [ebp - 0x9e0], 0x200
je 0x40b0de
and dword [ebp - 0x9e0], 0xfffffdff
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049d5
mov dword [ebp - 4], 7
test dword [ebp - 0x9e0], 0x100
je 0x40b109
and dword [ebp - 0x9e0], 0xfffffeff
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049d5
cmp dword [ebp - 0x9e4], 0xffffffff
lea eax, [ebp - 0x934]
je 0x40b13b
push dword [ebp - 0x9e4]
lea esi, [ebp - 0x918]
push ebx
push eax
call fcn.0040ccb6
mov byte [ebp - 4], 0x15
or dword [ebp - 0x9e0], 0x400
jmp 0x40b158
push eax
lea esi, [ebp - 0x96c]
call fcn.00404e02
mov dword [ebp - 4], 0x16
or dword [ebp - 0x9e0], 0x800
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.00404991
xor edi, edi
inc edi
test dword [ebp - 0x9e0], 0x800
je 0x40b18b
and dword [ebp - 0x9e0], 0xfffff7ff
push ebx
push edi
lea ecx, [ebp - 0x96c]
call fcn.004049d5
mov dword [ebp - 4], 7
test dword [ebp - 0x9e0], 0x400
je 0x40b1ab
push ebx
push edi
lea ecx, [ebp - 0x918]
call fcn.004049d5
mov eax, dword [ebp - 0x950]
push 0x10
pop esi
cmp dword [ebp - 0x93c], esi
jae 0x40b1c2
lea eax, [ebp - 0x950]
push eax
call dword [0x4473fc]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x40b1d4
lea eax, [ebp + 0xc]
push eax
call dword [0x4473fc]
cmp dword [ebp + 0x28], ebx
je 0x40b21a
lea ecx, [ebp - 0x96c]
call fcn.00417696
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], esi
jb 0x40b1f6
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x44741c]
push ebx
push edi
lea ecx, [ebp - 0x96c]
mov dword [ebp - 0x9e0], eax
mov byte [ebp - 4], 7
call fcn.004049d5
jmp 0x40b22f
push ebx
push ebx
push ebx
push ebx
push 0x43d106
call dword [0x44741c]
mov dword [ebp - 0x9e0], eax
mov eax, dword [ebp - 0x9a4]
cmp dword [ebp - 0x990], esi
jae 0x40b243
lea eax, [ebp - 0x9a4]
push eax
call fcn.00421ee3
mov dword [ebp - 0x9e8], eax
mov eax, dword [ebp - 0x988]
pop ecx
cmp dword [ebp - 0x974], esi
jae 0x40b264
lea eax, [ebp - 0x988]
push str.https
push eax
call dword [0x447510]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
cmp dword [ebp - 0x9e0], ebx
je 0x40b493
cmp dword [ebp - 0x93c], 0x10
mov eax, dword [ebp - 0x950]
jae 0x40b2a3
lea eax, [ebp - 0x950]
push ebx
push esi
push 3
push ebx
push ebx
push dword [ebp - 0x9e8]
push eax
push dword [ebp - 0x9e0]
call dword [0x447538]
mov dword [ebp - 0x9e8], eax
cmp eax, ebx
je 0x40b487
cmp dword [ebp - 0x920], 0x10
mov eax, dword [ebp - 0x934]
jae 0x40b2df
lea eax, [ebp - 0x934]
push ebx
push esi
push ebx
push ebx
push ebx
push eax
push 0x43f498
push dword [ebp - 0x9e8]
call dword [0x44757c]
mov dword [ebp - 0x9e4], eax
cmp eax, ebx
je 0x40b47b
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x4474fc]
push ebx
mov esi, eax
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0x110]
push eax
push 0x13
push dword [ebp - 0x9e4]
mov dword [ebp - 0x9f4], 0x100
call dword [0x447594]
test eax, eax
jne 0x40b3c0
mov ecx, dword [ebp - 0x9f0]
push str.ERROR
call fcn.00404948
push ebx
push edi
lea ecx, [ebp - 0x9c0]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp - 0x9a4]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp - 0x988]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp - 0x934]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp - 0x9dc]
call fcn.004049d5
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.004049d5
mov eax, dword [ebp - 0x9f0]
jmp 0x40b51a
lea eax, [ebp - 0x110]
push eax
call fcn.00421ee3
pop ecx
cmp eax, 0xc8
jne 0x40b340
cmp esi, ebx
je 0x40b46f
lea eax, [ebp - 0x9f8]
push eax
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push dword [ebp - 0x9e4]
call dword [0x447440]
cmp eax, ebx
je 0x40b46f
mov eax, dword [ebp - 0x9f8]
cmp eax, ebx
je 0x40b46f
mov byte [ebp + eax - 0x8e0], bl
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x918]
push eax
lea edi, [ebp - 0x9dc]
call fcn.0040ce60
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 0x18
call fcn.00404991
push ebx
push 1
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 7
call fcn.004049d5
lea eax, [ebp - 0x9f8]
push eax
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push dword [ebp - 0x9e4]
call dword [0x447440]
test eax, eax
jne 0x40b403
push dword [ebp - 0x9e4]
call dword [0x447418]
push dword [ebp - 0x9e8]
call dword [0x447418]
push dword [ebp - 0x9e0]
call dword [0x447418]
mov edi, dword [ebp - 0x9f0]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
lea esi, [ebp - 0x9dc]
mov byte [edi], bl
call fcn.00404991
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x9c0]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp - 0x9a4]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp - 0x988]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp - 0x8fc]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp - 0x950]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp - 0x934]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp - 0x9dc]
call fcn.004049d5
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.004049d5
mov eax, edi
call fcn.004236b3
ret