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

Disassembly:
mov eax, 0x48
call fcn.006d75c0
mov eax, dword [0x7c2580]
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 + 0x14], esi
and eax, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
push 0xfe
push str.cryptopempem_lib.c
test eax, eax
je 0x598e22
push 0
push edi
call fcn.0051e4e0
push 0xff
push str.cryptopempem_lib.c
push 0
push esi
call fcn.0051e4e0
push 0x100
push str.cryptopempem_lib.c
push ebp
push ebx
call fcn.0051e4e0
add esp, 0x30
jmp 0x598e4b
push edi
call fcn.0050ba40
push 0xff
push str.cryptopempem_lib.c
push esi
call fcn.0050ba40
push 0x100
push str.cryptopempem_lib.c
push ebx
call fcn.0050ba40
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.00597e20
add esp, 0x18
test eax, eax
je 0x59927f
push dword [esp + 0x28]
mov edi, dword [esp + 0x28]
push edi
call fcn.00598540
add esp, 8
test eax, eax
jne 0x598ea1
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x598de4
mov ebx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x44], xmm0
test ebx, ebx
je 0x599127
mov al, byte [ebx]
test al, al
je 0x599127
cmp al, 0xa
je 0x599127
push 0xa
push str.Proc_Type:
push ebx
call fcn.006e54e0
add esp, 0xc
test eax, eax
jne 0x5991ec
lea esi, [ebx + 0xa]
push 0x75707c
push esi
call fcn.006e6170
add esp, 8
cmp byte [esi + eax], 0x34
lea ebx, [esi + eax]
jne 0x598f8c
mov al, byte [ebx + 1]
add ebx, 2
cmp al, 0x2c
jne 0x598f8c
push 0x75707c
push ebx
call fcn.006e6170
push 9
add ebx, eax
push str.ENCRYPTED
push ebx
call fcn.006e54e0
add esp, 0x14
test eax, eax
jne 0x5991ca
add ebx, 9
push 0x70ee58
push ebx
call fcn.006e6170
add esp, 8
test eax, eax
je 0x5991ca
push 0x757080
push ebx
call fcn.006e6170
add esp, 8
lea esi, [ebx + eax]
mov al, byte [esi]
inc esi
cmp al, 0xa
je 0x598fd0
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x20c
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x70
push 9
call fcn.00514250
add esp, 0x18
mov ebp, dword [esp + 0x10]
xor ebx, ebx
mov esi, dword [esp + 0x1c]
push 0x116
push str.cryptopempem_lib.c
test esi, esi
je 0x59920e
push 0
push edi
call fcn.0051e4e0
add esp, 0x10
push 0x117
push str.cryptopempem_lib.c
push 0
push dword [esp + 0x20]
call fcn.0051e4e0
add esp, 0x10
jmp 0x59922d
push 9
push str.DEK_Info:
push esi
call fcn.006e54e0
add esp, 0xc
test eax, eax
jne 0x5991a8
add esi, 9
push 0x75707c
push esi
call fcn.006e6170
push 0x757090
lea ebp, [esi + eax]
push ebp
mov esi, ebp
call fcn.006dd320
mov bl, byte [ebp + eax]
add ebp, eax
push esi
mov byte [ebp], 0
call fcn.00522080
push 0x75707c
mov dword [esp + 0x58], eax
push ebp
mov dword [esp + 0x3c], eax
mov byte [ebp], bl
call fcn.006e6170
mov ebx, dword [esp + 0x3c]
add ebp, eax
add esp, 0x1c
mov esi, ebp
test ebx, ebx
jne 0x59905c
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x227
push str.cryptopempem_lib.c
call fcn.00514140
push ebx
push 0x72
jmp 0x598f82
push ebx
call fcn.005119e0
add esp, 4
test eax, eax
jle 0x599096
mov al, byte [ebp]
inc ebp
cmp al, 0x2c
je 0x5990c6
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x22c
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x81
jmp 0x598f82
mov ebp, esi
test eax, eax
jne 0x5990c6
cmp byte [esi], 0x2c
jne 0x5990c6
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x22f
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x82
jmp 0x598f82
push ebx
call fcn.005119e0
mov esi, eax
add esp, 4
test esi, esi
jle 0x5990e5
push esi
lea eax, [esp + 0x48]
push 0
push eax
call fcn.006d8cf0
add esp, 0xc
lea ebx, [esi + esi]
xor esi, esi
test ebx, ebx
jle 0x599127
nop
movzx eax, byte [esi + ebp]
push eax
call fcn.0050b370
mov edx, eax
add esp, 4
test edx, edx
js 0x599186
mov eax, esi
test eax, eax
jns 0x599110
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 0x5990f0
push dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.00597840
add esp, 0x14
test eax, eax
je 0x598f90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x599168
mov dword [eax], edi
mov ebx, 1
test eax, eax
je 0x598f92
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x599217
jmp 0x598fb3
call fcn.00514040
push str.load_iv
push 0x245
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x67
jmp 0x598f82
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x215
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x69
jmp 0x598f82
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x207
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x6a
jmp 0x598f82
call fcn.00514040
push str.PEM_get_EVP_CIPHER_INFO
push 0x1fb
push str.cryptopempem_lib.c
call fcn.00514140
push 0
push 0x6b
jmp 0x598f82
push edi
call fcn.0050ba40
add esp, 0xc
push 0x117
push str.cryptopempem_lib.c
push dword [esp + 0x1c]
call fcn.0050ba40
add esp, 0xc
test ebx, ebx
jne 0x59926a
push 0x119
push str.cryptopempem_lib.c
test esi, esi
je 0x599261
push dword [esp + 0x20]
push ebp
call fcn.0051e4e0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.006d66cb
add esp, 0x48
ret
push ebp
call fcn.0050ba40
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.006d66cb
add esp, 0x48
ret
call fcn.00503300
mov ecx, eax
sar ecx, 0x1f
and ecx, 0x7f800000
add ecx, 0x7fffff
and ecx, eax
cmp ecx, 0x6c
jne 0x5992af
push dword [esp + 0x28]
push str.Expecting:
push 2
call fcn.00502fa0
add esp, 0xc
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006d66cb
add esp, 0x48
ret