Function at 0x40ed6d
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64

Disassembly:
mov al, 0xe
jmp fcn.00402efe
cmp al, 0x2e
jne 0x40edaa
inc esi
call fcn.00403d06
or al, al
js 0x40ef68
test al, 0x40
jne 0x40ed66
call fcn.004062ed
test byte [0x4131af], 0x20
jne 0x40ed99
or ecx, edx
je 0x40ed99
mov al, 3
jmp 0x40ed68
xor ebx, ebx
xor ecx, ecx
mov ah, al
mov edx, dword [0x41304c]
call fcn.004053da
call fcn.0040f588
jne 0x40edb2
ret
xor ecx, ecx
mov eax, ecx
mov edi, ecx
mov ebx, 0x40f5c2
call fcn.0040f535
je case.0x4036a3.3
mov al, cl
cmp al, 0x8c
jae 0x40edef
sub al, 0x85
jb 0x40edda
mov ebx, 0x40fc34
xlatb
mov cl, al
mov al, cl
sub al, 0x7f
jb 0x40edef
je 0x40ede6
and al, 1
or al, 2
add al, 0xf0
call fcn.0040f4f1
jmp 0x40edb2
cmp ecx, 0xd9
jb 0x40ee02
cmp ecx, 0x128
jae 0x40ee02
or ah, 0x40
shl ecx, 7
call fcn.0040f383
cmp ecx, 0xd49
jne 0x40ee14
mov edi, edx
shl ecx, 8
call fcn.0040f383
push eax
mov eax, ecx
push edx
push edi
mov edi, 0x40fd20
mov ecx, 0x2f2
movsx ebx, dl
xor ebx, edx
call fcn.0040f44d
je 0x40ee57
push eax
cmp al, 0x48
jne 0x40ee3e
mov al, 0x2f
cmp ah, 0x48
jne 0x40ee45
mov ah, 0x2f
cmp ah, 0xc8
jne 0x40ee4c
mov ah, 0xaf
call fcn.0040f44d
pop eax
jne 0x40ee8f
and dh, 0x3d
and ah, 0x7f
mov ebx, eax
pop edi
pop ecx
pop eax
bt edx, 0x10
jb 0x40ee6f
cmp dl, 0xea
je 0x40eeb3
cmp dl, 0x9a
je 0x40eeb3
bt edx, 0x10
jae 0x40ee7f
cmp dl, 0xa4
je 0x40ee94
cmp dl, 0xac
je 0x40ee94
bt edx, 0x13
jae 0x40ef00
test edx, 0xe00000
jne 0x40eec9
jmp 0x40ef00
jmp case.0x4036a3.3
push ebx
mov ebx, 0x40fc40
xor ecx, ecx
call fcn.0040f535
pop ebx
je 0x40eeec
cmp cl, 1
jne 0x40ee8f
inc dl
and edx, 0xff1fffff
jmp 0x40ef00
or dh, 5
cmp byte [esi], 0x3a
jne 0x40ee8f
inc esi
mov bh, 0xff
xchg ebx, ebp
call fcn.0040f3f9
xchg ebx, ebp
jmp 0x40ef00
cmp dl, 0x69
jne 0x40eeec
cmp bl, 0x49
jne 0x40eed7
mov bl, bh
jmp 0x40ef00
call fcn.0040f588
jne 0x40eef1
and edx, 0x11fff00
or edx, 0x100af
jmp 0x40ef00
call fcn.0040f588
xor ecx, ecx
xchg ebx, ebp
xchg ecx, edi
call fcn.0040f3f9
xchg ecx, edi
xchg ebx, ebp
cmp dl, 0xcd
jne 0x40ef13
cmp cl, 3
jne 0x40ef13
and dl, 0xfe
and edx, 0xffff
bt edx, 0x10
jb 0x40ef30
mov al, dl
and al, 0xfe
cmp al, 0xd0
jne 0x40ef30
mov al, cl
dec al
je 0x40ef30
or edx, 0xc00000
and dl, 0xef
cmp edx, 0x180000
jne 0x40ef4e
shl cl, 1
shl cl, 1
shl cl, 1
shl cl, 1
mov al, byte [0x4131af]
and al, 0xf
or al, cl
mov byte [0x4131af], al
or ah, ah
jns 0x40ef8e
cmp edx, 0xc00000
je 0x40ef7e
cmp dx, 0xe9
je 0x40ef6f
cmp dx, 0xe8
je 0x40ef6f
mov al, 6
jmp fcn.00402efe
xchg ebp, ecx
call fcn.004093cf
xchg ebp, ecx
jne 0x40ef8e
mov al, 0x33
jmp 0x40ef6a
xchg ebp, ecx
jecxz 0x40ef8d
mov al, byte [ebp]
inc ebp
call fcn.0040f4f1
loop 0x40ef82
ret
test ah, 0x40
je 0x40efb9
bt edx, 0x11
jae 0x40efb7
test ah, 1
je 0x40efb7
push edx
shr edx, 0x11
xor dl, ah
test dl, 2
pop edx
je 0x40f025
cmp dl, 0xdf
jne 0x40f013
test dh, 0x18
jnp 0x40f013
or dh, 0x28
jmp 0x40f025
cmp dl, 0xbe
je 0x40efe6
cmp dl, 0xbf
je 0x40efe6
cmp dl, 0xb6
je 0x40efe6
cmp dl, 0xb7
je 0x40efe6
cmp dl, 0xec
je 0x40efe6
cmp dl, 0xed
je 0x40efe6
test ah, 1
jne 0x40effa
cmp bl, 0x18
jb 0x40efe6
cmp bl, 0x20
jb 0x40effa
cmp dl, 0xee
je 0x40f025
cmp dl, 0xef
je 0x40f025
cmp bh, 0x18
jb 0x40f025
cmp bh, 0x20
jae 0x40f025
test ah, 2
jne 0x40f013
cmp bl, 0x10
jb 0x40f009
cmp bl, 0x18
jb 0x40f013
cmp bh, 0x10
jb 0x40f01a
cmp bh, 0x18
jae 0x40f01a
mov al, 0x35
jmp fcn.00402efe
mov al, 0x66
call fcn.0040f4f1
bts edx, 0x1f
cmp bl, 0x28
jb 0x40f02f
cmp bl, 0x2f
jbe 0x40f039
cmp bh, 0x28
jb 0x40f044
cmp bh, 0x2f
ja 0x40f044
mov al, 0x67
call fcn.0040f4f1
bts edx, 0x1e
bt edx, 0x10
jae 0x40f058
mov al, 0xf
test ah, 0x40
je 0x40f053
mov al, 0x9b
call fcn.0040f4f1
test edx, 0xffff
je 0x40f221
bt edx, 0x13
jb 0x40f06c
mov bl, bh
bt edx, 0x18
jb 0x40f088
test edx, 0x180000
je 0x40f088
mov al, dl
and al, 7
cmp al, 7
jne 0x40f088
mov al, bl
or al, 0xf8
and dl, al
bt edx, 0x11
jae 0x40f0b9
test ah, 0x40
je 0x40f0a2
test ah, 1
jne 0x40f0d0
and dl, 0xfb
test ah, 2
jne 0x40f0d0
jmp 0x40f0b2
or dl, 1
test ah, 3
jne 0x40f0b9
and dl, 0xfe
test ah, 0x1f
jne 0x40f0d0
mov al, 2
jmp fcn.00402efe
bt edx, 0x12
jae 0x40f0d0
test ah, 0x40
jne 0x40f0d0
push eax
movsx eax, cl
cmp eax, ecx
pop eax
jne 0x40f0d0
or dl, 2
mov al, dl
call fcn.0040f4f1
bt edx, 0x18
jae 0x40f131
test edx, 0x180000
je 0x40f131
bt edx, 0x13
jae 0x40f109
bt edx, 0x14
jae 0x40f0f3
xchg bh, bl
mov al, dh
and al, 0x38
cmp al, 0x38
jne 0x40f109
test ah, 0x40
jne 0x40f109
mov al, bh
rol al, 3
or al, 0xc7
and dh, al
mov al, dh
and al, 7
cmp al, 7
jne 0x40f131
test eax, 0xfff0000
mov al, bl
je 0x40f12d
mov al, 4
test eax, 0xc000000
je 0x40f12d
test eax, 0x3ff0000
jne 0x40f12d
and dh, 0x3f
or al, 0xf8
and dh, al
test edx, 0x180000
je 0x40f167
mov al, dh
cmp al, 0xc0
jae 0x40f167
and al, 0xc0
je 0x40f167
xchg edi, ecx
push eax
movsx eax, cl
cmp eax, ecx
pop eax
xchg edi, ecx
jne 0x40f167
and dh, 0x7f
or dh, 0x40
or edi, edi
jne 0x40f167
cmp bl, 0x2e
je 0x40f167
cmp bl, 0x25
je 0x40f167
and dh, 0xbf
bt edx, 0x18
jae 0x40f1ba
mov al, dh
call fcn.0040f4f1
test eax, 0xfff0000
je 0x40f1ba
push ecx
push edi
push eax
shr eax, 0x10
mov ecx, 0x10b
mov edi, 0x410ecc
repne scasw ax, word es:[edi]
pop eax
jne case.0x4036a3.3
sub edi, 0x410ece
shr edi, 1
mov al, byte [edi + 0x4110e2]
call fcn.0040f4f1
pop edi
pop ecx
test dh, 0xc0
jne 0x40f1ba
and al, 7
cmp al, 5
jne 0x40f1ba
or dh, 0x80
jmp 0x40f1e1
test edx, 0x180000
je 0x40f221
mov al, dh
cmp al, 0xc0
jae 0x40f221
and al, 0xc7
bt edx, 0x1e
jae 0x40f1d2
dec al
cmp edx, 0xd000c8
je 0x40f1de
cmp al, 5
jne 0x40f1e1
or dh, 0x80
mov al, dh
and al, 0xc0
je 0x40f221
xchg edi, ecx
mov al, cl
call fcn.0040f4f1
mov al, ch
xchg edi, ecx
test dh, 0x80
je 0x40f221
call fcn.0040f4f1
cmp dl, 0xc8
je 0x40f221
cmp bl, 0x28
jb 0x40f20d
cmp bl, 0x30
jb 0x40f221
mov eax, edi
ror eax, 0x10
call fcn.0040f4f1
mov eax, edi
rol eax, 8
call fcn.0040f4f1
test edx, 0xe00000
je 0x40f274
cmp edx, 0x400000
jb 0x40f283
cmp edx, 0x600000
jb 0x40f2b6
bt edx, 0x17
jb 0x40f245
mov ecx, edi
btr edx, 0x1f
bt edx, 0x16
jb 0x40f275
sub ecx, dword [0x41304c]
sub ecx, 4
bt edx, 0x15
jb 0x40f283
add ecx, 3
movsx eax, cl
cmp eax, ecx
je 0x40f283
test byte [0x4131af], 0x20
je 0x40f283
mov al, 1
jmp fcn.00402efe
ret
bt edx, 0x15
jb 0x40f283
or ch, ch
je 0x40f283
inc ch
jne 0x40f264
mov al, cl
call fcn.0040f4f1
bt edx, 0x15
jae 0x40f274
bt edx, 0x12
jae 0x40f29b
test dl, 2
jne 0x40f274
bt edx, 0x11
jae 0x40f2a6
test dl, 1
je 0x40f274
mov al, ch
call fcn.0040f4f1
bt edx, 0x1f
jb 0x40f274
shr ecx, 0x10
mov al, cl
call fcn.0040f4f1
mov al, ch
jmp fcn.0040f4f1