Function at 0x1400d5720
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov r12, rcx
lea rcx, [rax + 0x10]
call fcn.1400598f0
xor esi, esi
movzx r13d, r9b
lea r15d, [rsi + 1]
lea rcx, [rsp + 0xa0]
cmp r9b, r15b
cmove r13d, esi
cmp r9b, r15b
sete bpl
call fcn.1400621f4
lea rcx, [rsp + 0xb0]
call fcn.1400621f4
lea rcx, [rsp + 0x1f8]
call fcn.1400598f0
cmp bpl, sil
je 0x1400d579a
sub qword [rsp + 0x1f8], 2
mov ebx, 0x3d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1f8]
mov r8d, ebx
call fcn.140066220
lea ecx, [rbx - 0x17]
cmp bpl, sil
je 0x1400d57ca
mov rax, qword [rsp + 0xa0]
mov word [rax], cx
lea rdx, [rsp + 0xa0]
xor r8d, r8d
mov rcx, r12
call fcn.140003a08
mov rax, qword [rsp + 0xa0]
movsx rcx, bpl
lea r14, [rax + rcx*2]
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0xa8], r14
cmp bx, word [rax]
jne 0x1400d5a3f
mov edi, 0x3b
add rax, 2
lea rdx, [rsp + 0xb0]
lea ebx, [rdi - 0xf]
lea rcx, [rsp + 0x1f8]
mov r9d, edi
mov r8d, ebx
mov qword [rsp + 0x1f8], rax
call fcn.1400662b4
mov r11, qword [rsp + 0x1f8]
movzx r9d, word [r11]
cmp bx, r9w
je 0x1400d584d
cmp di, r9w
jne 0x1400d5859
add r11, 2
mov qword [rsp + 0x1f8], r11
mov rbx, qword [rsp + 0xb0]
mov dil, sil
cmp r13b, sil
jne 0x1400d5a02
lea rcx, str.WINVER
mov rdx, rbx
call fcn.14005af40
mov r10d, 0x2a
cmp al, sil
jne 0x1400d58a2
lea rcx, [0x140125348]
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d5a02
mov dil, r10b
lea rcx, [rsp + 0x1f8]
call fcn.1400598f0
mov rcx, qword [rsp + 0x1f8]
mov eax, 0x5e
mov rbx, rsi
mov r14, rsi
cmp ax, word [rcx]
jne 0x1400d58d7
or r14, 0xffffffffffffffff
add rcx, 2
mov qword [rsp + 0x1f8], rcx
mov eax, 0x2b
cmp ax, word [rcx]
jne 0x1400d5909
lea rax, [rcx + 2]
mov dil, r15b
cmp word [rax], si
jne 0x1400d58fe
mov word [rcx], r10w
mov rcx, qword [rsp + 0x1f8]
mov dil, r10b
jmp 0x1400d5909
mov rcx, rax
mov qword [rsp + 0x1f8], rax
movzx ebp, word [rcx]
cmp bp, si
jne 0x1400d591a
cmp dil, sil
je 0x1400d59c9
mov qword [rsp + 0x58], rsi
cmp r10w, word [rcx]
je 0x1400d592a
cmp dil, r10b
jne 0x1400d599f
lea rcx, [rsp + 0x100]
lea rdx, str._SystemRoot_System32kernel32.dll
mov r8d, 0x48
call fcn.1400fe850
cmp byte [r12 + 0xda], sil
jne 0x1400d5975
test byte [r12 + 0xd], 0xf
jne 0x1400d5975
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.1400799b0
jmp 0x1400d5992
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.140077e38
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x1f8], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov dword [rsp + 0x20], r15d
call fcn.140005c34
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.140059920
cmp dil, sil
jne 0x1400d59c9
cmp bp, si
jne 0x1400d59e3
mov rbp, rbx
call fcn.14005d0b8
mov rbx, rax
cmp dil, sil
je 0x1400d59e3
shl rbx, 0x10
movzx eax, bp
or rbx, rax
mov r8, qword [rsp + 0xa8]
lea r9, [0x1401176e0]
mov rdx, rbx
mov rcx, r12
call fcn.1400654b8
jmp 0x1400d65f2
lea rcx, [0x1401252ec]
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d5a2d
call fcn.14000e0e8
mov r8, r14
mov rcx, r12
mov edx, eax
call fcn.140065590
jmp 0x1400d65f2
mov r14d, 0x2c
cmp r9w, si
je 0x1400d5a4b
cmp r14w, r9w
je 0x1400d5a4b
mov rsi, 0xffffffff80070057
jmp 0x1400d65f2
cmp r13b, sil
je 0x1400d5a5a
cmp r13b, 2
jne 0x1400d61b6
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x90]
call fcn.14006e2a8
mov rdi, qword [rsp + 0x90]
cmp bpl, sil
je 0x1400d5a84
mov eax, 0x26
mov word [rdi], ax
lea rcx, [rsp + 0x1f8]
call fcn.1400598f0
lea rcx, str.FVER
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d5bfa
lea rcx, [rsp + 0x58]
call fcn.1400621f4
mov rcx, qword [rsp + 0x1f8]
mov qword [rsp + 0x68], rsi
call fcn.14001be3c
lea rcx, [rsp + 0x70]
mov rbx, rsi
mov r8d, 0x3b
mov edx, r14d
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x70], rdi
movzx ebp, si
call fcn.140059af0
mov rcx, qword [rsp + 0x70]
cmp word [rcx], si
je 0x1400d5b36
mov word [rcx], si
add rcx, 2
mov r9d, r8d
mov qword [rsp + 0x70], rcx
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x70]
mov r8d, r14d
call fcn.1400662b4
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov bp, word [rbx]
mov qword [rsp + 0x98], rsi
cmp word [rcx], si
je 0x1400d5b63
mov word [rcx], si
add rcx, 2
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call fcn.1400ce2d8
mov r15, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f8]
movzx eax, bp
lea r9, [rsp + 0x98]
neg ax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x20], r15d
sbb r8, r8
and r8, rax
movzx eax, word [rdi]
neg ax
lea rax, [rsp + 0x58]
sbb rdx, rdx
and rdx, rax
call fcn.140005c34
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.14006150c
cmp bp, si
je 0x1400d5bc4
mov r8, qword [rsp + 0x68]
mov rdx, rbx
mov rcx, r12
call fcn.14006150c
mov rsi, qword [rsp + 0x98]
lea rcx, [rsp + 0x80]
call fcn.140059920
lea rcx, [rsp + 0x68]
call fcn.140059920
lea rcx, [rsp + 0x58]
call fcn.140059920
lea rcx, [rsp + 0x90]
jmp 0x1400d65ed
lea rcx, str.FTIME
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d5f1f
mov rcx, qword [rsp + 0x1f8]
call fcn.14001be3c
lea rcx, [rsp + 0x70]
mov rbx, rax
mov qword [rsp + 0xa8], rax
call fcn.1400621f4
lea rcx, [rsp + 0x60]
call fcn.1400621f4
lea rcx, [rsp + 0x88]
call fcn.1400621f4
movsx r10, bpl
mov eax, 0x2d
lea r11, [rdi + r10*2]
mov r14d, esi
mov qword [rsp + 0x50], r11
cmp ax, word [r11]
jne 0x1400d5d78
lea ebx, [rax - 0x20]
lea r13d, [rax - 7]
mov r12d, eax
lea rdx, [rsp + 0x50]
lea rcx, str._local
mov r8d, 6
call fcn.140064cd0
cmp al, sil
je 0x1400d5cb0
cmp bpl, sil
je 0x1400d5ca7
mov rax, qword [rsp + 0x50]
sub rax, 2
mov qword [rsp + 0x50], rax
mov word [rax], r13w
or bpl, 2
jmp 0x1400d5d59
lea rdx, [rsp + 0x50]
lea rcx, [0x1401231d0]
mov r8d, 3
call fcn.140064cd0
cmp al, sil
je 0x1400d5cd5
or bpl, 4
jmp 0x1400d5d59
lea rdx, [rsp + 0x50]
lea rcx, str._ws1
mov r8d, 4
call fcn.140064cd0
cmp al, sil
je 0x1400d5cf7
or bpl, 8
jmp 0x1400d5d59
lea rdx, [rsp + 0x50]
lea rcx, str._link
mov r8d, 5
call fcn.140064cd0
cmp al, sil
je 0x1400d5d18
mov r14d, r15d
jmp 0x1400d5d59
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx]
cmp ax, si
je 0x1400d5d4f
mov edx, 9
cmp dx, ax
ja 0x1400d5d34
cmp ax, bx
jbe 0x1400d5d4a
mov edx, 0x20
cmp dx, ax
je 0x1400d5d4a
add rcx, 2
mov ax, word [rcx]
cmp ax, si
jne 0x1400d5d25
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.1400598f0
mov rax, qword [rsp + 0x50]
cmp r12w, word [rax]
je 0x1400d5c74
mov r12, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xa8]
cmp bpl, sil
je 0x1400d5d85
mov eax, 0x26
mov word [rdi], ax
mov edi, 0x2c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, edi
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp di, word [rax]
jne 0x1400d5de9
add rax, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x50], rax
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp di, word [rax]
jne 0x1400d5de9
add rax, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x50], rax
call fcn.140066220
lea r13, [rsp + 0x180]
mov edi, esi
cmp r14d, esi
je 0x1400d5e6a
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x78]
mov r9d, 3
mov r8d, 0x80000000
mov rdx, rbx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x20], rsi
call fcn.14000384c
mov rbx, qword [rsp + 0x78]
cmp rbx, rsi
je 0x1400d5e49
lea rdx, [rsp + 0x100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov edi, eax
lea r13, [rsp + 0x100]
cmp rbx, rsi
je 0x1400d5e7f
or r14, 0xffffffffffffffff
cmp rbx, r14
je 0x1400d5e7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d5e7f
lea r8, [rsp + 0x180]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov edi, eax
mov rdx, qword [rsp + 0x70]
mov rcx, r12
cmp edi, esi
je 0x1400d5ee3
lea r8, [r13 + 4]
mov r9b, bpl
call fcn.140066dd0
mov rdx, qword [rsp + 0x60]
lea r8, [r13 + 0x14]
mov r9b, bpl
mov rcx, r12
call fcn.140066dd0
mov rdx, qword [rsp + 0x88]
lea r8, [r13 + 0xc]
mov r9b, bpl
mov rcx, r12
call fcn.140066dd0
lea rcx, [rsp + 0x88]
call fcn.140059920
lea rcx, [rsp + 0x60]
call fcn.140059920
lea rcx, [rsp + 0x70]
jmp 0x1400d5be8
lea r13, [0x1401175e8]
mov r8, r13
call fcn.14006150c
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.14006150c
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, r12
call fcn.14006150c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d5ec2
lea rcx, str.FATTR
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d61a9
mov rcx, qword [rsp + 0x1f8]
call fcn.14001be3c
mov r13d, 0x26
mov rbx, rax
cmp bpl, sil
je 0x1400d5f56
mov word [rdi], r13w
lea rcx, [rsp + 0x58]
call fcn.1400621f4
lea rcx, [rsp + 0x70]
call fcn.1400621f4
lea rcx, [rsp + 0x60]
call fcn.1400621f4
lea rcx, [rsp + 0x88]
call fcn.1400621f4
lea rcx, [rsp + 0x68]
call fcn.1400621f4
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r14d
mov qword [rsp + 0x50], rdi
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6071
cmp bpl, sil
je 0x1400d5fbc
mov word [rax], r13w
jmp 0x1400d5fc5
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6071
cmp bpl, sil
je 0x1400d5ff1
mov word [rax], r13w
jmp 0x1400d5ffa
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6071
cmp bpl, sil
je 0x1400d6022
mov word [rax], r13w
jmp 0x1400d602b
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6071
cmp bpl, sil
je 0x1400d6056
mov word [rax], r13w
jmp 0x1400d605f
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov rcx, r12
cmp eax, esi
je 0x1400d6158
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x58]
shr edx, 5
and edx, r15d
call fcn.140065590
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
shr edx, 1
mov rcx, r12
and edx, r15d
call fcn.140065590
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x60]
and edx, r15d
mov rcx, r12
call fcn.140065590
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x88]
shr edx, 2
mov rcx, r12
and edx, r15d
call fcn.140065590
mov r8d, dword [rsp + 0xd0]
lea rdx, str.0x_lX
lea rcx, [rsp + 0x100]
mov word [rsp + 0x100], si
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x100]
mov rcx, r12
call fcn.14006150c
lea rcx, [rsp + 0x68]
call fcn.140059920
lea rcx, [rsp + 0x88]
call fcn.140059920
lea rcx, [rsp + 0x60]
call fcn.140059920
lea rcx, [rsp + 0x70]
jmp 0x1400d5bde
mov rdx, qword [rsp + 0x58]
lea r13, [0x1401175e8]
mov r8, r13
call fcn.14006150c
mov rdx, qword [rsp + 0x70]
mov r8, r13
mov rcx, r12
call fcn.14006150c
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.14006150c
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, r12
call fcn.14006150c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d612d
lea rcx, [rsp + 0x90]
call fcn.140059920
cmp r13b, sil
jne 0x1400d6bb1
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.14006e2a8
lea rcx, [rsp + 0x1f8]
call fcn.1400598f0
lea rcx, str.DROPFILE
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d630f
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x78], rsi
call fcn.140072234
lea rcx, [rsp + 0x60]
call fcn.1400621f4
lea rcx, [rsp + 0x88]
call fcn.1400621f4
mov r11, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov r8d, r14d
mov qword [rsp + 0x68], r11
call fcn.140066220
mov rax, qword [rsp + 0x68]
cmp r14w, word [rax]
jne 0x1400d627a
cmp bpl, sil
je 0x1400d625c
mov r13d, 0x26
mov word [rax], r13w
jmp 0x1400d6265
add rax, 2
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
mov r8d, r14d
call fcn.140066220
lea rcx, [rsp + 0x58]
call fcn.1400621f4
lea rcx, [rsp + 0x80]
call fcn.1400621f4
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
cmp word [rbx], si
lea r8, [rsp + 0x80]
cmove r8, rsi
cmp rcx, rsi
je 0x1400d62bc
lea rdx, [rsp + 0x58]
call fcn.14000653c
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.14006150c
mov r8, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, r12
call fcn.14006150c
lea rcx, [rsp + 0x80]
call fcn.140059920
lea rcx, [rsp + 0x58]
call fcn.140059920
lea rcx, [rsp + 0x88]
call fcn.140059920
lea rcx, [rsp + 0x60]
jmp 0x1400d6ba2
lea rcx, str.FPOS
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d6614
mov rcx, qword [rsp + 0x1f8]
call fcn.14001be3c
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rax
call fcn.1400598f0
mov rcx, qword [rsp + 0x80]
call fcn.140018b2c
lea rcx, [rsp + 0x78]
call fcn.1400621f4
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x78]
call fcn.14001c298
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r13d, 0x26
cmp bpl, sil
je 0x1400d638b
mov word [rbx], r13w
lea rcx, [rsp + 0x98]
call fcn.1400621f4
lea rcx, [rsp + 0x90]
call fcn.1400621f4
lea rcx, [rsp + 0x60]
call fcn.1400621f4
lea rcx, [rsp + 0x88]
call fcn.1400621f4
lea rcx, [rsp + 0x58]
call fcn.1400621f4
lea rcx, [rsp + 0x68]
call fcn.1400621f4
lea rcx, [rsp + 0x80]
call fcn.1400621f4
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
mov r8d, r14d
mov qword [rsp + 0x50], rbx
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6536
cmp bpl, sil
je 0x1400d6411
mov word [rax], r13w
jmp 0x1400d641a
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6536
cmp bpl, sil
je 0x1400d6449
mov word [rax], r13w
jmp 0x1400d6452
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6536
cmp bpl, sil
je 0x1400d647e
mov word [rax], r13w
jmp 0x1400d6487
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6536
cmp bpl, sil
je 0x1400d64b6
mov word [rax], r13w
jmp 0x1400d64bf
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6536
cmp bpl, sil
je 0x1400d64e7
mov word [rax], r13w
jmp 0x1400d64f0
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d6536
cmp bpl, sil
je 0x1400d6518
mov word [rax], r13w
jmp 0x1400d6521
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.140066220
mov rax, qword [rsp + 0x80]
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
mov rcx, r12
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400550ac
lea rcx, [rsp + 0x80]
movsxd rsi, eax
call fcn.140059920
lea rcx, [rsp + 0x68]
call fcn.140059920
lea rcx, [rsp + 0x58]
call fcn.140059920
lea rcx, [rsp + 0x88]
call fcn.140059920
lea rcx, [rsp + 0x60]
call fcn.140059920
lea rcx, [rsp + 0x90]
call fcn.140059920
lea rcx, [rsp + 0x98]
call fcn.140059920
lea rcx, [rsp + 0x78]
call fcn.140059920
lea rcx, [rsp + 0x70]
call fcn.140059920
lea rcx, [rsp + 0xb0]
call fcn.140059920
lea rcx, [rsp + 0xa0]
call fcn.140059920
mov rax, rsi
jmp 0x1400d6bcd
lea rcx, [0x1401252a8]
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d664e
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x78], rsi
call fcn.140072234
mov rcx, qword [rsp + 0x78]
call fcn.140006980
mov rdx, rax
jmp 0x1400d6669
lea rcx, str.ISADMIN
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d667b
call fcn.1400e2620
mov edx, eax
mov r8, qword [rsp + 0x70]
mov rcx, r12
call fcn.140065590
jmp 0x1400d6ba7
lea rcx, str.fvar
mov rdx, rbx
call fcn.14005af40
cmp al, sil
jne 0x1400d6be8
lea rcx, [0x140125288]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, esi
je 0x1400d6be8
lea rcx, str.PWIN
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d687d
lea rcx, [rsp + 0x98]
call fcn.1400621f4
lea rcx, [rsp + 0x78]
call fcn.1400621f4
mov r11, qword [rsp + 0x70]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov r8d, r14d
mov qword [rsp + 0x80], r11
call fcn.14005311c
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
mov r8d, r14d
call fcn.140066220
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x50], rsi
call fcn.140007bf8
mov ecx, dword [rsp + 0x60]
cmp eax, esi
lea rdx, [rsp + 0x50]
cmovne ecx, dword [rsp + 0x50]
mov dword [rsp + 0x60], ecx
lea rcx, [rsp + 0x1f8]
call fcn.140007bf8
mov ecx, dword [rsp + 0x64]
lea rdx, [rsp + 0x50]
cmp eax, esi
cmovne ecx, dword [rsp + 0x50]
mov qword [rsp + 0x50], 3
mov dword [rsp + 0x64], ecx
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x58], rax
call fcn.140007bf8
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rbx, qword [rsp + 0x78]
mov rbp, rax
mov rdi, rax
cmp rax, rsi
je 0x1400d6837
mov r13, qword [rsp + 0x50]
cmp r13, 3
jne 0x1400d67c3
cmp word [rbx], si
je 0x1400d6837
mov r14d, 0xfffffff0
jmp 0x1400d67dc
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rsi
je 0x1400d67ee
mov rdi, rax
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x1400d67cb
cmp r13, 3
je 0x1400d6837
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x6c], esi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r11d, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
sub dword [rsp + 0x58], r11d
mov r8d, r13d
sub dword [rsp + 0x5c], eax
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov rbp, rdi
call qword [sym.imp.USER32.dll_ChildWindowFromPointEx]
cmp rax, rsi
cmovne rbp, rax
mov r8, qword [rsp + 0x98]
lea r9, [0x1401176e0]
mov rdx, rbp
mov rcx, r12
call fcn.1400654b8
lea r9, [0x1401176e0]
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.1400654b8
lea rcx, [rsp + 0x78]
call fcn.140059920
lea rcx, [rsp + 0x98]
jmp 0x1400d6ba2
lea rcx, str.PEBIT
mov rdx, rbx
call fcn.14005af40
cmp al, sil
je 0x1400d6ba7
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x98], rax
call fcn.1400621f4
lea rcx, [rsp + 0x58]
call fcn.1400621f4
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x98]
xor r9d, r9d
mov r8d, r14d
call fcn.14005311c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
mov r8d, r14d
call fcn.140066220
or r14, 0xffffffffffffffff
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x1f8]
lea r8d, [r14 + 0xe]
mov rbp, r14
lea r13, [0x1401175e8]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0xa8], rsi
call fcn.140024ccc
mov rcx, qword [rsp + 0x1f8]
cmp word [rcx], si
je 0x1400d6b4a
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [rsp + 0x1f8]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1400d695f
cmp word [rax + rcx*2 - 2], 0x2f
je 0x1400d695f
mov rcx, rax
call fcn.1400fce9c
cmp eax, esi
jne 0x1400d6964
mov rdx, qword [rsp + 0x1f8]
jmp 0x1400d6994
mov word [rax + rcx*2 - 2], si
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.14006e3dc
lea rdx, str._version.dll
lea rcx, [rsp + 0x68]
call fcn.140062330
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0x80]
mov r9d, 7
mov r8d, 0x80000000
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x20], rsi
call fcn.14000384c
mov rdi, qword [rsp + 0x80]
cmp rdi, rsi
je 0x1400d6b4a
mov r15d, 0x1000
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x208], esi
mov rdx, r15
call fcn.140062268
mov rbx, qword [rsp + 0x80]
mov r8, r15
mov rcx, rbx
xor edx, edx
call fcn.1400fdc00
lea r9, [rsp + 0x208]
mov r8d, r15d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x1400d6b2f
mov edx, dword [rsp + 0x208]
cmp edx, 0x40
jb 0x1400d6b2f
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400d6b2f
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 8]
cmp eax, edx
jbe 0x1400d6a9e
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
mov qword [rbx], rsi
call fcn.14005adf0
lea r9, [rsp + 0x208]
mov r8d, 8
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x208], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x208]
mov ecx, esi
lea eax, [rcx + 8]
cmp eax, edx
ja 0x1400d6b2f
mov eax, ecx
mov rbp, qword [rax + rbx]
movabs rax, 0xffffffffffff
and rbp, rax
movabs rax, 0x866400004550
cmp rbp, rax
jne 0x1400d6ad4
lea r13, [0x140125250]
jmp 0x1400d6b2f
movabs rax, 0x14c00004550
cmp rbp, rax
je 0x1400d6b28
movabs rax, 0x20000004550
cmp rbp, rax
jne 0x1400d6afb
lea r13, str.ia64
jmp 0x1400d6b2f
movabs rax, 0x1373c05454e
cmp rbp, rax
je 0x1400d6b28
movabs rax, 0x1b03c05454e
cmp rbp, rax
je 0x1400d6b28
movabs rax, 0xe73c05454e
cmp rbp, rax
jne 0x1400d6b2f
lea r13, [0x140125238]
lea rcx, [rsp + 0x80]
call fcn.140059920
cmp rdi, r14
je 0x1400d6b4a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x78]
mov r8, r13
mov rcx, r12
call fcn.14006150c
cmp rbp, rsi
mov rcx, r12
jg 0x1400d6b75
mov rdx, qword [rsp + 0x58]
lea r8, str._0x000000000001
call fcn.14006150c
jmp 0x1400d6b89
mov r8, qword [rsp + 0x58]
lea r9, str.0x_012I64X
mov rdx, rbp
call fcn.1400654b8
lea rcx, [rsp + 0x68]
call fcn.140059920
lea rcx, [rsp + 0x58]
call fcn.140059920
lea rcx, [rsp + 0x78]
call fcn.140059920
lea rcx, [rsp + 0x70]
call fcn.140059920
lea rcx, [rsp + 0xb0]
call fcn.140059920
lea rcx, [rsp + 0xa0]
call fcn.140059920
xor eax, eax
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x2b
lea rcx, [rsp + 0x80]
cmp word [rbx + 8], ax
setne r14b
sub r14b, r15b
and r14b, al
mov byte [rsp + 0x208], r14b
call fcn.1400621f4
lea rcx, [rsp + 0x60]
call fcn.1400621f4
mov rax, qword [rsp + 0x70]
lea rdi, str.8BE4DF61_93CA_11D2_AA0D_00E098032B8C
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa8], rsi
lea r13, [0x1401175e8]
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x90], sil
cmp r14b, sil
je 0x1400d6c99
lea rdx, [rsp + 0x88]
lea rcx, [0x140124070]
mov r8d, 2
call fcn.140064cd0
mov ecx, dword [rsp + 0x90]
cmp al, sil
mov rax, qword [rsp + 0x88]
movzx ecx, cl
cmovne ecx, r15d
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x90], ecx
mov r15d, 0x3b
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f8]
lea r14d, [r15 - 0xf]
mov r9d, r15d
mov qword [rsp + 0x68], rsi
mov r8d, r14d
call fcn.1400662b4
mov r11, qword [rsp + 0x1f8]
movzx eax, word [r11]
cmp ax, si
je 0x1400d6d12
add r11, 2
mov qword [rsp + 0x1f8], r11
cmp r15w, ax
jne 0x1400d6d12
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1f8]
xor r9d, r9d
mov r8d, r14d
call fcn.14005311c
mov rax, qword [rsp + 0x80]
cmp word [rax], si
cmovne rdi, rax
mov qword [rsp + 0x58], rdi
mov edx, 2
lea rcx, str.SeSystemEnvironmentPrivilege
lea r8d, [rdx + 0x7e]
call fcn.14001c2f4
or r14, 0xffffffffffffffff
mov edi, esi
mov r15, r14
mov qword [rsp + 0x78], r14
cmp byte [rsp + 0x208], sil
je 0x1400d6f80
lea rcx, [rsp + 0xb8]
call fcn.1400621f4
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rsi
cmp word [rax], si
je 0x1400d6d77
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.14006691c
mov r13d, dword [rsp + 0x90]
lea rcx, [0x140138118]
mov al, r13b
neg al
sbb rbp, rbp
and rbp, rcx
je 0x1400d6d9c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r13b, sil
je 0x1400d6def
mov rdx, qword [rsp + 0x1f8]
mov r9d, r14d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.140018934
mov qword [rsp + 0x1f8], rsi
cmp rax, rsi
je 0x1400d6de8
mov rcx, qword [rax + 8]
mov qword [rsp + 0x1f8], rcx
mov r15, qword [rax + 0x18]
movabs rax, 0x3fffffffffffffff
and r15, rax
jmp 0x1400d6e12
mov edi, 1
jmp 0x1400d6e12
lea r8, [rbx + 0xa]
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x1f8]
call fcn.140081324
mov r15, qword [rsp + 0x78]
cmp r15, rsi
jl 0x1400d6ef6
mov rax, qword [rsp + 0xc0]
cmp word [rax], si
je 0x1400d6e9a
mov r10, qword [0x140137320]
mov edi, 0x7f
cmp r10, rsi
jne 0x1400d6e6b
lea r8, [0x140137320]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.14005afa4
mov r10, qword [0x140137320]
cmp r10, rsi
cmove r10, r14
mov qword [0x140137320], r10
cmp r10, r14
je 0x1400d6ef6
mov eax, dword [rsp + 0x68]
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov edi, esi
call r10
mov ebx, eax
jmp 0x1400d6ef8
mov rax, qword [0x140137338]
cmp rax, rsi
jne 0x1400d6ed8
lea r8, [0x140137338]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableW
xor r9d, r9d
call fcn.14005afa4
mov rax, qword [0x140137338]
cmp rax, rsi
cmove rax, r14
mov qword [0x140137338], rax
cmp rax, r14
je 0x1400d6ef6
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov r9d, r15d
call rax
jmp 0x1400d6e96
mov ebx, esi
cmp rbp, rsi
je 0x1400d6f06
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, esi
jne 0x1400d6f16
cmp edi, esi
jg 0x1400d6f16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0xc8]
call fcn.140059920
lea rcx, [rsp + 0xb8]
call fcn.140059920
lea rcx, [rsp + 0xa8]
call fcn.140059920
lea rcx, [rsp + 0x60]
call fcn.140059920
lea rcx, [rsp + 0x80]
call fcn.140059920
lea rcx, [rsp + 0x70]
call fcn.140059920
lea rcx, [rsp + 0xb0]
call fcn.140059920
lea rcx, [rsp + 0xa0]
call fcn.140059920
movsxd rax, edi
jmp 0x1400d6bcd
lea rcx, [rsp + 0x90]
mov edx, 0x1000
call fcn.140062268
lea rcx, [rsp + 0x98]
call fcn.1400621f4
xor r9d, r9d
lea rdx, [rsp + 0x98]
lea r8d, [r9 + 0x2c]
lea rcx, [rsp + 0x88]
call fcn.14005311c
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
lea rax, [0x1401227a0]
mov qword [rsp + 0xc0], rcx
mov edx, 0x2000
mov qword [rsp + 0x78], rax
cmp word [rcx], si
je 0x1400d7098
mov rax, qword [0x140137328]
mov edi, 0x7f
mov dword [rsp + 0x50], edi
cmp rax, rsi
jne 0x1400d7039
lea r8, [0x140137328]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.14005afa4
mov rax, qword [0x140137328]
mov edx, 0x2000
cmp rax, rsi
cmove rax, r14
mov qword [0x140137328], rax
cmp rax, r14
je 0x1400d7098
lea rcx, [rsp + 0x68]
mov r9d, edx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x60]
mov r8, rbx
call rax
mov r15d, eax
cmp eax, esi
je 0x1400d708a
mov r8d, dword [rsp + 0x68]
lea rax, [rsp + 0x100]
lea rdx, str.0x_X
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400d70f0
lea rax, str.FAIL
mov qword [rsp + 0x78], rax
jmp 0x1400d70f0
lea r8, [0x140137330]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableW
mov edi, 0x78
xor r9d, r9d
mov dword [rsp + 0x50], edi
call fcn.14005afa4
mov rax, qword [0x140137330]
mov r15d, esi
cmp rax, rsi
je 0x1400d70f0
cmp rax, r14
je 0x1400d70f0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov r9d, 0x2000
mov r8, rbx
mov edi, esi
mov dword [rsp + 0x50], esi
call rax
mov r15d, eax
mov rax, qword [rsp + 0x98]
movsx ecx, byte [r12 + 0xd]
movsx r10, bpl
lea r14, [rax + r10*2]
movsx eax, bpl
or ecx, eax
mov eax, 0x26
mov dword [rsp + 0x208], ecx
cmp ax, word [r14]
jne 0x1400d7123
or ecx, 2
jmp 0x1400d7159
mov eax, 0x24
cmp ax, word [r14]
je 0x1400d714e
mov eax, 0x5e
cmp ax, word [r14]
je 0x1400d714e
mov eax, 0x2e
cmp ax, word [r14]
mov eax, 0x26
jne 0x1400d7160
or ecx, 4
jmp 0x1400d7155
mov ecx, esi
mov eax, 0x26
add r14, 2
mov dword [rsp + 0x208], ecx
cmp bpl, sil
je 0x1400d716d
sub r14, 2
mov word [r14], ax
cmp r15d, esi
je 0x1400d7233
mov eax, 0x2000
cmp r15d, eax
cmova r15d, eax
cmp ecx, esi
jne 0x1400d722e
lea ebp, [r15 + 1]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xc8], rbx
lea eax, [rbp + rbp*4]
mov qword [rsp + 0x90], rsi
movsxd rdx, eax
call fcn.1400622f4
mov qword [rsp + 0xb8], rbx
mov rbx, qword [rsp + 0x90]
mov r13d, 1
lea rax, [rbx - 0xa]
sub ebp, r13d
cmp ebp, esi
jle 0x1400d721d
mov rdi, qword [rsp + 0xb8]
lea r12, [rbx - 0xa]
movzx r8d, byte [rdi]
add r12, 0xa
lea rdx, [0x14011d490]
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfW]
sub ebp, r13d
add rdi, r13
cmp ebp, esi
jg 0x1400d71df
mov edi, dword [rsp + 0x50]
mov qword [rsp + 0xb8], r12
mov r12, qword [rsp + 0x1f0]
mov rax, qword [rsp + 0xb8]
lea rcx, [rsp + 0xc8]
mov word [rax - 2], si
call fcn.140059920
mov r13, rbx
jmp 0x1400d723f
cmp edi, esi
jg 0x1400d723f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test byte [rsp + 0x208], 3
mov r8, r13
mov rdx, r14
mov rcx, r12
je 0x1400d726e
lea rax, [rsp + 0x90]
mov r9d, r15d
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rax
call fcn.140072bbc
jmp 0x1400d7273
call fcn.14006150c
mov rdx, qword [rsp + 0xc0]
cmp word [rdx], si
je 0x1400d728d
mov r8, qword [rsp + 0x78]
mov rcx, r12
call fcn.14006150c
lea rcx, [rsp + 0x98]
call fcn.140059920
lea rcx, [rsp + 0x90]
jmp 0x1400d6f2b