Function at 0x3883f7050
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov r14, rcx
mov rcx, qword [0x38848a120]
mov r13, rdx
mov rsi, r8
mov edx, 0xd
mov rbx, r9
call fcn.3883e9210
mov edx, 0xffffba49
mov qword [rsp + 0x60], rsi
mov word [rax + 0x10], dx
mov rdx, rsi
lea rdi, [rax + 0x10]
shr rdx, 0x20
mov dword [rax + 0x12], esi
mov word [rax + 0x16], dx
mov rdx, qword [rax]
mov dword [rax + 0x18], 0xff410000
mov qword [rsp + 0x58], rdx
mov rsi, qword [rax]
mov byte [rax + 0x1c], 0xe2
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x50], 0
test rbx, rbx
je 0x3883f70fc
xor r12d, r12d
cmp qword [rbx + 0x10], 0
je 0x3883f70dc
movsxd r8, dword [rbx + 0x18]
test r8d, r8d
jne 0x3883f70f0
mov eax, r12d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rbx + 0x10]
mov rdx, r13
call sub.msvcrt.dll_memcpy
lea rbp, [rsp + 0x58]
lea r15, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov r9d, 4
lea rbx, [rsp + 0x44]
mov r8, rbp
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [0x3884a2a60]
test eax, eax
jne 0x3883f75d0
lea rax, [rsp + 0x50]
mov r8, rdi
movsxd r9, esi
mov rdx, r13
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [0x3884a2a58]
mov edi, eax
test eax, eax
jne 0x3883f7320
mov edx, 0x325d5506
lea rcx, [0x38840eaa0]
lea rdi, [rsp + 0x60]
mov r12d, 1
call fcn.3883f5070
mov rcx, rdi
mov qword [rsp + 0x60], rax
call fcn.3883ff700
mov qword [rsp + 0x48], r13
mov r8, rbp
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
mov r9d, 0x20
call qword [0x3884a2a60]
test eax, eax
jne 0x3883f75a8
lea rcx, [0x38840ea40]
mov edx, 0x4ebbd186
call fcn.3883f5070
mov rcx, rdi
mov qword [rsp + 0x60], rax
call fcn.3883ff700
mov rax, qword [0x388489c90]
call qword [rax]
mov r8d, esi
mov rdx, r13
mov rcx, rax
mov rax, qword [rsp + 0xe0]
call qword [rax + 0x28]
mov esi, eax
test eax, eax
je 0x3883f7580
mov edx, 0x43eeb2c6
lea rcx, [0x38840e9a0]
mov edi, esi
movsxd rbx, esi
call fcn.3883f5070
mov edx, 0x19
and esi, 0xf
shr edi, 0x1f
mov rcx, qword [0x38848a750]
mov r13, rax
call fcn.3883e6c10
movdqa xmm0, xmmword [0x388410820]
mov rdx, qword [0x38848a330]
mov r14, rax
movups xmmword [rax], xmm0
movzx eax, byte [rdx + rsi + 0x10]
mov byte [r14 + 0x17], al
mov rax, rbx
shr rax, 4
jne 0x3883f74b8
test dil, dil
je 0x3883f74b8
mov word [r14 + 0x15], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
and eax, 0xf
shr rbx, 4
movzx eax, byte [rdx + rax + 0x10]
mov byte [r14 + 0x14], al
jne 0x3883f74e3
test dil, dil
je 0x3883f74e3
mov word [r14 + 0x12], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
and eax, 0xf
shr rbx, 4
movzx eax, byte [rdx + rax + 0x10]
mov byte [r14 + 0x11], al
jne 0x3883f750e
test dil, dil
je 0x3883f750e
mov byte [r14 + 0x10], 0x46
nop dword [rax]
mov rbx, qword [fcn.388408be0]
mov ecx, 1
call rbx
mov rdx, r13
mov rcx, rax
call fcn.3883ff600
mov ecx, 1
call rbx
mov rdx, r14
mov rcx, rax
call fcn.3883ff600
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x38840b092]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
jmp 0x3883f70dc
mov edx, 0x4eecd862
lea rcx, [0x38840eae0]
mov r12d, edi
call fcn.3883f5070
mov rcx, qword [0x38848a750]
movsxd r8, edi
shr r12d, 0x1f
mov edx, 0x19
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x60], rax
call fcn.3883e6c10
mov rdx, qword [0x38848a330]
mov ecx, edi
mov r8, qword [rsp + 0x38]
and ecx, 0xf
movdqa xmm0, xmmword [0x388410820]
movzx ecx, byte [rdx + rcx + 0x10]
movups xmmword [rax], xmm0
mov byte [rax + 0x17], cl
mov rcx, r8
shr rcx, 4
jne 0x3883f73e0
test r12b, r12b
je 0x3883f73e0
movabs rdi, 0xffffffffffffff
mov word [rax + 0x15], 0x4646
mov rcx, rdi
and ecx, 0xf
shr rdi, 4
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x14], cl
jne 0x3883f7409
test r12b, r12b
je 0x3883f7409
movabs rdi, 0xffffffffffffff
mov word [rax + 0x12], 0x4646
mov rcx, rdi
and ecx, 0xf
shr rdi, 4
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x11], cl
jne 0x3883f7432
test r12b, r12b
je 0x3883f7432
mov byte [rax + 0x10], 0x46
jmp 0x3883f743d
and ecx, 0xf
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x16], cl
mov rcx, r8
shr rcx, 8
jne 0x3883f7457
test r12b, r12b
je 0x3883f7457
movabs rdi, 0xffffffffffffff
mov word [rax + 0x14], 0x4646
mov rcx, rdi
and ecx, 0xf
shr rdi, 4
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x13], cl
jne 0x3883f7488
test r12b, r12b
je 0x3883f7488
movabs rdi, 0xffffffffffffff
mov word [rax + 0x11], 0x4646
and edi, 0xf
movzx edx, byte [rdx + rdi + 0x10]
mov byte [rax + 0x10], dl
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x68], rax
xor r12d, r12d
mov rcx, rdi
call fcn.3883ff760
jmp 0x3883f7181
and ecx, 0xf
mov rdi, r8
movzx ecx, byte [rdx + rcx + 0x10]
shr rdi, 0xc
mov byte [rax + 0x15], cl
jne 0x3883f7398
test r12b, r12b
je 0x3883f7398
movabs rdi, 0xffffffffffffff
mov word [rax + 0x13], 0x4646
mov rcx, rdi
and ecx, 0xf
shr rdi, 4
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x12], cl
jne 0x3883f73c1
test r12b, r12b
je 0x3883f73c1
mov word [rax + 0x10], 0x4646
jmp 0x3883f743d
and eax, 0xf
movzx eax, byte [rdx + rax + 0x10]
mov byte [r14 + 0x16], al
mov rax, rbx
shr rax, 8
jne 0x3883f751f
test dil, dil
je 0x3883f751f
mov word [r14 + 0x14], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
and eax, 0xf
shr rbx, 4
movzx eax, byte [rdx + rax + 0x10]
mov byte [r14 + 0x13], al
jne 0x3883f754f
test dil, dil
je 0x3883f754f
mov word [r14 + 0x11], 0x4646
movabs rbx, 0xffffffffffffff
and ebx, 0xf
movzx eax, byte [rdx + rbx + 0x10]
mov byte [r14 + 0x10], al
jmp 0x3883f72c0
and eax, 0xf
shr rbx, 0xc
movzx eax, byte [rdx + rax + 0x10]
mov byte [r14 + 0x15], al
jne 0x3883f7262
test dil, dil
je 0x3883f7262
mov word [r14 + 0x13], 0x4646
movabs rbx, 0xffffffffffffff
mov rax, rbx
and eax, 0xf
shr rbx, 4
movzx eax, byte [rdx + rax + 0x10]
mov byte [r14 + 0x12], al
jne 0x3883f7295
test dil, dil
je 0x3883f7295
mov word [r14 + 0x10], 0x4646
jmp 0x3883f72c0
mov edx, 0x77aad5e2
lea rcx, [0x38840e960]
call fcn.3883f5070
mov rcx, rdi
mov qword [rsp + 0x60], rax
call fcn.3883ff700
jmp 0x3883f70dc
mov edx, 0x7b077422
lea rcx, [0x38840e9e0]
call fcn.3883f5070
mov rcx, rdi
mov qword [rsp + 0x60], rax
call fcn.3883ff700
jmp 0x3883f71c6
mov edx, 0x20d8a246
lea rcx, [0x38840eb20]
mov dword [rsp + 0x38], eax
call fcn.3883f5070
mov edx, 0x19
movsxd rdi, dword [rsp + 0x38]
mov rcx, qword [0x38848a750]
mov qword [rsp + 0x60], rax
call fcn.3883e6c10
mov r8d, dword [rsp + 0x38]
mov r12d, edi
mov rdx, qword [0x38848a330]
movdqa xmm0, xmmword [0x388410820]
shr r12d, 0x1f
and r8d, 0xf
movzx ecx, byte [rdx + r8 + 0x10]
movups xmmword [rax], xmm0
mov byte [rax + 0x17], cl
mov rcx, rdi
shr rcx, 4
jne 0x3883f763d
test r12b, r12b
jne 0x3883f7388
and ecx, 0xf
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x16], cl
mov rcx, rdi
shr rcx, 8
jne 0x3883f765a
test r12b, r12b
jne 0x3883f73f9
and ecx, 0xf
shr rdi, 0xc
movzx ecx, byte [rdx + rcx + 0x10]
mov byte [rax + 0x15], cl
je 0x3883f746f
jmp 0x3883f7398