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

Disassembly:
mov eax, 0x6c
call fcn.004bb670
mov eax, dword [0x4fc040]
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 0x4665d3
push str.nkey___EVP_MAX_KEY_LENGTH
push 0x79
push str..cryptoevpevp_key.c
call fcn.00419e50
add esp, 0xc
cmp ebp, 0x10
jle 0x4665ec
push str.niv___EVP_MAX_IV_LENGTH
push 0x7a
push str..cryptoevpevp_key.c
call fcn.00419e50
add esp, 0xc
test esi, esi
jne 0x466605
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004aad9b
add esp, 0x6c
ret
lea eax, [esp + 0x20]
push eax
call fcn.0042afe0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042b0f0
add esp, 0x10
test eax, eax
je 0x46676f
jmp 0x466634
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov ecx, eax
add eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x46665c
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0042b180
add esp, 0xc
mov edx, dword [esp + 0x90]
push edx
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0042b180
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x46668a
push 8
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0042b180
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0042b190
mov esi, dword [esp + 0xa0]
add esp, 0xc
cmp esi, 1
jbe 0x4666f1
add esi, 0xffffffff
mov edx, dword [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0042b0f0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0042b180
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042b190
add esp, 0x24
sub esi, 1
jne 0x4666b0
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x466724
jmp 0x466700
cmp eax, ecx
je 0x466724
cmp dword [esp + 0x14], 0
je 0x46671a
mov esi, dword [esp + 0x14]
mov dl, byte [esp + eax + 0x38]
add dword [esp + 0x14], 1
mov byte [esi], dl
sub edi, 1
add eax, 1
test edi, edi
jne 0x466700
test ebp, ebp
je 0x46674b
cmp eax, ecx
je 0x46674b
lea esp, [esp]
cmp eax, ecx
je 0x46674b
test ebx, ebx
je 0x466741
mov dl, byte [esp + eax + 0x38]
mov byte [ebx], dl
add ebx, 1
sub ebp, 1
add eax, 1
test ebp, ebp
jne 0x466730
test edi, edi
jne 0x466753
test ebp, ebp
je 0x466784
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0042b0f0
add esp, 0xc
test eax, eax
jne 0x466630
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004aad9b
add esp, 0x6c
ret
lea edx, [esp + 0x20]
push edx
call fcn.0042b210
lea eax, [esp + 0x3c]
push 0x40
push eax
call fcn.0042aaa0
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.004aad9b
add esp, 0x6c
ret