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

Disassembly:
mov eax, 0x48
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
push ebx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x64]
push ebp
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov eax, dword [esp + 0x6c]
push esi
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [esp + 0x74]
push edi
xor edi, edi
mov dword [esp + 0x24], ebp
and eax, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10085632
push 0xe0
push str.cryptopempem_lib.c
push 0
push ebp
call fcn.10085da0
push 0xe0
push str.cryptopempem_lib.c
push 0
push esi
call fcn.10085da0
push 0xe0
push str.cryptopempem_lib.c
push ebx
push edi
call fcn.10085da0
add esp, 0x30
jmp 0x10085665
push 0xe2
push str.cryptopempem_lib.c
push ebp
call fcn.1004b410
push 0xe2
push str.cryptopempem_lib.c
push esi
call fcn.1004b410
push 0xe2
push str.cryptopempem_lib.c
push edi
call fcn.1004b410
add esp, 0x24
push dword [esp + 0x78]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x34]
call fcn.100845a0
add esp, 0x18
test eax, eax
je 0x10085a97
push dword [esp + 0x28]
mov ebp, dword [esp + 0x28]
push ebp
call fcn.10084b50
add esp, 8
test eax, eax
jne 0x100856bb
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x100855f4
mov ebx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x44], xmm0
test ebx, ebx
je 0x10085973
mov al, byte [ebx]
test al, al
je 0x10085973
cmp al, 0xa
je 0x10085973
push 0xa
push str.Proc_Type:
push ebx
call fcn.101c1ff0
add esp, 0xc
test eax, eax
je 0x10085768
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x1f6
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x6b
push 9
call fcn.1004b870
add esp, 0x18
mov ebx, dword [esp + 0x10]
xor edi, edi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10085a12
push 0xe0
push str.cryptopempem_lib.c
push 0
push ebp
call fcn.10085da0
add esp, 0x10
push 0xe0
push str.cryptopempem_lib.c
push 0
push dword [esp + 0x20]
call fcn.10085da0
add esp, 0x10
jmp 0x10085a3b
lea edi, [ebx + 0xa]
push 0x1027719c
push edi
call fcn.101d1d40
add edi, eax
add esp, 8
cmp byte [edi], 0x34
jne 0x10085724
mov al, byte [edi + 1]
add edi, 2
cmp al, 0x2c
jne 0x10085724
push 0x1027719c
push edi
call fcn.101d1d40
push 9
add edi, eax
push 0x10277834
push edi
call fcn.101c1ff0
add esp, 0x14
test eax, eax
jne 0x100859f0
add edi, 9
push str.__t_r_n
push edi
call fcn.101d1d40
add esp, 8
test eax, eax
je 0x100859f0
push 0x102779a8
push edi
call fcn.101d1d40
add edi, eax
add esp, 8
mov al, byte [edi]
inc edi
cmp al, 0xa
je 0x10085801
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x209
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x70
jmp 0x1008571a
push 9
push str.DEK_Info:
push edi
call fcn.101c1ff0
add esp, 0xc
test eax, eax
je 0x10085837
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x212
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x69
jmp 0x1008571a
add edi, 9
push 0x1027719c
push edi
call fcn.101d1d40
add edi, eax
push 0x102779ac
push edi
mov esi, edi
call fcn.101d1d90
mov bl, byte [edi + eax]
add edi, eax
push esi
mov byte [edi], 0
call fcn.1008dbb0
push 0x1027719c
mov dword [esp + 0x58], eax
push edi
mov dword [esp + 0x3c], eax
mov byte [edi], bl
call fcn.101d1d40
mov ebx, dword [esp + 0x3c]
add edi, eax
add esp, 0x1c
mov esi, edi
test ebx, ebx
jne 0x100858a7
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x225
push str.cryptopempem_lib.c
call fcn.1004b7c0
push ebx
push 0x72
jmp 0x1008571a
push ebx
call fcn.10040980
add esp, 4
test eax, eax
jle 0x100858e0
mov al, byte [edi]
inc edi
cmp al, 0x2c
je 0x10085910
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x22a
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x81
jmp 0x1008571a
mov edi, esi
test eax, eax
jne 0x10085910
cmp byte [esi], 0x2c
jne 0x10085910
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x22d
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x82
jmp 0x1008571a
push ebx
call fcn.10040980
mov esi, eax
add esp, 4
test esi, esi
jle 0x1008592f
push esi
lea eax, [esp + 0x48]
push 0
push eax
call fcn.101c06d0
add esp, 0xc
lea ebx, [esi + esi]
xor esi, esi
test ebx, ebx
jle 0x10085973
nop dword [eax + eax]
movzx eax, byte [esi + edi]
push eax
call fcn.1004ee10
mov edx, eax
add esp, 4
test edx, edx
js 0x100859ce
mov eax, esi
test eax, eax
jns 0x1008595c
add eax, 1
sar eax, 1
mov ecx, esi
inc esi
not ecx
and ecx, 1
shl ecx, 2
shl dl, cl
or byte [esp + eax + 0x44], dl
cmp esi, ebx
jl 0x10085940
push dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.10083fe0
add esp, 0x14
test eax, eax
je 0x10085728
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ebx
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100859b4
mov dword [eax], ebp
mov edi, 1
test eax, eax
je 0x1008572a
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10085a25
jmp 0x1008574b
call fcn.1004b6c0
push str.load_iv
push 0x243
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x67
jmp 0x1008571a
call fcn.1004b6c0
push str.PEM_get_EVP_CIPHER_INFO
push 0x203
push str.cryptopempem_lib.c
call fcn.1004b7c0
push 0
push 0x6a
jmp 0x1008571a
push 0xe2
push str.cryptopempem_lib.c
push ebp
call fcn.1004b410
add esp, 0xc
push 0xe2
push str.cryptopempem_lib.c
push dword [esp + 0x1c]
call fcn.1004b410
add esp, 0xc
test edi, edi
jne 0x10085a82
test esi, esi
je 0x10085a6f
push 0xe0
push str.cryptopempem_lib.c
push dword [esp + 0x20]
push ebx
call fcn.10085da0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101bdc82
add esp, 0x48
ret
push 0xe2
push str.cryptopempem_lib.c
push ebx
call fcn.1004b410
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101bdc82
add esp, 0x48
ret
call fcn.1004a730
mov ecx, eax
sar ecx, 0x1f
and ecx, 0x7f800000
add ecx, 0x7fffff
and ecx, eax
cmp ecx, 0x6c
jne 0x10085ac7
push dword [esp + 0x28]
push str.Expecting:
push 2
call fcn.1004a390
add esp, 0xc
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101bdc82
add esp, 0x48
ret