Function at 0x18010fd70
Capabilities:
Read 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 - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x180183c70]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
xor ebx, ebx
mov qword [rsp + 0x38], rcx
mov r15, rdx
mov qword [rsp + 0x48], r9
mov rdx, rcx
mov r12, r8
mov ecx, dword [rbp + 0x520]
mov r14d, ecx
lea r10d, [rbx + 0x72]
lea r8d, [rbx + 0x6c]
lea r13d, [rcx - 0x1a]
cmp ecx, r13d
jbe 0x18010ff29
mov rsi, qword [rsp + 0x40]
movabs r8, 0x72006500730075
mov rdi, qword [rsp + 0x40]
mov r10d, 0x6c43
mov r11d, 0x6957
lea eax, [r14 - 0x59]
cmp eax, 0x52
ja case.0x18010fe20.94
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x110b30]
mov ecx, dword [rcx + rax*4 + 0x110ac8]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov qword [rsp + 0x58], rbx
jmp case.0x18010fe20.94
mov qword [rbp + 0x480], r8
jmp case.0x18010fe20.94
mov dword [rbp + 0x3f8], 0x746553
jmp case.0x18010fe20.94
mov word [rbp + 0x380], r10w
mov byte [rbp + 0x382], bl
jmp case.0x18010fe20.94
mov eax, 0x33
mov word [rbp + 0x488], ax
jmp case.0x18010fe20.94
mov rax, qword [r9]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], ebx
mov r8d, 0x109
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.1800334a0
mov rdx, qword [rsp + 0x38]
mov rsi, rdx
jmp 0x18010fef2
mov dword [rbp + 0x3fe], 0x726f73
jmp case.0x18010fe20.94
mov dword [rbp + 0x3fb], 0x727543
jmp case.0x18010fe20.94
mov byte [rbp + 0x38c], bl
jmp case.0x18010fe20.94
mov word [rbp + 0x3e2], bx
jmp case.0x18010fe20.94
mov r8d, 3
mov word [rbp + 0x48e], bx
lea rdx, [0x180165322]
lea rcx, [rbp + 0x480]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov rdx, qword [rsp + 0x38]
mov r10d, 0x6c43
mov r11d, 0x6957
mov r9, qword [rsp + 0x48]
movabs r8, 0x72006500730075
dec r14d
cmp r14d, r13d
ja 0x18010fdf3
mov ecx, dword [rbp + 0x520]
mov r8d, 0x6c
lea r10d, [r8 + 6]
mov r14d, 0x19
lea eax, [rcx + 0x19]
mov qword [rsp + 0x30], r14
lea edx, [r14 + 0x5c]
cmp ecx, eax
jae 0x180110450
mov esi, r14d
lea edi, [rcx - 0x77]
lea r14, [0x180000000]
mov r15d, 0x7275
mov r12d, 0x6547
mov r13d, 0x4374
cmp edi, 0x21
ja case.0x18010ff76.17
mov ecx, dword [r14 + rdi*4 + 0x110b84]
add rcx, r14
jmp rcx
mov dword [rbp + 0x3f2], 0x6c
jmp case.0x18010fe20.94
mov word [rbp + 0x3a0], r11w
jmp case.0x18010fe20.94
mov dword [rbp + 0x3ee], 0x6c0064
mov word [rbp + 0x3f2], bx
jmp case.0x18010fe20.94
mov r8d, 1
lea rdx, str.utexture2DRect__utexture2DRect_VK
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x18010feed
mov rsi, qword [rsp + 0x40]
cmp qword [r9], rbx
je 0x18010ffd9
cmp r12, rdx
jne case.0x18010fe20.94
mov eax, 0x118
nop
cmp eax, 0x118
je 0x180110177
add eax, 9
cmp eax, 0x121
jb 0x18010ffe0
jmp case.0x18010fe20.94
mov dword [rbp + 0x48a], 0x2e0032
jmp case.0x18010fe20.94
mov eax, dword [0x18016542a]
mov dword [rbp + 0x3e2], eax
movzx eax, word [0x18016542e]
mov word [rbp + 0x3e6], ax
mov word [rbp + 0x3e8], bx
jmp case.0x18010fe20.94
mov eax, dword [0x180165486]
mov dword [rbp + 0x385], eax
movzx eax, byte [0x18016548a]
mov byte [rbp + 0x389], al
jmp case.0x18010fe20.94
mov r8d, 2
mov byte [rbp + 0x38a], bl
lea rdx, [0x1801654a7]
lea rcx, [rbp + 0x38a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18010feed
mov r8d, 3
lea rdx, [0x1801654fe]
lea rcx, [rbp + 0x3e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x3ee], bx
jmp 0x18010feed
movsxd r8, dword [r9]
mov rcx, r15
mov r9, rdx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [rsp + 0x58], eax
jmp 0x18010feed
mov r8, qword [r9]
sub r12, r8
cmp rsi, r12
ja 0x18010ff03
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0xc3
mov eax, r9d
sub eax, 0xc3
je 0x18011010e
sub eax, 0x75
je 0x180110135
sub eax, 0x75
je 0x180110106
cmp eax, 0x75
jne 0x18011013b
cmp rdi, r8
je 0x180110180
movzx eax, byte [r8 + rsi]
mov ecx, dword [rsp + rax*4 + 0x70]
add rsi, rcx
jmp 0x18011013b
mov r14d, 0x5b
jmp 0x18011013b
mov rdi, rbx
test r8, r8
je 0x18011013b
mov rdx, r15
mov rax, rsi
sub rdx, rsi
nop
movzx ecx, byte [rax]
cmp byte [rax + rdx], cl
jne 0x180110135
inc rdi
inc rax
cmp rdi, r8
jb 0x180110120
jmp 0x18011013b
mov r9d, 0x138
add r9d, 0x75
cmp r9d, 0x297
jb 0x1801100d6
cmp rsi, r12
jbe 0x1801100d0
mov rdx, qword [rsp + 0x38]
jmp 0x18010fefe
movzx eax, word [0x180165595]
mov word [rbp + 0x382], ax
movzx eax, byte [0x180165597]
mov byte [rbp + 0x384], al
jmp case.0x18010fe20.94
mov rax, rbx
jmp 0x180110a9c
mov rax, rsi
jmp 0x180110a9c
lea rcx, [rbp + 0x438]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180110193
mov eax, dword [0x1801655a8]
mov dword [rcx], eax
movzx eax, word [0x1801655ac]
mov word [rcx + 4], ax
lea rcx, [rbp + 0x438]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x1801101c0
mov eax, dword [0x1801650b8]
mov dword [rcx], eax
jmp case.0x18010ff76.17
mov byte [rbp + 0x370], 0x47
jmp case.0x18010ff76.17
lea rcx, [rbp + 0x420]
sub rcx, 2
nop
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x1801101f0
mov eax, dword [0x1801650a8]
lea rdx, [0x1801655b0]
mov dword [rcx], eax
mov r8d, 2
lea rcx, [rbp + 0x42e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x180110429
mov word [rbp + 0x3c4], r8w
jmp case.0x18010ff76.17
mov r8d, 2
lea rdx, [0x1801655f4]
lea rcx, [rbp + 0x380]
jmp 0x180110423
mov word [rbp + 0x43a], bx
jmp case.0x18010ff76.17
mov r8d, 1
lea rdx, [0x180165631]
lea rcx, [rbp + 0x376]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp + 0x377], bl
jmp 0x180110429
mov r8d, 0xa
lea rdx, [rbp + 0x440]
lea ecx, [r8 - 7]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
jmp 0x180110429
mov byte [rbp + 0x3a2], bl
jmp case.0x18010ff76.17
mov r8d, 1
lea rdx, [0x1801648cc]
lea rcx, [rbp + 0x438]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x180110429
mov byte [rbp + 0x3a3], bl
lea rdx, [0x18016564d]
lea rcx, [rbp + 0x3a0]
jmp 0x18011041d
lea rax, [rbp + 0x420]
mov word [rbp + 0x420], bx
sub rax, 2
nop dword [rax]
cmp word [rax + 2], bx
lea rax, [rax + 2]
jne 0x1801102f0
movsd xmm0, qword [0x180165658]
movsd qword [rax], xmm0
jmp case.0x18010ff76.17
mov eax, dword [0x180165674]
mov dword [rbp + 0x3a7], eax
movzx eax, byte [0x180165678]
mov byte [rbp + 0x3ab], al
jmp case.0x18010ff76.17
movzx eax, word [0x18016568e]
mov word [rbp + 0x3ac], ax
movzx eax, byte [0x180165690]
mov byte [rbp + 0x3ae], al
jmp case.0x18010ff76.17
mov word [rbp + 0x374], r15w
mov byte [rbp + 0x376], bl
jmp case.0x18010ff76.17
mov byte [rbp + 0x3a2], 0x6e
jmp case.0x18010ff76.17
mov r8d, 4
lea rdx, [0x1801656c8]
lea rcx, [rbp + 0x442]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov r8d, 0x6c
mov dword [rbp + 0x448], r8d
jmp 0x18011042f
mov dword [rbp + 0x430], r8d
jmp case.0x18010ff76.17
mov r8d, 0xa
mov dword [rbp + 0x426], r10d
lea rdx, [rbp + 0x428]
lea ecx, [r8 + 0x16]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultow]
jmp 0x180110429
mov byte [rbp + 0x374], bl
jmp case.0x18010ff76.17
movzx eax, word [0x1801656de]
mov word [rbp + 0x371], ax
movzx eax, byte [0x1801656e0]
mov byte [rbp + 0x373], al
jmp case.0x18010ff76.17
mov dword [rbp + 0x432], r8d
mov word [rbp + 0x3c0], r12w
jmp case.0x18010ff76.17
mov word [rbp + 0x3c2], r13w
jmp case.0x18010ff76.17
mov byte [rbp + 0x3af], bl
mov word [rbp + 0x438], dx
jmp case.0x18010ff76.17
lea rdx, [0x180165729]
lea rcx, [rbp + 0x370]
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 0x6c
mov edx, 0x75
inc edi
mov r10d, 0x72
sub rsi, 1
jne 0x18010ff62
mov ecx, dword [rbp + 0x520]
lea r14d, [r10 - 0x59]
lea eax, [rcx - 0x19]
cmp ecx, eax
jbe case.0x18010fe20.89
mov r12, qword [rsp + 0x40]
lea edi, [rcx - 0x6a]
mov r15, qword [rsp + 0x40]
mov edx, 0x6f
mov rsi, r14
mov r8d, 0x6853
mov r14, qword [rsp + 0x40]
mov r9d, 0x7463
lea r10d, [rdx + 8]
lea r13d, [rdx - 0x1d]
lea r11d, [rdx - 0xa]
nop dword [rax]
cmp edi, 0x27
ja case.0x1801104b1.14
lea rcx, [0x180000000]
mov ecx, dword [rcx + rdi*4 + 0x110c0c]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov eax, 0x7543
mov word [rbp + 0x3d3], r10w
mov word [rbp + 0x3d4], ax
jmp case.0x1801104b1.14
mov dword [rbp + 0x3c5], 0x746e6569
jmp case.0x1801104b1.14
mov eax, dword [0x18016574e]
mov dword [rbp + 0x468], eax
movzx eax, word [0x180165752]
mov word [rbp + 0x46c], ax
jmp case.0x1801104b1.14
mov word [rbp + 0x3d2], dx
jmp case.0x1801104b1.14
mov word [rbp + 0x464], bx
jmp case.0x1801104b1.14
mov rax, qword [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, qword [rax + 0x248]
call r14
lea rcx, [rsp + 0x60]
call r12
mov edx, 0x6f
mov r8d, 0x6853
mov r9d, 0x7463
lea r10d, [rdx + 8]
lea r11d, [rdx - 0xa]
jmp case.0x1801104b1.14
mov dword [rbp + 0x390], 0x70696c43
mov byte [rbp + 0x394], bl
jmp case.0x1801104b1.14
mov r9d, 0x110
lea rdx, str.ClipCursor
xor r8d, r8d
lea rcx, [rbp + 0x480]
call fcn.18002fce0
mov r9d, 0x110
lea rdx, [rbp + 0x380]
xor r8d, r8d
lea rcx, [rbp + 0x420]
mov r12, rax
call fcn.18002fce0
mov r14, rax
jmp 0x18011052e
mov eax, 0x72
mov word [rbp + 0x3d6], ax
jmp case.0x1801104b1.14
mov dword [rbp + 0x3d7], 0x726f73
jmp case.0x1801104b1.14
mov eax, 0x6c
mov dword [rbp + 0x4aa], eax
jmp case.0x1801104b1.14
mov r8d, 2
lea rdx, [0x1801648cc]
lea rcx, [rbp + 0x4a8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x18011052e
mov r13, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, qword [r13 + 0x248]
call r15
mov rcx, qword [r13 + 0x248]
lea rdx, [rsp + 0x60]
call r14
mov edx, 0x6f
mov r8d, 0x6853
mov r9d, 0x7463
lea r10d, [rdx + 8]
lea r11d, [rdx - 0xa]
lea r13d, [rdx - 0x1d]
jmp case.0x1801104b1.14
mov word [rbp + 0x3c9], r13w
mov word [rbp + 0x3ca], r11w
jmp case.0x1801104b1.14
movups xmm0, xmmword [str.user32.d]
movzx eax, word [0x180165788]
mov word [rbp + 0x4a8], ax
movups xmmword [rbp + 0x498], xmm0
jmp case.0x1801104b1.14
mov word [rbp + 0x47c], bx
jmp case.0x1801104b1.14
mov eax, 0x33
mov word [rbp + 0x458], ax
jmp case.0x1801104b1.14
movsd xmm0, qword [0x1801657dc]
movzx eax, word [0x1801657e4]
movsd qword [rbp + 0x45a], xmm0
mov word [rbp + 0x462], ax
jmp case.0x1801104b1.14
mov r8d, 4
lea rdx, [0x1801657fc]
lea rcx, [rbp + 0x450]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x458], bx
jmp 0x18011052e
mov word [rbp + 0x3d0], r8w
jmp case.0x1801104b1.14
mov word [rbp + 0x3cb], r9w
mov byte [rbp + 0x3cd], bl
jmp case.0x1801104b1.14
mov r9d, 0x110
lea rdx, [rbp + 0x3c0]
xor r8d, r8d
lea rcx, [rbp + 0x450]
call fcn.18002fce0
mov r15, rax
jmp 0x18011052e
mov dword [rbp + 0x46e], 0x330072
jmp case.0x1801104b1.14
mov word [rbp + 0x37b], 0x73
jmp case.0x1801104b1.14
movsd xmm0, qword [0x180165830]
movzx eax, word [0x180165838]
movsd qword [rbp + 0x472], xmm0
mov word [rbp + 0x47a], ax
dec edi
sub rsi, 1
jne 0x180110490
mov edi, dword [rbp + 0x520]
lea r9d, [rsi + 0x74]
mov r12, qword [rsp + 0x40]
lea eax, [r9 - 0x5b]
mov rsi, qword [rsp + 0x40]
add edi, 0xffffffa1
mov r14, qword [rsp + 0x40]
mov edx, 0x7361
mov r15, qword [rsp + 0x40]
mov r8d, 0x726f
mov r13, qword [rsp + 0x40]
movabs r10, 0x64002e0032
nop
cmp edi, 0x18
ja case.default.0x1801107b1
lea rcx, [0x180000000]
mov ecx, dword [rcx + rdi*4 + 0x110cac]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
lea rcx, [rsp + 0x40]
call qword [rsp + 0x50]
test eax, eax
je 0x180110a60
mov rcx, qword [rsp + 0x40]
call r12
mov rcx, qword [rsp + 0x38]
cmp rax, qword [rcx + 0x248]
jne 0x180110a60
xor ecx, ecx
call rsi
jmp 0x180110a60
mov r8d, 1
lea rdx, [0x1801650c0]
lea rcx, [rbp + 0x408]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x180110a60
mov word [rbp + 0x3b6], r11w
jmp 0x180110a7b
mov byte [rbp + 0x39a], bl
jmp 0x180110a7b
mov eax, 0x75
mov word [rbp + 0x3bb], ax
jmp 0x180110a7b
mov word [rbp + 0x3b4], dx
jmp 0x180110a7b
mov r9d, 0x110
lea rdx, [rbp + 0x3b0]
xor r8d, r8d
lea rcx, [rbp + 0x408]
call fcn.18002fce0
mov r14, rax
jmp 0x180110a60
mov word [rbp + 0x398], r8w
jmp 0x180110a7b
lea rcx, [rbp + 0x408]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180110880
mov eax, dword [0x180164828]
mov dword [rcx], eax
jmp 0x180110a7b
call r14
xor ecx, ecx
call r15
jmp 0x180110a60
mov dword [rbp + 0x3b7], 0x706143
mov word [rbp + 0x3ba], r9w
jmp 0x180110a7b
mov word [rbp + 0x408], bx
jmp 0x180110a7b
mov eax, dword [0x18016583c]
mov qword [rbp + 0x412], r10
mov dword [rbp + 0x418], eax
movzx eax, word [0x180165840]
mov word [rbp + 0x41c], ax
jmp 0x180110a7b
mov r8d, 0xa
lea rdx, [rbp + 0x410]
lea ecx, [r8 - 7]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltow]
jmp 0x180110a60
mov r9d, 0x110
lea rdx, [rbp + 0x3f8]
xor r8d, r8d
lea rcx, [rbp + 0x3e0]
call fcn.18002fce0
mov rsi, rax
jmp 0x180110a60
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x25a], bl
je 0x180110a7b
mov ecx, 1
call r13
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x25a], bl
jmp 0x180110a60
mov r8d, 2
lea rdx, [0x1801658c5]
lea rcx, [rbp + 0x396]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x180110a60
mov r9d, 0x110
lea rdx, [rbp + 0x370]
xor r8d, r8d
lea rcx, [rbp + 0x498]
call fcn.18002fce0
mov r9d, 0x110
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x468]
call fcn.18002fce0
mov r13, rax
jmp 0x180110a60
mov eax, dword [0x180165950]
mov dword [rbp + 0x40c], eax
movzx eax, word [0x180165954]
mov word [rbp + 0x410], ax
jmp 0x180110a7b
mov eax, 0x7543
mov word [rbp + 0x394], ax
jmp 0x180110a7b
mov eax, 0x72
mov word [rbp + 0x3bc], ax
mov word [rbp + 0x3bd], r11w
jmp 0x180110a7b
mov eax, 0x52
mov word [rbp + 0x3b0], ax
mov dword [rbp + 0x3b1], 0x656c65
jmp 0x180110a7b
mov r9d, 0x110
lea rdx, [rbp + 0x390]
xor r8d, r8d
lea rcx, str.user32.dll
call fcn.18002fce0
mov r15, rax
jmp 0x180110a60
mov byte [rbp + 0x396], bl
jmp 0x180110a7b
mov r9d, 0x110
lea rdx, [rbp + 0x3a0]
xor r8d, r8d
lea rcx, [rbp + 0x438]
call fcn.18002fce0
mov r12, rax
movabs r10, 0x64002e0032
mov r9d, 0x74
mov r8d, 0x726f
mov edx, 0x7361
mov rax, qword [rsp + 0x30]
dec edi
mov r11d, 0x65
sub rax, 1
mov qword [rsp + 0x30], rax
jne 0x180110790
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.18015c4c0
mov rbx, qword [rsp + 0x610]
add rsp, 0x5c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret