Function at 0x1400d1b7c
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.140058ecc
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.140061620
lea rcx, [rsp + 0xb0]
call fcn.140061620
lea rcx, [rsp + 0x1f8]
call fcn.140058ecc
cmp bpl, sil
je 0x1400d1bf6
sub qword [rsp + 0x1f8], 2
mov ebx, 0x3d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1f8]
mov r8d, ebx
call fcn.1400654c0
lea ecx, [rbx - 0x17]
cmp bpl, sil
je 0x1400d1c26
mov rax, qword [rsp + 0xa0]
mov word [rax], cx
lea rdx, [rsp + 0xa0]
xor r8d, r8d
mov rcx, r12
call fcn.140003978
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 0x1400d1e9b
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.140065554
mov r11, qword [rsp + 0x1f8]
movzx r9d, word [r11]
cmp bx, r9w
je 0x1400d1ca9
cmp di, r9w
jne 0x1400d1cb5
add r11, 2
mov qword [rsp + 0x1f8], r11
mov rbx, qword [rsp + 0xb0]
mov dil, sil
cmp r13b, sil
jne 0x1400d1e5e
lea rcx, str.WINVER
mov rdx, rbx
call fcn.14005a600
mov r10d, 0x2a
cmp al, sil
jne 0x1400d1cfe
lea rcx, [0x140120198]
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d1e5e
mov dil, r10b
lea rcx, [rsp + 0x1f8]
call fcn.140058ecc
mov rcx, qword [rsp + 0x1f8]
mov eax, 0x5e
mov rbx, rsi
mov r14, rsi
cmp ax, word [rcx]
jne 0x1400d1d33
or r14, 0xffffffffffffffff
add rcx, 2
mov qword [rsp + 0x1f8], rcx
mov eax, 0x2b
cmp ax, word [rcx]
jne 0x1400d1d65
lea rax, [rcx + 2]
mov dil, r15b
cmp word [rax], si
jne 0x1400d1d5a
mov word [rcx], r10w
mov rcx, qword [rsp + 0x1f8]
mov dil, r10b
jmp 0x1400d1d65
mov rcx, rax
mov qword [rsp + 0x1f8], rax
movzx ebp, word [rcx]
cmp bp, si
jne 0x1400d1d76
cmp dil, sil
je 0x1400d1e25
mov qword [rsp + 0x58], rsi
cmp r10w, word [rcx]
je 0x1400d1d86
cmp dil, r10b
jne 0x1400d1dfb
lea rcx, [rsp + 0x100]
lea rdx, str._SystemRoot_System32kernel32.dll
mov r8d, 0x48
call fcn.1400f93b0
cmp byte [r12 + 0xda], sil
jne 0x1400d1dd1
test byte [r12 + 0xd], 0xf
jne 0x1400d1dd1
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.140078664
jmp 0x1400d1dee
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r15b
call fcn.140076aec
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.140005b90
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.140058efc
cmp dil, sil
jne 0x1400d1e25
cmp bp, si
jne 0x1400d1e3f
mov rbp, rbx
call fcn.14005c778
mov rbx, rax
cmp dil, sil
je 0x1400d1e3f
shl rbx, 0x10
movzx eax, bp
or rbx, rax
mov r8, qword [rsp + 0xa8]
lea r9, [0x140112690]
mov rdx, rbx
mov rcx, r12
call fcn.140064814
jmp 0x1400d2a4e
lea rcx, [0x14012013c]
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d1e89
call fcn.14000dd2c
mov r8, r14
mov rcx, r12
mov edx, eax
call fcn.1400648ec
jmp 0x1400d2a4e
mov r14d, 0x2c
cmp r9w, si
je 0x1400d1ea7
cmp r14w, r9w
je 0x1400d1ea7
mov rsi, 0xffffffff80070057
jmp 0x1400d2a4e
cmp r13b, sil
je 0x1400d1eb6
cmp r13b, 2
jne 0x1400d2612
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x98]
call fcn.14006d444
mov rdi, qword [rsp + 0x98]
cmp bpl, sil
je 0x1400d1ee0
mov eax, 0x26
mov word [rdi], ax
lea rcx, [rsp + 0x1f8]
call fcn.140058ecc
lea rcx, str.FVER
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d2056
lea rcx, [rsp + 0x58]
call fcn.140061620
mov rcx, qword [rsp + 0x1f8]
mov qword [rsp + 0x68], rsi
call fcn.14001b5a4
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.1400591b0
mov rcx, qword [rsp + 0x70]
cmp word [rcx], si
je 0x1400d1f92
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.140065554
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov bp, word [rbx]
mov qword [rsp + 0x90], rsi
cmp word [rcx], si
je 0x1400d1fbf
mov word [rcx], si
add rcx, 2
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call fcn.1400ca8c4
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.140005b90
mov r8, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.14006093c
cmp bp, si
je 0x1400d2020
mov r8, qword [rsp + 0x68]
mov rdx, rbx
mov rcx, r12
call fcn.14006093c
mov rsi, qword [rsp + 0x90]
lea rcx, [rsp + 0x80]
call fcn.140058efc
lea rcx, [rsp + 0x68]
call fcn.140058efc
lea rcx, [rsp + 0x58]
call fcn.140058efc
lea rcx, [rsp + 0x98]
jmp 0x1400d2a49
lea rcx, str.FTIME
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d237b
mov rcx, qword [rsp + 0x1f8]
call fcn.14001b5a4
lea rcx, [rsp + 0x70]
mov rbx, rax
mov qword [rsp + 0xa8], rax
call fcn.140061620
lea rcx, [rsp + 0x60]
call fcn.140061620
lea rcx, [rsp + 0x88]
call fcn.140061620
movsx r10, bpl
mov eax, 0x2d
lea r11, [rdi + r10*2]
mov r14d, esi
mov qword [rsp + 0x50], r11
cmp ax, word [r11]
jne 0x1400d21d4
lea ebx, [rax - 0x20]
lea r13d, [rax - 7]
mov r12d, eax
lea rdx, [rsp + 0x50]
lea rcx, str._local
mov r8d, 6
call fcn.14006402c
cmp al, sil
je 0x1400d210c
cmp bpl, sil
je 0x1400d2103
mov rax, qword [rsp + 0x50]
sub rax, 2
mov qword [rsp + 0x50], rax
mov word [rax], r13w
or bpl, 2
jmp 0x1400d21b5
lea rdx, [rsp + 0x50]
lea rcx, [0x14011dfb8]
mov r8d, 3
call fcn.14006402c
cmp al, sil
je 0x1400d2131
or bpl, 4
jmp 0x1400d21b5
lea rdx, [rsp + 0x50]
lea rcx, str._ws1
mov r8d, 4
call fcn.14006402c
cmp al, sil
je 0x1400d2153
or bpl, 8
jmp 0x1400d21b5
lea rdx, [rsp + 0x50]
lea rcx, str._link
mov r8d, 5
call fcn.14006402c
cmp al, sil
je 0x1400d2174
mov r14d, r15d
jmp 0x1400d21b5
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx]
cmp ax, si
je 0x1400d21ab
mov edx, 9
cmp dx, ax
ja 0x1400d2190
cmp ax, bx
jbe 0x1400d21a6
mov edx, 0x20
cmp dx, ax
je 0x1400d21a6
add rcx, 2
mov ax, word [rcx]
cmp ax, si
jne 0x1400d2181
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.140058ecc
mov rax, qword [rsp + 0x50]
cmp r12w, word [rax]
je 0x1400d20d0
mov r12, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xa8]
cmp bpl, sil
je 0x1400d21e1
mov eax, 0x26
mov word [rdi], ax
mov edi, 0x2c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, edi
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp di, word [rax]
jne 0x1400d2245
add rax, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x50], rax
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp di, word [rax]
jne 0x1400d2245
add rax, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x50], rax
call fcn.1400654c0
lea r13, [rsp + 0x180]
mov edi, esi
cmp r14d, esi
je 0x1400d22c6
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.1400037bc
mov rbx, qword [rsp + 0x78]
cmp rbx, rsi
je 0x1400d22a5
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 0x1400d22db
or r14, 0xffffffffffffffff
cmp rbx, r14
je 0x1400d22db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d22db
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 0x1400d233f
lea r8, [r13 + 4]
mov r9b, bpl
call fcn.140066070
mov rdx, qword [rsp + 0x60]
lea r8, [r13 + 0x14]
mov r9b, bpl
mov rcx, r12
call fcn.140066070
mov rdx, qword [rsp + 0x88]
lea r8, [r13 + 0xc]
mov r9b, bpl
mov rcx, r12
call fcn.140066070
lea rcx, [rsp + 0x88]
call fcn.140058efc
lea rcx, [rsp + 0x60]
call fcn.140058efc
lea rcx, [rsp + 0x70]
jmp 0x1400d2044
lea r13, [0x140112598]
mov r8, r13
call fcn.14006093c
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.14006093c
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, r12
call fcn.14006093c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d231e
lea rcx, str.FATTR
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d2605
mov rcx, qword [rsp + 0x1f8]
call fcn.14001b5a4
mov r13d, 0x26
mov rbx, rax
cmp bpl, sil
je 0x1400d23b2
mov word [rdi], r13w
lea rcx, [rsp + 0x58]
call fcn.140061620
lea rcx, [rsp + 0x70]
call fcn.140061620
lea rcx, [rsp + 0x60]
call fcn.140061620
lea rcx, [rsp + 0x88]
call fcn.140061620
lea rcx, [rsp + 0x68]
call fcn.140061620
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r14d
mov qword [rsp + 0x50], rdi
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d24cd
cmp bpl, sil
je 0x1400d2418
mov word [rax], r13w
jmp 0x1400d2421
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d24cd
cmp bpl, sil
je 0x1400d244d
mov word [rax], r13w
jmp 0x1400d2456
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d24cd
cmp bpl, sil
je 0x1400d247e
mov word [rax], r13w
jmp 0x1400d2487
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d24cd
cmp bpl, sil
je 0x1400d24b2
mov word [rax], r13w
jmp 0x1400d24bb
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov rcx, r12
cmp eax, esi
je 0x1400d25b4
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x58]
shr edx, 5
and edx, r15d
call fcn.1400648ec
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
shr edx, 1
mov rcx, r12
and edx, r15d
call fcn.1400648ec
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x60]
and edx, r15d
mov rcx, r12
call fcn.1400648ec
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x88]
shr edx, 2
mov rcx, r12
and edx, r15d
call fcn.1400648ec
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.14006093c
lea rcx, [rsp + 0x68]
call fcn.140058efc
lea rcx, [rsp + 0x88]
call fcn.140058efc
lea rcx, [rsp + 0x60]
call fcn.140058efc
lea rcx, [rsp + 0x70]
jmp 0x1400d203a
mov rdx, qword [rsp + 0x58]
lea r13, [0x140112598]
mov r8, r13
call fcn.14006093c
mov rdx, qword [rsp + 0x70]
mov r8, r13
mov rcx, r12
call fcn.14006093c
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.14006093c
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, r12
call fcn.14006093c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d2589
lea rcx, [rsp + 0x98]
call fcn.140058efc
cmp r13b, sil
jne 0x1400d300d
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.14006d444
lea rcx, [rsp + 0x1f8]
call fcn.140058ecc
lea rcx, [0x140120108]
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d276b
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x78], rsi
call fcn.1400713b4
lea rcx, [rsp + 0x60]
call fcn.140061620
lea rcx, [rsp + 0x88]
call fcn.140061620
mov r11, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov r8d, r14d
mov qword [rsp + 0x68], r11
call fcn.1400654c0
mov rax, qword [rsp + 0x68]
cmp r14w, word [rax]
jne 0x1400d26d6
cmp bpl, sil
je 0x1400d26b8
mov r13d, 0x26
mov word [rax], r13w
jmp 0x1400d26c1
add rax, 2
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
mov r8d, r14d
call fcn.1400654c0
lea rcx, [rsp + 0x58]
call fcn.140061620
lea rcx, [rsp + 0x80]
call fcn.140061620
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 0x1400d2718
lea rdx, [rsp + 0x58]
call fcn.140006498
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.14006093c
mov r8, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, r12
call fcn.14006093c
lea rcx, [rsp + 0x80]
call fcn.140058efc
lea rcx, [rsp + 0x58]
call fcn.140058efc
lea rcx, [rsp + 0x88]
call fcn.140058efc
lea rcx, [rsp + 0x60]
jmp 0x1400d2ffe
lea rcx, [0x140120100]
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d2a70
mov rcx, qword [rsp + 0x1f8]
call fcn.14001b5a4
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rax
call fcn.140058ecc
mov rcx, qword [rsp + 0x80]
call fcn.1400185d4
lea rcx, [rsp + 0x78]
call fcn.140061620
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x78]
call fcn.14001ba00
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r13d, 0x26
cmp bpl, sil
je 0x1400d27e7
mov word [rbx], r13w
lea rcx, [rsp + 0x90]
call fcn.140061620
lea rcx, [rsp + 0x98]
call fcn.140061620
lea rcx, [rsp + 0x60]
call fcn.140061620
lea rcx, [rsp + 0x88]
call fcn.140061620
lea rcx, [rsp + 0x58]
call fcn.140061620
lea rcx, [rsp + 0x68]
call fcn.140061620
lea rcx, [rsp + 0x80]
call fcn.140061620
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
mov r8d, r14d
mov qword [rsp + 0x50], rbx
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d2992
cmp bpl, sil
je 0x1400d286d
mov word [rax], r13w
jmp 0x1400d2876
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d2992
cmp bpl, sil
je 0x1400d28a5
mov word [rax], r13w
jmp 0x1400d28ae
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d2992
cmp bpl, sil
je 0x1400d28da
mov word [rax], r13w
jmp 0x1400d28e3
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d2992
cmp bpl, sil
je 0x1400d2912
mov word [rax], r13w
jmp 0x1400d291b
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d2992
cmp bpl, sil
je 0x1400d2943
mov word [rax], r13w
jmp 0x1400d294c
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
mov rax, qword [rsp + 0x50]
cmp r14w, word [rax]
jne 0x1400d2992
cmp bpl, sil
je 0x1400d2974
mov word [rax], r13w
jmp 0x1400d297d
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
mov r8d, r14d
call fcn.1400654c0
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.1400546a8
lea rcx, [rsp + 0x80]
movsxd rsi, eax
call fcn.140058efc
lea rcx, [rsp + 0x68]
call fcn.140058efc
lea rcx, [rsp + 0x58]
call fcn.140058efc
lea rcx, [rsp + 0x88]
call fcn.140058efc
lea rcx, [rsp + 0x60]
call fcn.140058efc
lea rcx, [rsp + 0x98]
call fcn.140058efc
lea rcx, [rsp + 0x90]
call fcn.140058efc
lea rcx, [rsp + 0x78]
call fcn.140058efc
lea rcx, [rsp + 0x70]
call fcn.140058efc
lea rcx, [rsp + 0xb0]
call fcn.140058efc
lea rcx, [rsp + 0xa0]
call fcn.140058efc
mov rax, rsi
jmp 0x1400d3029
lea rcx, str.PPID
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d2aaa
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x78], rsi
call fcn.1400713b4
mov rcx, qword [rsp + 0x78]
call fcn.1400068d4
mov rdx, rax
jmp 0x1400d2ac5
lea rcx, str.ISADMIN
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d2ad7
call fcn.1400de0e8
mov edx, eax
mov r8, qword [rsp + 0x70]
mov rcx, r12
call fcn.1400648ec
jmp 0x1400d3003
lea rcx, str.fvar
mov rdx, rbx
call fcn.14005a600
cmp al, sil
jne 0x1400d3044
lea rcx, [0x1401200d8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, esi
je 0x1400d3044
lea rcx, str.PWIN
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d2cd9
lea rcx, [rsp + 0x90]
call fcn.140061620
lea rcx, [rsp + 0x78]
call fcn.140061620
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.140052718
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
mov r8d, r14d
call fcn.1400654c0
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.140007a28
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.140007a28
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.140007a28
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 0x1400d2c93
mov r13, qword [rsp + 0x50]
cmp r13, 3
jne 0x1400d2c1f
cmp word [rbx], si
je 0x1400d2c93
mov r14d, 0xfffffff0
jmp 0x1400d2c38
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rsi
je 0x1400d2c4a
mov rdi, rax
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x1400d2c27
cmp r13, 3
je 0x1400d2c93
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, [0x140112690]
mov rdx, rbp
mov rcx, r12
call fcn.140064814
lea r9, [0x140112690]
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.140064814
lea rcx, [rsp + 0x78]
call fcn.140058efc
lea rcx, [rsp + 0x90]
jmp 0x1400d2ffe
lea rcx, str.PEBIT
mov rdx, rbx
call fcn.14005a600
cmp al, sil
je 0x1400d3003
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x90], rax
call fcn.140061620
lea rcx, [rsp + 0x58]
call fcn.140061620
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x90]
xor r9d, r9d
mov r8d, r14d
call fcn.140052718
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov r8d, r14d
call fcn.1400654c0
or r14, 0xffffffffffffffff
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x1f8]
lea r8d, [r14 + 0xe]
mov rbp, r14
lea r13, [0x140112598]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0xa8], rsi
call fcn.140024820
mov rcx, qword [rsp + 0x1f8]
cmp word [rcx], si
je 0x1400d2fa6
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [rsp + 0x1f8]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1400d2dbb
cmp word [rax + rcx*2 - 2], 0x2f
je 0x1400d2dbb
mov rcx, rax
call fcn.1400f7a70
cmp eax, esi
jne 0x1400d2dc0
mov rdx, qword [rsp + 0x1f8]
jmp 0x1400d2df0
mov word [rax + rcx*2 - 2], si
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.14006d55c
lea rdx, str._version.dll
lea rcx, [rsp + 0x68]
call fcn.14006175c
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.1400037bc
mov rdi, qword [rsp + 0x80]
cmp rdi, rsi
je 0x1400d2fa6
mov r15d, 0x1000
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x208], esi
mov rdx, r15
call fcn.140061694
mov rbx, qword [rsp + 0x80]
mov r8, r15
mov rcx, rbx
xor edx, edx
call fcn.1400f8760
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 0x1400d2f8b
mov edx, dword [rsp + 0x208]
cmp edx, 0x40
jb 0x1400d2f8b
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400d2f8b
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 8]
cmp eax, edx
jbe 0x1400d2efa
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
mov qword [rbx], rsi
call fcn.14005a4b0
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 0x1400d2f8b
mov eax, ecx
mov rbp, qword [rax + rbx]
movabs rax, 0xffffffffffff
and rbp, rax
movabs rax, 0x866400004550
cmp rbp, rax
jne 0x1400d2f30
lea r13, [0x1401200a0]
jmp 0x1400d2f8b
movabs rax, 0x14c00004550
cmp rbp, rax
je 0x1400d2f84
movabs rax, 0x20000004550
cmp rbp, rax
jne 0x1400d2f57
lea r13, [0x140120090]
jmp 0x1400d2f8b
movabs rax, 0x1373c05454e
cmp rbp, rax
je 0x1400d2f84
movabs rax, 0x1b03c05454e
cmp rbp, rax
je 0x1400d2f84
movabs rax, 0xe73c05454e
cmp rbp, rax
jne 0x1400d2f8b
lea r13, [0x140120088]
lea rcx, [rsp + 0x80]
call fcn.140058efc
cmp rdi, r14
je 0x1400d2fa6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x78]
mov r8, r13
mov rcx, r12
call fcn.14006093c
cmp rbp, rsi
mov rcx, r12
jg 0x1400d2fd1
mov rdx, qword [rsp + 0x58]
lea r8, str._0x000000000001
call fcn.14006093c
jmp 0x1400d2fe5
mov r8, qword [rsp + 0x58]
lea r9, str.0x_012I64X
mov rdx, rbp
call fcn.140064814
lea rcx, [rsp + 0x68]
call fcn.140058efc
lea rcx, [rsp + 0x58]
call fcn.140058efc
lea rcx, [rsp + 0x78]
call fcn.140058efc
lea rcx, [rsp + 0x70]
call fcn.140058efc
lea rcx, [rsp + 0xb0]
call fcn.140058efc
lea rcx, [rsp + 0xa0]
call fcn.140058efc
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.140061620
lea rcx, [rsp + 0x60]
call fcn.140061620
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, [0x140112598]
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x98], sil
cmp r14b, sil
je 0x1400d30f5
lea rdx, [rsp + 0x88]
lea rcx, [0x14011ee60]
mov r8d, 2
call fcn.14006402c
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.140065554
mov r11, qword [rsp + 0x1f8]
movzx eax, word [r11]
cmp ax, si
je 0x1400d316e
add r11, 2
mov qword [rsp + 0x1f8], r11
cmp r15w, ax
jne 0x1400d316e
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1f8]
xor r9d, r9d
mov r8d, r14d
call fcn.140052718
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.14001ba5c
or r14, 0xffffffffffffffff
mov edi, esi
mov r15, r14
mov qword [rsp + 0x78], r14
cmp byte [rsp + 0x208], sil
je 0x1400d33dc
lea rcx, [rsp + 0xb8]
call fcn.140061620
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rsi
cmp word [rax], si
je 0x1400d31d3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.140065bbc
mov r13d, dword [rsp + 0x98]
lea rcx, [0x140133120]
mov al, r13b
neg al
sbb rbp, rbp
and rbp, rcx
je 0x1400d31f8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r13b, sil
je 0x1400d324b
mov rdx, qword [rsp + 0x1f8]
mov r9d, r14d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.1400183dc
mov qword [rsp + 0x1f8], rsi
cmp rax, rsi
je 0x1400d3244
mov rcx, qword [rax + 8]
mov qword [rsp + 0x1f8], rcx
mov r15, qword [rax + 0x18]
movabs rax, 0x3fffffffffffffff
and r15, rax
jmp 0x1400d326e
mov edi, 1
jmp 0x1400d326e
lea r8, [rbx + 0xa]
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x1f8]
call fcn.14007f1bc
mov r15, qword [rsp + 0x78]
cmp r15, rsi
jl 0x1400d3352
mov rax, qword [rsp + 0xc0]
cmp word [rax], si
je 0x1400d32f6
mov r10, qword [0x140132330]
mov edi, 0x7f
cmp r10, rsi
jne 0x1400d32c7
lea r8, [0x140132330]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.14005a664
mov r10, qword [0x140132330]
cmp r10, rsi
cmove r10, r14
mov qword [0x140132330], r10
cmp r10, r14
je 0x1400d3352
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 0x1400d3354
mov rax, qword [0x140132348]
cmp rax, rsi
jne 0x1400d3334
lea r8, [0x140132348]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableW
xor r9d, r9d
call fcn.14005a664
mov rax, qword [0x140132348]
cmp rax, rsi
cmove rax, r14
mov qword [0x140132348], rax
cmp rax, r14
je 0x1400d3352
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov r9d, r15d
call rax
jmp 0x1400d32f2
mov ebx, esi
cmp rbp, rsi
je 0x1400d3362
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, esi
jne 0x1400d3372
cmp edi, esi
jg 0x1400d3372
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0xc8]
call fcn.140058efc
lea rcx, [rsp + 0xb8]
call fcn.140058efc
lea rcx, [rsp + 0xa8]
call fcn.140058efc
lea rcx, [rsp + 0x60]
call fcn.140058efc
lea rcx, [rsp + 0x80]
call fcn.140058efc
lea rcx, [rsp + 0x70]
call fcn.140058efc
lea rcx, [rsp + 0xb0]
call fcn.140058efc
lea rcx, [rsp + 0xa0]
call fcn.140058efc
movsxd rax, edi
jmp 0x1400d3029
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call fcn.140061694
lea rcx, [rsp + 0x90]
call fcn.140061620
xor r9d, r9d
lea rdx, [rsp + 0x90]
lea r8d, [r9 + 0x2c]
lea rcx, [rsp + 0x88]
call fcn.140052718
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
lea rax, [0x14011d5e0]
mov qword [rsp + 0xc0], rcx
mov edx, 0x2000
mov qword [rsp + 0x78], rax
cmp word [rcx], si
je 0x1400d34f1
mov rax, qword [0x140132338]
mov edi, 0x7f
mov dword [rsp + 0x208], edi
cmp rax, rsi
jne 0x1400d3492
lea r8, [0x140132338]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.14005a664
mov rax, qword [0x140132338]
mov edx, 0x2000
cmp rax, rsi
cmove rax, r14
mov qword [0x140132338], rax
cmp rax, r14
je 0x1400d34f1
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 0x1400d34e3
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 0x1400d354f
lea rax, str.FAIL
mov qword [rsp + 0x78], rax
jmp 0x1400d354f
lea r8, [0x140132340]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableW
mov edi, 0x78
xor r9d, r9d
mov dword [rsp + 0x208], edi
call fcn.14005a664
mov rax, qword [0x140132340]
mov r15d, esi
cmp rax, rsi
je 0x1400d354f
cmp rax, r14
je 0x1400d354f
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 0x1400d3579
or r14d, 2
jmp 0x1400d35a9
mov eax, 0x24
cmp ax, word [rcx]
je 0x1400d359d
mov eax, 0x5e
cmp ax, word [rcx]
je 0x1400d359d
mov eax, 0x2e
cmp ax, word [rcx]
jne 0x1400d35a9
or r14d, 4
jmp 0x1400d35a0
mov r14d, esi
add rcx, 2
mov qword [rsp + 0x58], rcx
cmp r15d, esi
je 0x1400d366a
mov eax, 0x2000
cmp r15d, eax
cmova r15d, eax
cmp r14d, esi
jne 0x1400d3665
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.140061720
mov qword [rsp + 0xb8], rbx
mov rbx, qword [rsp + 0x50]
mov r13d, 1
lea rax, [rbx - 0xa]
sub ebp, r13d
cmp ebp, esi
jle 0x1400d3654
mov rdi, qword [rsp + 0xb8]
lea r12, [rbx - 0xa]
movzx r8d, byte [rdi]
add r12, 0xa
lea rdx, [0x140118400]
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfW]
sub ebp, r13d
add rdi, r13
cmp ebp, esi
jg 0x1400d3613
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.140058efc
mov r13, rbx
jmp 0x1400d3676
cmp edi, esi
jg 0x1400d3676
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 0x1400d36a0
lea rax, [rsp + 0x50]
mov r9d, r15d
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rax
call fcn.140071d3c
jmp 0x1400d36a5
call fcn.14006093c
mov rdx, qword [rsp + 0xc0]
cmp word [rdx], si
je 0x1400d36bf
mov r8, qword [rsp + 0x78]
mov rcx, r12
call fcn.14006093c
lea rcx, [rsp + 0x90]
call fcn.140058efc
lea rcx, [rsp + 0x50]
jmp 0x1400d3387