Function at 0x180005ee0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.180030460
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x180070650]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x180005f60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x180005f60
lea rbx, [rbp + 0x268]
call fcn.1800309e0
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.180030974
jmp 0x180006128
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.180005b90
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x180005f89
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180030460
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x180005fb0
lea rbx, str.no_stack_
jmp 0x180006083
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180005ff9
mov rdx, rsi
test rdi, rdi
je 0x180005ff9
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x180005fe0
mov rdx, rsi
test rdi, rdi
je 0x180006083
mov r10d, 0x53
lea r9, [0x180000000]
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x180006052.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x180006052.47
cdqe
movzx eax, byte [r9 + rax + 0x6160]
mov ecx, dword [r9 + rax*4 + 0x6148]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x180006030
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x180006052.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x180006052.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x180006052.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x180006020
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.1800307ac
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x18000610f
call fcn.180005db0
test eax, eax
jle 0x18000610f
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x180006128
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.18002fe30
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
je 0x180050502
add byte [rax], al
add byte [rax], al
add byte [rax], al
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1b135354b], ch
sub eax, 0x70797243
je 0x18005058f
push rax
jb 0x180050592
sub eax, 0x61502d43
jb 0x18005058b
insd dword [rdi], dx
push rbx
je 0x18005052f
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1b1353573], ch
sub eax, 0x70797243
je 0x1800505b7
push rax
jb 0x1800505ba
sub eax, 0x61502d42
jb 0x1800505b3
insd dword [rdi], dx
push rbx
je 0x180050557
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1b135359b], ch
sub eax, 0x70797243
je 0x1800505df
push rax
jb 0x1800505e2
sub eax, 0x61502d41
jb 0x1800505db
insd dword [rdi], dx
push rbx
je 0x18005057f
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1b13535c3], ch
xor byte [rcx], dh
sub eax, 0x74736554
push rsp
jae 0x18005060a
push rax
invalid
jo 0x180050629
outsd dx, dword [rsi]
push rax
jb 0x180050628
sub eax, 0x43686358
sub eax, 0x61726150
insd dword [rdi], dx
push rbx
je str.id_GostR3410_94_CryptoPro_XchB_ParamSet
pop rax
invalid
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1c3323a12], ch
jb 0x180050654
jo 0x180050651
outsd dx, dword [rsi]
push rax
jb 0x180050650
sub eax, 0x42686358
sub eax, 0x61726150
insd dword [rdi], dx
push rbx
je str.id_GostR3410_94_CryptoPro_XchA_ParamSet
pop rax
invalid
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1c3323a3a], ch
jb 0x18005067c
jo 0x180050679
outsd dx, dword [rsi]
push rax
jb 0x180050678
sub eax, 0x41686358
sub eax, 0x61726150
insd dword [rdi], dx
push rbx
je str.id_GostR3410_94_CryptoPro_D_ParamSet
pop rax
invalid
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1c3323a62], ch
jb 0x1800506a4
jb 0x1800506a4
jo 0x1800506a1
outsd dx, dword [rsi]
push rax
jb 0x1800506a0
sub eax, 0x61502d44
jb 0x180050699
insd dword [rdi], dx
push rbx
je 0x18005063d
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1c3323a8a], ch
jb 0x1800506cc
jb 0x1800506cc
jo 0x1800506c9
je 0x1800506c5
outsd dx, dword [rsi]
push rax
jb 0x1800506c8
sub eax, 0x61502d43
jb 0x1800506c1
insd dword [rdi], dx
push rbx
je 0x180050665
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1c3323ab2], ch
jb 0x1800506f4
jb 0x1800506f4
jo 0x1800506f1
je 0x1800506ed
outsd dx, dword [rsi]
push rax
jb 0x1800506f0
sub eax, 0x61502d42
jb 0x1800506e9
insd dword [rdi], dx
push rbx
je 0x18005068d
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor al, 0x31
xor byte [0x1c3323ada], ch
jb 0x18005071c
jb 0x18005071c
jo 0x180050719
je 0x180050715
outsd dx, dword [rsi]
push rax
jb 0x180050718
sub eax, 0x61502d41
jb 0x180050711
insd dword [rdi], dx
push rbx
je 0x1800506b5
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor al, 0x31
xor byte [0x1d4323b02], ch
cmp dword [rbp + 0x74736554], esi
push rsp
jae 0x180050740
push rax
invalid
jb 0x180050764
jo 0x180050761
outsd dx, dword [rsi]
push rax
jb 0x180050760
outsd dx, dword [rsi]
sub eax, 0x2d434952
xor dword [0x1e177684c], ebp
sub eax, 0x61502d31
jb 0x18005075d
insd dword [rdi], dx
push rbx
je 0x180050701
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
invalid
xor dword [rdi + rsi], esi
sub eax, 0x432d3938
cmp byte [rcx], bh
sub eax, 0x70797243
jb 0x180050794
jb 0x180050794
jo 0x180050791
je 0x18005078d
outsd dx, dword [rsi]
push rax
jb str.id_Gost28147_89_CryptoPro_C_ParamSet
sub eax, 0x6163734f
jb 0x180050755
xor dword [0x1e155345e], ebp
jb 0x180050791
insd dword [rdi], dx
push rbx
je 0x180050735
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
cmp byte [rcx], dh
xor al, 0x37
sub eax, 0x432d3938
jb 0x1800507c4
jo 0x1800507c1
outsd dx, dword [rsi]
push rax
jb 0x1800507c0
sub eax, 0x6163734f
jb 0x180050785
invalid
xor dword [0x1e155348f], ebp
jb 0x1800507c1
invalid
insd dword [rdi], dx
push rbx
je 0x180050765
add byte [rax], al
add byte [rax], al
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
sub eax, 0x432d3938
jb 0x1800507f4
jo 0x1800507f1
outsd dx, dword [rsi]
push rax
jb 0x1800507f0
sub eax, 0x61502d44
jb 0x1800507e9
invalid
insd dword [rdi], dx
push rbx
je 0x18005078d
add byte [rax], al
add byte [rcx + 0x64], ch
invalid
sub eax, 0x74736f47
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
sub eax, 0x74736f47
outsd dx, dword [rsi]
jae 0x18005080b
xor bh, byte [rax]
xor dword [rdi + rsi], esi
sub eax, 0x432d3938
jb 0x18005081c
jo 0x180050819
outsd dx, dword [rsi]
push rax
jb 0x180050818
sub eax, 0x61502d43
jb 0x180050811
insd dword [rdi], dx
push rbx
je 0x1800507b5
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
invalid
cmp byte [rcx], dh
xor al, 0x37
xor dword [rdi + rsi], esi
sub eax, 0x432d3938
jb 0x180050844
jo 0x180050841
outsd dx, dword [rsi]
push rax
jb 0x180050840
sub eax, 0x61502d42
jb 0x180050839
insd dword [rdi], dx
push rbx
je 0x1800507dd
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
invalid
xor dword [rdi + rsi], esi
sub eax, 0x432d3938
jb 0x18005086c
jb 0x18005086c
jo 0x180050869
je 0x180050865
outsd dx, dword [rsi]
push rax
jb 0x180050868
sub eax, 0x61502d41
jb 0x180050861
insd dword [rdi], dx
push rbx
je 0x180050805
add byte [rax], al
add byte [rcx + 0x64], ch
invalid
sub eax, 0x74736f47
outsd dx, dword [rsi]
jae 0x180050883
xor bh, byte [rax]
xor dword [rdi + rsi], esi
sub eax, 0x542d3938
push rsp
jae str.id_Gost28147_89_CryptoPro_KeyMeshing
push rax
invalid
jb 0x1800508b4
jo 0x1800508b1
outsd dx, dword [rsi]
push rax
jb 0x1800508b0
outsd dx, dword [rsi]
push rax
invalid
invalid
jae 0x1800508d8
push rax
invalid
insd dword [rdi], dx
push rbx
je 0x18005086d
add byte [rax], al
add byte [rax], al
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
sub eax, 0x4e2d3938
outsd dx, dword [rsi]
outsb dx, byte [rsi]
sub eax, 0x4d79654b
jae 0x1800508f4
imul ebp, dword [rsi + 0x67], 0x2d646900
invalid
sub eax, 0x74736f47
imul esp, dword [rbp + rbp + 0x47], 0x3274736f
cmp byte [rcx], dh
xor al, 0x37
xor bh, byte [rax]
xor dword [rdi + rsi], esi
sub eax, 0x432d3938
jb 0x18005091c
jo 0x180050919
outsd dx, dword [rsi]
push rax
jb str.GOST_R_34.11_94_PRF
sub eax, 0x4d79654b
jae 0x180050919
push 0x676e69
add byte [rax], al
add byte [rdi + 0x4f], al
push r11
imul ebp, dword [rsi + 0x67], 0
add byte [rax], al
add byte [rax], al
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rax], esi
sub eax, 0x44203439
add byte [rax], al
add byte [rax], al
add byte [rax], al
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1c8493d1a], ch
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x4f], al
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rax], esi
sub eax, 0x31303032
and byte [rax + rcx*2], al
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor byte [0x1b1353943], ch
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x4f], al
push r11
push r11
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rcx], esi
sub eax, 0x50203439
push rdx
add byte [rax], r8b
add byte [rax], al
add byte [rax + 0x72], dh
jo 0x1800509a4
sub ax, 0x6f67
jae 0x1800509ac
jb 0x18005096d
xor al, 0x31
xor dword [0x180053d7b], ebp
add byte [rax], al
add byte [rax], al
add byte [rax], al
push r11
push rsp
and byte [rdx], dh
cmp byte [rcx], dh
xor al, 0x37
sub eax, 0x4d203938
add byte [r8], al
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x6f], ah
outsd dx, dword [esi]
jae str.HMAC_GOST_34.11_94
sub eax, 0x63616d
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x6f], ah
outsd dx, dword [esi]
jae 0x1800509e8
cmp byte [rcx], bh
sub eax, 0x746e63
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x4f], al
push r11
push rsp
and byte [rdx], dh
cmp byte [rcx], dh
xor al, 0x37
sub eax, 0x3938
add byte [rdi + 0x6f], ah
outsd dx, dword [esi]
jae str.GOST_R_34.11_94
cmp byte [rcx], bh
add byte [rax], al
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rax], esi
sub eax, 0x67003439
outsd dx, dword [esi]
jae 0x180050a20
cmp dword [rax + rax], esi
add byte [rdi + 0x4f], al
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rax], esi
sub eax, 0x31303032
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x6f], ah
outsd dx, dword [esi]
jae 0x180050a40
xor dh, byte [rax]
xor byte [rcx], dh
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
and byte [r15 + 0x4f], al
push rbx
push rsp
and byte [rbx], dh
xor al, 0x2e
xor dword [rcx], esi
sub eax, 0x3439
add byte [rax], al
add byte [rax], al
imul esp, dword [rbp + rbp + 0x48], 0x4743414d
outsd dx, dword [rsi]
cmp dword [rax + rax], esi
add byte [rax], al
add byte [rax], al
add byte [rcx + 0x64], ch
imul esp, dword [rbp + rbp + 0x48], 0x4743414d
outsd dx, dword [rsi]
jae 0x180050a6f
push rdx
xor esi, dword [rcx + rsi]
xor dword [0x180053e3e], ebp
add byte [rax], al
add byte [rdi + 0x4f], al
push r11
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rcx], esi
sub eax, 0x6d003439
insd dword [rdi], dx
pop rdi
outsd dx, dword [esi]
jae 0x180050a93
cmp dword [rax + rax], esi
xor al, 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rcx], esi
sub eax, 0x77203439
imul esi, dword [rax + rbp*2 + 0x20], 0x54534f47
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rax], esi
sub eax, 0x3439
add byte [rax], al
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor dword [0x1f7323e9a], ebp
imul esi, dword [rax + rbp*2 + 0x2d], 0x74736f47
push rdx
xor esi, dword [rcx + rsi]
xor byte [0x180053eac], ch
add byte [rax], al
add byte [rax], al
add byte [rdi + 0x4f], al
push r11
cmp dword [rax + rax], esi
add byte [rax], al
add byte [rax], al
add byte [rax], al
push r11
push rsp
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
xor dword [rcx], esi
sub eax, 0x77203439
imul esi, dword [rax + rbp*2 + 0x20], 0x54534f47
and byte [rdx + 0x20], dl
xor esi, dword [rsi + rbp]
and byte [rbx], dh
xor al, 0x2e
xor dword [rax], esi
sub eax, 0x31303032
add byte [rax], al
imul esp, dword [rbp + rbp + 0x47], 0x5274736f
xor esi, dword [rcx + rsi]
xor dword [0x1f7323eea], ebp
imul esi, dword [rax + rbp*2 + 0x2d], 0x74736f47
push rdx
xor esi, dword [rcx + rsi]
xor byte [0x1b1353af5], ch
add byte [rax], al
add byte [rax], al
add byte [rbx + 0x72], ah
invalid
jb 0x180050b44
invalid
je 0x180050b3d
invalid
push rdi
imul esi, dword [rax + rbp*2 + 0x53], 0x35324148
add byte ss:[rax], al
push 0x5763616d
imul esi, dword [rax + rbp*2 + 0x53], 0x32324148
xor al, 0
add byte [rax + 0x6d], ch
invalid
insd dword [rdi], dx
invalid