Function at 0x14004bbf0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Extract resource via kernel32 functions
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x7e0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x7e0], rbx
mov r12, r8
mov rdi, rdx
mov r13, rcx
mov byte [r9], 0
mov rax, qword [rbp + 0x800]
mov byte [rax], 0
lea rax, vtable.TextStream.0
mov qword [rbp + 0x20], rax
xor r14d, r14d
mov qword [rbp + 0x28], r14
mov dword [rbp + 0x30], r14d
mov dword [rbp + 0x34], 0xffffffff
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
mov ecx, dword [0x14012be18]
cmp ecx, 0xffffffff
je 0x14004bc79
mov dword [rbp + 0x34], ecx
lea rdx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
movzx ecx, byte [rbp + 0x3e]
test eax, eax
cmove ecx, r14d
mov byte [rbp + 0x3e], cl
lea rax, vtable.TextMem.0
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x60], r14
mov dword [rbp + 0x68], r14d
mov byte [rbp + 0x6c], r14b
mov qword [rbp + 0x70], r14
mov qword [rbp], r14
mov dword [rbp + 8], r14d
mov byte [rbp + 0xc], 0
mov rax, r14
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x80], rax
cmp qword [0x140128a20], 0
jne 0x14004bcc0
mov rcx, r13
call fcn.14004b6d0
test r12, r12
jne 0x14004bcdb
mov r12, 0xffffffffffffffff
nop dword [rax]
inc r12
cmp word [rdi + r12*2], 0
jne 0x14004bcd0
cmp r12, 0xfd
ja 0x14004bec7
mov rdx, rdi
mov qword [rbp + 0x18], rdx
mov r15, r12
mov dword [rbp + 0x7f0], r14d
nop dword [rax]
lea rsi, [0x140128a20]
nop word [rax + rax]
mov rcx, qword [rsi]
cmp word [rcx], 0
je 0x14004be2f
mov rax, qword [rsi + 8]
lea rbx, [rcx + rax*2]
lea rdi, [r15 + r15]
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str..ahk]
movsd qword [rbx + rdi], xmm0
movzx eax, word [0x140109280]
mov word [rbx + rdi + 8], ax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004be24
test al, 0x10
jne 0x14004be24
mov rax, qword [rbp + 0x800]
mov byte [rax], 1
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
lea rbx, [rax + rcx*2]
xor edi, edi
mov word [rbx - 2], di
mov rcx, qword [rsi]
call fcn.140074980
mov eax, 0x5c
mov word [rbx - 2], ax
mov rcx, qword [r13 + 0xbe8]
test rcx, rcx
je 0x14004bdc0
cmp byte [rbp + 0x808], dil
je 0x14004bdc0
mov r9, qword [rsi]
mov qword [rsp + 0x20], r9
mov r8, qword [rsi + 8]
lea rdx, str.Include___0.s_nIncludeAgain__s_n
call fcn.140035d90
mov rax, qword [0x140124200]
mov rbx, qword [rax + 0xd8]
mov qword [rax + 0xd8], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, r13
call fcn.140039db0
test eax, eax
mov rax, qword [0x140124200]
mov qword [rax + 0xd8], rbx
je 0x14004beba
xor r9d, r9d
mov r8, r12
mov rdi, qword [rbp + 0x7e8]
mov rdx, rdi
mov rcx, r13
call fcn.14004c8a0
mov rbx, rax
test rax, rax
je 0x14004be2b
xor r14d, r14d
jmp 0x14004beca
mov rdi, qword [rbp + 0x7e8]
mov rdx, qword [rbp + 0x18]
inc r14d
add rsi, 0x10
cmp r14d, 4
jl 0x14004bd10
mov edx, 0x5f
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r15, rax
test rax, rax
je 0x14004bf7c
sub r15, rdi
sar r15, 1
cmp r15, 0xfe
jae 0x14004bf7c
lea rax, [rbp + 0x90]
mov qword [rbp + 0x18], rax
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
mov word [rbp + rbx + 0x90], r14w
mov eax, dword [rbp + 0x7f0]
inc eax
mov dword [rbp + 0x7f0], eax
cmp eax, 2
jge 0x14004bf7c
mov rdx, qword [rbp + 0x18]
jmp 0x14004bd00
mov rax, qword [rbp + 0x7f8]
mov byte [rax], 1
xor r14d, r14d
mov rbx, r14
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14004befc
mov r8, qword [rbp + 0x88]
test r8, r8
je 0x14004bee9
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14004befc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rax, vtable.TextMem.0
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14004bf34
cmp byte [rbp + 0x6c], 0
je 0x14004bf30
mov r8d, dword [rbp + 0x68]
test r8, r8
je 0x14004bf26
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp + 0x60], r14
lea rax, vtable.TextStream.0
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14004bf5f
xor edx, edx
mov r8d, 0x2000
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
mov rbx, qword [rbp + 0x7e0]
lea rsp, [rbp + 0x7a0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r14, [r12 + r12]
mov r8, r14
mov rdx, rdi
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str..ahk]
movsd qword [rbp + r14 + 0x90], xmm0
movzx eax, word [0x140109280]
mov word [rbp + r14 + 0x98], ax
mov r15d, 1
mov esi, r15d
lea r8, [0x14010bd68]
lea rdx, [rbp + 0x90]
mov rcx, qword [0x140127b08]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004c0ab
xor esi, esi
lea r8, [0x14010bd68]
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004c0ab
lea edx, [rsi + 0x5f]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x14004c3e5
sub rax, rdi
sar rax, 1
cmp rax, 0xfe
jae 0x14004c3e5
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x6b00680061002e
mov qword [rbp + rbx + 0x90], rax
xor eax, eax
mov word [rbp + rbx + 0x98], ax
lea r8, [0x14010bd68]
lea rdx, [rbp + 0x90]
mov rcx, qword [0x140127b08]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004c0a8
lea r8, [0x14010bd68]
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14004c3e5
jmp 0x14004c0ab
mov esi, r15d
xor r15d, r15d
mov edi, r15d
test esi, esi
cmovne rdi, qword [0x140127b08]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 8], eax
test eax, eax
je 0x14004c3de
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004c3de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp], rax
test rax, rax
je 0x14004c3de
mov esi, r15d
movabs rdi, 0xffffffffffffff0
cmp dword [rax], 0x4034b50
jne 0x14004c1ff
xor r9d, r9d
mov r8d, dword [rbp + 8]
lea rdx, [rbp + 0x7f0]
mov rcx, rax
call fcn.1400d25d0
mov esi, eax
test eax, eax
je 0x14004c1ff
lea r14d, [rsi + 2]
mov ebx, r14d
lea rcx, [r14 + 0x10]
mov edx, r15d
cmp rcx, rbx
cmova rdx, rcx
test rdx, rdx
je 0x14004c1a7
cmp rdx, 0x400
ja 0x14004c188
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14004c165
mov rax, rdi
and rax, 0xfffffffffffffff0
call fcn.1400ed080
sub rsp, rax
lea r15, [rsp + 0x40]
mov qword [rbp + 0x10], r15
test r15, r15
je 0x14004c1ab
mov dword [r15], 0xcccc
jmp 0x14004c1a3
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14004c1ab
mov dword [rax], 0xdddd
add r15, 0x10
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x80], r15
mov r8, rsi
mov rdi, qword [rbp + 0x7f0]
mov rdx, rdi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + r15], 0
mov r8, rsi
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [rbp + 8], r14d
mov qword [rbp], r15
movabs rdi, 0xffffffffffffff0
jmp 0x14004c203
mov r14d, dword [rbp + 8]
mov rax, qword [rbp + 0x800]
mov byte [rax], 1
mov ecx, r14d
add rcx, rcx
lea rax, [rcx + 0x10]
xor r14d, r14d
mov edx, r14d
cmp rax, rcx
cmova rdx, rax
test rdx, rdx
je 0x14004c27d
cmp rdx, 0x400
ja 0x14004c260
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14004c23e
mov rax, rdi
and rax, 0xfffffffffffffff0
call fcn.1400ed080
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14004c280
mov dword [rbx], 0xcccc
add rbx, 0x10
jmp 0x14004c280
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14004c280
mov dword [rax], 0xdddd
add rbx, 0x10
jmp 0x14004c280
mov rbx, r14
mov r9d, 0xfde9
mov r8d, reloc.WSOCK32.dll_ioctlsocket
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.1400cb3a0
xor r9d, r9d
mov r8d, dword [rbp + 8]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.1400cb5a0
mov rcx, qword [r13 + 0xbe8]
test rcx, rcx
je 0x14004c2ec
cmp byte [rbp + 0x808], r14b
je 0x14004c2ec
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], r14w
jne 0x14004c2d0
mov r8, rax
mov r9, rbx
lea rdx, str._s_n
call fcn.140035d90
mov rax, qword [0x140124200]
mov rdi, qword [rax + 0xd8]
mov qword [rax + 0xd8], r14
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call fcn.140039c70
test eax, eax
jne 0x14004c377
test esi, esi
je 0x14004c329
mov r8d, esi
xor edx, edx
mov rcx, qword [rbp]
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rbp + 8]
add r8, 2
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x140124200]
mov qword [rax + 0xd8], rdi
mov rax, qword [rbp + 0x7f8]
mov byte [rax], 1
test rbx, rbx
je 0x14004bec7
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14004bec7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14004bec7
test esi, esi
je 0x14004c389
mov r8d, esi
xor edx, edx
mov rcx, qword [rbp]
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rbp + 8]
add r8, r8
je 0x14004c39c
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
je 0x14004c3b3
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14004c3b3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140124200]
mov qword [rax + 0xd8], rdi
xor r9d, r9d
mov r8, r12
mov rdx, qword [rbp + 0x7e8]
mov rcx, r13
call fcn.14004c8a0
mov rbx, rax
jmp 0x14004beca
mov rdi, qword [rbp + 0x7e8]
mov dword [rbp + 0x3a0], 0x440023
mov dword [rbp + 0x3a4], 0x6c006c
mov dword [rbp + 0x3a8], 0x6d0049
mov dword [rbp + 0x3ac], 0x6f0070
mov dword [rbp + 0x3b0], 0x740072
mov esi, 0x2c
mov word [rbp + 0x3b4], si
xor edx, edx
mov r8d, 0x3ea
lea rcx, [rbp + 0x3b6]
call sub.VCRUNTIME140.dll_memset
mov r8, r14
mov rdx, rdi
lea rcx, [rbp + 0x3b6]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + r14 + 0x3b6], si
lea r15, [rbp + 0x3b8]
add r15, r14
xor ebx, ebx
mov word [r15], bx
mov byte [rbp + 0x290], 0x5c
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x291]
call sub.VCRUNTIME140.dll_memset
lea eax, [r12 + 1]
mov dword [rbp + 0x800], eax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x291]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov word [rbp + r12 + 0x291], si
lea rcx, [rbp + 0x290]
call qword [sym.imp.USER32.dll_CharLowerA]
lea rdx, [rbp + 0x290]
mov rcx, qword [0x140128a10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14004be1c
mov word [rbp + 0x3b4], si
mov rcx, qword [0x140128a18]
sub rcx, qword [0x140128a10]
add rax, rcx
mov qword [rbp + 0x7f8], rax
lea rdx, [0x1400ef854]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
lea rbx, [rax + 1]
lea rdx, [0x1401071bc]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rsi, rax
mov eax, 1
sub rax, rbx
add rsi, rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, esi
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rbx, [r15 + rsi*2]
lea eax, [r12*2 + 2]
mov r8, qword [rbp + 0x7f8]
inc r8
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rbp + 0x800]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0x2c
cmp word [r14 + rdi - 2], 0x5f
jne 0x14004c5a8
lea rax, [rsi + r12]
lea rbx, [r15 + rax*2]
mov word [rbx - 2], cx
xor r14d, r14d
movzx ecx, r14w
jmp 0x14004c5b2
add r14, 2
add rbx, r14
xor r14d, r14d
lea rax, [rsi + r12]
mov word [r15 + rax*2], cx
lea rdx, [0x14010bd7c]
mov rcx, qword [rbp + 0x7f8]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
lea rdx, [rax + 1]
movzx ecx, byte [rdx]
cmp cl, 0x5c
je 0x14004c80f
mov esi, 0x55
mov r15d, 0xffdf
movabs r9, 0x54004e0049
movabs r10, 0x5200540050
movabs r11, 0x5200540053
nop dword [rax + rax]
lea eax, [rcx - 0x55]
test al, 0xdf
je 0x14004c7f9
lea eax, [rcx - 0x5a]
test al, 0xdf
je 0x14004c7a2
lea eax, [rcx - 0x53]
test al, 0xdf
je 0x14004c799
lea eax, [rcx - 0x54]
test al, 0xdf
je 0x14004c790
lea eax, [rcx - 0x41]
test al, 0xdf
je 0x14004c773
lea eax, [rcx - 0x57]
test al, 0xdf
je 0x14004c756
lea eax, [rcx - 0x58]
test al, 0xdf
je 0x14004c7a2
lea eax, [rcx - 0x49]
test al, 0xdf
jne 0x14004c68b
cmp byte [rdx + 1], 0x36
jne 0x14004c68b
movsd xmm0, qword [str.INT64]
movsd qword [rbx], xmm0
mov eax, dword [reloc.WSOCK32.dll_gethostbyname]
mov dword [rbx + 8], eax
add rbx, 0xa
inc rdx
jmp 0x14004c7c6
lea eax, [rcx - 0x49]
test al, 0xdf
je 0x14004c734
lea eax, [rcx - 0x48]
test al, 0xdf
je 0x14004c716
lea eax, [rcx - 0x43]
test al, 0xdf
je 0x14004c6f6
lea eax, [rcx - 0x46]
test al, 0xdf
je 0x14004c6d8
sub cl, 0x44
test cl, 0xdf
jne 0x14004c7c6
movsd xmm0, qword [str.DOUBLE]
movsd qword [rbx], xmm0
mov eax, dword [0x14010bdf8]
mov dword [rbx + 8], eax
movzx eax, word [0x14010bdfc]
jmp 0x14004c7be
movsd xmm0, qword [str.FLOAT]
movsd qword [rbx], xmm0
mov eax, dword [0x14010bde8]
mov dword [rbx + 8], eax
add rbx, 0xa
jmp 0x14004c7c6
movsd xmm0, qword [str.CHAR]
movsd qword [rbx], xmm0
movzx eax, word [0x14010bdd8]
mov word [rbx + 8], ax
add rbx, 8
jmp 0x14004c7c6
movsd xmm0, qword [str.SHORT]
movsd qword [rbx], xmm0
mov eax, dword [0x14010bdc8]
mov dword [rbx + 8], eax
add rbx, 0xa
jmp 0x14004c7c6
cmp byte [rdx + 1], 0x5c
jne 0x14004c74d
movzx eax, word [rbx - 2]
sub ax, si
test r15w, ax
je 0x14004c74d
add rbx, 0xfffffffffffffffe
jmp 0x14004c7c6
mov qword [rbx], r9
add rbx, 6
jmp 0x14004c7c6
movsd xmm0, qword [str.WSTR]
movsd qword [rbx], xmm0
movzx eax, word [0x14010bda8]
mov word [rbx + 8], ax
add rbx, 8
jmp 0x14004c7c6
movsd xmm0, qword [str.ASTR]
movsd qword [rbx], xmm0
movzx eax, word [0x14010bd98]
mov word [rbx + 8], ax
add rbx, 8
jmp 0x14004c7c6
mov qword [rbx], r10
add rbx, 6
jmp 0x14004c7c6
mov qword [rbx], r11
add rbx, 6
jmp 0x14004c7c6
movsd xmm0, qword [0x14010bd80]
movsd qword [rbx], xmm0
mov eax, dword [0x14010bd88]
mov dword [rbx + 8], eax
movzx eax, word [0x14010bd8c]
mov word [rbx + 0xc], ax
add rbx, 0xc
movzx eax, byte [rdx + 1]
cmp al, 0x2a
je 0x14004c7d6
cmp al, 0x70
je 0x14004c7d6
cmp al, 0x50
jne 0x14004c7e0
mov dword [rbx], 0x2a
add rbx, 2
mov eax, dword [0x14010be00]
mov dword [rbx], eax
movzx eax, word [0x14010be04]
mov word [rbx + 4], ax
add rbx, 4
jmp 0x14004c800
mov word [rbx], si
add rbx, 2
inc rdx
movzx ecx, byte [rdx]
cmp cl, 0x5c
jne 0x14004c610
mov dword [rbx - 4], 0
mov rcx, qword [r13 + 0xbe8]
test rcx, rcx
je 0x14004c861
cmp byte [rbp + 0x808], 0
je 0x14004c861
lea r8, [rbp + 0x3a0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x14004c840
mov r8, rax
lea r9, [rbp + 0x3a0]
lea rdx, str._s_n
call fcn.140035d90
mov edx, 0x2c
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
lea rcx, [rax + 2]
lea rdx, [rbp + 0x3a0]
call fcn.1400d1320
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.14004c8a0
mov rbx, rax
jmp 0x14004beca