Function at 0x14006f650
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.14005dc50
lea r8, [rbp + 0xd0]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14005f570
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140060420
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.14005dc50
lea r8, [rbp + 0xd0]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14005f570
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140060420
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 0x14006f7e4
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.14007c440
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
call fcn.14003446c
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 0x14006f846
xor dil, dil
jmp 0x14007025c
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400130f0
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 0x14006f87d
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.140082b80
nop
mov rbx, qword [rbp + 0x108]
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0x108], 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
jne 0x14006fa17
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x14006f904
test esi, esi
jle 0x14006f904
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 0x14006f870
lea rcx, [rbp - 0x20]
call fcn.140074770
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 0x14006f9f8
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.14005dd50
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14005f6f0
mov rdx, rax
lea r8, str.cannot_open_write_file
xor ecx, ecx
call fcn.14007c5d0
nop
mov qword [rbp + 0x108], 0xffffffffffffffff
lea rcx, [rbp + 0xe8]
call fcn.140003e50
xor dil, dil
jmp 0x14007024c
mov qword [rbp + 0x108], 0xffffffffffffffff
lea rcx, [rbp + 0xe8]
call fcn.140003e50
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400130f0
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 0x14006fa89
cmp qword [rbp + 0xd8], 0xa00000
jle 0x14006fa89
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 0x14006fad1
mov r9, qword [r14]
lea rcx, [rbp + 0xb0]
cmp rdi, 0xf
ja 0x14006fafa
mov qword [rbp + 0xc0], rdi
mov r8, rdi
mov rdx, r9
call fcn.14009b3c0
mov byte [rbp + rdi + 0xb0], 0
jmp 0x14006fb0a
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006fb43
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 0x14006fb59
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 0x14006fb6b
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14006fbbc
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.14009b3c0
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x14006fbd3
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006fc0c
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 0x14006fc22
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 0x14006fc34
mov r9, qword [r9]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14006fc82
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.14009b3c0
mov byte [rsi + rdi], 0
jmp 0x14006fc99
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006fcd2
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 0x14006fce8
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 0x14006fcfa
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14006fd4b
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.14009b3c0
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x14006fd62
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006fd9b
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 0x14006fdb1
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 0x14006fdc6
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14006fe17
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.14009b3c0
lea rax, [rsi + rdi]
mov byte [rax + r15], 0
jmp 0x14006fe2e
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006fe67
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 0x14006fe7d
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 0x14006fe92
mov r9, qword [r9]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14006fee0
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.14009b3c0
mov byte [rdi + rsi], 0
jmp 0x14006fef7
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006ff30
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 0x14006ff46
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 0x14006ff5b
mov r9, qword [r9]
mov r15, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14006ffac
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.14009b3c0
lea rax, [rdi + rsi]
mov byte [rax + r15], 0
jmp 0x14006ffc3
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x14006fffc
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 0x140070012
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 0x140070027
mov r9, qword [r9]
mov r14, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140070078
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.14009b3c0
lea rax, [rsi + rdi]
mov byte [rax + r14], 0
jmp 0x14007008f
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.140019790
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
cmp rcx, rdx
jae 0x1400700c8
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 0x1400700de
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.1400702a0
test al, al
jne 0x1400701f3
lea rcx, [rbp - 0x20]
call fcn.140074770
mov rax, qword [rax]
cmp dword [rax], 0
je 0x1400701d8
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.14005dd50
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14005f6f0
mov rdx, rax
lea r8, str.DumpEventToFile_failed
xor ecx, ecx
call fcn.14007c5d0
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 0x140070233
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007022e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140070293
call fcn.14005be00
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
cmp rbx, 0xffffffffffffffff
je 0x14007025c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x48]
call fcn.14006ca40
movzx eax, dil
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14005bde0
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.1400a8018
nop
int3