Function at 0x140044a00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
xor r14d, r14d
mov r12, rdx
mov rbp, rcx
mov r15b, r14b
call fcn.140017610
mov rdx, qword [rsp + 0x178]
mov byte [0x14013396a], r14b
movzx eax, word [rdx]
lea r8d, [r14 + 0x2a]
cmp r8w, ax
lea ecx, [r14 + 0x20]
lea r10d, [r14 + 9]
sete sil
lea r9d, [r14 + 0xd]
jmp 0x140044a79
cmp r10w, ax
ja 0x140044a65
cmp ax, r9w
jbe 0x140044a7f
cmp cx, ax
je 0x140044a7f
add rdx, 2
mov qword [rsp + 0x178], rdx
mov ax, word [rdx]
cmp ax, r14w
jne 0x140044a59
lea rcx, [rsp + 0x178]
call fcn.140016e28
mov rax, qword [rsp + 0x178]
mov ecx, 0x2d
mov qword [rsp + 0x58], rax
cmp cx, word [rax]
movzx ebx, r8b
mov edi, r14d
lea r13d, [rcx - 0x2c]
cmove ebx, ecx
lea rdx, [rsp + 0x178]
lea rcx, [0x14011a82c]
mov r8d, 5
mov qword [rsp + 0x58], rax
call fcn.14006439c
cmp al, r14b
jne 0x140044b8d
lea rdx, [rsp + 0x178]
lea rcx, [0x14011a9d4]
mov r8d, 2
call fcn.14006439c
cmp al, r14b
jne 0x140044b8d
mov rcx, qword [rsp + 0x58]
movsx edx, bl
movzx eax, word [rcx]
cmp edx, eax
jne 0x140044b9d
movzx eax, word [rcx + 2]
cmp edx, eax
jne 0x140044b9d
add rcx, 4
lea rdx, [rsp + 0x58]
mov r8d, 4
mov qword [rsp + 0x58], rcx
lea rcx, [0x14011a9cc]
call fcn.14006439c
cmp al, r14b
jne 0x140044b78
lea rdx, [rsp + 0x58]
lea rcx, [0x14011a834]
mov r8d, r13d
call fcn.14006439c
cmp al, r14b
jne 0x140044b78
lea rdx, [rsp + 0x58]
lea rcx, [0x140115c34]
mov r8d, 4
call fcn.14006439c
cmp al, r14b
je 0x140044b9d
mov r15b, r13b
jmp 0x140044b7b
mov edi, r13d
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x178], rax
jmp 0x140044aaf
mov rax, qword [rsp + 0x178]
mov edi, r13d
jmp 0x140044aaf
mov r13, qword [0x140131288]
lea rax, [0x140116608]
cmp edi, r14d
cmovne r13, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
xor edx, edx
lea rcx, [rsp + 0xc9]
lea r8d, [rdx + 0x27]
mov byte [rsp + 0xc8], r14b
call fcn.1400fa350
lea rax, [rsp + 0xc8]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x80], 0x18
mov dword [rsp + 0x90], r14d
call fcn.14005c9b4
lea rax, [0x140118370]
lea r8, [0x14011a9b8]
cmp edi, r14d
lea rcx, [rsp + 0x80]
mov edx, 1
cmovne r8, rax
call qword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, r14
je 0x140044c4c
mov ecx, 0xb7
cmp eax, ecx
jne 0x140044c4c
mov rax, rcx
jmp 0x14004552a
cmp edi, r14d
je 0x140044c5a
mov byte [0x14013e000], 0x20
jmp 0x140044c71
mov rax, qword [rsp + 0x178]
cmp word [rax], r14w
setne al
add al, 0x10
mov byte [0x14013e000], al
lea rcx, [rsp + 0xf0]
lea rdx, [0x14011a980]
mov r8d, 0x36
call fcn.1400fafa0
cmp edi, r14d
je 0x140044c9d
mov eax, 0x55
mov word [rsp + 0x11a], ax
lea rbx, [0x1401340d0]
cmp qword [0x140133b18], r14
jne 0x140044cd3
lea rcx, [rsp + 0xfe]
call fcn.1400f9794
cmp eax, r14d
je 0x140044cd3
lea rdx, [rsp + 0xf8]
or r8, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400263b8
movsx r9d, byte [0x14013e000]
lea rdx, [0x14011a958]
mov r8, r12
mov rcx, rbx
call fcn.140018958
mov r8, qword [0x1401343c8]
lea rdx, [0x14011a910]
mov rcx, rbx
call fcn.140018958
call fcn.14002327c
movzx r11d, byte [0x14013e003]
cmp sil, r14b
mov esi, 1
cmovne r11d, esi
mov byte [0x14013e003], r11b
cmp edi, r14d
jne 0x140044de4
mov rax, qword [rsp + 0x178]
cmp word [rax], r14w
je 0x140044e17
lea ecx, [rsi + 2]
call fcn.14001b2e0
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
lea rdx, [0x140115948]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x180], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.DLL_RegCreateKeyExW]
mov rcx, qword [rsp + 0x180]
cmp rcx, r14
je 0x140044d9b
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
lea rdx, [0x14011a408]
mov r8d, 0x2e68
mov rcx, rbx
call fcn.140018a78
call fcn.1400225a4
lea rdx, [0x14011a408]
mov r8d, 0x2e6a
mov rcx, rbx
call fcn.140018a78
call fcn.14001742c
lea rdx, [0x14011a408]
mov r8d, 0x2e6c
mov rcx, rbx
call fcn.140018a78
mov rax, qword [rsp + 0x178]
cmp word [rax], r14w
je 0x140044e17
lea rdx, [0x1401145d8]
mov r9d, 0x24
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.14002cfc4
mov rax, qword [rsp + 0x178]
movzx ebx, word [rax]
mov ecx, 0x23
lea edx, [rcx + 7]
cmp bx, dx
jne 0x140044e45
add rax, 2
cmp cx, word [rax]
je 0x140044e45
lea rcx, [rsp + 0x178]
mov qword [rsp + 0x178], rax
call fcn.140016e28
lea rdx, [0x1401145d8]
lea rcx, [0x1401145d8]
call sym.PECMD.exe_LoadEnvi
movzx r11d, byte [0x1401346b7]
mov rax, qword [rsp + 0x178]
cmp word [rax], r14w
cmove r11d, esi
mov byte [0x1401346b7], r11b
call fcn.140059c04
call fcn.14003d010
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
lea r8, [0x14011a8e8]
lea rdx, [0x140115948]
mov dword [rsp + 0x188], eax
lea rax, [rsp + 0x188]
mov r9d, 4
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call fcn.14005a804
lea rdx, [0x14011a408]
lea rcx, [0x1401340d0]
mov r8d, 0x2e76
call fcn.140018a78
lea rcx, [0x1401340d0]
xor edx, edx
call fcn.1400e0e80
cmp qword [rbp + 0x78], r14
jne 0x140044f8f
mov eax, dword [0x140134268]
test sil, al
jne 0x140044f1a
or eax, esi
lea rcx, [0x140112438]
mov qword [0x140134260], r14
mov dword [0x140134268], eax
call fcn.1400fa810
lea rsi, [0x140134260]
mov edx, 0x10000
mov rcx, rbp
mov qword [rbp + 0x78], rsi
call fcn.14005f45c
lea rcx, [rsp + 0x180]
call fcn.140061940
mov rdx, qword [rsp + 0x180]
mov rcx, rsi
call fcn.1400a8b14
mov rax, qword [0x140134260]
mov qword [rsp + 0x180], r14
mov rcx, qword [rax]
mov esi, 1
mov rdx, r12
mov qword [rbp + 0x80], rcx
mov rcx, rbp
mov r8d, esi
call fcn.140071018
lea rcx, [rsp + 0x180]
mov dword [rbp + 0x8c], r14d
call fcn.140059370
lea r12, [0x1401340d0]
lea rdx, [0x14011a408]
mov r8d, 0x2e82
mov rcx, r12
call fcn.140018a78
cmp edi, r14d
jne 0x140044fee
mov al, byte [0x14013e000]
lea r8, [0x14011a8d8]
lea rdx, [0x140115948]
mov byte [rsp + 0x180], al
lea rax, [rsp + 0x180]
mov r9d, 3
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.14005a804
lea rsi, [0x14011a408]
mov r8d, 0x2e86
mov rcx, r12
mov rdx, rsi
call fcn.140018a78
mov r11, qword [rsp + 0x178]
cmp word [r11], r14w
je 0x140045019
call fcn.14001b2a8
lea rax, [0x140133f40]
lea rdx, [0x140115948]
mov r9d, 0xb
mov r8, r13
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call fcn.14005a804
cmp bx, r14w
jne 0x140045054
cmp edi, r14d
je 0x140045059
call fcn.14002e6a0
mov rcx, rbp
call fcn.140022bcc
mov ecx, 0x8000
call fcn.140074b70
mov r11, qword [rsp + 0x178]
cmp word [r11], r14w
jne 0x14004507e
cmp edi, r14d
je 0x1400450c2
mov r8d, 0x2e91
mov rdx, rsi
mov rcx, r12
call fcn.140018a78
lea rax, [0x14013396c]
lea rcx, [0x1400445e0]
xor edx, edx
mov r9d, 0x10000
mov r8d, 0x80000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140059444
mov r11, qword [rsp + 0x178]
mov r8d, 0x2a
cmp word [r11], r8w
jne 0x1400450ff
lea r9d, [r8 - 7]
lea rax, [r11 + 2]
cmp r9w, word [rax]
je 0x1400450ff
lea rcx, [rsp + 0x178]
mov qword [rsp + 0x178], rax
call fcn.140016e28
mov r11, qword [rsp + 0x178]
cmp word [r11], r8w
je 0x1400450d2
cmp word [r11], r14w
je 0x1400454fa
mov r8d, 0x2e99
mov rdx, rsi
mov rcx, r12
call fcn.140018a78
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rcx, [rsp + 0x68]
add eax, 0x5c8
movsxd rdx, eax
call fcn.1400619b4
mov r14, qword [rsp + 0x68]
xor ebx, ebx
mov word [r14], bx
mov r12, qword [rsp + 0x68]
mov r8d, 0x104
add r12, 0x280
xor ecx, ecx
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea r8d, [rbx + 0x5c]
xor edx, edx
mov rcx, r12
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov rsi, rax
cmp rax, rbx
jne 0x14004517e
mov rsi, r12
jmp 0x140045182
add rsi, 2
mov rcx, qword [rsp + 0x178]
call fcn.14001a5dc
cmp eax, ebx
je 0x140045209
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x180]
call fcn.14006d8b0
mov rdx, qword [rsp + 0x178]
lea rcx, [0x14011a8d0]
mov r8d, 4
call fcn.14005a9ec
movzx ecx, byte [0x14013401d]
mov rdx, qword [rsp + 0x180]
xor r14d, r14d
cmp al, r14b
mov qword [rsp + 0x20], r14
lea eax, [r14 + 1]
cmovne ecx, eax
xor r9d, r9d
xor r8d, r8d
mov byte [0x14013401d], cl
mov rcx, rbp
call fcn.14004ad84
lea rcx, [rsp + 0x180]
call fcn.140059370
jmp 0x1400454d2
mov rax, qword [rsp + 0x178]
lea rcx, [rsp + 0x70]
mov r13b, bl
mov qword [rsp + 0x50], rax
call fcn.140061940
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x1000
mov rcx, rbp
mov word [rsp + 0x20], bx
call fcn.140052944
lea rcx, [rsp + 0x60]
mov edx, 0x400
call fcn.1400619b4
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rbx
mov word [rax], bx
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x78]
mov r9d, 7
mov r8d, 0x80000000
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x180], ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400037a0
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x78]
lea r9, [rsp + 0x180]
mov r8d, 0x7fe
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r11d, dword [rsp + 0x180]
mov rax, qword [rsp + 0x50]
shr r11, 1
xor ecx, ecx
mov word [rax + r11*2], cx
mov rdx, qword [rsp + 0x50]
mov eax, 0xfeff
cmp ax, word [rdx]
jne 0x1400452f3
add rdx, 2
mov qword [rsp + 0x50], rdx
lea rcx, [0x14011a8c0]
mov r8d, 7
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
xor edx, edx
cmp eax, edx
jne 0x1400453a0
mov rax, qword [rsp + 0x50]
add rax, 0xe
mov qword [rsp + 0x50], rax
movzx ecx, word [rax]
cmp cx, dx
je 0x1400453a0
mov r10d, 9
lea r8d, [r10 + 0x17]
mov r9d, 0xd
cmp r10w, cx
ja 0x140045342
cmp cx, r9w
jbe 0x140045359
cmp r8w, cx
je 0x140045359
add rax, 2
mov qword [rsp + 0x50], rax
mov cx, word [rax]
cmp cx, dx
jne 0x140045330
cmp r8w, word [rax]
je 0x140045365
cmp r10w, word [rax]
jne 0x140045370
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x140045359
cmp word [rax], 0xa
je 0x1400453a0
cmp word [rax], r9w
je 0x1400453a0
lea rdx, [rsp + 0x50]
lea rcx, [0x14011a8a0]
mov r8d, r9d
call fcn.1400593c4
xor edx, edx
cmp eax, edx
jne 0x14004539d
mov rax, qword [rsp + 0x50]
jmp 0x14004531e
mov r13b, 1
cmp rbx, rdx
je 0x1400453b4
cmp rbx, 0xffffffffffffffff
je 0x1400453b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.140059370
lea rcx, [rsp + 0x70]
call fcn.140059370
xor ebx, ebx
lea rcx, [r12 + 0x488]
cmp r13b, bl
je 0x140045417
mov r8, qword [rsp + 0x178]
lea rdx, [0x14011a878]
call fcn.140016e04
lea eax, [rbx + 1]
xor r14d, r14d
lea rdx, [r12 + 0x488]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov byte [0x14013401d], al
mov qword [rsp + 0x20], r14
call fcn.14004ad84
jmp 0x1400454d2
lea rdx, [0x14011a850]
mov r9, rsi
mov r8, r12
call fcn.140016e04
lea rcx, [r12 + 0x488]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov r8, qword [rsp + 0x178]
lea rdx, [0x14011a878]
movsxd rcx, eax
lea rcx, [r12 + rcx*2 + 0x488]
call fcn.140016e04
cmp word [r14], bx
je 0x1400454a2
mov ebx, 1
mov ecx, ebx
call fcn.14001b2e0
lea rax, [rsp + 0x188]
lea r9d, [rbx + 3]
lea r8, [0x1401185e0]
lea rdx, [0x140116bf0]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x188], ebx
mov qword [rsp + 0x20], rax
call fcn.14005a804
xor r14d, r14d
movsx eax, r15b
lea rdx, [r12 + 0x488]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov r8, rbp
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call fcn.14000dfe4
lea rcx, [rsp + 0x68]
call fcn.140059370
jmp 0x1400454fa
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.DLL_TranslateMessage]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.DLL_DispatchMessageW]
lea rcx, [rsp + 0x98]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.DLL_GetMessageW]
cmp eax, r14d
jne 0x1400454de
mov rcx, qword [0x140133f20]
call qword [sym.imp.USER32.DLL_UnhookWindowsHookEx]
movsxd rax, dword [rsp + 0xa8]
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret