Function at 0x34b381ac0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x110
cmp qword [0x34b393160], 0
mov ebx, ecx
mov rsi, rdx
mov rdi, r8
je 0x34b381d30
mov rcx, rsi
call qword [0x34b393160]
movzx eax, al
bt eax, ebx
jae 0x34b381dc8
mov ecx, dword [0x34b393144]
xor eax, eax
mov rdx, qword gs:[0x30]
cmp dword [rdx + 0x48], ecx
je 0x34b381b92
test byte [0x34b3832d0], 8
jne 0x34b381c98
test byte [0x34b3832e0], 8
jne 0x34b381be0
lea r12, [rsp + 0x40]
mov rbp, r12
test byte [0x34b3832f0], 8
jne 0x34b381c48
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x48]
lea rdx, str._04x:
mov rcx, rbp
call sym.sprintf
test rdi, rdi
je 0x34b381b67
cmp ebx, 3
jbe 0x34b381ba0
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.ucrtbase.dll_strlen]
mov r9, rbx
mov edx, 1
mov rcx, r12
mov r8, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cdqe
inc rsi
mov qword [rsp + 0x28], rdi
lea r8, str._s:_s:_s
lea rcx, [rbp + rax]
mov rax, r12
mov qword [rsp + 0x20], rsi
sub rax, rcx
lea rdx, [rax + 0xc8]
lea rax, str.fixme
mov r9, qword [rax + rbx*8]
call sym.snprintf.constprop.0
jmp 0x34b381b67
cmp qword [0x34b393160], 0
je 0x34b381d50
lea rcx, [0x34b3832e0]
call qword [0x34b393160]
test al, 8
je 0x34b381b2c
call qword [sym.imp.kernel32.dll_GetTickCount]
lea r12, [rsp + 0x40]
lea rdx, str._3u._03u:
mov r8d, eax
mov rcx, r12
mov r9, r8
imul r8, r8, 0x10624dd3
shr r8, 0x26
imul eax, r8d, 0x3e8
sub r9d, eax
call sym.sprintf
movsxd rbp, eax
add rbp, r12
jmp 0x34b381b34
cmp qword [0x34b393160], 0
je 0x34b381d70
lea rcx, [0x34b3832f0]
call qword [0x34b393160]
test al, 8
je 0x34b381b41
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x40]
mov rcx, rbp
lea rdx, str._04x:
call sym.sprintf
cdqe
add rbp, rax
jmp 0x34b381b41
cmp qword [0x34b393160], 0
je 0x34b381d90
lea rcx, [0x34b3832d0]
call qword [0x34b393160]
test al, 8
je 0x34b381b1f
cmp qword [0x34b393020], 0
je 0x34b381db0
lea rcx, [rsp + 0x38]
lea r12, [rsp + 0x40]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov rcx, r12
imul rax, qword [rsp + 0x38], 0xf4240
cqo
idiv qword [0x34b393020]
movabs rdx, 0x431bde82d7b634db
mov r9, rax
imul rdx
mov rax, r9
sar rax, 0x3f
sar rdx, 0x12
mov r8, rdx
lea rdx, str._3u._06u:
sub r8, rax
imul rax, r8, 0xf4240
sub r9d, eax
call sym.sprintf
movsxd rbp, eax
add rbp, r12
jmp 0x34b381b34
lea r8, [sym.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
lea rcx, [0x34b393160]
call sym.load_func.part.0
jmp 0x34b381ae3
lea r8, [sym.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
lea rcx, [0x34b393160]
call sym.load_func.part.0
jmp 0x34b381bee
lea r8, [sym.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
lea rcx, [0x34b393160]
call sym.load_func.part.0
jmp 0x34b381c56
lea r8, [sym.fallback__wine_dbg_get_channel_flags]
lea rdx, str.__wine_dbg_get_channel_flags
lea rcx, [0x34b393160]
call sym.load_func.part.0
jmp 0x34b381ca6
lea rcx, [0x34b393020]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
jmp 0x34b381cc9
mov eax, 0xffffffff
jmp 0x34b381b92