Function at 0x140004400
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Get common file path
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov byte [rsp + 0x58], 0x5a
mov byte [rsp + 0x59], 0x77
mov byte [rsp + 0x5a], 0x54
mov byte [rsp + 0x5b], 0x65
mov byte [rsp + 0x5c], 0x72
mov byte [rsp + 0x5d], 0x6d
mov byte [rsp + 0x5e], 0x69
mov byte [rsp + 0x5f], 0x6e
mov byte [rsp + 0x60], 0x61
mov byte [rsp + 0x61], 0x74
mov byte [rsp + 0x62], 0x65
mov byte [rsp + 0x63], 0x54
mov byte [rsp + 0x64], 0x68
mov byte [rsp + 0x65], 0x72
mov byte [rsp + 0x66], 0x65
mov byte [rsp + 0x67], 0x61
mov byte [rsp + 0x68], 0x64
mov byte [rsp + 0x69], 0
lea r8, [rsp + 0x1f0]
lea rdx, [0x14002f988]
lea rcx, [0x14002f9b0]
call fcn.140002ee0
test eax, eax
jne 0x1400044a0
xor eax, eax
jmp 0x1400048f5
mov edx, 0x104
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, [0x140022264]
lea rcx, [rsp + 0xe0]
call fcn.140006ee0
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xe0]
call fcn.140006ee0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.140003340
test eax, eax
je 0x140004546
lea r9, [0x14002f98c]
lea r8, [0x14002f950]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.1400033e0
test eax, eax
je 0x14000453b
mov rdx, qword [0x14002f9b0]
mov rcx, qword [0x14002f950]
call fcn.140003550
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [0x14002f950], 0
jne 0x140004557
xor eax, eax
jmp 0x1400048f5
mov rax, qword [0x14002f950]
mov eax, dword [rax + 0x3c]
mov rcx, qword [0x14002f950]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
jmp 0x14000459f
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x28], eax
jae 0x140004815
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140004802
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
jne 0x140004802
mov dword [rsp + 0x24], 0
jmp 0x1400045f0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
sub eax, 0x100
cmp dword [rsp + 0x24], eax
jae 0x140004802
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x88]
lea rcx, [0x1400222d8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f950]
add rcx, rax
mov rax, rcx
mov r8d, 0x20
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.1400040f0
test eax, eax
je 0x140004676
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f9b0]
add rcx, rax
mov rax, rcx
mov qword [0x14002f9d0], rax
lea rax, [rsp + 0x80]
lea rcx, [0x1400222fc]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f950]
add rcx, rax
mov rax, rcx
mov r8d, 5
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400040f0
test eax, eax
je 0x1400046d5
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f9b0]
add rcx, rax
mov rax, rcx
mov qword [0x14002f958], rax
lea rax, [rsp + 0x54]
lea rcx, [0x140022304]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f950]
add rcx, rax
mov rax, rcx
mov r8d, 2
lea rdx, [rsp + 0x54]
mov rcx, rax
call fcn.1400040f0
test eax, eax
je 0x14000472e
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f9b0]
add rcx, rax
mov rax, rcx
mov qword [0x14002f998], rax
lea rax, [rsp + 0x70]
lea rcx, [0x140022308]
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f950]
add rcx, rax
mov rax, rcx
mov r8d, 4
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1400040f0
test eax, eax
je 0x1400047a4
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f9b0]
add rcx, rax
mov rax, rcx
mov qword [0x14002f9c8], rax
mov eax, dword [rsp + 0x20]
add eax, 3
mov eax, eax
mov rcx, qword [0x14002f9b0]
add rcx, rax
mov rax, rcx
mov qword [0x14002f9b8], rax
lea rax, [rsp + 0x78]
lea rcx, [0x140022310]
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f950]
add rcx, rax
mov rax, rcx
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400040f0
test eax, eax
je 0x1400047fd
mov eax, dword [rsp + 0x20]
mov rcx, qword [0x14002f9b0]
add rcx, rax
mov rax, rcx
mov qword [0x14002f960], rax
jmp 0x1400045e6
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
jmp 0x140004595
cmp qword [0x14002f9d0], 0
jne 0x14000487d
cmp qword [rsp + 0x330], 0
je 0x14000487d
lea rax, [rsp + 0xb0]
lea rcx, [0x140022318]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
lea r8, [rsp + 0xb0]
mov edx, 0x21
mov rcx, qword [rsp + 0x330]
call fcn.1400028f0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x14000487d
mov rax, qword [rsp + 0x330]
mov qword [0x14002f9d0], rax
cmp qword [0x14002f9d0], 0
je 0x1400048af
cmp qword [0x14002f958], 0
je 0x1400048af
cmp qword [0x14002f998], 0
je 0x1400048af
cmp qword [0x14002f9c8], 0
je 0x1400048af
cmp qword [0x14002f9b8], 0
jne 0x1400048b3
jmp 0x1400048c4
lea rcx, [rsp + 0x58]
call fcn.140004240
mov qword [0x14002f970], rax
cmp qword [0x14002f950], 0
je 0x1400048f0
mov rcx, qword [0x14002f950]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [0x14002f950], 0
mov dword [0x14002f98c], 0
mov eax, 1
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140006fe0
add rsp, 0x318
pop rdi
pop rsi
ret