Function at 0x2be0b13da
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rbx, [0x2be145f60]
lea rdi, [0x2be145e00]
mov rcx, rbx
call sym.winstrConverterStringToLPWSTR__OOZOOZOOZOnimbleZpkgs50Zwinim4551O57O5045495352c505549e49d555454fca53aea5150beecec53545253e54d5
mov rcx, rax
call sym.hlpGetModuleHandle__helpers_233
lea rcx, [0x2be145f20]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call sym.hlpGetProcAddress__helpers_294
mov rcx, rbx
mov qword [0x2be15fb60], rax
call sym.winstrConverterStringToLPWSTR__OOZOOZOOZOnimbleZpkgs50Zwinim4551O57O5045495352c505549e49d555454fca53aea5150beecec53545253e54d5
mov rcx, rax
call sym.hlpGetModuleHandle__helpers_233
lea rcx, [0x2be145f00]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call sym.hlpGetProcAddress__helpers_294
mov rcx, rbx
mov qword [0x2be15fb58], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145ee0]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rbx
mov qword [0x2be15fb50], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145ec0]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rbx
mov qword [0x2be15fb48], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145e80]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rbx
mov qword [0x2be15fb40], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145e60]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rbx
mov qword [0x2be15fb38], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145e20]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rdi
mov qword [0x2be15fb30], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145de0]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rdi
mov qword [0x2be15fb28], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145da0]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rbx
mov qword [0x2be15fb20], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145d60]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov rcx, rbx
mov qword [0x2be15fb18], rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145d40]
mov rsi, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rsi
mov rdx, rax
call qword [0x2be15fb58]
mov qword [0x2be15fb10], rax
test rax, rax
jne 0x2be0b1632
mov edx, 1
lea rcx, [0x2be145d20]
call sym.echoBinSafe
mov rcx, rbx
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call qword [0x2be15fb60]
lea rcx, [0x2be145d00]
mov rbx, rax
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rbx
mov rdx, rax
call qword [0x2be15fb58]
mov qword [0x2be15fb08], rax
test rax, rax
jne 0x2be0b1682
mov edx, 1
lea rcx, [0x2be145d20]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.echoBinSafe
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret