Function at 0x40bdae
Capabilities:
Check http status code

Disassembly:
push 0x9f0
mov eax, 0x435844
call fcn.00422d38
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x9f8], eax
mov dword [ebp - 0x9e0], ebx
push 0xf
pop esi
xor edi, edi
push ebx
inc edi
push 0x43bc24
lea ecx, [ebp - 0x9a4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x990], esi
mov dword [ebp - 0x994], ebx
mov byte [ebp - 0x9a4], bl
call fcn.004047b8
mov dword [ebp - 0x920], esi
mov dword [ebp - 0x924], ebx
mov byte [ebp - 0x934], bl
mov dword [ebp - 0x958], esi
mov dword [ebp - 0x95c], ebx
mov byte [ebp - 0x96c], bl
mov dword [ebp - 0x904], esi
mov dword [ebp - 0x908], ebx
mov byte [ebp - 0x918], bl
mov dword [ebp - 0x9ac], esi
mov dword [ebp - 0x9b0], ebx
mov byte [ebp - 0x9c0], bl
mov dword [ebp - 0x974], esi
mov dword [ebp - 0x978], ebx
mov byte [ebp - 0x988], bl
mov dword [ebp - 0x9c8], esi
mov dword [ebp - 0x9cc], ebx
mov byte [ebp - 0x9dc], bl
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x8fc]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x9e4], ebx
call fcn.0040ab2a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 9
call fcn.00404871
push ebx
push edi
lea ecx, [ebp - 0x8fc]
mov byte [ebp - 4], 8
call fcn.004042ab
push 8
push str.https:__
push 8
push ebx
lea ecx, [ebp - 0x918]
call fcn.00409185
test eax, eax
jne 0x40bec8
mov dword [ebp - 0x9e4], 8
jmp 0x40beeb
push 7
push str.http:__
push 7
push ebx
lea ecx, [ebp - 0x918]
call fcn.00409185
test eax, eax
jne 0x40beeb
mov dword [ebp - 0x9e4], 7
mov eax, dword [ebp - 0x9e4]
push edi
inc eax
push eax
lea eax, [ebp - 0x9ec]
push eax
lea ecx, [ebp - 0x918]
mov byte [ebp - 0x9ec], 0x2f
call fcn.00409028
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
jne 0x40bf4d
push ebx
push 0x43bc24
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
call fcn.004047b8
lea eax, [ebp - 0x8fc]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x9e0], edi
jmp 0x40bf78
push 0xffffffffffffffff
push dword [ebp - 0x9e8]
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x918]
call fcn.0040b645
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x9e0], 2
push eax
lea ecx, [ebp - 0x934]
call fcn.00404871
test byte [ebp - 0x9e0], 2
je 0x40bfa1
and dword [ebp - 0x9e0], 0xfffffffd
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.004042ab
test byte [ebp - 0x9e0], 1
mov dword [ebp - 4], 8
je 0x40bfc5
and dword [ebp - 0x9e0], 0xfffffffe
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.004042ab
mov ecx, dword [ebp - 0x9e8]
mov eax, dword [ebp - 0x918]
cmp ecx, 0xffffffff
je 0x40bfe7
cmp dword [ebp - 0x904], 0x10
jae 0x40bffc
lea eax, [ebp - 0x918]
jmp 0x40bffc
cmp dword [ebp - 0x904], 0x10
jae 0x40bff6
lea eax, [ebp - 0x918]
mov ecx, dword [ebp - 0x908]
add ecx, eax
cmp dword [ebp - 0x904], 0x10
mov eax, dword [ebp - 0x918]
jae 0x40c013
lea eax, [ebp - 0x918]
add eax, dword [ebp - 0x9e4]
push ecx
push eax
lea ecx, [ebp - 0x950]
call fcn.00409489
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0xc
call fcn.00404871
push ebx
push edi
lea ecx, [ebp - 0x950]
mov byte [ebp - 4], 8
call fcn.004042ab
push edi
push ebx
push 0x43d99c
lea ecx, [ebp - 0x934]
call fcn.00409028
cmp eax, 0xffffffff
je 0x40c07f
push eax
push ebx
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x934]
call fcn.0040b645
or dword [ebp - 0x9e0], 4
mov byte [ebp - 4], 0xd
jmp 0x40c0ba
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x934]
push eax
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
call fcn.004046d5
or dword [ebp - 0x9e0], 8
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x934]
call fcn.00404871
test byte [ebp - 0x9e0], 8
je 0x40c0e3
and dword [ebp - 0x9e0], 0xfffffff7
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.004042ab
test byte [ebp - 0x9e0], 4
mov dword [ebp - 4], 8
je 0x40c107
and dword [ebp - 0x9e0], 0xfffffffb
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.004042ab
push edi
push ebx
push 0x43d820
lea ecx, [ebp - 0x96c]
call fcn.00409028
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
je 0x40c147
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x96c]
call fcn.0040b645
or dword [ebp - 0x9e0], 0x10
mov byte [ebp - 4], 0xf
jmp 0x40c17e
push ebx
push 0x43bc24
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
call fcn.004047b8
or dword [ebp - 0x9e0], 0x20
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x988]
call fcn.00404871
test byte [ebp - 0x9e0], 0x20
je 0x40c1a7
and dword [ebp - 0x9e0], 0xffffffdf
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.004042ab
test byte [ebp - 0x9e0], 0x10
mov dword [ebp - 4], 8
je 0x40c1cb
and dword [ebp - 0x9e0], 0xffffffef
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.004042ab
mov eax, dword [ebp - 0x9e8]
cmp eax, 0xffffffff
jne 0x40c1dc
mov eax, dword [ebp - 0x95c]
push eax
push ebx
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x96c]
call fcn.0040b645
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0x11
call fcn.00404871
push ebx
push edi
lea ecx, [ebp - 0x950]
mov byte [ebp - 4], 8
call fcn.004042ab
cmp dword [ebp - 0x9e4], ebx
jle 0x40c243
mov eax, dword [ebp - 0x9e4]
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x918]
call fcn.0040b645
or dword [ebp - 0x9e0], 0x40
mov byte [ebp - 4], 0x12
jmp 0x40c27d
push ebx
push 0x43bc24
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
call fcn.004047b8
or dword [ebp - 0x9e0], 0x80
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x9c0]
call fcn.00404871
test byte [ebp - 0x9e0], 0x80
je 0x40c2a9
and dword [ebp - 0x9e0], 0xffffff7f
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.004042ab
test byte [ebp - 0x9e0], 0x40
mov dword [ebp - 4], 8
je 0x40c2cd
and dword [ebp - 0x9e0], 0xffffffbf
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.004042ab
push 1
push ebx
push 0x43d998
lea ecx, [ebp - 0x934]
call fcn.00409028
mov dword [ebp - 0x9e8], eax
mov edi, 0x200
cmp eax, 0xffffffff
je 0x40c316
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x934]
call fcn.0040b645
or dword [ebp - 0x9e0], 0x100
mov byte [ebp - 4], 0x14
jmp 0x40c34c
push ebx
push 0x43bc24
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
call fcn.004047b8
or dword [ebp - 0x9e0], edi
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x9dc]
call fcn.00404871
test dword [ebp - 0x9e0], edi
je 0x40c378
and dword [ebp - 0x9e0], 0xfffffdff
push ebx
push 1
lea ecx, [ebp - 0x8fc]
call fcn.004042ab
test dword [ebp - 0x9e0], 0x100
mov dword [ebp - 4], 8
je 0x40c3a3
and dword [ebp - 0x9e0], 0xfffffeff
push ebx
push 1
lea ecx, [ebp - 0x950]
call fcn.004042ab
cmp dword [ebp - 0x9e8], 0xffffffff
mov edi, 0x800
je 0x40c3da
push dword [ebp - 0x9e8]
lea eax, [ebp - 0x950]
push ebx
push eax
lea ecx, [ebp - 0x934]
call fcn.0040b645
or dword [ebp - 0x9e0], 0x400
mov byte [ebp - 4], 0x16
jmp 0x40c414
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x934]
push eax
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8ec], ebx
mov byte [ebp - 0x8fc], bl
call fcn.004046d5
or dword [ebp - 0x9e0], edi
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x934]
call fcn.00404871
test dword [ebp - 0x9e0], edi
je 0x40c440
and dword [ebp - 0x9e0], 0xfffff7ff
push ebx
push 1
lea ecx, [ebp - 0x8fc]
call fcn.004042ab
test dword [ebp - 0x9e0], 0x400
mov dword [ebp - 4], 8
je 0x40c461
push ebx
push 1
lea ecx, [ebp - 0x950]
call fcn.004042ab
mov eax, dword [ebp - 0x96c]
push 0x10
pop edi
cmp dword [ebp - 0x958], edi
jae 0x40c478
lea eax, [ebp - 0x96c]
push eax
call dword [0x459f6c]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x40c48a
lea eax, [ebp + 0xc]
push eax
call dword [0x459f6c]
cmp dword [ebp + 0x28], ebx
je 0x40c4d8
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x9f1]
call fcn.00419405
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x40c4b3
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x459f8c]
push ebx
push 1
lea ecx, [ebp - 0x950]
mov dword [ebp - 0x9e0], eax
mov byte [ebp - 4], 8
call fcn.004042ab
jmp 0x40c4f4
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x40], edi
jae 0x40c4e3
lea eax, [ebp + 0x2c]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x459f8c]
mov dword [ebp - 0x9e0], eax
mov eax, dword [ebp - 0x988]
cmp dword [ebp - 0x974], edi
jae 0x40c508
lea eax, [ebp - 0x988]
push eax
call fcn.00423360
mov dword [ebp - 0x9f0], eax
mov eax, dword [ebp - 0x9c0]
pop ecx
cmp dword [ebp - 0x9ac], edi
jae 0x40c529
lea eax, [ebp - 0x9c0]
push str.https
push eax
call dword [0x45a090]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xff800000
add edi, 0x4800000
cmp dword [ebp - 0x9e0], ebx
je 0x40c6f3
cmp dword [ebp - 0x958], 0x10
mov eax, dword [ebp - 0x96c]
jae 0x40c568
lea eax, [ebp - 0x96c]
push ebx
push edi
push 3
push ebx
push ebx
push dword [ebp - 0x9f0]
push eax
push dword [ebp - 0x9e0]
call dword [0x45a0b8]
mov dword [ebp - 0x9f0], eax
cmp eax, ebx
je 0x40c6e7
cmp dword [ebp - 0x920], 0x10
mov eax, dword [ebp - 0x934]
jae 0x40c5a4
lea eax, [ebp - 0x934]
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push 0x43d98c
push dword [ebp - 0x9f0]
call dword [0x45a0fc]
mov dword [ebp - 0x9e4], eax
cmp eax, ebx
je 0x40c6db
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x45a078]
push ebx
mov edi, eax
lea eax, [ebp - 0x9fc]
push eax
lea eax, [ebp - 0x110]
push eax
push 0x13
push dword [ebp - 0x9e4]
mov dword [ebp - 0x9fc], 0x100
call dword [0x45a118]
test eax, eax
jne 0x40c620
mov edi, dword [ebp - 0x9f8]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
push str.ERROR
mov ecx, edi
mov byte [edi], bl
call fcn.0040482d
jmp 0x40c70f
lea eax, [ebp - 0x110]
push eax
call fcn.00423360
pop ecx
cmp eax, 0xc8
jne 0x40c601
cmp edi, ebx
je 0x40c6cf
lea eax, [ebp - 0x9e8]
push eax
mov edi, 0x7cf
push edi
lea eax, [ebp - 0x8e0]
push eax
push dword [ebp - 0x9e4]
call dword [0x459fb0]
cmp eax, ebx
je 0x40c6cf
mov eax, dword [ebp - 0x9e8]
cmp eax, ebx
je 0x40c6cf
mov byte [ebp + eax - 0x8e0], bl
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x9a4]
push eax
lea eax, [ebp - 0x8fc]
push eax
call fcn.0040b694
add esp, 0xc
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x19
call fcn.00404871
push ebx
push 1
lea ecx, [ebp - 0x8fc]
mov byte [ebp - 4], 8
call fcn.004042ab
lea eax, [ebp - 0x9e8]
push eax
push edi
lea eax, [ebp - 0x8e0]
push eax
push dword [ebp - 0x9e4]
call dword [0x459fb0]
test eax, eax
jne 0x40c660
push dword [ebp - 0x9e4]
call dword [0x459f88]
push dword [ebp - 0x9f0]
call dword [0x459f88]
push dword [ebp - 0x9e0]
call dword [0x459f88]
mov edi, dword [ebp - 0x9f8]
lea eax, [ebp - 0x9a4]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
push eax
mov ecx, edi
mov byte [edi], bl
call fcn.00404871
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x9dc]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp - 0x988]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp - 0x9c0]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp - 0x918]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp - 0x96c]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp - 0x934]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp - 0x9a4]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.004042ab
push ebx
push esi
lea ecx, [ebp + 0x2c]
call fcn.004042ab
mov eax, edi
call fcn.00422dbb
ret