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

Disassembly:
mov eax, 0x6c
call fcn.00527c00
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 0x508343
push str.nkey___EVP_MAX_KEY_LENGTH
push 0x79
push str..cryptoevpevp_key.c
call fcn.0048d900
add esp, 0xc
cmp ebp, 0x10
jle 0x50835c
push str.niv___EVP_MAX_IV_LENGTH
push 0x7a
push str..cryptoevpevp_key.c
call fcn.0048d900
add esp, 0xc
test esi, esi
jne 0x508375
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00523c4c
add esp, 0x6c
ret
lea eax, [esp + 0x20]
push eax
call fcn.004d3210
mov ecx, dword [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004d3230
add esp, 0x10
test eax, eax
je 0x5084d0
jmp 0x5083a4
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov ecx, eax
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x5083ca
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3350
add esp, 0xc
mov edx, dword [esp + 0x90]
push edx
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004d3350
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x5083f8
push 8
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3350
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3360
mov esi, dword [esp + 0xa0]
add esp, 0xc
cmp esi, 1
jbe 0x508461
dec esi
lea esp, [esp]
mov edx, dword [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004d3230
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004d3350
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004d3360
add esp, 0x24
sub esi, 1
jne 0x508420
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x50848f
jmp 0x508470
cmp eax, ecx
je 0x50848f
cmp dword [esp + 0x14], 0
je 0x508489
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 0x508470
test ebp, ebp
je 0x5084ac
cmp eax, ecx
je 0x5084ac
cmp eax, ecx
je 0x5084ac
test ebx, ebx
je 0x5084a6
mov dl, byte [esp + eax + 0x38]
mov byte [ebx], dl
inc ebx
dec ebp
inc eax
test ebp, ebp
jne 0x508497
test edi, edi
jne 0x5084b4
test ebp, ebp
je 0x5084e5
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004d3230
add esp, 0xc
test eax, eax
jne 0x5083a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00523c4c
add esp, 0x6c
ret
lea edx, [esp + 0x20]
push edx
call fcn.004d33e0
lea eax, [esp + 0x3c]
push 0x40
push eax
call fcn.0049c950
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.00523c4c
add esp, 0x6c
ret