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

Disassembly:
mov eax, 0x4d4
call fcn.1006c090
push ebx
mov ebx, dword [esp + 0x4ec]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
je 0x101dd5cb
push ebx
call fcn.101d0e30
push eax
call fcn.100c4570
add esp, 8
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x101dd5cb
push 0x12e
push str..cryptopempem_lib.c
push 0x71
push 0x69
push 9
call fcn.100bfb70
add esp, 0x14
jmp 0x101dd988
mov esi, dword [esp + 0x4f4]
mov edi, dword [esp + 0x4e8]
push ebp
push esi
call edi
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x101dd60d
push 0x135
push str..cryptopempem_lib.c
push 0xd
push 0x69
push 9
call fcn.100bfb70
add esp, 0x14
mov dword [esp + 0x1c], 0
jmp 0x101dd988
push 0x13b
add eax, 0x14
push str..cryptopempem_lib.c
push eax
call fcn.100bf750
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x101dd646
push 0x13e
push str..cryptopempem_lib.c
push 0x41
push 0x69
push 9
call fcn.100bfb70
add esp, 0x14
jmp 0x101dd988
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ebp
push eax
push esi
call edi
add esp, 8
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x101dd946
mov edi, dword [esp + 0x4fc]
test edi, edi
jne 0x101dd7a4
mov eax, dword [esp + 0x504]
test eax, eax
jne 0x101dd758
mov esi, dword [esp + 0x508]
test esi, esi
je 0x101dd6be
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x400
jle 0x101dd6a2
mov eax, 0x400
mov ecx, eax
lea edi, [esp + 0xe4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x101dd774
call fcn.101fb4e0
mov esi, eax
test esi, esi
jne 0x101dd6ce
mov esi, str.Enter_PEM_pass_phrase:
push 1
push esi
lea eax, [esp + 0xec]
push 0x400
push eax
call fcn.101fb4f0
add esp, 0x10
test eax, eax
jne 0x101dd72d
lea edi, [esp + 0xe4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jge 0x101dd754
push 4
push str.phrase_is_too_short__needs_to_be_at_least__d_chars_n
push 0x102c1b78
call fcn.101beab0
push 1
push esi
lea ecx, [esp + 0xf8]
push 0x400
push ecx
call fcn.101fb4f0
add esp, 0x1c
test eax, eax
je 0x101dd6ea
push 0x69
push str..cryptopempem_lib.c
push 0x6d
push 0x64
push 9
call fcn.100bfb70
add esp, 0x14
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xe4]
rep stosd dword es:[edi], eax
jmp 0x101dd77a
mov esi, ecx
jmp 0x101dd776
mov edx, dword [esp + 0x508]
lea ecx, [esp + 0xe4]
push edx
push 1
push 0x400
push ecx
call eax
add esp, 0x10
mov esi, eax
test esi, esi
jg 0x101dd797
push 0x14e
push str..cryptopempem_lib.c
push 0x6f
push 0x69
push 9
call fcn.100bfb70
add esp, 0x14
jmp 0x101dd988
mov eax, dword [esp + 0x10]
lea edi, [esp + 0xe4]
jmp 0x101dd7ab
mov esi, dword [esp + 0x500]
push 0
push 0
push eax
push ebp
call fcn.100c7900
mov eax, dword [ebx + 0xc]
add esp, 0x10
cmp eax, 0x10
jle 0x101dd7d8
push str.enc__iv_len____int_sizeof_iv_
push 0x158
push str..cryptopempem_lib.c
call fcn.100c0af0
add esp, 0xc
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.100c79e0
add esp, 8
test eax, eax
jl 0x101dd988
lea ecx, [esp + 0x38]
push 0
push ecx
push 1
push esi
lea edx, [esp + 0x38]
push edi
push edx
call fcn.100bf300
push eax
push ebx
call fcn.101fb5b0
lea eax, [esp + 0x104]
add esp, 0x20
cmp edi, eax
jne 0x101dd830
lea ecx, [esp + 0xe4]
push 0x400
push ecx
call fcn.100c06a0
add esp, 8
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0xc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + edx*2 + 0x24]
cmp eax, 0x400
jbe 0x101dd863
push str.strlen_objstr_232enc__iv_len13___sizeof_buf
push 0x161
push str..cryptopempem_lib.c
call fcn.100c0af0
add esp, 0xc
push 0x400
lea ecx, [esp + 0xe8]
push str.Proc_Type:_4_
push ecx
mov byte [esp + 0xf0], 0
call fcn.100c2b10
push 0x400
lea edx, [esp + 0xf4]
push str.ENCRYPTED
push edx
call fcn.100c2b10
push 0x400
lea eax, [esp + 0x100]
push 0x102c3f5c
push eax
call fcn.100c2b10
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x110]
push eax
push ecx
call fcn.101dcda0
lea edx, [esp + 0x8c]
push edx
call fcn.101d0990
lea eax, [esp + 0x60]
lea ecx, [esp + 0x70]
push eax
push ecx
push 0
lea edx, [esp + 0x9c]
push ebx
push edx
call fcn.101d02f0
mov eax, dword [esp + 0x5c]
add esp, 0x4c
lea ecx, [esp + 0x20]
lea edx, [esp + 0x58]
push eax
push ebp
push ecx
push ebp
push edx
call fcn.101d0390
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x24]
add ecx, ebp
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.101d0550
lea eax, [esp + 0x78]
push eax
call fcn.101d0cf0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
add esp, 0x24
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
jmp 0x101dd956
mov dword [esp + 0x14], 1
mov byte [esp + 0xe4], 0
mov edx, dword [esp + 0x4ec]
push eax
mov eax, dword [esp + 0x4f4]
lea ecx, [esp + 0xe8]
push ebp
push ecx
push edx
push eax
call fcn.101dded0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jg 0x101dd988
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x38]
push 0x20
push ecx
call fcn.100c06a0
lea edx, [esp + 0x30]
push 0x10
push edx
call fcn.100c06a0
lea eax, [esp + 0x68]
push 0x8c
push eax
call fcn.100c06a0
lea ecx, [esp + 0xfc]
push 0x400
push ecx
call fcn.100c06a0
add esp, 0x20
test ebp, ebp
je 0x101dd9dc
mov edx, dword [esp + 0x1c]
push edx
push ebp
call fcn.100c06a0
push ebp
call fcn.100bf9d0
add esp, 0xc
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d4
ret