Function at 0x40ab53
Capabilities:
Check http status code

Disassembly:
push 0x9ec
mov eax, 0x43395d
call fcn.004235e9
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x9f0], eax
mov dword [ebp - 0x9e0], ebx
push 0x43d124
lea ecx, [ebp - 0x9dc]
mov dword [ebp - 4], ebx
call fcn.0040496a
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.0040a9f7
pop ecx
mov esi, eax
lea edi, [ebp - 0x8fc]
mov byte [ebp - 4], 8
call fcn.004049b3
push ebx
push 1
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 7
call fcn.004049f7
mov esi, str.https:__
push esi
call fcn.00420150
pop ecx
push esi
push 8
mov edi, eax
pop eax
lea ecx, [ebp - 0x8fc]
call fcn.0040cd6a
test eax, eax
jne 0x40ac5f
mov dword [ebp - 0x9e4], 8
jmp 0x40ac8a
mov esi, str.http:__
push esi
call fcn.00420150
pop ecx
push esi
push 7
mov edi, eax
pop eax
lea ecx, [ebp - 0x8fc]
call fcn.0040cd6a
test eax, eax
jne 0x40ac8a
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.0040cce1
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
jne 0x40acd6
push 0x43d124
lea ecx, [ebp - 0x96c]
call fcn.0040496a
mov byte [ebp - 4], 9
mov dword [ebp - 0x9e0], esi
jmp 0x40acfc
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x8fc]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccaa
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x9e0], 2
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.004049b3
test byte [ebp - 0x9e0], 2
je 0x40ad27
and dword [ebp - 0x9e0], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049f7
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 1
je 0x40ad4c
and dword [ebp - 0x9e0], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049f7
mov ecx, dword [ebp - 0x9e8]
mov eax, dword [ebp - 0x8fc]
cmp ecx, 0xffffffff
je 0x40ad6e
cmp dword [ebp - 0x8e8], 0x10
jae 0x40ad83
lea eax, [ebp - 0x8fc]
jmp 0x40ad83
cmp dword [ebp - 0x8e8], 0x10
jae 0x40ad7d
lea eax, [ebp - 0x8fc]
mov ecx, dword [ebp - 0x8ec]
add ecx, eax
cmp dword [ebp - 0x8e8], 0x10
mov eax, dword [ebp - 0x8fc]
jae 0x40ad9a
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.0040cfd7
lea esi, [ebp - 0x918]
lea edi, [ebp - 0x950]
mov byte [ebp - 4], 0xb
call fcn.004049b3
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004049f7
mov esi, 0x43f474
push esi
call fcn.00420150
pop ecx
push eax
push esi
lea eax, [ebp - 0x934]
push eax
xor eax, eax
call fcn.0040cce1
cmp eax, 0xffffffff
je 0x40ae2f
push eax
push ebx
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccaa
mov byte [ebp - 4], 0xc
or dword [ebp - 0x9e0], 4
jmp 0x40ae4f
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x96c]
call fcn.00404e24
mov dword [ebp - 4], 0xd
or dword [ebp - 0x9e0], 8
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.004049b3
test byte [ebp - 0x9e0], 8
je 0x40ae7a
and dword [ebp - 0x9e0], 0xfffffff7
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049f7
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 4
je 0x40ae9f
and dword [ebp - 0x9e0], 0xfffffffb
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049f7
mov esi, 0x43f35c
push esi
call fcn.00420150
pop ecx
push eax
push esi
lea eax, [ebp - 0x950]
push eax
xor eax, eax
call fcn.0040cce1
mov dword [ebp - 0x9e8], eax
cmp eax, 0xffffffff
je 0x40aee9
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x950]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccaa
mov byte [ebp - 4], 0xe
or dword [ebp - 0x9e0], 0x10
jmp 0x40af07
push 0x43d124
lea ecx, [ebp - 0x96c]
call fcn.0040496a
mov dword [ebp - 4], 0xf
or dword [ebp - 0x9e0], 0x20
mov esi, eax
lea edi, [ebp - 0x9a4]
call fcn.004049b3
test byte [ebp - 0x9e0], 0x20
je 0x40af32
and dword [ebp - 0x9e0], 0xffffffdf
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049f7
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 0x10
je 0x40af57
and dword [ebp - 0x9e0], 0xffffffef
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049f7
mov eax, dword [ebp - 0x9e8]
cmp eax, 0xffffffff
jne 0x40af68
mov eax, dword [ebp - 0x940]
push eax
push ebx
lea eax, [ebp - 0x950]
push eax
lea esi, [ebp - 0x96c]
call fcn.0040ccaa
mov esi, eax
lea edi, [ebp - 0x950]
mov byte [ebp - 4], 0x10
call fcn.004049b3
push ebx
push 1
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 7
call fcn.004049f7
cmp dword [ebp - 0x9e4], ebx
jle 0x40afd1
mov eax, dword [ebp - 0x9e4]
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp - 0x8fc]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccaa
mov byte [ebp - 4], 0x11
or dword [ebp - 0x9e0], 0x40
jmp 0x40aff2
push 0x43d124
lea ecx, [ebp - 0x96c]
call fcn.0040496a
mov dword [ebp - 4], 0x12
or dword [ebp - 0x9e0], 0x80
mov esi, eax
lea edi, [ebp - 0x988]
call fcn.004049b3
test byte [ebp - 0x9e0], 0x80
je 0x40b020
and dword [ebp - 0x9e0], 0xffffff7f
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049f7
mov dword [ebp - 4], 7
test byte [ebp - 0x9e0], 0x40
je 0x40b045
and dword [ebp - 0x9e0], 0xffffffbf
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049f7
mov esi, 0x43f478
push esi
call fcn.00420150
pop ecx
push eax
push esi
lea eax, [ebp - 0x934]
push eax
xor eax, eax
call fcn.0040cce1
mov dword [ebp - 0x9e4], eax
cmp eax, 0xffffffff
je 0x40b092
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x934]
push eax
lea esi, [ebp - 0x918]
call fcn.0040ccaa
mov byte [ebp - 4], 0x13
or dword [ebp - 0x9e0], 0x100
jmp 0x40b0b3
push 0x43d124
lea ecx, [ebp - 0x96c]
call fcn.0040496a
mov dword [ebp - 4], 0x14
or dword [ebp - 0x9e0], 0x200
mov esi, eax
lea edi, [ebp - 0x9c0]
call fcn.004049b3
test dword [ebp - 0x9e0], 0x200
je 0x40b0e4
and dword [ebp - 0x9e0], 0xfffffdff
push ebx
push 1
lea ecx, [ebp - 0x96c]
call fcn.004049f7
mov dword [ebp - 4], 7
test dword [ebp - 0x9e0], 0x100
je 0x40b10f
and dword [ebp - 0x9e0], 0xfffffeff
push ebx
push 1
lea ecx, [ebp - 0x918]
call fcn.004049f7
cmp dword [ebp - 0x9e4], 0xffffffff
lea eax, [ebp - 0x934]
je 0x40b141
push dword [ebp - 0x9e4]
lea esi, [ebp - 0x918]
push ebx
push eax
call fcn.0040ccaa
mov byte [ebp - 4], 0x15
or dword [ebp - 0x9e0], 0x400
jmp 0x40b15e
push eax
lea esi, [ebp - 0x96c]
call fcn.00404e24
mov dword [ebp - 4], 0x16
or dword [ebp - 0x9e0], 0x800
mov esi, eax
lea edi, [ebp - 0x934]
call fcn.004049b3
xor edi, edi
inc edi
test dword [ebp - 0x9e0], 0x800
je 0x40b191
and dword [ebp - 0x9e0], 0xfffff7ff
push ebx
push edi
lea ecx, [ebp - 0x96c]
call fcn.004049f7
mov dword [ebp - 4], 7
test dword [ebp - 0x9e0], 0x400
je 0x40b1b1
push ebx
push edi
lea ecx, [ebp - 0x918]
call fcn.004049f7
mov eax, dword [ebp - 0x950]
push 0x10
pop esi
cmp dword [ebp - 0x93c], esi
jae 0x40b1c8
lea eax, [ebp - 0x950]
push eax
call dword [0x4473fc]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x40b1da
lea eax, [ebp + 0xc]
push eax
call dword [0x4473fc]
cmp dword [ebp + 0x28], ebx
je 0x40b220
lea ecx, [ebp - 0x96c]
call fcn.00417652
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], esi
jb 0x40b1fc
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.004049f7
jmp 0x40b235
push ebx
push ebx
push ebx
push ebx
push 0x43d124
call dword [0x44741c]
mov dword [ebp - 0x9e0], eax
mov eax, dword [ebp - 0x9a4]
cmp dword [ebp - 0x990], esi
jae 0x40b249
lea eax, [ebp - 0x9a4]
push eax
call fcn.00421e53
mov dword [ebp - 0x9e8], eax
mov eax, dword [ebp - 0x988]
pop ecx
cmp dword [ebp - 0x974], esi
jae 0x40b26a
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 0x40b499
cmp dword [ebp - 0x93c], 0x10
mov eax, dword [ebp - 0x950]
jae 0x40b2a9
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 0x40b48d
cmp dword [ebp - 0x920], 0x10
mov eax, dword [ebp - 0x934]
jae 0x40b2e5
lea eax, [ebp - 0x934]
push ebx
push esi
push ebx
push ebx
push ebx
push eax
push 0x43f484
push dword [ebp - 0x9e8]
call dword [0x44757c]
mov dword [ebp - 0x9e4], eax
cmp eax, ebx
je 0x40b481
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 0x40b3c6
mov ecx, dword [ebp - 0x9f0]
push str.ERROR
call fcn.0040496a
push ebx
push edi
lea ecx, [ebp - 0x9c0]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp - 0x9a4]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp - 0x988]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp - 0x8fc]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp - 0x950]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp - 0x934]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp - 0x9dc]
call fcn.004049f7
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.004049f7
mov eax, dword [ebp - 0x9f0]
jmp 0x40b520
lea eax, [ebp - 0x110]
push eax
call fcn.00421e53
pop ecx
cmp eax, 0xc8
jne 0x40b346
cmp esi, ebx
je 0x40b475
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 0x40b475
mov eax, dword [ebp - 0x9f8]
cmp eax, ebx
je 0x40b475
mov byte [ebp + eax - 0x8e0], bl
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x918]
push eax
lea edi, [ebp - 0x9dc]
call fcn.0040ce54
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 0x18
call fcn.004049b3
push ebx
push 1
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 7
call fcn.004049f7
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 0x40b409
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.004049b3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x9c0]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp - 0x9a4]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp - 0x988]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp - 0x8fc]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp - 0x950]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp - 0x934]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp - 0x9dc]
call fcn.004049f7
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.004049f7
mov eax, edi
call fcn.00423633
ret