Function at 0x40af15
Capabilities:
Check http status code

Disassembly:
push 0x9ec
mov eax, 0x433d7d
call fcn.00423a09
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x9f0], eax
mov dword [ebp - 0x9e0], ebx
push 0x43d112
lea ecx, [ebp - 0x9dc]
mov dword [ebp - 4], ebx
call fcn.00404d06
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.0040adb9
pop ecx
mov esi, eax
lea edi, [ebp - 0x8fc]
mov byte [ebp - 4], 8
call fcn.00404d59
push ebx
push 1
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 7
call fcn.00404d9d
mov esi, str.https:__
push esi
call fcn.0041fac0
pop ecx
push esi
push 8
mov edi, eax
pop eax
lea ecx, [ebp - 0x8fc]
call fcn.0040d18c
test eax, eax
jne 0x40b021
mov dword [ebp - 0x9e4], 8
jmp 0x40b04c
mov esi, str.http:__
push esi
call fcn.0041fac0
pop ecx
push esi
push 7
mov edi, eax
pop eax
lea ecx, [ebp - 0x8fc]
call fcn.0040d18c
test eax, eax
jne 0x40b04c
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.0040d103
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
jne 0x40b098
push 0x43d112
lea ecx, [ebp - 0x96c]
call fcn.00404d06
mov byte [ebp - 4], 9
mov dword [ebp - 0x9e0], esi
jmp 0x40b0be
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x8fc]
push eax
lea esi, [ebp - 0x918]
call fcn.0040d0cc
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x9e0], 2
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.00404d59
test byte [ebp - 0x9e0], 2
je 0x40b0e9
and dword [ebp - 0x9e0], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.00404d9d
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 1
je 0x40b10e
and dword [ebp - 0x9e0], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.00404d9d
mov ecx, dword [ebp - 0x9e8]
mov eax, dword [ebp - 0x8fc]
cmp ecx, 0xffffffff
je 0x40b130
cmp dword [ebp - 0x8e8], 0x10
jae 0x40b145
lea eax, [ebp - 0x8fc]
jmp 0x40b145
cmp dword [ebp - 0x8e8], 0x10
jae 0x40b13f
lea eax, [ebp - 0x8fc]
mov ecx, dword [ebp - 0x8ec]
add ecx, eax
cmp dword [ebp - 0x8e8], 0x10
mov eax, dword [ebp - 0x8fc]
jae 0x40b15c
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.0040d3f9
lea esi, [ebp - 0x918]
lea edi, [ebp - 0x950]
mov byte [ebp - 4], 0xb
call fcn.00404d59
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00404d9d
mov esi, 0x43f494
push esi
call fcn.0041fac0
pop ecx
push eax
push esi
lea eax, [ebp - 0x934]
push eax
xor eax, eax
call fcn.0040d103
cmp eax, 0xffffffff
je 0x40b1f1
push eax
push ebx
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x918]
call fcn.0040d0cc
mov byte [ebp - 4], 0xc
or dword [ebp - 0x9e0], 4
jmp 0x40b211
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x96c]
call fcn.004051ca
mov dword [ebp - 4], 0xd
or dword [ebp - 0x9e0], 8
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.00404d59
test byte [ebp - 0x9e0], 8
je 0x40b23c
and dword [ebp - 0x9e0], 0xfffffff7
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.00404d9d
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 4
je 0x40b261
and dword [ebp - 0x9e0], 0xfffffffb
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.00404d9d
mov esi, 0x43f37c
push esi
call fcn.0041fac0
pop ecx
push eax
push esi
lea eax, [ebp - 0x950]
push eax
xor eax, eax
call fcn.0040d103
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
je 0x40b2ab
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x950]
push eax
lea esi, [ebp - 0x918]
call fcn.0040d0cc
mov byte [ebp - 4], 0xe
or dword [ebp - 0x9e0], 0x10
jmp 0x40b2c9
push 0x43d112
lea ecx, [ebp - 0x96c]
call fcn.00404d06
mov dword [ebp - 4], 0xf
or dword [ebp - 0x9e0], 0x20
mov esi, eax
lea edi, [ebp - 0x9a4]
call fcn.00404d59
test byte [ebp - 0x9e0], 0x20
je 0x40b2f4
and dword [ebp - 0x9e0], 0xffffffdf
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.00404d9d
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 0x10
je 0x40b319
and dword [ebp - 0x9e0], 0xffffffef
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.00404d9d
mov eax, dword [ebp - 0x9e8]
cmp eax, 0xffffffff
jne 0x40b32a
mov eax, dword [ebp - 0x940]
push eax
push ebx
lea eax, [ebp - 0x950]
push eax
lea esi, [ebp - 0x96c]
call fcn.0040d0cc
mov esi, eax
lea edi, [ebp - 0x950]
mov byte [ebp - 4], 0x10
call fcn.00404d59
push ebx
push 1
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 7
call fcn.00404d9d
cmp dword [ebp - 0x9e4], ebx
jle 0x40b393
mov eax, dword [ebp - 0x9e4]
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp - 0x8fc]
push eax
lea esi, [ebp - 0x918]
call fcn.0040d0cc
mov byte [ebp - 4], 0x11
or dword [ebp - 0x9e0], 0x40
jmp 0x40b3b4
push 0x43d112
lea ecx, [ebp - 0x96c]
call fcn.00404d06
mov dword [ebp - 4], 0x12
or dword [ebp - 0x9e0], 0x80
mov esi, eax
lea edi, [ebp - 0x988]
call fcn.00404d59
test byte [ebp - 0x9e0], 0x80
je 0x40b3e2
and dword [ebp - 0x9e0], 0xffffff7f
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.00404d9d
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 0x40
je 0x40b407
and dword [ebp - 0x9e0], 0xffffffbf
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.00404d9d
mov esi, 0x43f498
push esi
call fcn.0041fac0
pop ecx
push eax
push esi
lea eax, [ebp - 0x934]
push eax
xor eax, eax
call fcn.0040d103
mov dword [ebp - 0x9e4], eax
cmp eax, 0xffffffff
je 0x40b454
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x918]
call fcn.0040d0cc
mov byte [ebp - 4], 0x13
or dword [ebp - 0x9e0], 0x100
jmp 0x40b475
push 0x43d112
lea ecx, [ebp - 0x96c]
call fcn.00404d06
mov dword [ebp - 4], 0x14
or dword [ebp - 0x9e0], 0x200
mov esi, eax
lea edi, [ebp - 0x9c0]
call fcn.00404d59
test dword [ebp - 0x9e0], 0x200
je 0x40b4a6
and dword [ebp - 0x9e0], 0xfffffdff
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.00404d9d
mov dword [ebp - 4], 7
test dword [ebp - 0x9e0], 0x100
je 0x40b4d1
and dword [ebp - 0x9e0], 0xfffffeff
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.00404d9d
cmp dword [ebp - 0x9e4], 0xffffffff
lea eax, [ebp - 0x934]
je 0x40b503
push dword [ebp - 0x9e4]
lea esi, [ebp - 0x918]
push ebx
push eax
call fcn.0040d0cc
mov byte [ebp - 4], 0x15
or dword [ebp - 0x9e0], 0x400
jmp 0x40b520
push eax
lea esi, [ebp - 0x96c]
call fcn.004051ca
mov dword [ebp - 4], 0x16
or dword [ebp - 0x9e0], 0x800
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.00404d59
xor edi, edi
inc edi
test dword [ebp - 0x9e0], 0x800
je 0x40b553
and dword [ebp - 0x9e0], 0xfffff7ff
push ebx
push edi
lea ecx, [ebp - 0x96c]
call fcn.00404d9d
mov dword [ebp - 4], 7
test dword [ebp - 0x9e0], 0x400
je 0x40b573
push ebx
push edi
lea ecx, [ebp - 0x918]
call fcn.00404d9d
mov eax, dword [ebp - 0x950]
push 0x10
pop esi
cmp dword [ebp - 0x93c], esi
jae 0x40b58a
lea eax, [ebp - 0x950]
push eax
call dword [0x4473fc]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x40b59c
lea eax, [ebp + 0xc]
push eax
call dword [0x4473fc]
cmp dword [ebp + 0x28], ebx
je 0x40b5e2
lea ecx, [ebp - 0x96c]
call fcn.00417a61
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], esi
jb 0x40b5be
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.00404d9d
jmp 0x40b5f7
push ebx
push ebx
push ebx
push ebx
push 0x43d112
call dword [0x44741c]
mov dword [ebp - 0x9e0], eax
mov eax, dword [ebp - 0x9a4]
cmp dword [ebp - 0x990], esi
jae 0x40b60b
lea eax, [ebp - 0x9a4]
push eax
call fcn.00422273
mov dword [ebp - 0x9e8], eax
mov eax, dword [ebp - 0x988]
pop ecx
cmp dword [ebp - 0x974], esi
jae 0x40b62c
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 0x40b85b
cmp dword [ebp - 0x93c], 0x10
mov eax, dword [ebp - 0x950]
jae 0x40b66b
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 0x40b84f
cmp dword [ebp - 0x920], 0x10
mov eax, dword [ebp - 0x934]
jae 0x40b6a7
lea eax, [ebp - 0x934]
push ebx
push esi
push ebx
push ebx
push ebx
push eax
push 0x43f4a4
push dword [ebp - 0x9e8]
call dword [0x44757c]
mov dword [ebp - 0x9e4], eax
cmp eax, ebx
je 0x40b843
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 0x40b788
mov ecx, dword [ebp - 0x9f0]
push str.ERROR
call fcn.00404d06
push ebx
push edi
lea ecx, [ebp - 0x9c0]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp - 0x9a4]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp - 0x988]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp - 0x934]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp - 0x9dc]
call fcn.00404d9d
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.00404d9d
mov eax, dword [ebp - 0x9f0]
jmp 0x40b8e2
lea eax, [ebp - 0x110]
push eax
call fcn.00422273
pop ecx
cmp eax, 0xc8
jne 0x40b708
cmp esi, ebx
je 0x40b837
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 0x40b837
mov eax, dword [ebp - 0x9f8]
cmp eax, ebx
je 0x40b837
mov byte [ebp + eax - 0x8e0], bl
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x918]
push eax
lea edi, [ebp - 0x9dc]
call fcn.0040d276
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 0x18
call fcn.00404d59
push ebx
push 1
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 7
call fcn.00404d9d
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 0x40b7cb
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.00404d59
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x9c0]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp - 0x9a4]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp - 0x988]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp - 0x8fc]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp - 0x950]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp - 0x934]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp - 0x9dc]
call fcn.00404d9d
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.00404d9d
mov eax, edi
call fcn.00423a53
ret