Function at 0x5082a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.00527b90
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x88]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov dword [esp + 0x10], eax
xor eax, eax
push esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
cmp edi, 0x20
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], edx
jle 0x508313
push str.nkey___EVP_MAX_KEY_LENGTH
push 0x79
push str..cryptoevpevp_key.c
call fcn.0048d920
add esp, 0xc
cmp ebp, 0x10
jle 0x50832c
push str.niv___EVP_MAX_IV_LENGTH
push 0x7a
push str..cryptoevpevp_key.c
call fcn.0048d920
add esp, 0xc
test esi, esi
jne 0x508345
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00523c2c
add esp, 0x6c
ret
lea eax, [esp + 0x20]
push eax
call fcn.004d31e0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004d3200
add esp, 0x10
test eax, eax
je 0x5084a0
jmp 0x508374
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov ecx, eax
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x50839a
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3320
add esp, 0xc
mov edx, dword [esp + 0x90]
push edx
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004d3320
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x5083c8
push 8
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3320
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3330
mov esi, dword [esp + 0xa0]
add esp, 0xc
cmp esi, 1
jbe 0x508431
dec esi
lea esp, [esp]
mov edx, dword [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004d3200
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004d3320
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004d3330
add esp, 0x24
sub esi, 1
jne 0x5083f0
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x50845f
jmp 0x508440
cmp eax, ecx
je 0x50845f
cmp dword [esp + 0x14], 0
je 0x508459
mov esi, dword [esp + 0x14]
mov dl, byte [esp + eax + 0x38]
inc dword [esp + 0x14]
mov byte [esi], dl
dec edi
inc eax
test edi, edi
jne 0x508440
test ebp, ebp
je 0x50847c
cmp eax, ecx
je 0x50847c
cmp eax, ecx
je 0x50847c
test ebx, ebx
je 0x508476
mov dl, byte [esp + eax + 0x38]
mov byte [ebx], dl
inc ebx
dec ebp
inc eax
test ebp, ebp
jne 0x508467
test edi, edi
jne 0x508484
test ebp, ebp
je 0x5084b5
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3200
add esp, 0xc
test eax, eax
jne 0x508370
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00523c2c
add esp, 0x6c
ret
lea edx, [esp + 0x20]
push edx
call fcn.004d33b0
lea eax, [esp + 0x3c]
push 0x40
push eax
call fcn.0049c960
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x84]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00523c2c
add esp, 0x6c
ret