Function at 0x14006fe10
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rbp + 0xd0], r13d
mov dword [rbp + 0xd0], 0x203e2d20
mov byte [rbp + 0xd4], r13b
movdqa xmm0, xmmword [0x1400d1e20]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x50], r13b
movdqa xmm1, xmmword [str._DLLPROTECT__::_PerformSecurityCLoadLibraryExA_HLoadLibraryExW_HWinVerifyTrust_Hget_module_path_GenericLoadLibraVerifyEmbeddedSiLoadLibraryA_HooLoadLibraryW_HooreadBlacklistJsoDumpDllProtEventK]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x70], r13b
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.14005e410
lea r8, [rbp + 0xd0]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14005fd30
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140060be0
mov dword [rbp + 0xd0], 0x202d3c20
mov byte [rbp + 0xd4], r13b
movdqa xmm0, xmmword [0x1400d1e20]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x70], r13b
movdqa xmm1, xmmword [str._DLLPROTECT__::_PerformSecurityCLoadLibraryExA_HLoadLibraryExW_HWinVerifyTrust_Hget_module_path_GenericLoadLibraVerifyEmbeddedSiLoadLibraryA_HooLoadLibraryW_HooreadBlacklistJsoDumpDllProtEventK]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x50], r13b
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14005e410
lea r8, [rbp + 0xd0]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14005fd30
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140060be0
mov rbx, qword [0x1400fbc38]
mov qword [rbp - 0x48], r13
lea rax, [rbp + 0x110]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], r13
mov rax, qword [rbx]
cmp dword [rax], r13d
je 0x14006ffa4
mov qword [rbp + 0xd0], r13
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0xd0]
mov qword [rbp - 0x48], rax
lea r8, [0x1400e01eb]
mov qword [rsp + 0x28], r8
lea rax, [rbp + 0x138]
mov qword [rsp + 0x20], rax
lea r9, str._s_s
xor edx, edx
mov rcx, rbx
call fcn.14007cc00
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
call fcn.140034c2c
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r13
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140009f30
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.140003e50
test ebx, ebx
jne 0x140070006
xor dil, dil
jmp 0x140070a1c
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400138b0
lea rcx, [rsp + 0x60]
call fcn.140003e50
mov qword [rbp + 0xd0], 0xffffffffffffffff
mov esi, 0xa
nop dword [rax]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14007003d
mov rdx, qword [rdi]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov r9d, 6
mov r8d, 0xc0000004
lea rcx, [rbp + 0xe0]
call fcn.140083340
nop
mov rbx, qword [rbp + 0x108]
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0x108], 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
jne 0x1400701d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1400700c4
test esi, esi
jle 0x1400700c4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea edx, [rbx + 0xb]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
dec esi
mov qword [rbp + 0x108], rbx
lea rcx, [rbp + 0xe8]
call fcn.140003e50
jmp 0x140070030
lea rcx, [rbp - 0x20]
call fcn.140074f30
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x58], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x1400701b8
mov dword [rsp + 0x40], 0x290028
mov dword [rsp + 0x44], 0x2d0020
mov dword [rsp + 0x48], 0x20
mov dword [rbp - 0x78], 0x750044
mov dword [rbp - 0x74], 0x70006d
mov dword [rbp - 0x70], 0x6c0044
mov dword [rbp - 0x6c], 0x50006c
mov dword [rbp - 0x68], 0x6f0072
mov dword [rbp - 0x64], 0x450074
mov dword [rbp - 0x60], 0x650076
mov dword [rbp - 0x5c], 0x74006e
mov word [rbp - 0x58], r13w
mov dword [rsp + 0x60], 0x44005b
mov dword [rsp + 0x64], 0x4c004c
mov dword [rsp + 0x68], 0x520050
mov dword [rsp + 0x6c], 0x54004f
mov dword [rsp + 0x70], 0x430045
mov dword [rsp + 0x74], 0x5d0054
mov dword [rsp + 0x78], 0x3a0020
mov dword [rsp + 0x7c], 0x20003a
mov word [rbp - 0x80], r13w
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.14005e510
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14005feb0
mov rdx, rax
lea r8, str.cannot_open_write_file
xor ecx, ecx
call fcn.14007cd90
nop
mov qword [rbp + 0x108], 0xffffffffffffffff
lea rcx, [rbp + 0xe8]
call fcn.140003e50
xor dil, dil
jmp 0x140070a0c
mov qword [rbp + 0x108], 0xffffffffffffffff
lea rcx, [rbp + 0xe8]
call fcn.140003e50
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400138b0
lea rcx, [rsp + 0x60]
call fcn.140003e50
xor eax, eax
mov qword [rbp + 0xd8], rax
lea rdx, [rbp + 0xd8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140070249
cmp qword [rbp + 0xd8], 0xa00000
jle 0x140070249
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r12d, eax
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rdi, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140070291
mov r9, qword [r14]
lea rcx, [rbp + 0xb0]
cmp rdi, 0xf
ja 0x1400702ba
mov qword [rbp + 0xc0], rdi
mov r8, rdi
mov rdx, r9
call fcn.14009bb80
mov byte [rbp + rdi + 0xb0], 0
jmp 0x1400702ca
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x140070303
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x140070319
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0x20]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x14007032b
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14007037c
lea rax, [r15 + rsi]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rcx, 0x10
cmovae rdi, qword [rbp + 0xb0]
lea rcx, [rdi + r15]
mov r8, rsi
mov rdx, r9
call fcn.14009bb80
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x140070393
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x1400703cc
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x1400703e2
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0x40]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x1400703f4
mov r9, qword [r9]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140070442
lea rax, [rcx + rsi]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rdi, qword [rbp + 0xb0]
add rdi, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rdi
call fcn.14009bb80
mov byte [rsi + rdi], 0
jmp 0x140070459
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x140070492
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x1400704a8
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0x60]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x1400704ba
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14007050b
lea rax, [r15 + rsi]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rcx, 0x10
cmovae rdi, qword [rbp + 0xb0]
lea rcx, [rdi + r15]
mov r8, rsi
mov rdx, r9
call fcn.14009bb80
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x140070522
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14007055b
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x140070571
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0x80]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x140070586
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x1400705d7
lea rax, [rsi + r15]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rcx, 0x10
cmovae rdi, qword [rbp + 0xb0]
lea rcx, [rdi + r15]
mov r8, rsi
mov rdx, r9
call fcn.14009bb80
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x1400705ee
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x140070627
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x14007063d
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0xa0]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x140070652
mov r9, qword [r9]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400706a0
lea rax, [rsi + rcx]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rdi, qword [rbp + 0xb0]
add rdi, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rdi
call fcn.14009bb80
mov byte [rdi + rsi], 0
jmp 0x1400706b7
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x1400706f0
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x140070706
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0xc0]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x14007071b
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14007076c
lea rax, [r15 + rsi]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rcx, 0x10
cmovae rdi, qword [rbp + 0xb0]
lea rcx, [rdi + r15]
mov r8, rsi
mov rdx, r9
call fcn.14009bb80
lea rax, [rdi + rsi]
mov byte [rax + r15], 0
jmp 0x140070783
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x1400707bc
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x1400707d2
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea r9, [r14 + 0xe0]
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0x10
jb 0x1400707e7
mov r9, qword [r9]
mov r14, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140070838
lea rax, [rsi + r14]
mov qword [rbp + 0xc0], rax
lea rdi, [rbp + 0xb0]
cmp rcx, 0x10
cmovae rdi, qword [rbp + 0xb0]
lea rcx, [rdi + r14]
mov r8, rsi
mov rdx, r9
call fcn.14009bb80
lea rax, [rsi + rdi]
mov byte [rax + r14], 0
jmp 0x14007084f
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019f50
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x140070888
lea rax, [rcx + 1]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xb0]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xb0]
mov word [rax + rcx], 0x7c
jmp 0x14007089e
mov r9b, 0x7c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xb0]
call fcn.140005650
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call fcn.140070a60
test al, al
jne 0x1400709b3
lea rcx, [rbp - 0x20]
call fcn.140074f30
mov rax, qword [rax]
cmp dword [rax], 0
je 0x140070998
mov dword [rsp + 0x40], 0x290028
mov dword [rsp + 0x44], 0x2d0020
mov dword [rsp + 0x48], 0x20
mov dword [rbp - 0x78], 0x750044
mov dword [rbp - 0x74], 0x70006d
mov dword [rbp - 0x70], 0x6c0044
mov dword [rbp - 0x6c], 0x50006c
mov dword [rbp - 0x68], 0x6f0072
mov dword [rbp - 0x64], 0x450074
mov dword [rbp - 0x60], 0x650076
mov dword [rbp - 0x5c], 0x74006e
mov word [rbp - 0x58], r13w
mov dword [rsp + 0x60], 0x44005b
mov dword [rsp + 0x64], 0x4c004c
mov dword [rsp + 0x68], 0x520050
mov dword [rsp + 0x6c], 0x54004f
mov dword [rsp + 0x70], 0x430045
mov dword [rsp + 0x74], 0x5d0054
mov dword [rsp + 0x78], 0x3a0020
mov dword [rsp + 0x7c], 0x20003a
mov word [rbp - 0x80], r13w
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.14005e510
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14005feb0
mov rdx, rax
lea r8, str.DumpEventToFile_failed
xor ecx, ecx
call fcn.14007cd90
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dil, 1
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400709f3
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400709ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140070a53
call fcn.14005c5c0
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
cmp rbx, 0xffffffffffffffff
je 0x140070a1c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x48]
call fcn.14006d200
movzx eax, dil
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14005c5a0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a87d8
nop
int3