Function at 0x14001ce2c
Capabilities:
Start http server

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140148058]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, rcx
lea rdi, [0x140148ea8]
mov esi, 1
lea r13, [0x140005d50]
mov rcx, qword [0x140148ea8]
cmp rcx, rdi
je 0x14001ce9e
test byte [rcx + 0x1c], sil
je 0x14001ce9e
mov edx, reloc.OLEAUT32.dll_RegisterTypeLib
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
lea rax, [0x140001f80]
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x68], r15b
lea r12d, [r15 + 2]
mov dword [rsp + 0x6c], r12d
lea rax, [0x140001f90]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], r15d
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x40], r15
lea rdx, [rsp + 0x40]
lea rcx, [0x140005a20]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
mov r8d, eax
mov ecx, eax
neg ecx
sbb esi, esi
not esi
mov eax, 0x538
and esi, eax
lea r9d, [r15 + 5]
mov rcx, qword [0x140148ea8]
cmp rcx, rdi
je 0x14001cf7a
test byte [rcx + 0x1c], r12b
je 0x14001cf7a
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test esi, esi
cmove eax, r9d
cmp edx, eax
jl 0x14001cf7a
mov edx, reloc.OLEAUT32.dll_QueryPathOfRegTypeLib
mov dword [rsp + 0x20], r8d
mov r9d, esi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140011e38
mov edi, 0xc00d37e3
test esi, esi
jne 0x14001d1c3
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400158f0
nop
mov r9b, 3
mov r8d, 0xf003f
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140015f14
movzx ebx, al
lea rcx, [rbp - 0x60]
call fcn.1400159e8
mov eax, ebx
neg eax
sbb esi, esi
not esi
and esi, 0x538
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x14001d00e
test byte [rcx + 0x1c], r12b
je 0x14001d00e
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test esi, esi
mov r8d, 5
cmove eax, r8d
cmp edx, eax
jl 0x14001d00e
mov edx, ConnectToConnectionPoint
mov dword [rsp + 0x20], ebx
mov r9d, esi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140011e38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x40], r15
mov edi, 0xc00d37e3
test esi, esi
jne 0x14001d1c3
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.140016900
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140016870
test al, al
mov eax, 0x538
cmove esi, eax
mov rcx, qword [0x140148ea8]
lea rbx, [0x140148ea8]
cmp rcx, rbx
je 0x14001d097
test byte [rcx + 0x1c], r12b
je 0x14001d097
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test esi, esi
mov r8d, 5
cmove eax, r8d
cmp edx, eax
jl 0x14001d097
mov edx, ConnectToConnectionPoint
mov r9d, esi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
test esi, esi
jne 0x14001d1c3
xor r8d, r8d
mov edx, r12d
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov esi, eax
mov rcx, qword [0x140148ea8]
cmp rcx, rbx
je 0x14001d0ee
test byte [rcx + 0x1c], r12b
je 0x14001d0ee
movzx r8d, byte [rcx + 0x19]
mov edx, r12d
test eax, eax
mov eax, 5
cmove edx, eax
cmp r8d, edx
jl 0x14001d0ee
mov edx, ConnectToConnectionPoint
mov r9d, esi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov edi, 0xc00d37e4
test esi, esi
jne 0x14001d1c3
mov rbx, qword [rsp + 0x30]
lea edi, [rsi + 1]
mov ecx, edi
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, ecx
jge 0x14001d120
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140011854
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [0x1400059e8]
call fcn.14001cc34
test eax, eax
jne 0x14001d15f
mov ecx, edi
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, ecx
jge 0x14001d150
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140011854
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [0x14001d350]
call fcn.14001cc34
xor edx, edx
mov ecx, r12d
call qword [sym.imp.HTTPAPI.dll_HttpTerminate]
mov esi, eax
mov r10, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp r10, rax
je 0x14001d1b6
test byte [r10 + 0x1c], r12b
je 0x14001d1b6
movzx edx, byte [r10 + 0x19]
mov eax, r12d
test esi, esi
mov ecx, 5
cmove eax, ecx
cmp edx, eax
jl 0x14001d1b6
mov edx, ConnectToConnectionPoint
mov r9d, esi
mov r8, r13
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov r10, qword [0x140148ea8]
mov edi, 0xc00d37e6
test esi, esi
je 0x14001d296
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, esi
lea rdx, [0x1400057e0]
lea rcx, [rsp + 0x38]
call fcn.1400157a0
mov edx, 1
mov qword [rsp + 0x28], r15
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
mov r9, qword [r14 + 0x28]
mov r8d, edi
mov rcx, r14
call fcn.1400125c4
mov r8d, esi
mov edx, edi
call fcn.140022c78
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x14001d263
test byte [rcx + 0x1c], r12b
je 0x14001d263
cmp byte [rcx + 0x19], r12b
jb 0x14001d263
mov edx, reloc.SHLWAPI.dll_ConnectToConnectionPoint
mov dword [rsp + 0x20], esi
mov r9, qword [r14 + 0x28]
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140011da0
nop
lea r14, [rbx - 0x18]
lock add dword [r14 + 0x10], 0xffffffff
jg 0x14001d28a
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rdx, r14
mov rcx, rdi
call rbx
mov r10, qword [0x140148ea8]
mov rbx, qword [rsp + 0x30]
lea rax, [0x140148ea8]
cmp r10, rax
je 0x14001d2d3
test byte [r10 + 0x1c], 1
je 0x14001d2d3
movzx edx, byte [r10 + 0x19]
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x14001d2d3
mov edx, 0xa9
mov r9d, esi
mov r8, r13
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
nop
lea r14, [rbx - 0x18]
lock add dword [r14 + 0x10], 0xffffffff
jg 0x14001d2fb
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rdx, r14
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x58]
call fcn.140015e90
nop
lea rax, [0x140001f80]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.140016d70
mov eax, esi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001000
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret