Function at 0x14004d6b0
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 [0x140164b18]
cmp ecx, 0xffffffff
je 0x14004d739
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 [0x140161720], 0
jne 0x14004d780
mov rcx, r13
call fcn.14004d190
test r12, r12
jne 0x14004d79b
mov r12, 0xffffffffffffffff
nop dword [rax]
inc r12
cmp word [rdi + r12*2], 0
jne 0x14004d790
cmp r12, 0xfd
ja 0x14004d986
mov rdx, rdi
mov qword [rbp + 0x18], rdx
mov r15, r12
mov dword [rbp + 0x7f0], r14d
nop dword [rax]
lea rsi, [0x140161720]
nop word [rax + rax]
mov rcx, qword [rsi]
cmp word [rcx], 0
je 0x14004d8ef
mov rax, qword [rsi + 8]
lea rbx, [rcx + rax*2]
lea rdi, [r15 + r15]
mov r8, rdi
mov rcx, rbx
call fcn.1400f1320
movsd xmm0, qword [str..ahk]
movsd qword [rbx + rdi], xmm0
movzx eax, word [0x14013b5b0]
mov word [rbx + rdi + 8], ax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004d8e4
test al, 0x10
jne 0x14004d8e4
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.14007a0d0
mov eax, 0x5c
mov word [rbx - 2], ax
mov rcx, qword [r13 + 0xbe8]
test rcx, rcx
je 0x14004d880
cmp byte [rbp + 0x808], dil
je 0x14004d880
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.140036370
mov rax, qword [0x14015bc10]
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.14003a3a0
test eax, eax
mov rax, qword [0x14015bc10]
mov qword [rax + 0xd8], rbx
je 0x14004d979
xor r9d, r9d
mov r8, r12
mov rdi, qword [rbp + 0x7e8]
mov rdx, rdi
mov rcx, r13
call fcn.14004e340
mov rbx, rax
test rax, rax
je 0x14004d8eb
xor r14d, r14d
jmp 0x14004d989
mov rdi, qword [rbp + 0x7e8]
mov rdx, qword [rbp + 0x18]
inc r14d
add rsi, 0x10
cmp r14d, 4
jl 0x14004d7d0
mov edx, 0x5f
mov rcx, rdi
call fcn.1400f0a4c
mov r15, rax
test rax, rax
je 0x14004da38
sub r15, rdi
sar r15, 1
cmp r15, 0xfe
jae 0x14004da38
lea rax, [rbp + 0x90]
mov qword [rbp + 0x18], rax
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1400f1320
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 0x14004da38
mov rdx, qword [rbp + 0x18]
jmp 0x14004d7c0
mov rax, qword [rbp + 0x7f8]
mov byte [rax], 1
xor r14d, r14d
mov rbx, r14
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14004d9ba
mov r8, qword [rbp + 0x88]
test r8, r8
je 0x14004d9a8
xor edx, edx
mov rcx, rdi
call fcn.1400f1130
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14004d9ba
call fcn.1400f75c8
nop
lea rax, vtable.TextMem.0
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14004d9f1
cmp byte [rbp + 0x6c], 0
je 0x14004d9ed
mov r8d, dword [rbp + 0x68]
test r8, r8
je 0x14004d9e4
xor edx, edx
call fcn.1400f1130
mov rcx, qword [rbp + 0x60]
call fcn.1400f75c8
mov qword [rbp + 0x60], r14
lea rax, vtable.TextStream.0
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14004da1b
xor edx, edx
mov r8d, 0x2000
call fcn.1400f1130
mov rcx, qword [rbp + 0x58]
call fcn.1400f75c8
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 fcn.1400f1320
movsd xmm0, qword [str..ahk]
movsd qword [rbp + r14 + 0x90], xmm0
movzx eax, word [0x14013b5b0]
mov word [rbp + r14 + 0x98], ax
mov r15d, 1
mov esi, r15d
lea r8, [0x14013e098]
lea rdx, [rbp + 0x90]
mov rcx, qword [0x140160808]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004db66
xor esi, esi
lea r8, [0x14013e098]
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004db66
lea edx, [rsi + 0x5f]
mov rcx, rdi
call fcn.1400f0a4c
test rax, rax
je 0x14004de93
sub rax, rdi
sar rax, 1
cmp rax, 0xfe
jae 0x14004de93
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1400f1320
movabs rax, 0x6b00680061002e
mov qword [rbp + rbx + 0x90], rax
xor eax, eax
mov word [rbp + rbx + 0x98], ax
lea r8, [0x14013e098]
lea rdx, [rbp + 0x90]
mov rcx, qword [0x140160808]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14004db63
lea r8, [0x14013e098]
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14004de93
jmp 0x14004db66
mov esi, r15d
xor r15d, r15d
mov edi, r15d
test esi, esi
cmovne rdi, qword [0x140160808]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 8], eax
test eax, eax
je 0x14004de8c
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004de8c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp], rax
test rax, rax
je 0x14004de8c
mov esi, r15d
movabs rdi, 0xffffffffffffff0
cmp dword [rax], 0x4034b50
jne 0x14004dcb8
xor r9d, r9d
mov r8d, dword [rbp + 8]
lea rdx, [rbp + 0x7f0]
mov rcx, rax
call fcn.1400d4f50
mov esi, eax
test eax, eax
je 0x14004dcb8
lea r14d, [rsi + 2]
mov ebx, r14d
lea rcx, [r14 + 0x10]
mov edx, r15d
cmp rcx, rbx
cmova rdx, rcx
test rdx, rdx
je 0x14004dc61
cmp rdx, 0x400
ja 0x14004dc43
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14004dc20
mov rax, rdi
and rax, 0xfffffffffffffff0
call fcn.1401119a0
sub rsp, rax
lea r15, [rsp + 0x40]
mov qword [rbp + 0x10], r15
test r15, r15
je 0x14004dc65
mov dword [r15], 0xcccc
jmp 0x14004dc5d
mov rcx, rdx
call fcn.1400f75c0
mov r15, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14004dc65
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 fcn.1400f1320
mov word [rsi + r15], 0
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400f1130
mov rcx, rdi
call fcn.1400f75c8
mov dword [rbp + 8], r14d
mov qword [rbp], r15
movabs rdi, 0xffffffffffffff0
jmp 0x14004dcbc
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 0x14004dd35
cmp rdx, 0x400
ja 0x14004dd19
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14004dcf7
mov rax, rdi
and rax, 0xfffffffffffffff0
call fcn.1401119a0
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14004dd38
mov dword [rbx], 0xcccc
add rbx, 0x10
jmp 0x14004dd38
mov rcx, rdx
call fcn.1400f75c0
mov rbx, rax
test rax, rax
je 0x14004dd38
mov dword [rax], 0xdddd
add rbx, 0x10
jmp 0x14004dd38
mov rbx, r14
mov r9d, 0xfde9
mov r8d, reloc.WSOCK32.dll_ioctlsocket
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.1400cde20
xor r9d, r9d
mov r8d, dword [rbp + 8]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.1400ce020
mov rcx, qword [r13 + 0xbe8]
test rcx, rcx
je 0x14004dd9c
cmp byte [rbp + 0x808], r14b
je 0x14004dd9c
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r14w
jne 0x14004dd80
mov r8, rax
mov r9, rbx
lea rdx, str._s_n
call fcn.140036370
mov rax, qword [0x14015bc10]
mov rdi, qword [rax + 0xd8]
mov qword [rax + 0xd8], r14
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call fcn.14003a260
test eax, eax
jne 0x14004de26
test esi, esi
je 0x14004ddd9
mov r8d, esi
xor edx, edx
mov rcx, qword [rbp]
call fcn.1400f1130
mov r8d, dword [rbp + 8]
add r8, 2
xor edx, edx
mov rcx, rbx
call fcn.1400f1130
mov rax, qword [0x14015bc10]
mov qword [rax + 0xd8], rdi
mov rax, qword [rbp + 0x7f8]
mov byte [rax], 1
test rbx, rbx
je 0x14004d986
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14004d986
call fcn.1400f75c8
jmp 0x14004d986
test esi, esi
je 0x14004de38
mov r8d, esi
xor edx, edx
mov rcx, qword [rbp]
call fcn.1400f1130
mov r8d, dword [rbp + 8]
add r8, r8
je 0x14004de4b
xor edx, edx
mov rcx, rbx
call fcn.1400f1130
test rbx, rbx
je 0x14004de61
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14004de61
call fcn.1400f75c8
mov rax, qword [0x14015bc10]
mov qword [rax + 0xd8], rdi
xor r9d, r9d
mov r8, r12
mov rdx, qword [rbp + 0x7e8]
mov rcx, r13
call fcn.14004e340
mov rbx, rax
jmp 0x14004d989
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 fcn.1400f1130
mov r8, r14
mov rdx, rdi
lea rcx, [rbp + 0x3b6]
call fcn.1400f1320
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 fcn.1400f1130
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 [0x140161710]
call fcn.1400f0b48
test rax, rax
je 0x14004d8dc
mov word [rbp + 0x3b4], si
mov rcx, qword [0x140161718]
sub rcx, qword [0x140161710]
add rax, rcx
mov qword [rbp + 0x7f8], rax
lea rdx, [0x1401204ec]
mov rcx, rax
call fcn.1400f0b48
lea rbx, [rax + 1]
lea rdx, [0x1401394ec]
mov rcx, rbx
call fcn.1400f0b48
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 0x14004e053
lea rax, [rsi + r12]
lea rbx, [r15 + rax*2]
mov word [rbx - 2], cx
xor r14d, r14d
movzx ecx, r14w
jmp 0x14004e05d
add r14, 2
add rbx, r14
xor r14d, r14d
lea rax, [rsi + r12]
mov word [r15 + rax*2], cx
lea rdx, [0x14013e0ac]
mov rcx, qword [rbp + 0x7f8]
call fcn.1400f0b48
lea rdx, [rax + 1]
movzx ecx, byte [rdx]
cmp cl, 0x5c
je 0x14004e2b1
mov esi, 0x55
mov r15d, 0xffdf
movabs r9, 0x54004e0049
movabs r10, 0x5200540050
movabs r11, 0x5200540053
lea eax, [rcx - 0x55]
test al, 0xdf
je 0x14004e29b
lea eax, [rcx - 0x5a]
test al, 0xdf
je 0x14004e244
lea eax, [rcx - 0x53]
test al, 0xdf
je 0x14004e23b
lea eax, [rcx - 0x54]
test al, 0xdf
je 0x14004e232
lea eax, [rcx - 0x41]
test al, 0xdf
je 0x14004e215
lea eax, [rcx - 0x57]
test al, 0xdf
je 0x14004e1f8
lea eax, [rcx - 0x58]
test al, 0xdf
je 0x14004e244
lea eax, [rcx - 0x49]
test al, 0xdf
jne 0x14004e12d
cmp byte [rdx + 1], 0x36
jne 0x14004e12d
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 0x14004e268
lea eax, [rcx - 0x49]
test al, 0xdf
je 0x14004e1d6
lea eax, [rcx - 0x48]
test al, 0xdf
je 0x14004e1b8
lea eax, [rcx - 0x43]
test al, 0xdf
je 0x14004e198
lea eax, [rcx - 0x46]
test al, 0xdf
je 0x14004e17a
sub cl, 0x44
test cl, 0xdf
jne 0x14004e268
movsd xmm0, qword [str.DOUBLE]
movsd qword [rbx], xmm0
mov eax, dword [0x14013e128]
mov dword [rbx + 8], eax
movzx eax, word [0x14013e12c]
jmp 0x14004e260
movsd xmm0, qword [str.FLOAT]
movsd qword [rbx], xmm0
mov eax, dword [0x14013e118]
mov dword [rbx + 8], eax
add rbx, 0xa
jmp 0x14004e268
movsd xmm0, qword [str.CHAR]
movsd qword [rbx], xmm0
movzx eax, word [0x14013e108]
mov word [rbx + 8], ax
add rbx, 8
jmp 0x14004e268
movsd xmm0, qword [str.SHORT]
movsd qword [rbx], xmm0
mov eax, dword [0x14013e0f8]
mov dword [rbx + 8], eax
add rbx, 0xa
jmp 0x14004e268
cmp byte [rdx + 1], 0x5c
jne 0x14004e1ef
movzx eax, word [rbx - 2]
sub ax, si
test r15w, ax
je 0x14004e1ef
add rbx, 0xfffffffffffffffe
jmp 0x14004e268
mov qword [rbx], r9
add rbx, 6
jmp 0x14004e268
movsd xmm0, qword [str.WSTR]
movsd qword [rbx], xmm0
movzx eax, word [0x14013e0d8]
mov word [rbx + 8], ax
add rbx, 8
jmp 0x14004e268
movsd xmm0, qword [str.ASTR]
movsd qword [rbx], xmm0
movzx eax, word [0x14013e0c8]
mov word [rbx + 8], ax
add rbx, 8
jmp 0x14004e268
mov qword [rbx], r10
add rbx, 6
jmp 0x14004e268
mov qword [rbx], r11
add rbx, 6
jmp 0x14004e268
movsd xmm0, qword [0x14013e0b0]
movsd qword [rbx], xmm0
mov eax, dword [0x14013e0b8]
mov dword [rbx + 8], eax
movzx eax, word [0x14013e0bc]
mov word [rbx + 0xc], ax
add rbx, 0xc
movzx eax, byte [rdx + 1]
cmp al, 0x2a
je 0x14004e278
cmp al, 0x70
je 0x14004e278
cmp al, 0x50
jne 0x14004e282
mov dword [rbx], 0x2a
add rbx, 2
mov eax, dword [0x14013e130]
mov dword [rbx], eax
movzx eax, word [0x14013e134]
mov word [rbx + 4], ax
add rbx, 4
jmp 0x14004e2a2
mov word [rbx], si
add rbx, 2
inc rdx
movzx ecx, byte [rdx]
cmp cl, 0x5c
jne 0x14004e0b2
mov dword [rbx - 4], 0
mov rcx, qword [r13 + 0xbe8]
test rcx, rcx
je 0x14004e301
cmp byte [rbp + 0x808], 0
je 0x14004e301
lea r8, [rbp + 0x3a0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x14004e2e0
mov r8, rax
lea r9, [rbp + 0x3a0]
lea rdx, str._s_n
call fcn.140036370
mov edx, 0x2c
lea rcx, [rbp + 0x3a0]
call fcn.1400f0a4c
lea rcx, [rax + 2]
lea rdx, [rbp + 0x3a0]
call fcn.1400d3740
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.14004e340
mov rbx, rax
jmp 0x14004d989