Function at 0x1000c97e
Capabilities:
Check http status code

Disassembly:
push 0xde0
mov eax, 0x10036a04
call fcn.10024db8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xde4], eax
mov dword [ebp - 0xdd4], ebx
push 0x200
xor esi, esi
lea eax, [ebp - 0xcd4]
push ebx
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.10022730
push 0x1f4
lea eax, [ebp - 0xad4]
push ebx
push eax
call fcn.10022730
add esp, 0x18
push 0x1003e3f4
lea ecx, [ebp - 0xdb4]
call fcn.10005540
push 0xf
pop edi
mov dword [ebp - 0xd14], edi
mov dword [ebp - 0xd18], ebx
mov byte [ebp - 0xd28], bl
mov dword [ebp - 0xd30], edi
mov dword [ebp - 0xd34], ebx
mov byte [ebp - 0xd44], bl
mov dword [ebp - 0xcf8], edi
mov dword [ebp - 0xcfc], ebx
mov byte [ebp - 0xd0c], bl
mov dword [ebp - 0xd84], edi
mov dword [ebp - 0xd88], ebx
mov byte [ebp - 0xd98], bl
mov dword [ebp - 0xd68], edi
mov dword [ebp - 0xd6c], ebx
mov byte [ebp - 0xd7c], bl
mov dword [ebp - 0xdbc], edi
mov dword [ebp - 0xdc0], ebx
mov byte [ebp - 0xdd0], bl
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xcf0]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0xdd8], ebx
call fcn.1000b6e1
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 9
call fcn.1000556f
push ebx
push esi
lea ecx, [ebp - 0xcf0]
mov byte [ebp - 4], 8
call fcn.10004fe2
mov esi, str.https:__
push esi
call fcn.10024080
pop ecx
push eax
push esi
push 8
push ebx
lea ecx, [ebp - 0xd0c]
call fcn.10009dd9
test eax, eax
jne 0x1000cab3
mov dword [ebp - 0xdd8], 8
jmp 0x1000cadb
mov esi, str.http:__
push esi
call fcn.10024080
pop ecx
push eax
push esi
push 7
pop esi
push esi
push ebx
lea ecx, [ebp - 0xd0c]
call fcn.10009dd9
test eax, eax
jne 0x1000cadb
mov dword [ebp - 0xdd8], esi
mov eax, dword [ebp - 0xdd8]
xor esi, esi
inc esi
push esi
inc eax
push eax
lea eax, [ebp - 0xddc]
push eax
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 0xddc], 0x2f
call fcn.10009c80
mov dword [ebp - 0xde0], eax
cmp eax, 0xffffffff
jne 0x1000cb27
push 0x1003e3f4
lea ecx, [ebp - 0xd60]
call fcn.10005540
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xdd4], esi
jmp 0x1000cb52
push 0xffffffffffffffff
push dword [ebp - 0xde0]
lea eax, [ebp - 0xcf0]
push eax
lea ecx, [ebp - 0xd0c]
call fcn.1000c212
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xdd4], 2
push eax
lea ecx, [ebp - 0xd28]
call fcn.1000556f
test byte [ebp - 0xdd4], 2
je 0x1000cb7b
and dword [ebp - 0xdd4], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0xcf0]
call fcn.10004fe2
test byte [ebp - 0xdd4], 1
mov dword [ebp - 4], 8
je 0x1000cb9f
and dword [ebp - 0xdd4], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0xd60]
call fcn.10004fe2
mov eax, dword [ebp - 0xde0]
cmp eax, 0xffffffff
je 0x1000cbc1
cmp dword [ebp - 0xcf8], 0x10
mov ecx, dword [ebp - 0xd0c]
jae 0x1000cbdc
lea ecx, [ebp - 0xd0c]
jmp 0x1000cbdc
cmp dword [ebp - 0xcf8], 0x10
mov eax, dword [ebp - 0xd0c]
jae 0x1000cbd6
lea eax, [ebp - 0xd0c]
mov ecx, dword [ebp - 0xcfc]
add ecx, eax
cmp dword [ebp - 0xcf8], 0x10
mov eax, dword [ebp - 0xd0c]
jae 0x1000cbf3
lea eax, [ebp - 0xd0c]
add eax, dword [ebp - 0xdd8]
push ecx
push eax
lea ecx, [ebp - 0xd60]
call fcn.1000a04d
push eax
lea ecx, [ebp - 0xd44]
mov byte [ebp - 4], 0xc
call fcn.1000556f
push ebx
push 1
lea ecx, [ebp - 0xd60]
mov byte [ebp - 4], 8
call fcn.10004fe2
mov esi, 0x1004017c
push esi
call fcn.10024080
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0xd28]
call fcn.10009c80
cmp eax, 0xffffffff
je 0x1000cc68
push eax
push ebx
lea eax, [ebp - 0xd60]
push eax
lea ecx, [ebp - 0xd28]
call fcn.1000c212
or dword [ebp - 0xdd4], 4
mov byte [ebp - 4], 0xd
jmp 0x1000cca3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xd28]
push eax
lea ecx, [ebp - 0xcf0]
mov dword [ebp - 0xcdc], edi
mov dword [ebp - 0xce0], ebx
mov byte [ebp - 0xcf0], bl
call fcn.1000540c
or dword [ebp - 0xdd4], 8
lea eax, [ebp - 0xcf0]
mov dword [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xd28]
call fcn.1000556f
test byte [ebp - 0xdd4], 8
je 0x1000cccd
and dword [ebp - 0xdd4], 0xfffffff7
push ebx
push 1
lea ecx, [ebp - 0xcf0]
call fcn.10004fe2
test byte [ebp - 0xdd4], 4
mov dword [ebp - 4], 8
je 0x1000ccf2
and dword [ebp - 0xdd4], 0xfffffffb
push ebx
push 1
lea ecx, [ebp - 0xd60]
call fcn.10004fe2
mov esi, 0x10040000
push esi
call fcn.10024080
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0xd44]
call fcn.10009c80
mov esi, eax
cmp esi, 0xffffffff
je 0x1000cd38
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0xcf0]
push eax
lea ecx, [ebp - 0xd44]
call fcn.1000c212
or dword [ebp - 0xdd4], 0x10
mov byte [ebp - 4], 0xf
jmp 0x1000cd56
push 0x1003e3f4
lea ecx, [ebp - 0xd60]
call fcn.10005540
or dword [ebp - 0xdd4], 0x20
mov dword [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0xd7c]
call fcn.1000556f
test byte [ebp - 0xdd4], 0x20
je 0x1000cd80
and dword [ebp - 0xdd4], 0xffffffdf
push ebx
push 1
lea ecx, [ebp - 0xd60]
call fcn.10004fe2
test byte [ebp - 0xdd4], 0x10
mov dword [ebp - 4], 8
je 0x1000cda5
and dword [ebp - 0xdd4], 0xffffffef
push ebx
push 1
lea ecx, [ebp - 0xcf0]
call fcn.10004fe2
cmp esi, 0xffffffff
jne 0x1000cdb0
mov esi, dword [ebp - 0xd34]
push esi
push ebx
lea eax, [ebp - 0xd60]
push eax
lea ecx, [ebp - 0xd44]
call fcn.1000c212
push eax
lea ecx, [ebp - 0xd44]
mov byte [ebp - 4], 0x11
call fcn.1000556f
push ebx
push 1
lea ecx, [ebp - 0xd60]
mov byte [ebp - 4], 8
call fcn.10004fe2
mov eax, dword [ebp - 0xdd8]
cmp eax, ebx
jle 0x1000ce14
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp - 0xcf0]
push eax
lea ecx, [ebp - 0xd0c]
call fcn.1000c212
or dword [ebp - 0xdd4], 0x40
mov byte [ebp - 4], 0x12
jmp 0x1000ce35
push 0x1003e3f4
lea ecx, [ebp - 0xd60]
call fcn.10005540
or dword [ebp - 0xdd4], 0x80
mov dword [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xd98]
call fcn.1000556f
test byte [ebp - 0xdd4], 0x80
je 0x1000ce62
and dword [ebp - 0xdd4], 0xffffff7f
push ebx
push 1
lea ecx, [ebp - 0xd60]
call fcn.10004fe2
test byte [ebp - 0xdd4], 0x40
mov dword [ebp - 4], 8
je 0x1000ce87
and dword [ebp - 0xdd4], 0xffffffbf
push ebx
push 1
lea ecx, [ebp - 0xcf0]
call fcn.10004fe2
mov esi, 0x10040178
push esi
call fcn.10024080
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0xd28]
call fcn.10009c80
mov dword [ebp - 0xdd8], eax
mov esi, 0x100
cmp eax, 0xffffffff
je 0x1000ced3
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0xcf0]
push eax
lea ecx, [ebp - 0xd28]
call fcn.1000c212
or dword [ebp - 0xdd4], esi
mov byte [ebp - 4], 0x14
jmp 0x1000cef4
push 0x1003e3f4
lea ecx, [ebp - 0xd60]
call fcn.10005540
or dword [ebp - 0xdd4], 0x200
mov dword [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0xdd0]
call fcn.1000556f
test dword [ebp - 0xdd4], 0x200
je 0x1000cf24
and dword [ebp - 0xdd4], 0xfffffdff
push ebx
push 1
lea ecx, [ebp - 0xd60]
call fcn.10004fe2
mov dword [ebp - 4], 8
test dword [ebp - 0xdd4], esi
je 0x1000cf4b
and dword [ebp - 0xdd4], 0xfffffeff
push ebx
push 1
lea ecx, [ebp - 0xcf0]
call fcn.10004fe2
cmp dword [ebp - 0xdd8], 0xffffffff
mov esi, 0x800
je 0x1000cf82
push dword [ebp - 0xdd8]
lea eax, [ebp - 0xd60]
push ebx
push eax
lea ecx, [ebp - 0xd28]
call fcn.1000c212
or dword [ebp - 0xdd4], 0x400
mov byte [ebp - 4], 0x16
jmp 0x1000cfbc
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xd28]
push eax
lea ecx, [ebp - 0xcf0]
mov dword [ebp - 0xcdc], edi
mov dword [ebp - 0xce0], ebx
mov byte [ebp - 0xcf0], bl
call fcn.1000540c
or dword [ebp - 0xdd4], esi
lea eax, [ebp - 0xcf0]
mov dword [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0xd28]
call fcn.1000556f
test dword [ebp - 0xdd4], esi
je 0x1000cfe8
and dword [ebp - 0xdd4], 0xfffff7ff
push ebx
push 1
lea ecx, [ebp - 0xcf0]
call fcn.10004fe2
test dword [ebp - 0xdd4], 0x400
mov dword [ebp - 4], 8
je 0x1000d009
push ebx
push 1
lea ecx, [ebp - 0xd60]
call fcn.10004fe2
mov eax, dword [ebp - 0xd44]
push 0x10
pop esi
cmp dword [ebp - 0xd30], esi
jae 0x1000d020
lea eax, [ebp - 0xd44]
push eax
call dword [0x1005bf60]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x1000d032
lea eax, [ebp + 0xc]
push eax
call dword [0x1005bf60]
cmp dword [ebp + 0x28], ebx
je 0x1000d080
lea eax, [ebp - 0xd60]
push eax
lea ecx, [ebp - 0xde5]
call fcn.1001a0ee
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], esi
jb 0x1000d05b
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x1005bf80]
push ebx
push 1
lea ecx, [ebp - 0xd60]
mov dword [ebp - 0xdd8], eax
mov byte [ebp - 4], 8
call fcn.10004fe2
jmp 0x1000d09c
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x40], esi
jae 0x1000d08b
lea eax, [ebp + 0x2c]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x1005bf80]
mov dword [ebp - 0xdd8], eax
mov eax, dword [ebp - 0xd7c]
cmp dword [ebp - 0xd68], esi
jae 0x1000d0b0
lea eax, [ebp - 0xd7c]
push eax
call fcn.100255b0
mov dword [ebp - 0xde0], eax
mov eax, dword [ebp - 0xd98]
pop ecx
cmp dword [ebp - 0xd84], esi
jae 0x1000d0d1
lea eax, [ebp - 0xd98]
push str.https
push eax
call dword [0x1005c07c]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
cmp dword [ebp - 0xdd8], ebx
je 0x1000d304
cmp dword [ebp - 0xd30], 0x10
mov eax, dword [ebp - 0xd44]
jae 0x1000d110
lea eax, [ebp - 0xd44]
push ebx
push esi
push 3
push ebx
push ebx
push dword [ebp - 0xde0]
push eax
push dword [ebp - 0xdd8]
call dword [0x1005c0a4]
mov dword [ebp - 0xdd4], eax
cmp eax, ebx
je 0x1000d2f0
cmp dword [ebp - 0xd14], 0x10
mov eax, dword [ebp - 0xd28]
jae 0x1000d14c
lea eax, [ebp - 0xd28]
push ebx
push esi
push ebx
push ebx
push ebx
push eax
push 0x1004016c
push dword [ebp - 0xdd4]
call dword [0x1005c0e8]
mov edi, eax
cmp edi, ebx
je 0x1000d2e1
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x1005c064]
push ebx
mov esi, eax
lea eax, [ebp - 0xdec]
push eax
lea eax, [ebp - 0x110]
push eax
push 0x13
push edi
mov dword [ebp - 0xdec], 0x100
call dword [0x1005c104]
test eax, eax
jne 0x1000d231
mov ecx, dword [ebp - 0xde4]
push str.ERROR
call fcn.10005540
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xdd0]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp - 0xd7c]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp - 0xd98]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp - 0xd0c]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp - 0xd44]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp - 0xd28]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp - 0xdb4]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.10004fe2
push ebx
push esi
lea ecx, [ebp + 0x2c]
call fcn.10004fe2
mov eax, dword [ebp - 0xde4]
jmp 0x1000d394
lea eax, [ebp - 0x110]
push eax
call fcn.100255b0
pop ecx
cmp eax, 0xc8
jne 0x1000d1a4
cmp esi, ebx
je 0x1000d2da
lea eax, [ebp - 0xde0]
push eax
mov esi, 0x7cf
push esi
lea eax, [ebp - 0x8e0]
push eax
push edi
call dword [0x1005bfa4]
cmp eax, ebx
je 0x1000d2da
mov eax, dword [ebp - 0xde0]
cmp eax, ebx
je 0x1000d2da
mov byte [ebp + eax - 0x8e0], bl
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0xdb4]
push eax
lea eax, [ebp - 0xcf0]
push eax
call fcn.1000c26b
add esp, 0xc
push eax
lea ecx, [ebp - 0xdb4]
mov byte [ebp - 4], 0x19
call fcn.1000556f
push ebx
push 1
lea ecx, [ebp - 0xcf0]
mov byte [ebp - 4], 8
call fcn.10004fe2
lea eax, [ebp - 0xde0]
push eax
push esi
lea eax, [ebp - 0x8e0]
push eax
push edi
call dword [0x1005bfa4]
test eax, eax
jne 0x1000d270
push edi
call dword [0x1005bf7c]
push dword [ebp - 0xdd4]
call dword [0x1005bf7c]
push 0xf
pop edi
push dword [ebp - 0xdd8]
mov esi, dword [ebp - 0xde4]
call dword [0x1005bf7c]
jmp 0x1000d30a
mov esi, dword [ebp - 0xde4]
lea eax, [ebp - 0xdb4]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.1000556f
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xdd0]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp - 0xd7c]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp - 0xd98]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp - 0xd0c]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp - 0xd44]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp - 0xd28]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp - 0xdb4]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.10004fe2
push ebx
push edi
lea ecx, [ebp + 0x2c]
call fcn.10004fe2
mov eax, esi
call fcn.10024e3b
ret