Function at 0x1400191f0
Capabilities:
Encode data using xor
Receive http request
Register http server url
Send http response
Start http server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140094080]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rsi, rdx
mov qword [rsp + 0x70], rdx
xor r13d, r13d
cmp byte [0x1400946d8], r13b
jne 0x14001926d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
lea r8d, [r13 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rsp + 0x50]
call fcn.14000f360
lea rcx, [rsp + 0x50]
call fcn.14001c040
mov dword [rbp + 0x1f0], 2
xor r8d, r8d
lea edx, [r8 + 1]
mov ebx, dword [rbp + 0x1f0]
mov ecx, ebx
call qword [sym.imp.HTTPAPI.dll_HttpInitialize]
xor r8d, r8d
lea rdx, [rbp + 0x220]
mov ecx, ebx
call qword [sym.imp.HTTPAPI.dll_HttpCreateServerSession]
xor r8d, r8d
lea rdx, [rbp + 0x218]
mov rcx, qword [rbp + 0x220]
call qword [sym.imp.HTTPAPI.dll_HttpCreateUrlGroup]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call qword [sym.imp.HTTPAPI.dll_HttpCreateRequestQueue]
or dword [rbp - 0x60], 1
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x58], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x60]
lea edx, [r9 - 9]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.HTTPAPI.dll_HttpSetUrlGroupProperty]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f8], xmm0
mov qword [rbp + 0x208], r13
mov edx, 7
mov qword [rbp + 0x210], rdx
mov word [rbp + 0x1f8], r13w
cmp qword [rsi + 0x18], 0x10
jb 0x14001932d
mov r12, qword [rsi]
mov rdi, r12
add r12, qword [rsi + 0x10]
jmp 0x140019337
mov r12, qword [rsi + 0x10]
add r12, rsi
mov rdi, rsi
movups xmmword [rsp + 0x78], xmm0
mov r14, 0xffffffffffffffff
mov qword [rbp - 0x78], r13
cmp rdi, r12
jne 0x14001935f
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
jmp 0x14001941c
mov rax, r12
sub rax, rdi
mov r15, r13
mov ebx, 7
mov qword [rbp - 0x70], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14001988b
cmp rax, 8
jb 0x1400193d0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x14001939b
mov rbx, rcx
jmp 0x1400193a7
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140010940
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x70], rbx
nop word [rax + rax]
lea rcx, [rsp + 0x78]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x78]
movsx eax, byte [rdi]
mov word [rcx + r15*2], ax
mov r15, qword [rbp - 0x78]
inc r15
mov qword [rbp - 0x78], r15
inc rdi
cmp rdi, r12
je 0x140019400
mov rbx, qword [rbp - 0x70]
jmp 0x1400193d0
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
mov word [rax + r15*2], r13w
mov rdx, qword [rbp + 0x210]
cmp rdx, 8
jb 0x14001945e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019459
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400741e4
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x1f8], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x208], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov edx, Ordinal_26
lea rcx, [rsp + 0x50]
call fcn.140010940
mov rcx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x68], reloc.WS2_32.dll_socket
movups xmm0, xmmword [str.http:__localhost:1337_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400781e8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400781f8]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x140078200]
mov dword [rcx + 0x28], eax
mov word [rcx + 0x2c], r13w
mov rdi, qword [rbp + 0x208]
lea r9, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 8
cmovae r9, qword [rbp + 0x1f8]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r15
cmp rdi, rax
ja 0x14001954f
lea rax, [r15 + rdi]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x50]
lea rcx, [rbx + r15*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + r15]
mov word [rbx + rax*2], r13w
lea rax, [rsp + 0x50]
jmp 0x140019564
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140012e80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x230], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp + 0x210]
cmp rdx, 8
jb 0x1400195dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400195cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400195cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400741e4
movups xmm0, xmmword [rbp + 0x230]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x1f8], xmm0
movups xmmword [rbp + 0x208], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001962f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001962a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001962a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400741e4
lea rdx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 8
cmovae rdx, qword [rbp + 0x1f8]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.HTTPAPI.dll_HttpAddUrlToUrlGroup]
mov ecx, 0x1360
call fcn.140074570
mov rbx, rax
xor edx, edx
mov r8d, 0x1360
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x228]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1360
mov r9, rbx
mov edi, 1
mov r8d, edi
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.HTTPAPI.dll_HttpReceiveHttpRequest]
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov eax, 0x1a4
mov word [rbp - 0x48], ax
mov dword [rsp + 0x70], 0xdbd8d4c8
mov dword [rsp + 0x74], 0x100e8cc
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 6
jb 0x1400196e0
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x70]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x140019700
mov word [rbp - 0x46], r14w
movups xmm0, xmmword [str.Access_Control_Allow_Origin]
movups xmmword [rbp + 0x230], xmm0
movsd xmm0, qword [0x1400781c8]
movsd qword [rbp + 0x240], xmm0
mov eax, dword [0x1400781d0]
mov dword [rbp + 0x248], eax
mov eax, Ordinal_46
mov word [rbp + 0x1f0], ax
lea rax, [rbp + 0x230]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x78], 0x1001b
lea rax, [rbp + 0x1f0]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x30], rax
mov word [rbp - 0x38], di
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x50]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.HTTPAPI.dll_HttpSendHttpResponse]
mov rcx, rbx
call fcn.1400741e4
nop
mov rdx, qword [rbp + 0x210]
cmp rdx, 8
jb 0x1400197f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400197f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400197f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400741e4
mov qword [rbp + 0x208], r13
mov qword [rbp + 0x210], 7
mov word [rbp + 0x1f8], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140019845
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140019840
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140019884
mov rcx, r8
call fcn.1400741e4
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140073f40
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001e00
nop
int3