Function at 0x18000da30
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov esi, r8d
mov ebx, edx
mov rdi, rcx
lea eax, [rdx + rdx*2 + 0x400]
mov dword [r11 + 0x10], eax
mov ecx, eax
call fcn.18000fddc
mov rbp, rax
mov dword [rax], ebx
lea rcx, [rax + 4]
mov r9d, ebx
mov r8, rdi
lea rdx, [rsp + 0x88]
call fcn.18001fbf0
test eax, eax
jne 0x18000dcac
mov rcx, qword [0x18003a100]
add rcx, 0xffffffffffffffe8
call fcn.1800013c0
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.18000b060
xor ecx, ecx
call fcn.1800111f4
xor ecx, ecx
call fcn.1800111f4
mov rcx, rax
call fcn.180010eb0
lea rcx, [0x180037078]
mov rax, qword [0x180037078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov eax, dword [0x18003a120]
mov edi, eax
inc eax
mov dword [0x18003a120], eax
test esi, esi
je 0x18000db53
lea rcx, [rsp + 0x40]
call fcn.18000b510
mov rbx, rax
call fcn.180010ec8
mov r11d, eax
mov eax, 0x68db8bad
imul r11d
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x2710
sub r11d, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r11d
mov r9, qword [rbx]
mov r8, qword [0x18003a100]
lea rdx, str._sma__s__05u__u.
lea rcx, [rsp + 0x98]
call fcn.180002450
nop
mov rdx, qword [rsp + 0x40]
jmp 0x18000dbb0
lea rcx, [rsp + 0x48]
call fcn.18000b510
mov rbx, rax
call fcn.180010ec8
mov r11d, eax
mov eax, 0x68db8bad
imul r11d
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x2710
sub r11d, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r11d
mov r9, qword [rbx]
mov r8, qword [0x18003a100]
lea rdx, str._s_s__05u__u.
lea rcx, [rsp + 0x98]
call fcn.180002450
nop
mov rdx, qword [rsp + 0x48]
or esi, 0xffffffff
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000dbcd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [0x180037078]
mov rax, qword [0x180037078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x98]
lea rdx, str._sjpg
lea rcx, [rsp + 0x30]
call fcn.180002450
mov edx, 3
lea rcx, [rsp + 0x98]
call fcn.180002c80
mov r12d, dword [rsp + 0x88]
add r12d, 4
mov dword [rsp + 0x88], r12d
lea rdx, [0x1800310e0]
mov rdi, qword [rsp + 0x98]
mov rcx, rdi
call fcn.180010ea4
mov rbx, rax
test rax, rax
je 0x18000dc60
mov r8d, r12d
mov r9, rax
mov edx, 1
mov rcx, rbp
call fcn.180011080
mov rcx, rbx
call fcn.18001118c
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.180010c18
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000dc8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000dcac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, rbp
call fcn.18001010c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret