Function at 0x14000cad0
Capabilities:
Extract resource via kernel32 functions
Get common file path
Reference cloudflare dns server

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0xc58]
sub rsp, 0xd58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xc30], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov edx, 0x1c
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x14000d38c
mov rdx, rax
mov qword [rsp + 0xd70], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000d384
mov rcx, rax
mov qword [rsp + 0xd78], rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14000d37c
mov edx, esi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14000d37c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000d37c
mov r8d, esi
mov qword [rsp + 0xd48], r14
mov rdx, rdi
mov rcx, rax
call fcn.140025ee0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, 1
lea r8, [rsp + 0x48]
xor r14d, r14d
mov edx, esi
mov rcx, rbx
mov qword [rsp + 0x48], r14
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14000d3bb
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14000d374
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], r14
lea r9, [0x140031628]
mov qword [rsp + 0x20], rax
mov r8d, esi
lea rcx, [0x1400274b0]
xor edx, edx
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000d3b0
mov rcx, qword [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000d3b0
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
js 0x14000d3b0
cmp dword [rsp + 0x50], esi
jne 0x14000d3b0
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
test eax, eax
js 0x14000d3b0
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
lea rcx, [0x1400274c0]
mov qword [rsp + 0x70], r14
call qword [sym.imp.WindowsCodecs.dll_WICConvertBitmapSource]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
mov rdi, qword [rsp + 0x70]
call qword [rax + 0x10]
test rdi, rdi
je 0x14000d374
mov rax, qword [rdi]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], r14d
mov rcx, rdi
mov dword [rsp + 0x40], r14d
call qword [rax + 0x18]
test eax, eax
js 0x14000d3a5
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x14000d3a5
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000d3a5
xorps xmm0, xmm0
mov dword [rsp + 0x7c], ecx
neg eax
mov qword [rbp - 0x64], r14
xor ecx, ecx
mov dword [rbp - 0x80], eax
movdqu xmmword [rbp - 0x74], xmm0
mov dword [rsp + 0x78], 0x28
mov qword [rbp - 0x7c], 0x200001
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x60]
mov rcx, rax
mov qword [rsp + 0x60], r14
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x78]
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rdx, rbx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rdi
test rsi, rsi
jne 0x14000cd68
mov rax, qword [rdi]
call qword [rax + 0x10]
jmp 0x14000d374
mov eax, dword [rsp + 0x48]
xor edx, edx
mov r10, qword [rdi]
lea r8d, [rax*4]
mov rax, qword [rsp + 0x60]
mov r9d, r8d
mov qword [rsp + 0x20], rax
imul r9d, dword [rsp + 0x40]
call qword [r10 + 0x38]
test eax, eax
mov rcx, rdi
mov rax, qword [rdi]
js 0x14000d3b6
mov qword [rsp + 0xd50], r13
mov qword [rsp + 0xd40], r15
call qword [rax + 0x10]
mov rcx, rsi
call fcn.14000c8b0
mov qword [0x140036d30], rax
lea r13, str.TEMPonefile_PID_splash_feedback.tmp
mov rax, r14
mov word [0x140059da0], r14w
mov r15d, 0x1000
mov qword [rsp + 0xd80], r12
lea rsi, [0x140059da0]
mov ecx, 0x7b
nop dword [rax]
cmp cx, 0x7b
jne 0x14000ce04
lea rax, [rbp + 0x30]
mov word [rbp + 0x30], r14w
jmp 0x14000d309
movzx ecx, word [r13]
cmp cx, 0x7d
jne 0x14000d2e7
lea rdx, [0x14002fd60]
mov word [rax], r14w
lea rcx, [rbp + 0x30]
xor r12b, r12b
call fcn.140018ef8
test eax, eax
jne 0x14000ce42
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000d2aa
lea rdx, [0x14002fd70]
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000ceae
mov rbx, r15
call fcn.14001116c
cmp word [rsi], 0
mov rcx, qword [rax]
mov rax, rsi
mov rdx, qword [rcx]
je 0x14000ce7d
nop dword [rax]
add rax, 2
dec rbx
cmp word [rax], 0
jne 0x14000ce70
movzx ecx, word [rdx]
test cx, cx
je 0x14000cea5
cmp rbx, 1
jb 0x14000d3cc
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000ce85
mov word [rax], r14w
jmp 0x14000d2aa
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000cf3a
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000ced0
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rsi
call fcn.14000a6d0
test al, al
je 0x14000d35c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000cf00
cmp rax, 4
jb 0x14000d2aa
lea rbx, [rsi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140018ef8
test eax, eax
jne 0x14000d2aa
mov word [rbx - 8], r14w
jmp 0x14000d2aa
lea rdx, [0x14002fdc8]
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d01c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002fd5c]
mov edx, 0x80
mov r9d, eax
lea rcx, [rbp - 0x50]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rbp - 0x50]
mov rdi, r15
mov rbx, rsi
je 0x14000cf8d
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000cf80
movzx eax, byte [rbp - 0x50]
test al, al
je 0x14000d2a7
nop dword [rax]
mov r8d, 2
mov byte [rsp + 0x40], al
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x41], r12b
lea rcx, [rsp + 0x50]
call fcn.140010ef0
cmp rax, 1
jne 0x14000d3c6
cmp word [rbx], 0
mov rax, rdi
mov rcx, rbx
je 0x14000cfed
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x14000cfe0
cmp rax, 1
jb 0x14000d3c6
movzx eax, word [rsp + 0x50]
inc r14
mov word [rcx], ax
add rbx, 2
xor eax, eax
dec rdi
mov word [rcx + 2], ax
movzx eax, byte [r14]
test al, al
jne 0x14000cfa0
jmp 0x14000d2a7
lea rdx, [0x14002fdd0]
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d037
mov edx, 0x28
jmp 0x14000d050
lea rdx, str.CACHE_DIR
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d06b
mov edx, 0x1c
mov r8, r15
mov rcx, rsi
call fcn.14000a610
test al, al
je 0x14000d35c
mov r12b, 1
jmp 0x14000d2aa
lea rdx, str.COMPANY
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d0da
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000d09d
nop word [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000d090
lea r8, str.CODAP_SARL
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000d3cc
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000d0b0
mov word [rcx], r14w
jmp 0x14000d2aa
lea rdx, str.PRODUCT
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d14a
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000d10d
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000d100
lea r8, str.Codap_TraceV3_Parser
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000d3cc
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000d120
mov word [rcx], r14w
jmp 0x14000d2aa
lea rdx, str.VERSION
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d1ba
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000d17d
nop dword [rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000d170
lea r8, str.1.0.0.1
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000d3cc
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000d190
mov word [rcx], r14w
jmp 0x14000d2aa
lea rdx, str.TIME
lea rcx, [rbp + 0x30]
call fcn.140018ef8
test eax, eax
jne 0x14000d35c
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x60]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rbp + 0x830]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rbp + 0x830]
mov rdi, r15
mov rbx, rsi
je 0x14000d21f
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000d212
movzx eax, byte [rbp + 0x830]
test al, al
je 0x14000d2a7
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x48], al
lea rdx, [rsp + 0x48]
mov byte [rsp + 0x49], r12b
lea rcx, [rsp + 0x58]
call fcn.140010ef0
cmp rax, 1
jne 0x14000d3d2
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000d27d
nop dword [rax]
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000d270
cmp rcx, 1
jb 0x14000d3d2
movzx ecx, word [rsp + 0x58]
inc r14
mov word [rax], cx
add rbx, 2
xor ecx, ecx
dec rdi
mov word [rax + 2], cx
movzx eax, byte [r14]
test al, al
jne 0x14000d230
xor r14d, r14d
cmp word [rsi], 0
je 0x14000d2bd
add rsi, 2
dec r15
cmp word [rsi], 0
jne 0x14000d2b0
test r12b, r12b
je 0x14000d2e2
cmp word [rsi - 2], 0x5c
jne 0x14000d2e2
nop dword [rax]
sub rsi, 2
inc r15
mov word [rsi], r14w
cmp word [rsi - 2], 0x5c
je 0x14000d2d0
mov rax, r14
jmp 0x14000d309
test rax, rax
je 0x14000d2f5
mov word [rax], cx
add rax, 2
jmp 0x14000d309
cmp r15, 1
jb 0x14000d35c
mov word [rsi], cx
add rsi, 2
dec r15
mov word [rsi], r14w
movzx ecx, word [r13 + 2]
add r13, 2
test cx, cx
jne 0x14000cdf0
mov qword [rsp + 0x30], r14
lea rcx, [0x140059da0]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov r8d, 2
mov word [rsi], r14w
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x140036d24], 1
mov r12, qword [rsp + 0xd80]
mov r13, qword [rsp + 0xd50]
mov r15, qword [rsp + 0xd40]
mov r14, qword [rsp + 0xd48]
mov rdi, qword [rsp + 0xd78]
mov rsi, qword [rsp + 0xd70]
mov rcx, qword [rbp + 0xc30]
xor rcx, rsp
call fcn.14000d3f0
add rsp, 0xd58
pop rbx
pop rbp
ret
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x14000d374
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x14000d374
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14000d374
call fcn.140010bac
int3
call fcn.140010bac
int3
call fcn.140010bac
int3