Function at 0x1800b98d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x48], rdx
mov rdi, qword [rsp + 0x600]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x58], rdi
mov edx, dword [rcx + 8]
test edx, edx
je 0x1800ba0f3
sub edx, 2
je 0x1800b9d0b
cmp edx, 1
je 0x1800b9a0d
mov dword [rdi], 1
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str.C:_tempWKEncryption.log
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
lea r9d, [rbx + 2]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8d, [rbx + 0x33]
lea rdx, str.MessageSign:_Failed_to_sign_message._Invalid_method
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8d, [rbx + 2]
lea rdx, [0x1801cca18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x98], bl
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x10], xmm1
lea rcx, [rsp + 0x98]
call fcn.180004a80
mov rax, rsi
jmp 0x1800ba16c
lea rdx, [rcx + 0xb8]
lea rcx, [rsp + 0x310]
call fcn.1800b6380
nop
lea rcx, [rsp + 0x380]
call fcn.1800ba1a0
nop
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x3f0]
call fcn.1800f13d0
lea r13, vtable.CryptoPP::ByteQueue.0
mov qword [rsp + 0xc0], r13
lea rax, vtable.CryptoPP::ByteQueue.1.0
mov qword [rsp + 0xc8], rax
xor ebx, ebx
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbx
mov byte [rsp + 0xd8], 1
mov qword [rsp + 0xe0], 0x100
lea ecx, [rbx + 0x30]
call fcn.180152604
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x10], rcx
test rcx, rcx
jne 0x1800b9aae
mov eax, ebx
jmp 0x1800b9ab3
call fcn.180102150
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi], rbx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], rdi
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x3f0]
call fcn.1800f18e0
lea rcx, [rsp + 0x128]
call fcn.1800ba1a0
lea rax, [0x1801df580]
mov qword [rsp + 0x110], rax
lea rax, [0x1801df540]
mov qword [rsp + 0x118], rax
lea rax, [0x1801df520]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x130]
mov rax, qword [rsp + 0x130]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x110]
mov rax, qword [rsp + 0x110]
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800c1530
nop
lea r12, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae r12, qword [rsp + 0x78]
mov r15, qword [r15 + 0x138]
mov rdx, r15
lea rcx, [rsp + 0x110]
mov rax, qword [rsp + 0x110]
call qword [rax + 0x48]
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rax]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r14
mov rcx, rdi
call qword [rax + Ordinal_26]
mov byte [rsp + 0x20], 0
mov r9, r12
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x110]
mov rax, qword [rsp + 0x110]
call qword [rax + 0x60]
mov r14, rax
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
mov rcx, qword [rsp + 0x88]
cmp r14, rcx
ja 0x1800b9c0e
mov qword [rsp + 0x88], r14
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax + r14], 0
jmp 0x1800b9c6b
sub r14, rcx
mov rdx, qword [rsp + 0x90]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1800b9c56
lea rax, [r14 + rcx]
mov qword [rsp + 0x88], rax
lea rdi, [rsp + 0x78]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x78]
add rdi, rcx
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.180154c10
mov byte [r14 + rdi], 0
jmp 0x1800b9c6b
mov byte [rsp + 0x20], 0
mov r9, r14
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180005140
mov rax, qword [rsp + 0x40]
mov dword [rax], ebx
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.180004a80
nop
lea rcx, [rsp + 0x128]
call fcn.1800b96e0
nop
mov qword [rsp + 0xc0], r13
lea rbx, vtable.CryptoPP::ByteQueue.1.0
mov qword [rsp + 0xc8], rbx
lea rcx, [rsp + 0xc0]
call fcn.1800d5210
nop
lea rcx, [rsp + 0x380]
call fcn.1800b96e0
nop
mov rcx, qword [rsp + 0x328]
test rcx, rcx
je 0x1800b9d03
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rax, rsi
jmp 0x1800ba16c
lea rdx, [rcx + 0xb8]
lea rcx, [rsp + 0x310]
call fcn.1800b6380
nop
lea r12, [0x1801e0788]
mov qword [rsp + 0x128], r12
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.1800b9020
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.3.0
mov qword [rsp + 0x110], rax
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.2.0
mov qword [rsp + 0x118], rax
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.1.0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x128]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.0
mov qword [rsp + rcx + 0x128], rax
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x118]
call fcn.1800f13d0
lea r13, vtable.CryptoPP::ByteQueue.0
mov qword [rsp + 0xc0], r13
lea rax, vtable.CryptoPP::ByteQueue.1.0
mov qword [rsp + 0xc8], rax
xor ebx, ebx
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbx
mov byte [rsp + 0xd8], 1
mov qword [rsp + 0xe0], 0x100
lea ecx, [rbx + 0x30]
call fcn.180152604
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x10], rcx
test rcx, rcx
jne 0x1800b9e04
mov eax, ebx
jmp 0x1800b9e09
call fcn.180102150
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi], rbx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], rdi
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x118]
mov rax, qword [rsp + 0x118]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x3b0], r12
xor edx, edx
lea rcx, [rsp + 0x398]
call fcn.1800b9020
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.3.0
mov qword [rsp + 0x398], rax
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.2.0
mov qword [rsp + 0x3a0], rax
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.1.0
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest_class_CryptoPP::DL_PrivateKey_EC_class_CryptoPP::ECP___struct_CryptoPP::ECDSA_class_CryptoPP::ECP__class_CryptoPP::SHA256__.0
mov qword [rsp + rcx + 0x3b0], rax
lea rax, [0x1801df758]
mov qword [rsp + 0x380], rax
lea rax, [0x1801df718]
mov qword [rsp + 0x388], rax
lea rax, method.CryptoPP::HMAC_class_CryptoPP::SHA1_.1.virtual_104
mov qword [rsp + 0x390], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x3a0]
mov rax, qword [rsp + 0x3a0]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x380]
mov rax, qword [rsp + 0x380]
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800c1530
nop
lea r12, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae r12, qword [rsp + 0x78]
mov r15, qword [r15 + 0x138]
mov rdx, r15
lea rcx, [rsp + 0x380]
mov rax, qword [rsp + 0x380]
call qword [rax + 0x48]
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rax]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r14
mov rcx, rdi
call qword [rax + Ordinal_26]
mov byte [rsp + 0x20], 0
mov r9, r12
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x380]
mov rax, qword [rsp + 0x380]
call qword [rax + 0x60]
mov r14, rax
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
mov rcx, qword [rsp + 0x88]
cmp r14, rcx
ja 0x1800b9fbc
mov qword [rsp + 0x88], r14
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax + r14], 0
jmp 0x1800ba019
sub r14, rcx
mov rdx, qword [rsp + 0x90]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1800ba004
lea rax, [r14 + rcx]
mov qword [rsp + 0x88], rax
lea rdi, [rsp + 0x78]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x78]
add rdi, rcx
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.180154c10
mov byte [rdi + r14], 0
jmp 0x1800ba019
mov byte [rsp + 0x20], 0
mov r9, r14
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180005140
mov rax, qword [rsp + 0x40]
mov dword [rax], ebx
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.180004a80
nop
lea rcx, [rsp + 0x380]
call fcn.1800ba5a0
nop
mov qword [rsp + 0xc0], r13
lea rbx, vtable.CryptoPP::ByteQueue.1.0
mov qword [rsp + 0xc8], rbx
lea rcx, [rsp + 0xc0]
call fcn.1800d5210
nop
mov rdx, qword [rsp + 0x2f0]
mov rdi, rdx
xor eax, eax
mov rcx, qword [rsp + 0x2e8]
rep stosq qword [rdi], rax
mov rcx, rdx
call fcn.18015d8ec
lea rcx, [rsp + 0x180]
call fcn.1800b91c0
mov qword [rsp + 0x130], r13
mov qword [rsp + 0x138], rbx
lea rcx, [rsp + 0x130]
call fcn.1800d5210
nop
mov rcx, qword [rsp + 0x328]
test rcx, rcx
je 0x1800ba0ee
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rax, rsi
jmp 0x1800ba16c
xor ebx, ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], bl
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], bl
jne 0x1800ba114
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180004ae0
mov dword [rdi], ebx
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], bl
lea rcx, [rsp + 0x78]
call fcn.180004a80
mov rax, rsi
jmp 0x1800ba16c
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x5a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret