Function at 0x1400d2dc4
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.1400592c8
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.1400618c8
lea rcx, [rsp + 0xb0]
call fcn.1400618c8
lea rcx, [rsp + 0x1f8]
call fcn.1400592c8
cmp bpl, sil
je 0x1400d2e3e
sub qword [rsp + 0x1f8], 2
mov ebx, 0x3d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1f8]
mov r8d, ebx
call fcn.1400657b8
lea ecx, [rbx - 0x17]
cmp bpl, sil
je 0x1400d2e6e
mov rax, qword [rsp + 0xa0]
mov word [rax], cx
lea rdx, [rsp + 0xa0]
xor r8d, r8d
mov rcx, r12
call fcn.140003954
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 0x1400d30e3
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.14006584c
mov r11, qword [rsp + 0x1f8]
movzx r9d, word [r11]
cmp bx, r9w
je 0x1400d2ef1
cmp di, r9w
jne 0x1400d2efd
add r11, 2
mov qword [rsp + 0x1f8], r11
mov rbx, qword [rsp + 0xb0]
mov dil, sil
cmp r13b, sil
jne 0x1400d30a6
lea rcx, str.WINVER
mov rdx, rbx
call fcn.14005a9b0
mov r10d, 0x2a
cmp al, sil
jne 0x1400d2f46
lea rcx, [0x1401222d8]
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d30a6
mov dil, r10b
lea rcx, [rsp + 0x1f8]
call fcn.1400592c8
mov rcx, qword [rsp + 0x1f8]
mov eax, 0x5e
mov rbx, rsi
mov r14, rsi
cmp ax, word [rcx]
jne 0x1400d2f7b
or r14, 0xffffffffffffffff
add rcx, 2
mov qword [rsp + 0x1f8], rcx
mov eax, 0x2b
cmp ax, word [rcx]
jne 0x1400d2fad
lea rax, [rcx + 2]
mov dil, r15b
cmp word [rax], si
jne 0x1400d2fa2
mov word [rcx], r10w
mov rcx, qword [rsp + 0x1f8]
mov dil, r10b
jmp 0x1400d2fad
mov rcx, rax
mov qword [rsp + 0x1f8], rax
movzx ebp, word [rcx]
cmp bp, si
jne 0x1400d2fbe
cmp dil, sil
je 0x1400d306d
mov qword [rsp + 0x58], rsi
cmp r10w, word [rcx]
je 0x1400d2fce
cmp dil, r10b
jne 0x1400d3043
lea rcx, [rsp + 0x100]
lea rdx, str._SystemRoot_System32kernel32.dll
mov r8d, 0x48
call fcn.1400fb2d0
cmp byte [r12 + 0xda], sil
jne 0x1400d3019
test byte [r12 + 0xd], 0xf
jne 0x1400d3019
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.140078b84
jmp 0x1400d3036
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.14007700c
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.140005b6c
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.1400592f8
cmp dil, sil
jne 0x1400d306d
cmp bp, si
jne 0x1400d3087
mov rbp, rbx
call fcn.14005cb28
mov rbx, rax
cmp dil, sil
je 0x1400d3087
shl rbx, 0x10
movzx eax, bp
or rbx, rax
mov r8, qword [rsp + 0xa8]
lea r9, [0x1401146d0]
mov rdx, rbx
mov rcx, r12
call fcn.140064b0c
jmp 0x1400d3c96
lea rcx, str.ispe
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d30d1
call fcn.14000de34
mov r8, r14
mov rcx, r12
mov edx, eax
call fcn.140064be4
jmp 0x1400d3c96
mov r14d, 0x2c
cmp r9w, si
je 0x1400d30ef
cmp r14w, r9w
je 0x1400d30ef
mov rsi, 0xffffffff80070057
jmp 0x1400d3c96
cmp r13b, sil
je 0x1400d30fe
cmp r13b, 2
jne 0x1400d385a
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x98]
call fcn.14006d808
mov rdi, qword [rsp + 0x98]
cmp bpl, sil
je 0x1400d3128
mov eax, 0x26
mov word [rdi], ax
lea rcx, [rsp + 0x1f8]
call fcn.1400592c8
lea rcx, str.FVER
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d329e
lea rcx, [rsp + 0x58]
call fcn.1400618c8
mov rcx, qword [rsp + 0x1f8]
mov qword [rsp + 0x68], rsi
call fcn.14001b86c
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.140059560
mov rcx, qword [rsp + 0x70]
cmp word [rcx], si
je 0x1400d31da
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.14006584c
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov bp, word [rbx]
mov qword [rsp + 0x90], rsi
cmp word [rcx], si
je 0x1400d3207
mov word [rcx], si
add rcx, 2
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call fcn.1400cbb0c
mov r15, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f8]
movzx eax, bp
lea r9, [rsp + 0x90]
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.140005b6c
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.140060cec
cmp bp, si
je 0x1400d3268
mov r8, qword [rsp + 0x68]
mov rdx, rbx
mov rcx, r12
call fcn.140060cec
mov rsi, qword [rsp + 0x90]
lea rcx, [rsp + 0x80]
call fcn.1400592f8
lea rcx, [rsp + 0x68]
call fcn.1400592f8
lea rcx, [rsp + 0x58]
call fcn.1400592f8
lea rcx, [rsp + 0x98]
jmp 0x1400d3c91
lea rcx, str.FTIME
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d35c3
mov rcx, qword [rsp + 0x1f8]
call fcn.14001b86c
lea rcx, [rsp + 0x70]
mov rbx, rax
mov qword [rsp + 0xa8], rax
call fcn.1400618c8
lea rcx, [rsp + 0x60]
call fcn.1400618c8
lea rcx, [rsp + 0x88]
call fcn.1400618c8
movsx r10, bpl
mov eax, 0x2d
lea r11, [rdi + r10*2]
mov r14d, esi
mov qword [rsp + 0x50], r11
cmp ax, word [r11]
jne 0x1400d341c
lea ebx, [rax - 0x20]
lea r13d, [rax - 7]
mov r12d, eax
lea rdx, [rsp + 0x50]
lea rcx, str._local
mov r8d, 6
call fcn.140064324
cmp al, sil
je 0x1400d3354
cmp bpl, sil
je 0x1400d334b
mov rax, qword [rsp + 0x50]
sub rax, 2
mov qword [rsp + 0x50], rax
mov word [rax], r13w
or bpl, 2
jmp 0x1400d33fd
lea rdx, [rsp + 0x50]
lea rcx, [0x1401200e8]
mov r8d, 3
call fcn.140064324
cmp al, sil
je 0x1400d3379
or bpl, 4
jmp 0x1400d33fd
lea rdx, [rsp + 0x50]
lea rcx, str._ws1
mov r8d, 4
call fcn.140064324
cmp al, sil
je 0x1400d339b
or bpl, 8
jmp 0x1400d33fd
lea rdx, [rsp + 0x50]
lea rcx, str._link
mov r8d, 5
call fcn.140064324
cmp al, sil
je 0x1400d33bc
mov r14d, r15d
jmp 0x1400d33fd
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx]
cmp ax, si
je 0x1400d33f3
mov edx, 9
cmp dx, ax
ja 0x1400d33d8
cmp ax, bx
jbe 0x1400d33ee
mov edx, 0x20
cmp dx, ax
je 0x1400d33ee
add rcx, 2
mov ax, word [rcx]
cmp ax, si
jne 0x1400d33c9
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.1400592c8
mov rax, qword [rsp + 0x50]
cmp r12w, word [rax]
je 0x1400d3318
mov r12, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xa8]
cmp bpl, sil
je 0x1400d3429
mov eax, 0x26
mov word [rdi], ax
mov edi, 0x2c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, edi
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp di, word [rax]
jne 0x1400d348d
add rax, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x50], rax
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp di, word [rax]
jne 0x1400d348d
add rax, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x50], rax
call fcn.1400657b8
lea r13, [rsp + 0x180]
mov edi, esi
cmp r14d, esi
je 0x1400d350e
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.140003798
mov rbx, qword [rsp + 0x78]
cmp rbx, rsi
je 0x1400d34ed
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 0x1400d3523
or r14, 0xffffffffffffffff
cmp rbx, r14
je 0x1400d3523
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d3523
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 0x1400d3587
lea r8, [r13 + 4]
mov r9b, bpl
call fcn.140066368
mov rdx, qword [rsp + 0x60]
lea r8, [r13 + 0x14]
mov r9b, bpl
mov rcx, r12
call fcn.140066368
mov rdx, qword [rsp + 0x88]
lea r8, [r13 + 0xc]
mov r9b, bpl
mov rcx, r12
call fcn.140066368
lea rcx, [rsp + 0x88]
call fcn.1400592f8
lea rcx, [rsp + 0x60]
call fcn.1400592f8
lea rcx, [rsp + 0x70]
jmp 0x1400d328c
lea r13, [0x1401145d8]
mov r8, r13
call fcn.140060cec
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.140060cec
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, r12
call fcn.140060cec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d3566
lea rcx, str.FATTR
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d384d
mov rcx, qword [rsp + 0x1f8]
call fcn.14001b86c
mov r13d, 0x26
mov rbx, rax
cmp bpl, sil
je 0x1400d35fa
mov word [rdi], r13w
lea rcx, [rsp + 0x58]
call fcn.1400618c8
lea rcx, [rsp + 0x70]
call fcn.1400618c8
lea rcx, [rsp + 0x60]
call fcn.1400618c8
lea rcx, [rsp + 0x88]
call fcn.1400618c8
lea rcx, [rsp + 0x68]
call fcn.1400618c8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r14d
mov qword [rsp + 0x50], rdi
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3715
cmp bpl, sil
je 0x1400d3660
mov word [rax], r13w
jmp 0x1400d3669
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3715
cmp bpl, sil
je 0x1400d3695
mov word [rax], r13w
jmp 0x1400d369e
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3715
cmp bpl, sil
je 0x1400d36c6
mov word [rax], r13w
jmp 0x1400d36cf
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3715
cmp bpl, sil
je 0x1400d36fa
mov word [rax], r13w
jmp 0x1400d3703
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov rcx, r12
cmp eax, esi
je 0x1400d37fc
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x58]
shr edx, 5
and edx, r15d
call fcn.140064be4
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
shr edx, 1
mov rcx, r12
and edx, r15d
call fcn.140064be4
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x60]
and edx, r15d
mov rcx, r12
call fcn.140064be4
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x88]
shr edx, 2
mov rcx, r12
and edx, r15d
call fcn.140064be4
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.140060cec
lea rcx, [rsp + 0x68]
call fcn.1400592f8
lea rcx, [rsp + 0x88]
call fcn.1400592f8
lea rcx, [rsp + 0x60]
call fcn.1400592f8
lea rcx, [rsp + 0x70]
jmp 0x1400d3282
mov rdx, qword [rsp + 0x58]
lea r13, [0x1401145d8]
mov r8, r13
call fcn.140060cec
mov rdx, qword [rsp + 0x70]
mov r8, r13
mov rcx, r12
call fcn.140060cec
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.140060cec
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, r12
call fcn.140060cec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d37d1
lea rcx, [rsp + 0x98]
call fcn.1400592f8
cmp r13b, sil
jne 0x1400d4255
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.14006d808
lea rcx, [rsp + 0x1f8]
call fcn.1400592c8
lea rcx, str.DROPFILE
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d39b3
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x78], rsi
call fcn.140071778
lea rcx, [rsp + 0x60]
call fcn.1400618c8
lea rcx, [rsp + 0x88]
call fcn.1400618c8
mov r11, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov r8d, r14d
mov qword [rsp + 0x68], r11
call fcn.1400657b8
mov rax, qword [rsp + 0x68]
cmp r14w, word [rax]
jne 0x1400d391e
cmp bpl, sil
je 0x1400d3900
mov r13d, 0x26
mov word [rax], r13w
jmp 0x1400d3909
add rax, 2
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
mov r8d, r14d
call fcn.1400657b8
lea rcx, [rsp + 0x58]
call fcn.1400618c8
lea rcx, [rsp + 0x80]
call fcn.1400618c8
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 0x1400d3960
lea rdx, [rsp + 0x58]
call fcn.140006474
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.140060cec
mov r8, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, r12
call fcn.140060cec
lea rcx, [rsp + 0x80]
call fcn.1400592f8
lea rcx, [rsp + 0x58]
call fcn.1400592f8
lea rcx, [rsp + 0x88]
call fcn.1400592f8
lea rcx, [rsp + 0x60]
jmp 0x1400d4246
lea rcx, str.FPOS
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d3cb8
mov rcx, qword [rsp + 0x1f8]
call fcn.14001b86c
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rax
call fcn.1400592c8
mov rcx, qword [rsp + 0x80]
call fcn.14001885c
lea rcx, [rsp + 0x78]
call fcn.1400618c8
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x78]
call fcn.14001bcc8
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r13d, 0x26
cmp bpl, sil
je 0x1400d3a2f
mov word [rbx], r13w
lea rcx, [rsp + 0x90]
call fcn.1400618c8
lea rcx, [rsp + 0x98]
call fcn.1400618c8
lea rcx, [rsp + 0x60]
call fcn.1400618c8
lea rcx, [rsp + 0x88]
call fcn.1400618c8
lea rcx, [rsp + 0x58]
call fcn.1400618c8
lea rcx, [rsp + 0x68]
call fcn.1400618c8
lea rcx, [rsp + 0x80]
call fcn.1400618c8
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
mov r8d, r14d
mov qword [rsp + 0x50], rbx
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3bda
cmp bpl, sil
je 0x1400d3ab5
mov word [rax], r13w
jmp 0x1400d3abe
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3bda
cmp bpl, sil
je 0x1400d3aed
mov word [rax], r13w
jmp 0x1400d3af6
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3bda
cmp bpl, sil
je 0x1400d3b22
mov word [rax], r13w
jmp 0x1400d3b2b
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3bda
cmp bpl, sil
je 0x1400d3b5a
mov word [rax], r13w
jmp 0x1400d3b63
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3bda
cmp bpl, sil
je 0x1400d3b8b
mov word [rax], r13w
jmp 0x1400d3b94
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d3bda
cmp bpl, sil
je 0x1400d3bbc
mov word [rax], r13w
jmp 0x1400d3bc5
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400657b8
mov rax, qword [rsp + 0x80]
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
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.140054aa4
lea rcx, [rsp + 0x80]
movsxd rsi, eax
call fcn.1400592f8
lea rcx, [rsp + 0x68]
call fcn.1400592f8
lea rcx, [rsp + 0x58]
call fcn.1400592f8
lea rcx, [rsp + 0x88]
call fcn.1400592f8
lea rcx, [rsp + 0x60]
call fcn.1400592f8
lea rcx, [rsp + 0x98]
call fcn.1400592f8
lea rcx, [rsp + 0x90]
call fcn.1400592f8
lea rcx, [rsp + 0x78]
call fcn.1400592f8
lea rcx, [rsp + 0x70]
call fcn.1400592f8
lea rcx, [rsp + 0xb0]
call fcn.1400592f8
lea rcx, [rsp + 0xa0]
call fcn.1400592f8
mov rax, rsi
jmp 0x1400d4271
lea rcx, str.PPID
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d3cf2
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x78], rsi
call fcn.140071778
mov rcx, qword [rsp + 0x78]
call fcn.1400068b8
mov rdx, rax
jmp 0x1400d3d0d
lea rcx, str.ISADMIN
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d3d1f
call fcn.1400dfb50
mov edx, eax
mov r8, qword [rsp + 0x70]
mov rcx, r12
call fcn.140064be4
jmp 0x1400d424b
lea rcx, str.fvar
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
jne 0x1400d428c
lea rcx, [0x140122218]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, esi
je 0x1400d428c
lea rcx, str.PWIN
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d3f21
lea rcx, [rsp + 0x90]
call fcn.1400618c8
lea rcx, [rsp + 0x78]
call fcn.1400618c8
mov r11, qword [rsp + 0x70]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov r8d, r14d
mov qword [rsp + 0x80], r11
call fcn.140052b14
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
mov r8d, r14d
call fcn.1400657b8
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.140007b30
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.140007b30
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.140007b30
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 0x1400d3edb
mov r13, qword [rsp + 0x50]
cmp r13, 3
jne 0x1400d3e67
cmp word [rbx], si
je 0x1400d3edb
mov r14d, 0xfffffff0
jmp 0x1400d3e80
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rsi
je 0x1400d3e92
mov rdi, rax
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x1400d3e6f
cmp r13, 3
je 0x1400d3edb
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 + 0x90]
lea r9, [0x1401146d0]
mov rdx, rbp
mov rcx, r12
call fcn.140064b0c
lea r9, [0x1401146d0]
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.140064b0c
lea rcx, [rsp + 0x78]
call fcn.1400592f8
lea rcx, [rsp + 0x90]
jmp 0x1400d4246
lea rcx, str.PEBIT
mov rdx, rbx
call fcn.14005a9b0
cmp al, sil
je 0x1400d424b
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x90], rax
call fcn.1400618c8
lea rcx, [rsp + 0x58]
call fcn.1400618c8
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x90]
xor r9d, r9d
mov r8d, r14d
call fcn.140052b14
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov r8d, r14d
call fcn.1400657b8
or r14, 0xffffffffffffffff
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x1f8]
lea r8d, [r14 + 0xe]
mov rbp, r14
lea r13, [0x1401145d8]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0xa8], rsi
call fcn.140024c20
mov rcx, qword [rsp + 0x1f8]
cmp word [rcx], si
je 0x1400d41ee
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [rsp + 0x1f8]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1400d4003
cmp word [rax + rcx*2 - 2], 0x2f
je 0x1400d4003
mov rcx, rax
call fcn.1400f998c
cmp eax, esi
jne 0x1400d4008
mov rdx, qword [rsp + 0x1f8]
jmp 0x1400d4038
mov word [rax + rcx*2 - 2], si
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.14006d920
lea rdx, str._version.dll
lea rcx, [rsp + 0x68]
call fcn.140061a04
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.140003798
mov rdi, qword [rsp + 0x80]
cmp rdi, rsi
je 0x1400d41ee
mov r15d, 0x1000
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x208], esi
mov rdx, r15
call fcn.14006193c
mov rbx, qword [rsp + 0x80]
mov r8, r15
mov rcx, rbx
xor edx, edx
call fcn.1400fa680
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 0x1400d41d3
mov edx, dword [rsp + 0x208]
cmp edx, 0x40
jb 0x1400d41d3
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400d41d3
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 8]
cmp eax, edx
jbe 0x1400d4142
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
mov qword [rbx], rsi
call fcn.14005a860
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 0x1400d41d3
mov eax, ecx
mov rbp, qword [rax + rbx]
movabs rax, 0xffffffffffff
and rbp, rax
movabs rax, 0x866400004550
cmp rbp, rax
jne 0x1400d4178
lea r13, [0x1401221e0]
jmp 0x1400d41d3
movabs rax, 0x14c00004550
cmp rbp, rax
je 0x1400d41cc
movabs rax, 0x20000004550
cmp rbp, rax
jne 0x1400d419f
lea r13, str.ia64
jmp 0x1400d41d3
movabs rax, 0x1373c05454e
cmp rbp, rax
je 0x1400d41cc
movabs rax, 0x1b03c05454e
cmp rbp, rax
je 0x1400d41cc
movabs rax, 0xe73c05454e
cmp rbp, rax
jne 0x1400d41d3
lea r13, [0x1401221c8]
lea rcx, [rsp + 0x80]
call fcn.1400592f8
cmp rdi, r14
je 0x1400d41ee
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x78]
mov r8, r13
mov rcx, r12
call fcn.140060cec
cmp rbp, rsi
mov rcx, r12
jg 0x1400d4219
mov rdx, qword [rsp + 0x58]
lea r8, str._0x000000000001
call fcn.140060cec
jmp 0x1400d422d
mov r8, qword [rsp + 0x58]
lea r9, str.0x_012I64X
mov rdx, rbp
call fcn.140064b0c
lea rcx, [rsp + 0x68]
call fcn.1400592f8
lea rcx, [rsp + 0x58]
call fcn.1400592f8
lea rcx, [rsp + 0x78]
call fcn.1400592f8
lea rcx, [rsp + 0x70]
call fcn.1400592f8
lea rcx, [rsp + 0xb0]
call fcn.1400592f8
lea rcx, [rsp + 0xa0]
call fcn.1400592f8
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.1400618c8
lea rcx, [rsp + 0x60]
call fcn.1400618c8
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, [0x1401145d8]
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x98], sil
cmp r14b, sil
je 0x1400d433d
lea rdx, [rsp + 0x88]
lea rcx, [0x140120f90]
mov r8d, 2
call fcn.140064324
mov ecx, dword [rsp + 0x98]
cmp al, sil
mov rax, qword [rsp + 0x88]
movzx ecx, cl
cmovne ecx, r15d
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x98], 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.14006584c
mov r11, qword [rsp + 0x1f8]
movzx eax, word [r11]
cmp ax, si
je 0x1400d43b6
add r11, 2
mov qword [rsp + 0x1f8], r11
cmp r15w, ax
jne 0x1400d43b6
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1f8]
xor r9d, r9d
mov r8d, r14d
call fcn.140052b14
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.14001bd24
or r14, 0xffffffffffffffff
mov edi, esi
mov r15, r14
mov qword [rsp + 0x78], r14
cmp byte [rsp + 0x208], sil
je 0x1400d4624
lea rcx, [rsp + 0xb8]
call fcn.1400618c8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rsi
cmp word [rax], si
je 0x1400d441b
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.140065eb4
mov r13d, dword [rsp + 0x98]
lea rcx, [0x140135110]
mov al, r13b
neg al
sbb rbp, rbp
and rbp, rcx
je 0x1400d4440
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r13b, sil
je 0x1400d4493
mov rdx, qword [rsp + 0x1f8]
mov r9d, r14d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.140018664
mov qword [rsp + 0x1f8], rsi
cmp rax, rsi
je 0x1400d448c
mov rcx, qword [rax + 8]
mov qword [rsp + 0x1f8], rcx
mov r15, qword [rax + 0x18]
movabs rax, 0x3fffffffffffffff
and r15, rax
jmp 0x1400d44b6
mov edi, 1
jmp 0x1400d44b6
lea r8, [rbx + 0xa]
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x1f8]
call fcn.14007f6ec
mov r15, qword [rsp + 0x78]
cmp r15, rsi
jl 0x1400d459a
mov rax, qword [rsp + 0xc0]
cmp word [rax], si
je 0x1400d453e
mov r10, qword [0x140134320]
mov edi, 0x7f
cmp r10, rsi
jne 0x1400d450f
lea r8, [0x140134320]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.14005aa14
mov r10, qword [0x140134320]
cmp r10, rsi
cmove r10, r14
mov qword [0x140134320], r10
cmp r10, r14
je 0x1400d459a
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 0x1400d459c
mov rax, qword [0x140134338]
cmp rax, rsi
jne 0x1400d457c
lea r8, [0x140134338]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableW
xor r9d, r9d
call fcn.14005aa14
mov rax, qword [0x140134338]
cmp rax, rsi
cmove rax, r14
mov qword [0x140134338], rax
cmp rax, r14
je 0x1400d459a
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov r9d, r15d
call rax
jmp 0x1400d453a
mov ebx, esi
cmp rbp, rsi
je 0x1400d45aa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, esi
jne 0x1400d45ba
cmp edi, esi
jg 0x1400d45ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0xc8]
call fcn.1400592f8
lea rcx, [rsp + 0xb8]
call fcn.1400592f8
lea rcx, [rsp + 0xa8]
call fcn.1400592f8
lea rcx, [rsp + 0x60]
call fcn.1400592f8
lea rcx, [rsp + 0x80]
call fcn.1400592f8
lea rcx, [rsp + 0x70]
call fcn.1400592f8
lea rcx, [rsp + 0xb0]
call fcn.1400592f8
lea rcx, [rsp + 0xa0]
call fcn.1400592f8
movsxd rax, edi
jmp 0x1400d4271
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call fcn.14006193c
lea rcx, [rsp + 0x90]
call fcn.1400618c8
xor r9d, r9d
lea rdx, [rsp + 0x90]
lea r8d, [r9 + 0x2c]
lea rcx, [rsp + 0x88]
call fcn.140052b14
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
lea rax, [0x14011f6e0]
mov qword [rsp + 0xc0], rcx
mov edx, 0x2000
mov qword [rsp + 0x78], rax
cmp word [rcx], si
je 0x1400d4739
mov rax, qword [0x140134328]
mov edi, 0x7f
mov dword [rsp + 0x208], edi
cmp rax, rsi
jne 0x1400d46da
lea r8, [0x140134328]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.14005aa14
mov rax, qword [0x140134328]
mov edx, 0x2000
cmp rax, rsi
cmove rax, r14
mov qword [0x140134328], rax
cmp rax, r14
je 0x1400d4739
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 0x1400d472b
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 0x1400d4797
lea rax, str.FAIL
mov qword [rsp + 0x78], rax
jmp 0x1400d4797
lea r8, [0x140134330]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableW
mov edi, 0x78
xor r9d, r9d
mov dword [rsp + 0x208], edi
call fcn.14005aa14
mov rax, qword [0x140134330]
mov r15d, esi
cmp rax, rsi
je 0x1400d4797
cmp rax, r14
je 0x1400d4797
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov r9d, 0x2000
mov r8, rbx
mov edi, esi
mov dword [rsp + 0x208], esi
call rax
mov r15d, eax
mov rcx, qword [rsp + 0x90]
movsx r14d, byte [r12 + 0xd]
movsx eax, bpl
or r14d, eax
mov eax, 0x26
mov qword [rsp + 0x58], rcx
cmp ax, word [rcx]
jne 0x1400d47c1
or r14d, 2
jmp 0x1400d47f1
mov eax, 0x24
cmp ax, word [rcx]
je 0x1400d47e5
mov eax, 0x5e
cmp ax, word [rcx]
je 0x1400d47e5
mov eax, 0x2e
cmp ax, word [rcx]
jne 0x1400d47f1
or r14d, 4
jmp 0x1400d47e8
mov r14d, esi
add rcx, 2
mov qword [rsp + 0x58], rcx
cmp r15d, esi
je 0x1400d48b2
mov eax, 0x2000
cmp r15d, eax
cmova r15d, eax
cmp r14d, esi
jne 0x1400d48ad
lea ebp, [r15 + 1]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xc8], rbx
lea eax, [rbp + rbp*4]
mov qword [rsp + 0x50], rsi
movsxd rdx, eax
call fcn.1400619c8
mov qword [rsp + 0xb8], rbx
mov rbx, qword [rsp + 0x50]
mov r13d, 1
lea rax, [rbx - 0xa]
sub ebp, r13d
cmp ebp, esi
jle 0x1400d489c
mov rdi, qword [rsp + 0xb8]
lea r12, [rbx - 0xa]
movzx r8d, byte [rdi]
add r12, 0xa
lea rdx, [0x14011a490]
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfW]
sub ebp, r13d
add rdi, r13
cmp ebp, esi
jg 0x1400d485b
mov edi, dword [rsp + 0x208]
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.1400592f8
mov r13, rbx
jmp 0x1400d48be
cmp edi, esi
jg 0x1400d48be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x58]
mov r8, r13
mov rcx, r12
test r14b, 3
je 0x1400d48e8
lea rax, [rsp + 0x50]
mov r9d, r15d
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rax
call fcn.140072100
jmp 0x1400d48ed
call fcn.140060cec
mov rdx, qword [rsp + 0xc0]
cmp word [rdx], si
je 0x1400d4907
mov r8, qword [rsp + 0x78]
mov rcx, r12
call fcn.140060cec
lea rcx, [rsp + 0x90]
call fcn.1400592f8
lea rcx, [rsp + 0x50]
jmp 0x1400d45cf