Function at 0x140001ce0
Capabilities:
Create thread
Get file size
Get hostname
Get session user name
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x70], r12
mov rbx, rax
mov dword [rsp + 0x44], 0x64
xor eax, eax
lea r8, [rbp - 0x28]
xor edx, edx
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], eax
lea ecx, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
lea rax, [rbp - 0x28]
mov qword [rbp + 0x60], r12
lea r9, [rsp + 0x70]
mov qword [rbp + 0x80], rax
xor r8d, r8d
mov qword [rbp + 0x78], 5
lea rdx, [rbp + 0x58]
mov dword [rbp + 0x5c], 3
lea ecx, [r12 + 1]
mov dword [rbp + 0x58], 0x401fffff
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x68], r12
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
mov rax, qword [rsp + 0x70]
lea edx, [r12 + 6]
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 4]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x44], 0x64
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r12
movups xmmword [rbp - 8], xmm0
mov dword [rsp + 0x28], r12d
xor r9d, r9d
movups xmmword [rbp - 0x48], xmm0
lea edx, [r12 + 1]
mov byte [rbp - 8], r12b
movups xmmword [rbp - 0x68], xmm0
lea r8d, [r12 + 3]
mov byte [rbp - 0x48], r12b
movups xmmword [rsp + 0x78], xmm0
lea rcx, str.._set.txt
mov byte [rbp - 0x68], r12b
movups xmmword [rbp + 0x38], xmm0
mov byte [rsp + 0x78], r12b
mov r13d, 0x2710
mov byte [rbp + 0x38], r12b
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], InitCommonControls
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], InitCommonControls
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], InitCommonControls
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], InitCommonControls
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], InitCommonControls
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, 0xffffffffffffffff
mov r15, rax
cmp rax, r14
je 0x14000224f
lea ecx, [r12 + 8]
call fcn.140005b1c
mov r12, rax
mov rcx, r15
xor eax, eax
mov rdx, r12
mov qword [r12], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [r12]
xor edi, edi
mov qword [rbp - 0x18], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
test rsi, rsi
je 0x140001f0e
cmp rsi, 0x1000
jb 0x140001ee1
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140002c7d
call fcn.140005b1c
test rax, rax
je 0x140002c83
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001eec
mov rcx, rsi
call fcn.140005b1c
mov rbx, rax
lea rdi, [rbx + rsi]
mov qword [rbp - 0x28], rbx
mov r8, rsi
mov qword [rbp - 0x18], rdi
xor edx, edx
mov rcx, rbx
call fcn.14001d0b0
mov rsi, rdi
mov qword [rbp - 0x20], rdi
jmp 0x140001f16
mov rsi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov r8d, dword [r12]
lea r9, [rsp + 0x44]
mov rdx, rbx
mov qword [rsp + 0x20], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x40], 0
cmp rsi, rdi
je 0x140001f4c
mov byte [rsi], 0
jmp 0x140001f65
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.1400046b0
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x28]
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov r8, r14
mov qword [rbp - 0x10], rsi
nop dword [rax]
inc r8
cmp byte [rbx + r8], sil
jne 0x140001f80
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140004000
lea rcx, [0x140000000]
mov qword [rbp + 0x140], rsi
lea rax, [rcx + 0x28518]
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 0xb8]
lea rax, [rcx + 0x28330]
mov dword [rbp + 0x150], esi
xorps xmm0, xmm0
mov qword [rbp + 0xb0], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x158], rsi
xorps xmm1, xmm1
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0xa0]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmmword [rbp + 0x180], xmm0
mov byte [rbp + 0x190], sil
call fcn.140003d80
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xac], edx
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x9c], edx
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x9c], edx
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xb8]
call fcn.140003b50
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400020f4
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020ef
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c83
call fcn.140005b14
lea rdx, [rbp - 8]
lea rcx, [rbp + 0xa0]
call fcn.140004450
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xa0]
call fcn.140004450
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0xa0]
call fcn.140004450
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xa0]
call fcn.140004450
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.140004450
cmp qword [rbp + 0x50], 0xf
lea r10, [rbp + 0x38]
lea rsi, [rbp + 0x38]
cmova r10, qword [rbp + 0x38]
add r10, qword [rbp + 0x48]
cmp qword [rbp + 0x50], 0xf
cmova rsi, qword [rbp + 0x38]
xor r15b, r15b
mov rdx, rsi
cmp rsi, r10
je 0x140002184
cmp byte [rsi], 0x2d
jne 0x140002184
mov r15b, 1
lea rdx, [rsi + 1]
mov r11d, 8
jmp 0x14000218a
mov r11d, 7
xor ecx, ecx
xor r9b, r9b
cmp rdx, r10
je 0x1400021db
lea r13, [0x140000000]
nop dword [rax + rax]
movzx eax, byte [rdx]
movzx r8d, byte [rax + r13 + 0x28400]
cmp r8b, 0xa
jae 0x1400021d5
cmp ecx, 0xccccccc
jb 0x1400021c6
jne 0x1400021c1
cmp r8d, r11d
jbe 0x1400021c6
mov r9b, 1
jmp 0x1400021cd
lea eax, [rcx + rcx*4]
lea ecx, [r8 + rax*2]
inc rdx
cmp rdx, r10
jne 0x1400021a0
mov r13d, 0x2710
sub rdx, rsi
movzx eax, r15b
cmp rdx, rax
je 0x1400021f6
test r9b, r9b
jne 0x1400021f6
test r15b, r15b
je 0x1400021f3
neg ecx
mov r13d, ecx
lea rcx, [rbp + 0xa0]
call fcn.140002cb0
test rbx, rbx
je 0x14000223a
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14000222f
mov rbx, qword [rbx - 8]
add rdi, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c83
mov rdx, rdi
mov rcx, rbx
call fcn.140005b14
mov edx, 8
mov rcx, r12
call fcn.140005b14
xor r12d, r12d
jmp 0x140002736
mov rsi, qword [rbp - 0x30]
movabs rdi, 0x7fffffffffffffff
movabs rdx, 0x8000000000000000
cmp rsi, 0xb0
jb 0x1400022a6
cmp rsi, 0xf
mov qword [rbp - 0x38], 0xb0
lea rbx, [rbp - 0x48]
mov r8d, 0xb0
cmova rbx, qword [rbp - 0x48]
lea rdx, str._n_t_t_t
mov rcx, rbx
call fcn.14001ca10
mov byte [rbx + 0xb0], r12b
jmp 0x1400023da
mov rcx, rsi
mov rax, rdi
shr rcx, 1
sub rax, rcx
cmp rsi, rax
jbe 0x1400022c0
mov r15, rdi
lea rax, [rdx + 0x27]
jmp 0x1400022eb
lea rax, [rcx + rsi]
mov r15d, 0xbf
cmp rax, r15
cmova r15, rax
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x14000230a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002c77
mov rcx, rax
call fcn.140005b1c
test rax, rax
je 0x140002c71
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000231c
test rcx, rcx
je 0x140002319
call fcn.140005b1c
mov rbx, rax
jmp 0x14000231c
mov rbx, r12
mov qword [rbp - 0x38], 0xb0
lea rcx, str._n_t_t_t
mov qword [rbp - 0x30], r15
movups xmm0, xmmword [rcx]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rbx + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rbx + 0x80], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rbx + 0x90], xmm0
movups xmm1, xmmword [rcx + 0xa0]
movups xmmword [rbx + 0xa0], xmm1
mov byte [rbx + 0xb0], r12b
cmp rsi, 0xf
jbe 0x1400023d6
mov rcx, qword [rbp - 0x48]
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023d1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov qword [rbp - 0x48], rbx
mov rsi, qword [rbp + 0x10]
cmp rsi, 0x18
jb 0x140002417
cmp rsi, 0xf
mov qword [rbp + 8], 0x18
lea rbx, [rbp - 8]
mov r8d, 0x18
cmova rbx, qword [rbp - 8]
lea rdx, str._srv4appit_topl_txt.txt
mov rcx, rbx
call fcn.14001ca10
mov byte [rbx + 0x18], r12b
jmp 0x1400024fa
mov rcx, rsi
mov rax, rdi
shr rcx, 1
sub rax, rcx
cmp rsi, rax
jbe 0x14000243b
movabs rax, 0x8000000000000000
mov r15, rdi
add rax, 0x27
jmp 0x140002466
lea rax, [rsi + rcx]
mov r15d, 0x1f
cmp rax, r15
cmova r15, rax
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x140002485
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002c77
mov rcx, rax
call fcn.140005b1c
test rax, rax
je 0x140002c71
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002497
test rcx, rcx
je 0x140002494
call fcn.140005b1c
mov rbx, rax
jmp 0x140002497
mov rbx, r12
mov qword [rbp + 8], 0x18
mov qword [rbp + 0x10], r15
movups xmm0, xmmword [str._srv4appit_topl_txt.txt]
movups xmmword [rbx], xmm0
movsd xmm0, qword [0x140028238]
movsd qword [rbx + 0x10], xmm0
mov byte [rbx + 0x18], r12b
cmp rsi, 0xf
jbe 0x1400024f6
mov rcx, qword [rbp - 8]
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024f1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov qword [rbp - 8], rbx
mov rsi, qword [rbp - 0x50]
cmp rsi, 6
jb 0x140002537
cmp rsi, 0xf
mov qword [rbp - 0x58], 6
lea rbx, [rbp - 0x68]
mov r8d, 6
cmova rbx, qword [rbp - 0x68]
lea rdx, [0x140028244]
mov rcx, rbx
call fcn.14001ca10
mov byte [rbx + 6], r12b
jmp 0x140002616
mov rcx, rsi
mov rax, rdi
shr rcx, 1
sub rax, rcx
cmp rsi, rax
jbe 0x14000255b
movabs rax, 0x8000000000000000
mov r15, rdi
add rax, 0x27
jmp 0x140002586
lea rax, [rcx + rsi]
mov r15d, InitCommonControls
cmp rax, r15
cmova r15, rax
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x1400025a5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002c77
mov rcx, rax
call fcn.140005b1c
test rax, rax
je 0x140002c71
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400025b7
test rcx, rcx
je 0x1400025b4
call fcn.140005b1c
mov rbx, rax
jmp 0x1400025b7
mov rbx, r12
mov eax, dword [0x140028244]
mov qword [rbp - 0x58], 6
mov qword [rbp - 0x50], r15
mov dword [rbx], eax
movzx eax, word [0x140028248]
mov word [rbx + 4], ax
mov byte [rbx + 6], r12b
cmp rsi, 0xf
jbe 0x140002612
mov rcx, qword [rbp - 0x68]
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000260d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov qword [rbp - 0x68], rbx
mov rsi, qword [rbp - 0x70]
cmp rsi, 0xa
jb 0x140002655
cmp rsi, 0xf
mov qword [rbp - 0x78], 0xa
lea rbx, [rsp + 0x78]
mov r8d, 0xa
cmova rbx, qword [rsp + 0x78]
lea rdx, str.0xDEADDEAD
mov rcx, rbx
call fcn.14001ca10
mov byte [rbx + 0xa], r12b
jmp 0x140002736
mov rcx, rsi
mov rax, rdi
shr rcx, 1
sub rax, rcx
cmp rsi, rax
jbe 0x140002693
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005b1c
test rax, rax
je 0x140002c71
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400026d1
lea rax, [rcx + rsi]
mov edi, InitCommonControls
cmp rax, rdi
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400026bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002c77
jmp 0x140002674
test rcx, rcx
je 0x1400026ce
call fcn.140005b1c
mov rbx, rax
jmp 0x1400026d1
mov rbx, r12
movsd xmm0, qword [str.0xDEADDEAD]
mov qword [rbp - 0x78], 0xa
mov qword [rbp - 0x70], rdi
movsd qword [rbx], xmm0
movzx eax, word [0x140028258]
mov word [rbx + 8], ax
mov byte [rbx + 0xa], r12b
cmp rsi, 0xf
jbe 0x140002731
mov rcx, qword [rsp + 0x78]
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000272c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov qword [rsp + 0x78], rbx
xor edx, edx
mov dword [rsp + 0x28], InitCommonControls
xorps xmm0, xmm0
mov dword [rbp + 0x28], 0x12
lea rax, [rbp + 0x18]
mov dword [rsp + 0x68], 0x64
movups xmmword [rsp + 0x48], xmm0
lea ecx, [rdx + 0x7f]
mov qword [rsp + 0x58], r12
lea r9, str.dd.MM.yyyy
mov qword [rsp + 0x60], InitCommonControls
xor r8d, r8d
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea rax, [rbp + 0x18]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002790
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
xor edx, edx
mov dword [rsp + 0x28], 9
lea rax, [rbp + 0x18]
xor r8d, r8d
lea r9, str.HH:mm:ss
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x7f]
call qword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea r8, [rbp + 0x28]
mov ecx, 3
lea rdx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
mov r8d, 1
lea rdx, [0x14002827c]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
lea rax, [rbp + 0x18]
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x140002802
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
mov r8d, 1
lea rdx, [0x14002827c]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
lea rax, [rbp + 0x88]
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002840
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jae 0x14000288a
lea rax, [rcx + 1]
cmp rdx, 0xf
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmova rax, qword [rsp + 0x48]
mov word [rax + rcx], 0x20
jmp 0x1400028a2
movzx r8d, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov r9b, 0x20
mov edx, 1
call fcn.140004110
lea r8, [rsp + 0x68]
mov ecx, 2
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.Secur32.dll_GetUserNameExA]
lea rax, [rbp + 0x1a0]
inc r14
cmp byte [rax + r14], 0
jne 0x1400028c0
mov r8, r14
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
mov r8d, 2
lea rdx, [0x140028280]
lea rcx, [rsp + 0x48]
call fcn.140003cf0
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x140002c90]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [rbp + 0x10], 0xf
lea rcx, [rbp - 8]
mov qword [rsp + 0x30], r12
cmova rcx, qword [rbp - 8]
xor r9d, r9d
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 4
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp qword [rsp + 0x60], 0xf
lea rdx, [rsp + 0x48]
mov r8d, dword [rsp + 0x58]
mov rcx, rax
cmova rdx, qword [rsp + 0x48]
mov rbx, rax
xor r9d, r9d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x70], 0xf
lea rdx, [rsp + 0x78]
mov r10, qword [rbp - 0x78]
lea r11, [rsp + 0x78]
cmova rdx, qword [rsp + 0x78]
mov ecx, r12d
add r10, rdx
cmp qword [rbp - 0x70], 0xf
cmova r11, qword [rsp + 0x78]
xor r9b, r9b
add r11, 2
mov qword [rsp + 0x70], r11
mov rdx, r11
cmp r11, r10
je 0x1400029ff
lea r11, [0x140000000]
nop
movzx eax, byte [rdx]
movzx r8d, byte [rax + r11 + 0x28400]
cmp r8b, 0x10
jae 0x1400029fa
cmp ecx, 0xfffffff
jb 0x1400029ea
jne 0x1400029e5
mov eax, r8d
cmp r8d, 0xf
jbe 0x1400029ed
mov r9b, 1
jmp 0x1400029f2
mov eax, r8d
shl ecx, 4
add ecx, eax
inc rdx
cmp rdx, r10
jne 0x1400029c0
mov r11, qword [rsp + 0x70]
cmp rdx, r11
je 0x140002a10
mov eax, dword [rbp + 0x30]
test r9b, r9b
cmove eax, ecx
mov dword [rbp + 0x30], eax
mov qword [rsp + 0x28], r12
lea r9, [rbp + 0x30]
lea r8, [0x140002da0]
mov dword [rsp + 0x20], r12d
xor edx, edx
mov dword [rbp + 0x34], r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x140002e20]
mov r9d, eax
lea ecx, [r8 + 5]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rbx, rax
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp qword [rbp - 0x50], 0xf
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
mov r9d, 0x40030
cmova r8, qword [rbp - 0x68]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140002ada
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ad5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov rdx, qword [rbp + 0x50]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], InitCommonControls
mov byte [rsp + 0x48], 0
cmp rdx, 0xf
jbe 0x140002b28
mov rcx, qword [rbp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b23
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov rdx, qword [rbp - 0x70]
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], InitCommonControls
mov byte [rbp + 0x38], 0
cmp rdx, 0xf
jbe 0x140002b74
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b6f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov rdx, qword [rbp - 0x50]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], InitCommonControls
mov byte [rsp + 0x78], 0
cmp rdx, 0xf
jbe 0x140002bc0
mov rcx, qword [rbp - 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bbb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov rdx, qword [rbp - 0x30]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], InitCommonControls
mov byte [rbp - 0x68], 0
cmp rdx, 0xf
jbe 0x140002c07
mov rcx, qword [rbp - 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c02
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
mov rdx, qword [rbp + 0x10]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], InitCommonControls
mov byte [rbp - 0x48], 0
cmp rdx, 0xf
jbe 0x140002c4e
mov rcx, qword [rbp - 8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c49
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c71
call fcn.140005b14
lea r11, [rsp + 0x310]
xor eax, eax
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000c820
int3
call fcn.140001170
int3
call fcn.140001170
int3
call fcn.14000c820
int3