Function at 0x10042aee0
Capabilities:
Encode data using base64

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x10042ae9a
mov eax, dword [rcx]
test eax, eax
je 0x10042aeb6
sub eax, 1
mov dword [rcx], eax
je 0x10042aea0
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x68]
call sub.msys_gcrypt_20.dll_gcry_md_close
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sub.msys_gcrypt_20.dll_gcry_free
lea r9, str.release_armor_context
mov r8d, 0x90
lea rdx, str.armor.c
lea rcx, str.afx__refcount
call sub.msys_gpg_error_0.dll__gpgrt_log_assert
nop
nop word [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rbx, qword [0x1004f7480]
mov rbp, qword [rsp + 0x120]
mov r12, qword [rbp]
mov qword [rsp + 0x100], rcx
mov r13d, edx
mov qword [rsp + 0x110], r8
mov qword [rsp + 0x118], r9
mov qword [rsp + 0x58], 0
test byte [rbx + 8], 8
jne 0x10042b350
cmp r13d, 3
je 0x10042b2b0
cmp r13d, 4
je 0x10042af90
cmp r13d, 1
je 0x10042b508
cmp r13d, 6
je 0x10042b4f0
cmp r13d, 2
je 0x10042b5b8
cmp r13d, 5
je 0x10042bcb8
nop dword [rax]
xor r15d, r15d
mov eax, r15d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x100]
mov ebp, dword [rax + 0x74]
test ebp, ebp
jne 0x10042af70
mov edi, dword [rax + 0x70]
test edi, edi
jne 0x10042b14b
mov edx, dword [rax + 4]
mov rdi, qword [rbx + 0x1a0]
cmp edx, 7
ja 0x10042c3e5
mov rcx, qword [rsp + 0x110]
lea r13, [0x1004d7a72]
mov rdx, r13
call fcn.1004b0430
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
movsxd rdx, dword [rax + 4]
lea rax, str.BEGIN_PGP_MESSAGE
mov rdx, qword [rax + rdx*8]
call fcn.1004b0430
mov rcx, qword [rsp + 0x110]
mov rdx, r13
call fcn.1004b0430
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
lea r14, [rax + 0x40]
mov rdx, r14
call fcn.1004b0430
mov esi, dword [rbx + 0x124]
test esi, esi
jne 0x10042ba4f
lea rbx, [0x1004d7ce9]
lea r15, [0x1004d7cf9]
lea r13, [0x1004d7cf6]
test rdi, rdi
je 0x10042b0e4
mov qword [rsp + 0x30], r12
mov rsi, qword [rsp + 0x110]
nop dword [rax]
mov rdx, rbx
mov rcx, rsi
lea r12, [rdi + 0xc]
call fcn.1004b0430
movsx edx, byte [rdi + 0xc]
lea rbp, [0x1004d7cf3]
test dl, dl
jne 0x10042b096
jmp 0x10042b0c8
mov rcx, rsi
call fcn.1004af960
movsx edx, byte [r12 + 1]
add r12, 1
test dl, dl
je 0x10042b0c8
cmp dl, 0xa
je 0x10042baa0
cmp dl, 0xd
je 0x10042bab0
cmp dl, 0xb
jne 0x10042b080
mov rdx, r15
mov rcx, rsi
add r12, 1
call fcn.1004b0430
movsx edx, byte [r12]
test dl, dl
jne 0x10042b096
nop dword [rax]
mov rdx, r14
mov rcx, rsi
call fcn.1004b0430
mov rdi, qword [rdi]
test rdi, rdi
jne 0x10042b060
mov r12, qword [rsp + 0x30]
mov rax, qword [rsp + 0x100]
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x10042b11e
movzx eax, byte [rdi]
test al, al
je 0x10042b11e
mov rbx, qword [rsp + 0x110]
nop dword [rax]
movsx edx, al
mov rcx, rbx
add rdi, 1
call fcn.1004af960
movzx eax, byte [rdi]
test al, al
jne 0x10042b108
mov rcx, qword [rsp + 0x110]
mov rdx, r14
call fcn.1004b0430
mov rax, qword [rsp + 0x100]
add dword [rax + 0x70], 1
mov rcx, qword [rax + 0x68]
mov qword [rax + 0x60], 0
call sub.msys_gcrypt_20.dll_gcry_md_reset
test r12, r12
je 0x10042af70
mov rax, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x118]
mov r8, r12
mov rcx, qword [rax + 0x68]
call sub.msys_gcrypt_20.dll_gcry_md_write
mov rax, qword [rsp + 0x100]
lea rbx, [rax + 0x40]
mov rcx, rbx
call sub.msys_2.0.dll_strlen
mov rdi, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov r15, rax
mov esi, eax
mov rax, qword [rsp + 0x100]
mov edi, dword [rdi + 0x64]
mov edx, dword [rcx + 0x5c]
movsxd rax, dword [rax + 0x60]
mov dword [rsp + 0x54], edx
mov ecx, eax
or ecx, edi
jne 0x10042bf87
cmp r12, 0x2f
ja 0x10042bb10
xor edi, edi
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea r13, [rsp + 0x60]
xor eax, eax
mov rbp, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
lea r15, [rbp + r12]
jmp 0x10042b210
lea r8d, [rsi + 4]
mov rdx, r13
mov rcx, rbx
xor edi, edi
call fcn.1004af9f0
xor eax, eax
add rbp, 1
cmp rbp, r15
je 0x10042bc9e
movzx ecx, byte [rbp]
movsxd rdx, eax
add eax, 1
mov byte [rsp + rdx + 0x54], cl
cmp eax, 3
jne 0x10042b203
movzx edx, byte [rsp + 0x54]
movzx eax, byte [rsp + 0x55]
add edi, 1
movzx r8d, byte [rsp + 0x56]
shl edx, 0x10
shl eax, 8
or eax, edx
or r8d, eax
mov ecx, eax
shr eax, 0xc
mov r9d, r8d
and r8d, 0x3f
mov edx, eax
shr ecx, 0x12
shr r9d, 6
movzx eax, byte [r14 + r8]
and edx, 0x3f
and r9d, 0x3f
movzx edx, byte [r14 + rdx]
movzx r8d, byte [r14 + r9]
shl eax, 8
or eax, r8d
shl eax, 8
or eax, edx
movzx edx, byte [r14 + rcx]
shl eax, 8
or eax, edx
mov dword [rsp + 0x60], eax
cmp edi, 0xf
jg 0x10042b1f0
mov r8d, 4
mov rdx, r13
mov rcx, rbx
call fcn.1004af9f0
xor eax, eax
jmp 0x10042b203
mov rax, qword [rsp + 0x100]
mov r9d, dword [rax + 0x20]
test r9d, r9d
je 0x10042b370
mov ecx, dword [rax + 0x54]
test ecx, ecx
je 0x10042b538
mov eax, dword [rax + 0x58]
xor r8d, r8d
xor edx, edx
test r12, r12
je 0x10042c1dd
mov r9, qword [rsp + 0x100]
mov r10, qword [rsp + 0x118]
jmp 0x10042b32a
mov rcx, qword [r9 + 0x48]
lea r8d, [rax + 1]
mov dword [r9 + 0x58], r8d
movzx eax, byte [rcx + rax]
mov byte [r10 + rdx], al
add rdx, 2
cmp rdx, r12
jae 0x10042bac0
mov ecx, dword [r9 + 0x54]
mov eax, dword [r9 + 0x58]
mov rdi, rdx
mov r8d, 1
cmp eax, ecx
jb 0x10042b2f8
test r8b, r8b
je 0x10042bd33
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rdi
mov dword [rax + 0x54], 0
jmp 0x10042b53a
lea rcx, str.armor_filter:_control:__d_n
mov qword [rsp + 0x30], r11
call fcn.1004bcae0
mov r11, qword [rsp + 0x30]
jmp 0x10042af34
cmp r12, 0x200
jbe 0x10042c3d1
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x30]
test edx, edx
jne 0x10042b750
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], r11
mov r15d, dword [rax + 0x1c]
test r15d, r15d
jne 0x10042b690
mov rcx, qword [rsp + 0x110]
lea rdi, [rax + 0x50]
lea r13, [rax + 0x48]
mov dword [rsp + 0x60], 0x4e20
lea r14, [rsp + 0x60]
mov r8, rdi
mov rdx, r13
mov r9, r14
call fcn.1004b0a80
mov r11, qword [rsp + 0x30]
mov r8d, eax
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x54], r8d
mov rcx, qword [rax + 0x48]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x10042b9c5
test r8d, r8d
je 0x10042c30b
movzx eax, byte [rcx]
cmp al, 0xa
je 0x10042b438
cmp al, 0xd
je 0x10042bf63
cmp r8d, 1
je 0x10042b438
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rcx
call fcn.100429680
mov rcx, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
test eax, eax
je 0x10042c184
mov qword [rsp + 0x30], r11
mov rsi, qword [rsp + 0x100]
mov qword [rsp + 0x38], r12
mov r12, qword [rsp + 0x110]
mov qword [rsp + 0x120], rbp
mov ebp, r8d
mov edx, ebp
call fcn.100429710
cmp eax, 0x2a
je 0x10042badc
test eax, eax
js 0x10042b4a0
mov r11d, dword [rsi + 8]
test r11d, r11d
je 0x10042b77f
cmp eax, 5
je 0x10042b7e8
cmp eax, 6
je 0x10042b7e8
cmp eax, 1
je 0x10042bf72
nop dword [rax]
mov rcx, r12
mov r9, r14
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x60], 0x4e20
call fcn.1004b0a80
mov r10d, dword [rsp + 0x60]
mov rcx, qword [rsi + 0x48]
mov dword [rsi + 0x54], eax
mov ebp, eax
test r10d, r10d
je 0x10042b4a0
test eax, eax
jne 0x10042b45d
mov r11, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x120]
jmp 0x10042b85c
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x74], 1
jmp 0x10042af70
mov ebx, dword [0x100506140]
test ebx, ebx
je 0x10042b6d0
mov rax, qword [rsp + 0x100]
cmp byte [rax + 0x40], 0
jne 0x10042af70
mov byte [rax + 0x40], 0xa
jmp 0x10042af70
xor edi, edi
cmp rdi, r12
jae 0x10042b59c
mov rbx, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x118]
jmp 0x10042b57e
mov rdx, qword [rbx + 0x40]
lea rcx, [rax + 1]
add qword [rbx + 0x10], 1
mov qword [rbx + 0x30], rcx
movzx eax, byte [rdx + rax]
mov byte [rsi + rdi], al
add rdi, 1
mov qword [rsp + 0x58], rdi
cmp rdi, r12
je 0x10042b5b0
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jne 0x10042b58f
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
jb 0x10042b558
mov rcx, rbx
call fcn.1004af510
cmp eax, 0xffffffff
jne 0x10042b56d
cmp rdi, 1
sbb r15d, r15d
mov qword [rbp], rdi
jmp 0x10042af73
xor r15d, r15d
jmp 0x10042b5a3
mov rax, qword [rsp + 0x100]
mov r11d, dword [rax + 0x74]
test r11d, r11d
jne 0x10042b628
mov r10d, dword [rax + 0x70]
test r10d, r10d
jne 0x10042bd59
mov rax, qword [rsp + 0x100]
mov r9d, dword [rax + 0x78]
test r9d, r9d
jne 0x10042b628
mov r8d, dword [rax + 0x20]
test r8d, r8d
jne 0x10042b628
lea rcx, str.no_valid_OpenPGP_data_found._n
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sub.msys_gpg_error_0.dll_gpgrt_log_error
mov rax, qword [rsp + 0x100]
mov ecx, 0x13
lea rdx, [0x1004d7d1a]
mov dword [rax + 0x18], 1
call fcn.10043c0d0
nop dword [rax]
mov rax, qword [rsp + 0x100]
mov ecx, dword [rax + 0x34]
test ecx, ecx
jne 0x10042bcee
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x38]
test edx, edx
jne 0x10042bcd5
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x48]
call sub.msys_gcrypt_20.dll_gcry_free
mov rax, qword [rsp + 0x100]
mov qword [rax + 0x48], 0
mov rcx, rax
call fcn.10042ae80
jmp 0x10042af70
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x30]
test eax, eax
jne 0x10042b88c
nop
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x100]
call fcn.100429d10
mov r11, qword [rsp + 0x58]
mov r15d, eax
mov qword [rbp], r11
jmp 0x10042af73
lea r8, [0x100506160]
mov rax, 0xffffffffffffffff
mov ecx, 0x200
xor edx, edx
mov rdi, r8
rep stosq qword [rdi], rax
mov eax, 0x41
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
mov ecx, edx
mov dword [r8 + rax*4], edx
shl ecx, 6
mov dword [r8 + rax*4 + 0x400], ecx
mov ecx, edx
shl ecx, 0xc
mov dword [r8 + rax*4 + 0x800], ecx
mov ecx, edx
add rdx, 1
shl ecx, 0x12
mov dword [r8 + rax*4 + 0xc00], ecx
movzx eax, byte [rdi + rdx]
test al, al
jne 0x10042b700
mov dword [0x100506140], 1
jmp 0x10042b516
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x118]
lea r8, [rsp + 0x58]
mov rcx, rax
mov rdx, qword [rsp + 0x110]
call fcn.10042a820
mov r11, qword [rsp + 0x58]
mov r15d, eax
jmp 0x10042b6bf
mov r8d, ebp
mov r11, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x120]
cmp eax, 3
jne 0x10042c333
mov rax, qword [rsp + 0x100]
mov r15d, dword [rax + 0x24]
test r15d, r15d
jne 0x10042c2dd
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r12
mov r12, qword [rsp + 0x110]
mov dword [rax + 0x24], 1
mov rsi, rax
mov qword [rsp + 0x120], rbp
mov ebp, r8d
nop dword [rax]
test ebp, ebp
je 0x10042bd0c
mov r9, r14
mov rdx, r13
mov r8, rdi
mov rcx, r12
mov dword [rsp + 0x60], 0x4e20
call fcn.1004b0a80
mov r9d, dword [rsp + 0x60]
mov rdx, qword [rsi + 0x48]
mov dword [rsi + 0x54], eax
mov ebp, eax
test r9d, r9d
je 0x10042b7f0
mov r8d, eax
mov rcx, rsi
call fcn.100429870
test eax, eax
jg 0x10042b7e8
mov qword [rsp + 0x110], r12
mov r11, qword [rsp + 0x30]
mov qword [rsp + 0x100], rsi
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x120]
je 0x10042b85c
cmp dword [rbx + 0x18c], 2
je 0x10042c35d
test r15d, r15d
jne 0x10042c35d
mov rax, qword [rsp + 0x100]
mov r8d, dword [rax + 0x24]
test r8d, r8d
je 0x10042bf1a
mov ecx, dword [rax + 0x20]
mov dword [rax + 0x30], 1
test ecx, ecx
jne 0x10042bf09
mov rax, qword [rsp + 0x100]
mov rcx, r14
mov r12d, dword [rax + 0x2c]
call fcn.1004a5090
mov rbx, qword [rsp + 0x60]
mov rdx, rax
cmp rbx, 0x14
ja 0x10042c385
mov rax, qword [rsp + 0x118]
lea rsi, [rbx + 4]
lea rcx, [rax + 2]
lea rdi, [rax + rbx + 2]
lea r13, [rax + rbx + 3]
test r12b, 0x7b
je 0x10042c19f
mov byte [rax], 0xff
mov r8, rbx
call sub.msys_2.0.dll_memcpy
mov byte [rdi], 1
mov r10d, r12d
mov r9d, r12d
mov rax, qword [rsp + 0x100]
mov r8d, r12d
mov ecx, r12d
mov edx, r12d
mov r14d, dword [rax + 0x28]
test r14d, r14d
sete byte [r13]
and r10d, 2
and r9d, 8
and ecx, 0x20
and r8d, 0x10
and edx, 0x40
and r12d, 1
je 0x10042c3c9
mov rsi, qword [rsp + 0x118]
lea rax, [rbx + 5]
mov byte [rsi + rbx + 4], 3
test r10d, r10d
jne 0x10042c3b4
test r9d, r9d
je 0x10042c2d5
mov rbx, qword [rsp + 0x118]
lea r11, [rax + 1]
mov byte [rbx + rax], 0xb
test r8d, r8d
je 0x10042b96c
mov rax, qword [rsp + 0x118]
mov byte [rax + r11], 8
add r11, 1
test ecx, ecx
je 0x10042b981
mov rax, qword [rsp + 0x118]
mov byte [rax + r11], 9
add r11, 1
test edx, edx
je 0x10042b996
mov rax, qword [rsp + 0x118]
mov byte [rax + r11], 0xa
add r11, 1
mov rbx, qword [rsp + 0x118]
lea eax, [r11 - 2]
mov byte [rbx + 1], al
mov dword [rbx + r11], 0x74e1cb
mov byte [rbx + r11 + 4], 0xe2
mov dword [rbx + r11 + 5], 0
add r11, 9
jmp 0x10042b6bf
mov rax, qword [0x1004d7fe8]
mov rbx, qword [rsp + 0x100]
mov qword [rbx + 0x1c], rax
mov r9, qword [rsp + 0x100]
mov r10, qword [rsp + 0x118]
xor ecx, ecx
xor edx, edx
jmp 0x10042ba1e
mov rcx, qword [r9 + 0x48]
lea r8d, [rax + 1]
lea r11, [rdx + 1]
mov dword [r9 + 0x58], r8d
movzx eax, byte [rcx + rax]
mov byte [r10 + r11 - 1], al
cmp r11, r12
je 0x10042bee9
mov r8d, dword [r9 + 0x54]
mov rdx, r11
mov ecx, 1
mov eax, dword [r9 + 0x58]
cmp eax, r8d
jb 0x10042b9f0
xor eax, eax
test cl, cl
cmove r11, rax
mov rax, qword [rsp + 0x100]
test rdx, rdx
mov dword [rax + 0x54], 0
mov eax, 0xffffffff
cmove r15d, eax
jmp 0x10042b6bf
mov rcx, qword [rsp + 0x110]
lea rdx, str.Version:_GnuPG_v
call fcn.1004b0430
mov rcx, qword [rsp + 0x110]
mov edx, 0x32
call fcn.1004af960
cmp dword [rbx + 0x124], 1
jg 0x10042c219
mov rcx, qword [rsp + 0x110]
mov rdx, r14
call fcn.1004b0430
jmp 0x10042b032
mov rdx, rbp
mov rcx, rsi
call fcn.1004b0430
jmp 0x10042b088
mov rdx, r13
mov rcx, rsi
call fcn.1004b0430
jmp 0x10042b088
mov rax, qword [rsp + 0x100]
mov ebx, dword [rax + 0x54]
cmp dword [rax + 0x58], ebx
jae 0x10042c371
mov rdi, rdx
jmp 0x10042b59c
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x10042b4a0
mov rax, qword [rsp + 0x100]
mov r12, qword [rsp + 0x110]
mov dword [rax + 0x3c], 1
mov rsi, rax
jmp 0x10042b7e8
mov rax, qword [rsp + 0x100]
add r15d, 0x40
mov dword [rsp + 0x4c], esi
lea r10, [rsp + 0xa0]
mov dword [rsp + 0x38], r15d
mov rbp, qword [rsp + 0x110]
lea r14, [rsp + 0x60]
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, word [rax + 0x40]
mov r9, qword [rsp + 0x118]
mov qword [rsp + 0x40], rbx
mov word [rsp + 0xa0], ax
movzx eax, byte [rbx + 2]
mov rbx, r10
mov byte [rsp + 0xa2], al
nop dword [rax + rax]
mov qword [rsp + 0x30], r12
mov r11, r14
mov r8, r9
nop dword [rax + rax]
movzx eax, byte [r8]
movzx edx, byte [r8 + 1]
movzx ecx, byte [r8 + 4]
movzx r10d, byte [r8 + 2]
shl eax, 0x10
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 3]
shl ecx, 8
or r10d, edx
mov esi, edx
shr edx, 0xc
shl eax, 0x10
mov r12d, r10d
and r10d, 0x3f
and edx, 0x3f
shr r12d, 6
or ecx, eax
movzx eax, byte [r8 + 5]
movzx edx, byte [rdi + rdx]
mov r13d, ecx
and r12d, 0x3f
shr esi, 0x12
or eax, ecx
shr ecx, 0xc
mov r15d, eax
and eax, 0x3f
and ecx, 0x3f
shr r13d, 0x12
shr r15d, 6
movzx eax, byte [rdi + rax]
movzx ecx, byte [rdi + rcx]
and r15d, 0x3f
movzx r15d, byte [rdi + r15]
shl rax, 8
or rax, r15
shl rax, 8
or rax, rcx
movzx ecx, byte [rdi + r13]
shl rax, 8
or rax, rcx
movzx ecx, byte [rdi + r10]
shl rax, 8
or rax, rcx
movzx ecx, byte [rdi + r12]
shl rax, 8
or rax, rcx
shl rax, 8
or rax, rdx
movzx edx, byte [rdi + rsi]
shl rax, 8
add r11, 8
add r8, 6
or rax, rdx
mov qword [r11 - 8], rax
cmp r11, rbx
jne 0x10042bb80
mov r12, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
mov rdx, r14
mov rcx, rbp
add r9, 0x30
sub r12, 0x30
mov qword [rsp + 0x118], r9
call fcn.1004af9f0
cmp r12, 0x2f
mov r9, qword [rsp + 0x118]
ja 0x10042bb70
mov rbx, qword [rsp + 0x40]
mov esi, dword [rsp + 0x4c]
test r12, r12
jne 0x10042c1fb
xor edi, edi
xor eax, eax
mov rbx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x54]
mov dword [rbx + 0x60], eax
mov dword [rbx + 0x5c], edx
mov dword [rbx + 0x64], edi
jmp 0x10042af70
mov r8, qword [rbp]
mov rcx, qword [rsp + 0x118]
lea rdx, [0x1004d7d9a]
call fcn.10049e6b0
jmp 0x10042af70
lea rcx, str.quoted_printable_character_in_armor___probably_a_buggy_MTA_has_been_used_n
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sub.msys_gpg_error_0.dll_gpgrt_log_error
jmp 0x10042b64e
lea rcx, str.invalid_armor:_line_longer_than__d_characters_n
call sub.msys_intl_8.dll_libintl_gettext
mov edx, 0x4e20
mov rcx, rax
call sub.msys_gpg_error_0.dll_gpgrt_log_info
jmp 0x10042b63b
mov qword [rsp + 0x110], r12
mov r11, qword [rsp + 0x30]
mov qword [rsp + 0x100], rsi
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x120]
jmp 0x10042b85c
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x110]
xor edi, edi
mov rsi, qword [rsp + 0x118]
mov dword [rax + 0x54], 0
jmp 0x10042b57e
mov rcx, qword [rax + 0x68]
xor r9d, r9d
xor r8d, r8d
mov edx, 5
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
call sub.msys_gcrypt_20.dll_gcry_md_ctl
mov rax, qword [rsp + 0x100]
mov edx, 0x130
mov rcx, qword [rax + 0x68]
call sub.msys_gcrypt_20.dll_gcry_md_read
movzx edx, word [rax]
movzx r12d, byte [rax + 2]
mov rax, qword [rsp + 0x100]
rol dx, 8
movzx edx, dx
mov r13d, dword [rax + 0x60]
mov ebp, dword [rax + 0x64]
shl edx, 8
or r12d, edx
test r13d, r13d
jne 0x10042c0ba
test ebp, ebp
jne 0x10042c163
mov rax, qword [rsp + 0x100]
lea r13, [rax + 0x40]
mov rcx, qword [rsp + 0x110]
mov edx, 0x3d
mov r14d, r12d
mov ebp, r12d
shr ebp, 8
shr r14d, 0x10
call fcn.1004af960
mov eax, r12d
mov rcx, qword [rsp + 0x110]
shr eax, 0x12
movzx edx, byte [rdi + rax]
call fcn.1004af960
mov eax, r14d
mov edx, ebp
mov rcx, qword [rsp + 0x110]
shl eax, 4
shr dl, 4
movzx edx, dl
and eax, 0x30
or eax, edx
cdqe
movzx edx, byte [rdi + rax]
call fcn.1004af960
mov edx, r12d
lea eax, [rbp*4]
mov rcx, qword [rsp + 0x110]
shr dl, 6
and eax, 0x3c
and r12d, 0x3f
movzx edx, dl
or eax, edx
cdqe
movzx edx, byte [rdi + rax]
call fcn.1004af960
movzx edx, byte [rdi + r12]
mov rcx, qword [rsp + 0x110]
call fcn.1004af960
mov rcx, qword [rsp + 0x110]
mov rdx, r13
call fcn.1004b0430
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 4]
cmp edx, 7
ja 0x10042c3e5
mov rcx, qword [rsp + 0x110]
lea rdi, [0x1004d7a72]
mov rdx, rdi
call fcn.1004b0430
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
movsxd rdx, dword [rax + 4]
lea rax, str.END_PGP_MESSAGE
mov rdx, qword [rax + rdx*8]
call fcn.1004b0430
mov rcx, qword [rsp + 0x110]
mov rdx, rdi
call fcn.1004b0430
mov rcx, qword [rsp + 0x110]
mov rdx, r13
call fcn.1004b0430
jmp 0x10042b628
mov rax, qword [rsp + 0x100]
mov ebx, dword [rax + 0x54]
cmp dword [rax + 0x58], ebx
jb 0x10042b6bf
mov dword [rax + 0x54], 0
jmp 0x10042b6bf
mov rax, qword [rsp + 0x100]
mov r8d, dword [rax + 0x54]
jmp 0x10042b9d8
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], r11
mov dword [rax + 0x1c], 1
mov rcx, qword [rax + 0x68]
call sub.msys_gcrypt_20.dll_gcry_md_reset
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x20]
mov dword [rax + 0x60], 0
mov byte [rax + 0x5c], 0
test edx, edx
je 0x10042b67c
mov r8d, dword [rax + 0x54]
mov r11, qword [rsp + 0x30]
jmp 0x10042b9d8
cmp byte [rcx + 1], 0xa
jne 0x10042b411
jmp 0x10042b438
mov rsi, qword [rsp + 0x100]
mov r12, qword [rsp + 0x110]
jmp 0x10042b7e8
mov rcx, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x118]
lea r13, [rsp + 0x60]
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx edx, word [rcx + 0x40]
mov word [rsp + 0x64], dx
movzx edx, byte [rbx + 2]
mov byte [rsp + 0x66], dl
nop dword [rax]
movzx ecx, byte [rbp]
lea edx, [rax + 1]
mov byte [rsp + rax + 0x54], cl
cmp edx, 2
jle 0x10042c070
movzx edx, byte [rsp + 0x54]
movzx eax, byte [rsp + 0x55]
add edi, 1
movzx r8d, byte [rsp + 0x56]
shl edx, 0x10
shl eax, 8
or eax, edx
or r8d, eax
mov edx, eax
shr eax, 0xc
mov r9d, r8d
and r8d, 0x3f
mov ecx, eax
shr edx, 0x12
shr r9d, 6
movzx eax, byte [r14 + r8]
and ecx, 0x3f
movzx edx, byte [r14 + rdx]
and r9d, 0x3f
movzx ecx, byte [r14 + rcx]
movzx r8d, byte [r14 + r9]
shl eax, 8
or eax, r8d
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov dword [rsp + 0x60], eax
cmp edi, 0xf
jle 0x10042c0a0
mov rcx, qword [rsp + 0x110]
lea r14, [rsp + 0x60]
lea r8d, [r15 + 4]
mov qword [rsp + 0x118], rbp
mov rdx, r14
call fcn.1004af9f0
add qword [rsp + 0x118], 1
sub r12, 1
jne 0x10042b1b9
jmp 0x10042bc9a
movsxd rax, edx
add rbp, 1
sub r12, 1
je 0x10042bc9e
mov ecx, eax
or ecx, edi
jne 0x10042bfb8
mov qword [rsp + 0x118], rbp
jmp 0x10042b1b9
mov rcx, qword [rsp + 0x110]
mov r8d, 4
mov rdx, r13
call fcn.1004af9f0
xor eax, eax
jmp 0x10042c073
movzx eax, byte [rax + 0x5c]
mov rcx, qword [rsp + 0x110]
mov byte [rsp + 0x30], al
shr al, 2
and eax, 0x3f
movzx edx, byte [rdi + rax]
call fcn.1004af960
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x5c]
shl eax, 4
cmp r13d, 1
je 0x10042c2b7
mov rbx, qword [rsp + 0x100]
and eax, 0x30
mov rcx, qword [rsp + 0x110]
movzx ebx, byte [rbx + 0x5d]
mov edx, ebx
mov byte [rsp + 0x30], bl
shr dl, 4
movzx edx, dl
or eax, edx
cdqe
movzx edx, byte [rdi + rax]
call fcn.1004af960
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x5d]
shl eax, 2
and eax, 0x3c
movzx edx, byte [rdi + rax]
mov rcx, qword [rsp + 0x110]
add ebp, 1
call fcn.1004af960
mov rcx, qword [rsp + 0x110]
mov edx, 0x3d
call fcn.1004af960
cmp ebp, 0xf
jle 0x10042bdb7
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
lea r13, [rax + 0x40]
mov rdx, r13
call fcn.1004b0430
jmp 0x10042bdcb
mov rax, qword [0x1004d7fe8]
mov rbx, qword [rsp + 0x100]
xor r15d, r15d
mov qword [rbx + 0x1c], rax
jmp 0x10042b9d8
mov rax, qword [rsp + 0x118]
mov r8, rbx
mov byte [rax], 0xff
call sub.msys_2.0.dll_memcpy
mov rax, qword [rsp + 0x100]
mov byte [rdi], 1
lea r11, [rbx + 5]
mov eax, dword [rax + 0x28]
test eax, eax
mov rax, qword [rsp + 0x118]
sete byte [r13]
mov byte [rax + rbx + 4], 2
jmp 0x10042b996
cmp eax, ecx
jb 0x10042c2aa
mov rax, qword [rsp + 0x100]
xor edi, edi
mov dword [rax + 0x54], 0
jmp 0x10042b59c
mov rax, qword [rsp + 0x100]
movzx eax, word [rax + 0x40]
mov word [rsp + 0x64], ax
movzx eax, byte [rbx + 2]
mov byte [rsp + 0x66], al
jmp 0x10042b1c3
mov rcx, qword [rsp + 0x110]
mov edx, 0x2e
call fcn.1004af960
mov rcx, qword [rsp + 0x110]
mov edx, 0x34
call fcn.1004af960
cmp dword [rbx + 0x124], 2
jle 0x10042ba82
mov rsi, qword [rsp + 0x110]
lea r13, [0x1004d7c63]
mov eax, 0x2e
jmp 0x10042c280
cmp al, 9
je 0x10042c284
movsx edx, al
mov rcx, rsi
add r13, 1
call fcn.1004af960
movzx eax, byte [r13]
test al, al
je 0x10042c284
cmp al, 0x2d
je 0x10042c284
cmp al, 0x20
jne 0x10042c260
cmp dword [rbx + 0x124], 3
jle 0x10042ba82
mov rcx, qword [rsp + 0x110]
lea rdx, str.__MSYS_
call fcn.1004b0430
jmp 0x10042ba82
xor edi, edi
mov r15d, 0xffffffff
jmp 0x10042b5a3
and eax, 0x30
mov rcx, qword [rsp + 0x110]
movzx edx, byte [rdi + rax]
call fcn.1004af960
mov edx, 0x3d
jmp 0x10042c138
mov r11, rax
jmp 0x10042b956
lea rcx, str.nested_clear_text_signatures_n
mov dword [rsp + 0x38], r8d
mov r15d, 0x200000f
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sub.msys_gpg_error_0.dll_gpgrt_log_error
mov r8d, dword [rsp + 0x38]
mov r11, qword [rsp + 0x30]
jmp 0x10042b7b2
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x20], 0
jne 0x10042c3fa
cmp dword [rax + 0x30], 0
jne 0x10042c3f1
xor r11d, r11d
or r15d, 0xffffffff
jmp 0x10042b6bf
mov qword [rsp + 0x38], r12
mov rsi, qword [rsp + 0x100]
mov qword [rsp + 0x120], rbp
mov r12, qword [rsp + 0x110]
mov ebp, r8d
mov qword [rsp + 0x30], r11
jmp 0x10042b7e8
mov ecx, 7
call fcn.10043bd80
mov ecx, 1
call fcn.1004032e0
mov rax, qword [rsp + 0x100]
xor r8d, r8d
mov dword [rax + 0x54], r8d
jmp 0x10042bad4
lea rax, str.armor_filter
mov r9d, 0x543
mov qword [rsp + 0x20], rax
lea r8, str.armor.c
lea rdx, [0x1004d7c89]
mov ecx, 6
call sub.msys_gpg_error_0.dll_gpgrt_log
call sub.msys_2.0.dll_abort
mov rbx, qword [rsp + 0x118]
mov byte [rbx + rax], 2
add rax, 1
jmp 0x10042b93d
mov rax, rsi
jmp 0x10042b934
lea rax, str.armor_filter
mov r9d, 0x52e
mov qword [rsp + 0x20], rax
jmp 0x10042c397
lea rcx, str.afx__what_d
call sub.msys_gpg_error_0.dll_gpgrt_log_bug
or r15d, 0xffffffff
jmp 0x10042b88c
or r15d, 0xffffffff
jmp 0x10042b9d8