Function at 0x18004fcc0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180183c70]
xor rax, rsp
mov qword [rbp + 0xa8], rax
lea eax, [r8 - 0x11]
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x50], eax
mov r14d, r8d
mov ebx, dword [rsp + 0x50]
mov rsi, rdx
mov qword [rsp + 0x70], rdx
mov r9, rcx
mov qword [rsp + 0x48], rcx
cmp r8d, eax
jbe 0x18004fd9c
mov r13d, dword [rsp + 0x50]
lea eax, [r8 - 0xf7]
mov r15, qword [rsp + 0x78]
lea rdx, [0x180000000]
mov r12, qword [rsp + 0x78]
mov edi, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
cmp eax, 0x24
ja case.0x18004fd5d.17
movzx eax, byte [rdx + rax + 0x503ec]
mov ecx, dword [rdx + rax*4 + 0x503a4]
add rcx, rdx
jmp rcx
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xc2
xor ecx, ecx
call fcn.1800a1ac0
mov r9, qword [rsp + 0x48]
jmp 0x180050364
mov eax, 0x53
nop
cmp eax, 0x53
je 0x18004fdc8
cmp eax, 0xf5
jne 0x18004fdcd
mov eax, ebx
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.18015c4c0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, 1
add eax, 0xa2
cmp eax, 0x197
jb 0x18004fd90
mov rax, qword [0x1801d4e90]
mov qword [rbp - 0x80], rax
jmp case.0x18004fd5d.17
mov eax, 0xdb
nop
cmp eax, 0xdb
je 0x180050390
add eax, 0x3c
cmp eax, 0x117
jb 0x18004fdf0
lea rax, [rbp + 0x90]
mov qword [rsp + 0x58], 0x10
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 0x112
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x40]
call fcn.18008dfb0
mov r9, qword [rsp + 0x68]
lea r8, [rsp + 0x58]
mov rdx, qword [r15]
mov rcx, rax
mov qword [rsp + 0x38], rcx
xor ecx, ecx
mov qword [rbp - 0x78], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x58], rax
xor eax, eax
mov dword [rsp + 0x30], 0x127
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call fcn.180057310
mov r9, qword [rsp + 0x48]
jmp 0x180050364
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x180050154
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r9, qword [rsp + 0x48]
jmp 0x180050364
mov r8, qword [rbp - 0x80]
add dword [r8 + 0xa0], 8
jmp case.0x18004fd5d.17
mov eax, dword [rsi]
lea rdx, [rsp + 0x40]
mov r8d, 0xf9
mov dword [rsp + 0x40], eax
mov rcx, r9
call fcn.180077500
mov r9, qword [rsp + 0x48]
add r13d, eax
jmp 0x180050364
mov rcx, qword [rbp - 0x78]
mov edx, 0x38
call fcn.180122450
mov r9, qword [rsp + 0x48]
jmp 0x180050364
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rsi, qword [rsp + 0x68]
mov edx, 1
mov r9, rax
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rsp + 0x48]
mov r13, rax
jmp 0x180050364
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0xc2
xor edx, edx
xor ecx, ecx
call fcn.1800a1ac0
mov r9, qword [rsp + 0x48]
jmp 0x180050364
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp dword [rsi], 1
mov rcx, rax
mov qword [rsp + 0x60], rax
jle 0x180050154
mov r14d, 0x2a
nop
cmp r14d, 0x2a
je 0x18004fffc
cmp r14d, 0x2f4
jne 0x18005001a
test rcx, rcx
jne 0x18005001a
mov esi, 0x10b
cmp esi, 0x10b
je 0x18004ffab
cmp esi, 0x1ce
je 0x18004fd9c
jmp 0x18004ffe7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str.easyUnlockPrivate.getConnectionInfo
mov rcx, rax
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 8]
call fcn.18015ba50
mov ebx, 1
add esi, 0xc3
cmp esi, 0x291
jb 0x18004ff95
mov rcx, qword [rsp + 0x60]
jmp 0x18005001a
mov rax, qword [rsp + 0x48]
lea rdx, [0x1801664c8]
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rcx, rax
mov qword [rsp + 0x60], rax
add r14d, 0x2ca
cmp r14d, 0x594
jbe 0x18004ff70
mov r9, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x40]
jmp 0x180050364
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rbp - 0x70]
mov qword [rbp - 0x70], 0x40
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea ecx, [rdx + 0x54]
call fcn.1800ee280
lea r9, [rbp + 0x90]
mov qword [rsp + 0x68], rax
mov r8d, 0x6d
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.18008e5a0
mov r9, qword [rsp + 0x48]
jmp 0x180050364
mov rcx, qword [r15 + 8]
mov edx, 1
mov r8, qword [r15 + 0x10]
mov r14, qword [rsp + 0x60]
sub r8, rcx
add rcx, qword [r15]
mov r9, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r13d, eax
test eax, eax
jle 0x18005014f
nop
mov esi, 0xe9
cmp esi, 0xe9
jne 0x18005010f
mov eax, r13d
lea rdx, [rsp + 0x58]
add qword [r15 + 8], rax
lea ecx, [rsi - 0x41]
mov rax, qword [r15 + 8]
mov r9, r15
add rax, 0x400
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rsp + 0x58], rax
call fcn.18009e250
add esi, 0xa5a6
cmp esi, 0xa5a6
jbe 0x1800500d5
mov rcx, qword [r15 + 8]
mov r9, r14
mov r8, qword [r15 + 0x10]
mov edx, 1
sub r8, rcx
add rcx, qword [r15]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r13d, eax
test eax, eax
jg 0x1800500d0
mov r9, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x40]
jmp 0x180050364
mov r14d, dword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
jmp 0x180050364
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], 0x400
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea ecx, [rdx + 0x54]
call fcn.1800ee280
mov r9, rax
mov qword [rsp + 0x58], 0x400
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x58]
mov ecx, 0xa8
mov r15, rax
call fcn.18009e250
mov r9, qword [rsp + 0x48]
jmp 0x180050364
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
cmp qword [rcx + 0xa8], 0
je 0x18005028a
mov r14d, 0x17
mov eax, r14d
sub eax, 0x17
je 0x180050211
cmp eax, 1
jne 0x18005026e
mov rax, qword [rsi]
lea rdx, str.System.Windows.Input.IInputProvider.NotifyDeactivate
mov rcx, qword [rax + 0x10]
mov r8, qword [rcx + 8]
mov ecx, 0x1000
add r8, 0x18
call fcn.1800eba40
jmp 0x18005026e
mov rax, qword [rsi]
lea rdx, [rbp - 0x68]
mov r8d, 0xd
mov rcx, rsi
mov r9, qword [rax + 0x18]
call qword [r9 + 0xa8]
test eax, eax
jne 0x18005026e
mov esi, 0x5e
mov eax, esi
sub eax, 0x5e
je 0x180050247
cmp eax, 1
je 0x18004fd9c
jmp 0x180050262
mov r9d, 0x2f
lea rcx, [rbp - 0x68]
xor r8d, r8d
xor edx, edx
call fcn.1800aa6a0
xor ebx, ebx
cmp al, 3
sete bl
inc esi
cmp esi, 0x60
jb 0x180050235
mov rsi, qword [rsp + 0x70]
inc r14d
cmp r14d, 0x19
jb 0x1800501e2
mov r9, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x40]
jmp 0x180050364
cmp qword [rcx + 0x48], 0
je case.0x18004fd5d.17
mov r14d, 0x45
nop dword [rax + rax]
cmp r14d, 0x45
je 0x180050314
cmp r14d, 0x2dd2
jne 0x180050329
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.1800aa6a0
cmp al, 8
je 0x180050329
mov esi, 0x81
nop dword [rax + rax]
mov eax, esi
sub eax, 0x80
je 0x18005039c
cmp eax, 1
jne 0x180050306
xor r9d, r9d
lea edx, [rax + 0x42]
xor r8d, r8d
mov rcx, r12
call fcn.1800c0a30
xor r8d, r8d
mov edx, 0xa4
mov rcx, r12
mov rdi, rax
call fcn.1800394a0
dec esi
cmp esi, 0x7f
ja 0x1800502d0
mov rsi, qword [rsp + 0x70]
jmp 0x180050329
mov rax, qword [rsi]
lea rdx, [rbp - 0x58]
mov rcx, rsi
mov r8, qword [rax + 0x18]
call qword [r8 + 0x48]
mov r12, rax
add r14d, 0x2d8d
cmp r14d, 0x5b1a
jbe 0x1800502a0
mov r9, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x40]
jmp 0x180050364
mov r8, qword [rbp - 0x80]
mov edx, dword [rsi]
add rdx, rdx
mov rcx, qword [r8 + 0x98]
mov eax, dword [r8 + 0xa0]
mov dword [rcx + rdx*8 + 0xc], eax
lea rdx, [0x180000000]
dec dword [rsp + 0x54]
dec r14d
mov dword [rsp + 0x40], r14d
cmp r14d, dword [rsp + 0x50]
jbe 0x18004fd9c
mov rsi, qword [rsp + 0x70]
mov eax, dword [rsp + 0x54]
jmp 0x18004fd42
sar r13d, 0x1f
mov eax, r13d
jmp 0x18004fd9e
mov eax, edi
jmp 0x18004fd9e