Function at 0x1400188a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1402aa8c0]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov rdi, rcx
mov qword [rsp + 0x4d0], r13
mov r8, rdx
lea rcx, [rbp + 0x160]
lea rdx, str._sHunt.dat
call fcn.14000a640
lea rdx, [0x140261acc]
lea rcx, [rbp + 0x160]
call fcn.1401d1788
xor ebx, ebx
mov r13, rax
lea r14, [rbx - 1]
test rax, rax
je 0x140018f8d
mov r9, rax
mov dword [rsp + 0x40], ebx
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.1401d1c20
mov rcx, qword [rdi + 0x558]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x140018a99
mov rcx, rax
mov eax, WSAGetLastError
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14002970c
mov r12, rax
test rax, rax
je 0x140018a99
movsxd rcx, dword [rsp + 0x40]
xor edx, edx
imul r8, rcx, 0x6c
mov rcx, rax
call fcn.1401cafc0
movsxd r8, dword [rsp + 0x40]
lea edx, [rbx + 0x6c]
mov r9, r13
mov rcx, r12
call fcn.1401d1c20
mov esi, ebx
cmp dword [rsp + 0x40], ebx
jle 0x140018a8c
mov r15, r12
nop
mov qword [rsp + 0x38], rbx
lea r9, [0x140262214]
mov dword [rsp + 0x30], ebx
lea rcx, [rdi + 0x518]
mov dword [rsp + 0x28], ebx
mov r8d, esi
mov edx, 1
mov dword [rsp + 0x20], ebx
call fcn.140036950
lea ebx, [rsi + 1]
mov r8d, ebx
lea rdx, [0x140264a88]
lea rcx, [rbp + 0x80]
call fcn.14000a640
lea r9, [rbp + 0x80]
mov r8d, 1
mov edx, esi
lea rcx, [rdi + 0x518]
call fcn.140036c6c
movsxd rax, esi
lea r9, [r12 + 2]
imul rcx, rax, 0x6c
mov r8d, 2
mov edx, esi
add r9, rcx
lea rcx, [rdi + 0x518]
call fcn.140036c6c
mov r8d, dword [r15 + 0x68]
lea rdx, [0x140264a88]
lea rcx, [rbp + 0x80]
call fcn.14000a640
lea r9, [rbp + 0x80]
mov r8d, 3
mov edx, esi
lea rcx, [rdi + 0x518]
call fcn.140036c6c
movzx r8d, byte [r15]
lea rcx, [rdi + 0x518]
mov edx, esi
call fcn.140045dfc
cmp ebx, dword [rsp + 0x40]
lea r15, [r15 + 0x6c]
mov esi, ebx
mov ebx, 0
jl 0x1400189b0
mov rcx, r12
call fcn.140029704
mov rsi, qword [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x130
call fcn.1401cafc0
mov r9, r13
lea rcx, [rsp + 0x50]
mov edx, 0x130
mov r8d, 1
call fcn.1401d1c20
movzx eax, byte [rsp + 0x50]
movss xmm0, dword [rsp + 0x54]
movss xmm1, dword [rsp + 0x58]
mov dword [rdi + 0x138], eax
movzx eax, byte [rsp + 0x51]
mov dword [rdi + 0x13c], eax
movzx eax, byte [rsp + 0x52]
mov dword [rdi + 0x140], eax
movzx eax, byte [rsp + 0x60]
mov dword [rdi + 0x144], eax
movzx eax, byte [rsp + 0x61]
mov dword [rdi + 0x148], eax
movzx eax, byte [rsp + 0x62]
mov dword [rdi + 0x6e8], eax
mov eax, dword [rsp + 0x64]
mov dword [rdi + 0x14c], eax
movzx eax, byte [rsp + 0x68]
mov dword [rdi + 0x6ec], eax
movzx eax, byte [rsp + 0x69]
mov dword [rdi + 0x6f0], eax
movzx eax, byte [rsp + 0x6a]
mov dword [rdi + 0x6f4], eax
movzx eax, byte [rsp + 0x6b]
mov dword [rdi + 0x6f8], eax
movzx eax, byte [rsp + 0x6c]
mov dword [rdi + 0x6fc], eax
movzx eax, byte [rsp + 0x6d]
mov dword [rdi + 0x708], eax
movzx eax, byte [rsp + 0x6e]
mov dword [rdi + 0x160], eax
movzx eax, byte [rsp + 0x6f]
mov dword [rdi + 0x700], eax
movzx eax, byte [rsp + 0x70]
mov dword [rdi + 0x150], eax
mov eax, dword [rsp + 0x74]
mov dword [rdi + 0x154], eax
movzx eax, byte [rsp + 0x78]
mov dword [rdi + 0x704], eax
movzx eax, byte [rsp + 0x79]
mov dword [rdi + 0x158], eax
mov eax, dword [rsp + 0x7c]
mov dword [rdi + 0x15c], eax
movzx eax, byte [rbp - 0x80]
mov dword [rdi + 0x70c], eax
mov eax, dword [rbp - 0x7c]
mov dword [rdi + 0x164], eax
mov eax, dword [rbp - 0x78]
mov dword [rdi + 0x168], eax
movzx eax, byte [rbp - 0x74]
mov dword [rdi + 0x710], eax
mov eax, dword [rbp - 0x70]
mov dword [rdi + 0x16c], eax
mov eax, dword [rbp - 0x6c]
mov dword [rdi + 0x170], eax
movzx eax, byte [rbp - 0x68]
mov dword [rdi + 0x714], eax
movzx eax, byte [rbp - 0x58]
movss dword [rdi + 0x724], xmm0
movss xmm0, dword [rsp + 0x5c]
mov dword [rdi + 0x718], eax
movzx eax, byte [rbp - 0x57]
movss dword [rdi + 0x72c], xmm0
movss xmm0, dword [rbp - 0x64]
mov dword [rdi + 0x71c], eax
movzx eax, byte [rbp - 0x56]
movss dword [rdi + 0x728], xmm1
movss xmm1, dword [rbp - 0x60]
movss dword [rdi + 0x730], xmm0
movss xmm0, dword [rbp - 0x5c]
mov dword [rdi + 0x720], eax
movss dword [rdi + 0x734], xmm1
movss dword [rdi + 0x738], xmm0
lea rcx, [rdi + 0x130]
mov rax, r14
lea rdx, [rbp - 0x54]
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140018c60
mov r8d, eax
lea rdx, [rbp - 0x54]
call fcn.14000b710
movzx eax, byte [rbp + 0x10]
mov rcx, r13
mov dword [rdi + 0x73c], eax
mov eax, dword [rbp + 0x14]
mov dword [rdi + 0x744], eax
movzx eax, byte [rbp + 0x18]
mov dword [rdi + 0x740], eax
movzx eax, word [rbp + 0x1a]
mov dword [rdi + 0x830], eax
call fcn.1401d192c
mov rcx, qword [rdi + 0x2a0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea r14, [0x1402ac180]
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rdi + 0x13c]
and eax, 0x80000003
jge 0x140018ce4
dec eax
or eax, 0xfffffffc
inc eax
cdqe
lea rcx, [rax + rax*4]
movsxd rax, ebx
lea rcx, [rax + rcx*4]
imul r9, rcx, 0x64
add r9, r14
cmp word [r9], 0
je 0x140018d1b
mov rcx, qword [rdi + 0x2a0]
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
cmp ebx, 0x14
jl 0x140018cd0
movss xmm3, dword [rdi + 0x728]
lea rdx, str.__.2f___.2f___.2f_
movss xmm2, dword [rdi + 0x724]
lea rcx, [rbp + 0xf0]
movss xmm0, dword [rdi + 0x72c]
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movq r9, xmm3
movq r8, xmm2
movsd qword [rsp + 0x20], xmm0
call fcn.14000a640
mov edx, 0x83e
mov rcx, rdi
call fcn.140032c74
mov rcx, rax
lea rdx, [rbp + 0xf0]
call fcn.140033864
movss xmm3, dword [rdi + 0x734]
lea rdx, str.__.2f___.2f___.2f_
movss xmm2, dword [rdi + 0x730]
lea rcx, [rbp + 0xf0]
movss xmm0, dword [rdi + 0x738]
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movq r9, xmm3
movq r8, xmm2
movsd qword [rsp + 0x20], xmm0
call fcn.14000a640
mov edx, 0x83f
mov rcx, rdi
call fcn.140032c74
mov rcx, rax
lea rdx, [rbp + 0xf0]
call fcn.140033864
xor edx, edx
mov rcx, rdi
call fcn.1400301cc
mov rcx, rdi
call fcn.140017930
mov edx, 1
mov rcx, rdi
call fcn.1400301cc
mov edx, 0x835
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x6e8]
mov rcx, rax
call fcn.140032b28
mov edx, 1
mov rcx, rdi
call fcn.1400301cc
mov edx, 0x836
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x700]
mov rcx, rax
call fcn.140032b28
mov edx, 0x837
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x700]
mov rcx, rax
call fcn.140032b28
mov edx, 1
mov rcx, rdi
call fcn.1400301cc
mov edx, 0x838
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x704]
mov rcx, rax
call fcn.140032b28
mov edx, 0x839
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x704]
mov rcx, rax
call fcn.140032b28
mov edx, 1
mov rcx, rdi
call fcn.1400301cc
mov edx, 0x518
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x6f0]
mov rcx, rax
call fcn.140032b28
mov edx, 0x519
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x6f0]
mov rcx, rax
call fcn.140032b28
mov edx, 0x51a
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x6f0]
mov rcx, rax
call fcn.140032b28
mov rcx, rdi
call fcn.1400183d0
mov edx, 1
mov rcx, rdi
call fcn.1400301cc
mov edx, 0x83a
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x70c]
mov rcx, rax
call fcn.140032b28
mov edx, 0x83b
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x70c]
mov rcx, rax
call fcn.140032b28
mov edx, 1
mov rcx, rdi
call fcn.1400301cc
mov edx, 0x83c
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x710]
mov rcx, rax
call fcn.140032b28
mov edx, 0x83d
mov rcx, rdi
call fcn.140032c74
mov edx, dword [rdi + 0x710]
mov rcx, rax
call fcn.140032b28
xor ebx, ebx
lea r14, [rbx - 1]
mov rcx, qword [rdi + 0x640]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rsi
lea rdx, str._sParty.dat
lea rcx, [rbp + 0x160]
call fcn.14000a640
lea rdx, [0x140261acc]
lea rcx, [rbp + 0x160]
call fcn.1401d1788
mov r13, qword [rsp + 0x4d0]
mov r15, rax
test rax, rax
je 0x1400190c3
mov edx, 4
mov dword [rsp + 0x40], ebx
mov r9, rax
lea rcx, [rsp + 0x40]
lea r8d, [rdx - 3]
call fcn.1401d1c20
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x1400190bb
mov rcx, rax
mov eax, 0x66
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14002970c
mov r14, rax
mov r9, r15
xor eax, eax
mov rcx, r14
mov qword [r14], rax
movsxd r8, dword [rsp + 0x40]
lea edx, [rax + 0x66]
call fcn.1401d1c20
cmp dword [rsp + 0x40], 0
jle 0x1400190b3
add rdi, 0x600
mov rsi, r14
xor r12d, r12d
nop
mov qword [rsp + 0x38], r12
lea r9, [0x140262214]
mov dword [rsp + 0x30], r12d
mov r8d, ebx
mov dword [rsp + 0x28], r12d
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.140036950
movsxd rax, ebx
mov r8d, 1
imul r9, rax, 0x66
mov edx, ebx
mov rcx, rdi
add r9, 2
add r9, r14
call fcn.140036c6c
movzx r8d, byte [rsi]
mov edx, ebx
mov rcx, rdi
call fcn.140045dfc
inc ebx
lea rsi, [rsi + 0x66]
cmp ebx, dword [rsp + 0x40]
jl 0x140019050
mov rcx, r14
call fcn.140029704
mov rcx, r15
call fcn.1401d192c
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1401c8d10
add rsp, 0x480
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret