Function at 0x4dd1a0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x60]
test ebx, ebx
je 0x4dd280
mov esi, dword [eax + 0x34]
test esi, esi
jne 0x4dd210
call sym.__gcry_fips_mode
test eax, eax
je 0x4dd370
mov dword [esp + 0x10], str.cipher_mode_NONE_used
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.cipher_decrypt
mov dword [esp + 4], 0x440
mov dword [esp], str.cipher.c
call sym.__gcry_fips_signal_error
mov edx, 0x47
jmp 0x4dd271
test byte [eax + 0x3c], 1
je 0x4dd260
cmp esi, 7
je 0x4dd3f0
jle 0x4dd290
cmp esi, 0xb
je 0x4dd3d0
jg 0x4dd2d0
cmp esi, 9
je 0x4dd320
jg 0x4dd3b0
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_ccm_decrypt
mov dword [esp], str.cipher_decrypt:_key_not_set_n
call dbg._gcry_log_error
mov edx, 0xb5
add esp, 0x3c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, ecx
mov ebx, edi
jmp 0x4dd1c3
cmp esi, 3
je 0x4dd450
jle 0x4dd470
cmp esi, 5
je 0x4dd300
jg 0x4dd410
mov edx, dword [eax + 0xc]
add eax, 0x200
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x30]
xor edx, edx
jmp 0x4dd271
cmp esi, 0xd
je 0x4dd340
jl 0x4dd430
cmp esi, 0x10001
mov edx, 0x47
je 0x4dd271
mov dword [esp + 4], esi
mov dword [esp], str.cipher_decrypt:_invalid_mode__d_n
call dbg._gcry_log_fatal
nop
lea esi, [esi]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_ofb_encrypt
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_gcm_decrypt
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dbg._gcry_cipher_xts_crypt
mov edx, eax
jmp 0x4dd271
mov dword [esp], 0
call dbg._gcry_get_debug_flag
test eax, eax
je 0x4dd1d7
xor edx, edx
cmp ebx, edi
je 0x4dd271
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x2c], edx
call sym._memmove
mov edx, dword [esp + 0x2c]
jmp 0x4dd271
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_poly1305_decrypt
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_ocb_decrypt
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_aeswrap_decrypt
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_ctr_encrypt
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_cfb8_decrypt
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_cbc_decrypt
cmp esi, 1
je 0x4dd4a0
cmp esi, 2
jne 0x4dd2e8
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp dbg._gcry_cipher_cfb_decrypt
mov edx, dword [eax + 0xc]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], edx
add esp, 0x3c
mov edx, edi
pop ebx
pop esi
pop edi
pop ebp
jmp dbg.do_ecb_crypt