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

Disassembly:
mov eax, 0x18
call fcn.005c8080
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
test ebx, ebx
je 0x4d5390
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4d5390
cmp dword [esp + 0x38], 0
je 0x4d5390
push ebx
call fcn.004a3e00
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
cmp ebp, 2
jl 0x4d5390
push edi
call fcn.004a3e00
add esp, 4
cmp ebp, eax
jne 0x4d5390
push dword [esp + 0x38]
call fcn.004a3e00
inc eax
add esp, 4
cmp ebp, eax
jne 0x4d5390
push 1
push ebx
call fcn.004a3fb0
push 0
push ebx
mov edi, eax
call fcn.004a3fb0
mov ebx, eax
add esp, 0x10
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4d5139
test ebx, ebx
je 0x4d5390
cmp dword [esi + 0x24], 0
jne 0x4d5147
test edi, edi
je 0x4d5390
test ebx, ebx
je 0x4d515f
push eax
call fcn.004bfad0
push 4
push ebx
mov dword [esi + 0x20], ebx
call fcn.004c0430
add esp, 0xc
test edi, edi
je 0x4d5179
push dword [esi + 0x24]
call fcn.004bfad0
push 4
push edi
mov dword [esi + 0x24], edi
call fcn.004c0430
add esp, 0xc
inc dword [esi + 0x78]
push 0
push dword [esp + 0x3c]
call fcn.004a3fb0
push 1
push dword [esp + 0x40]
mov edi, eax
call fcn.004a3fb0
push 0
push dword [esp + 0x48]
mov ebx, eax
call fcn.004a3fb0
mov ecx, dword [esi + 0x28]
add esp, 0x18
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x4d51b7
test eax, eax
je 0x4d5390
cmp dword [esi + 0x2c], 0
jne 0x4d51c5
test ebx, ebx
je 0x4d5390
cmp dword [esi + 0x30], 0
jne 0x4d51d3
test edi, edi
je 0x4d5390
test eax, eax
je 0x4d51ef
push ecx
call fcn.004bfad0
mov eax, dword [esp + 0x18]
push 4
push eax
mov dword [esi + 0x28], eax
call fcn.004c0430
add esp, 0xc
test ebx, ebx
je 0x4d5209
push dword [esi + 0x2c]
call fcn.004bfad0
push 4
push ebx
mov dword [esi + 0x2c], ebx
call fcn.004c0430
add esp, 0xc
test edi, edi
je 0x4d5223
push dword [esi + 0x30]
call fcn.004bfad0
push 4
push edi
mov dword [esi + 0x30], edi
call fcn.004c0430
add esp, 0xc
inc dword [esi + 0x78]
lea edi, [esi + 0x78]
mov eax, dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x14], eax
cmp ebp, 2
jle 0x4d532a
push ebp
push 0
call fcn.004a3da0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4d5390
mov ebx, 2
push ebx
push dword [esp + 0x34]
mov dword [esp + 0x28], edi
call fcn.004a3fb0
push ebx
push dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x28], edi
call fcn.004a3fb0
lea ecx, [ebx - 1]
mov ebp, eax
push ecx
push dword [esp + 0x4c]
call fcn.004a3fb0
add esp, 0x18
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4d537f
test ebp, ebp
je 0x4d537f
test eax, eax
je 0x4d537f
push 0
push 0x66ed1f
push 0x14
call fcn.004a5110
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4d5358
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 4
push ecx
mov dword [edi], ecx
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
call fcn.004c0430
push 4
push dword [edi + 4]
call fcn.004c0430
push 4
push dword [edi + 8]
call fcn.004c0430
push edi
push dword [esp + 0x2c]
call fcn.004a3e80
mov ebp, dword [esp + 0x44]
inc ebx
mov eax, dword [esp + 0x40]
add esp, 0x20
mov edi, eax
cmp ebx, ebp
jl 0x4d5257
mov eax, dword [esp + 0x10]
push esi
mov dword [esi + 0x4c], eax
call fcn.00517220
add esp, 4
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4d5327
mov dword [esi + 0x4c], eax
jmp 0x4d537f
lea ecx, [esi + 0x78]
test eax, eax
je 0x4d533e
push 0x517320
push eax
call fcn.004a3e30
add esp, 8
mov ecx, edi
xor eax, eax
cmp ebp, 2
pop edi
setg al
inc dword [ecx]
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call fcn.004a93e0
push str.ossl_rsa_set0_all_params
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0xc0100
push 4
call fcn.004a94f0
add esp, 0x18
push 0x517360
push dword [esp + 0x14]
call fcn.004a3e30
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret