Function at 0x140152b30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1e0], rbx
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x20], rdx
mov byte [rsp + 0x40], r9b
mov rdi, qword [rbp + 0x100]
cmp byte [rcx + 0xf8], 0
jne 0x140152f93
mov dword [rsp + 0x4c], 0x3eb
cmp qword [r8 + 0x40], 0
je 0x140152be4
mov rax, qword [r8 + 8]
mov ecx, dword [rax + 0x2c]
mov dword [rsp + 0x48], ecx
mov rcx, rbx
call fcn.1400b4070
lea rdx, [rbx + 0x48]
mov rcx, rbx
call fcn.1401a09d0
cmp byte [rbx + 0x18], 0
jne 0x140152bd0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400089c0
mov r8d, 4
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 8]
call fcn.140169500
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.1401696a0
nop
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rbp - 0x80]
call fcn.14025e440
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov edx, 9
lea r9d, [rdx + 6]
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x80]
call fcn.1400a1fd0
mov rbx, qword [rsp + 0x50]
lea r14, [rbx + 0x1c]
mov edx, dword [r14]
lea rcx, [rsp + 0x68]
call fcn.14000c6d0
nop
movsxd rax, dword [rbx + 0x18]
add rax, qword [rbx + 8]
mov qword [rbp - 0x80], rax
mov eax, dword [r14]
mov dword [rbp - 0x78], eax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x70], rax
mov eax, dword [r14]
mov dword [rbp - 0x68], eax
mov edx, 4
lea rcx, [rbp - 0x80]
call fcn.1400a2430
lea rcx, [rbp - 0x80]
call fcn.1400a2eb0
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.GameDataPath
lea rcx, [rbp + 0x28]
call fcn.14000b830
nop
call fcn.1400aa1c0
mov rcx, rax
lea r8, [rbp + 8]
lea rdx, [rbp + 0x28]
call fcn.140108a90
nop
lea rcx, [rbp + 0x28]
call fcn.14000b5d0
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.SaveDataPath
lea rcx, [rbp + 0x48]
call fcn.14000b830
nop
call fcn.1400aa1c0
mov rcx, rax
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x48]
call fcn.140108a90
nop
lea rcx, [rbp + 0x48]
call fcn.14000b5d0
mov qword [rsp + 0x60], 0
mov rax, qword [r15 + 0xf0]
cmp dword [rax + 0xaf0], 2
jne 0x140152d5b
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x68]
call fcn.1400aa050
cmp qword [rax + 0x18], 8
jb 0x140152d47
mov rax, qword [rax]
mov rcx, rax
call qword [case.0x14024b920.17]
lea rcx, [rbp + 0x68]
call fcn.1400ae780
jmp 0x140152d6f
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rcx, qword [rbp - 0x18]
call qword [str.d_R_]
mov rax, qword [r15 + 0xf0]
mov r8d, dword [rax + 0xaf0]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1401784d0
mov rax, qword [r15 + 0xf0]
cmp dword [rax + 0xaf0], 2
jne 0x140152dcb
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x88]
call fcn.1400aa050
cmp qword [rax + 0x18], 8
jb 0x140152db4
mov rax, qword [rax]
mov rcx, rax
call qword [case.0x14024b920.17]
lea rcx, [rbp + 0x88]
call fcn.1400ae780
jmp 0x140152ddf
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rcx, qword [rbp + 8]
call qword [str.d_R_]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x140152e78
lea rcx, [rbp - 0x18]
call fcn.14000b5d0
nop
lea rcx, [rbp + 8]
call fcn.14000b5d0
nop
lea edi, [rbx - 1]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140152e39
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140152e39
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140152e39
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140152e73
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140152e73
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140152e73
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140152f93
mov r9, rbx
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [0x14038a598]
call fcn.140267024
mov r9, rbx
mov edx, 1
mov r8d, edx
lea rcx, [rsp + 0x40]
call fcn.140267024
mov r9, rbx
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x4c]
call fcn.140267024
mov r9, rbx
mov edx, 4
lea r8d, [rdx - 3]
mov rcx, r14
call fcn.140267024
mov edx, dword [r14]
sub edx, dword [rbp - 0x68]
mov r9, rbx
mov r8d, 1
mov rcx, qword [rsp + 0x68]
call fcn.140267024
mov rcx, rbx
call fcn.140266d44
mov eax, dword [r14]
cmp dword [rdi], eax
jae 0x140152f0b
nop word [rax + rax]
mov eax, dword [rdi]
add eax, eax
mov dword [rdi], eax
cmp eax, dword [r14]
jb 0x140152f00
lea rcx, [rbp - 0x18]
call fcn.14000b5d0
nop
lea rcx, [rbp + 8]
call fcn.14000b5d0
nop
mov edi, 0xffffffff
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140152f59
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140152f59
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140152f59
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140152f93
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140152f93
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140152f93
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, rsi
call fcn.14000b5d0
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.14023ed20
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret