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

Disassembly:
mov eax, 0x14
call fcn.005dfc90
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
test ebx, ebx
je 0x49c22f
mov edi, dword [esp + 0x30]
test edi, edi
je 0x49c22f
cmp dword [esp + 0x34], 0
je 0x49c22f
push ebx
call fcn.004797c0
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
cmp ebp, 2
jl 0x49c22f
push edi
call fcn.004797c0
add esp, 4
cmp ebp, eax
jne 0x49c22f
push dword [esp + 0x34]
call fcn.004797c0
inc eax
add esp, 4
cmp ebp, eax
jne 0x49c22f
push 1
push ebx
call fcn.00479a10
push 0
push ebx
mov edi, eax
call fcn.00479a10
mov ebx, eax
add esp, 0x10
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x49c019
test ebx, ebx
je 0x49c22f
cmp dword [esi + 0x24], 0
jne 0x49c027
test edi, edi
je 0x49c22f
test ebx, ebx
je 0x49c03f
push eax
call fcn.0049a1a0
push 4
push ebx
mov dword [esi + 0x20], ebx
call fcn.0049ab30
add esp, 0xc
test edi, edi
je 0x49c059
push dword [esi + 0x24]
call fcn.0049a1a0
push 4
push edi
mov dword [esi + 0x24], edi
call fcn.0049ab30
add esp, 0xc
inc dword [esi + 0x78]
push 0
push dword [esp + 0x38]
call fcn.00479a10
push 1
push dword [esp + 0x3c]
mov edi, eax
call fcn.00479a10
push 0
push dword [esp + 0x44]
mov ebx, eax
call fcn.00479a10
mov ecx, dword [esi + 0x28]
add esp, 0x18
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x49c097
test eax, eax
je 0x49c22f
cmp dword [esi + 0x2c], 0
jne 0x49c0a5
test ebx, ebx
je 0x49c22f
cmp dword [esi + 0x30], 0
jne 0x49c0b3
test edi, edi
je 0x49c22f
test eax, eax
je 0x49c0cf
push ecx
call fcn.0049a1a0
mov eax, dword [esp + 0x18]
push 4
push eax
mov dword [esi + 0x28], eax
call fcn.0049ab30
add esp, 0xc
test ebx, ebx
je 0x49c0e9
push dword [esi + 0x2c]
call fcn.0049a1a0
push 4
push ebx
mov dword [esi + 0x2c], ebx
call fcn.0049ab30
add esp, 0xc
test edi, edi
je 0x49c103
push dword [esi + 0x30]
call fcn.0049a1a0
push 4
push edi
mov dword [esi + 0x30], edi
call fcn.0049ab30
add esp, 0xc
inc dword [esi + 0x78]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x10], eax
cmp ebp, 2
jle 0x49c239
push ebp
push 0
call fcn.00479720
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x49c22f
mov ebx, 2
push ebx
push dword [esp + 0x30]
call fcn.00479a10
push ebx
push dword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x28], edi
call fcn.00479a10
lea ecx, [ebx - 1]
mov ebp, eax
push ecx
push dword [esp + 0x48]
call fcn.00479a10
add esp, 0x18
mov dword [esp + 0x1c], eax
test edi, edi
je 0x49c21e
test ebp, ebp
je 0x49c21e
test eax, eax
je 0x49c21e
push 0x316
push str.crypto_rsa_rsa_lib.c
push 0x14
call fcn.00467c10
mov edi, eax
add esp, 0xc
test edi, edi
je 0x49c1f4
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.0049ab30
push 4
push dword [edi + 4]
call fcn.0049ab30
push 4
push dword [edi + 8]
call fcn.0049ab30
push edi
mov edi, dword [esp + 0x30]
push edi
call fcn.00479850
mov ebp, dword [esp + 0x40]
inc ebx
add esp, 0x20
cmp ebx, ebp
jl 0x49c132
push esi
mov dword [esi + 0x4c], edi
call fcn.004fc5e0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x49c239
mov dword [esi + 0x4c], eax
jmp 0x49c21e
call fcn.0046b450
push str.ossl_rsa_set0_all_params
push 0x317
push str.crypto_rsa_rsa_lib.c
call fcn.0046b550
push 0
push 0xc0100
push 4
call fcn.0046b600
add esp, 0x18
push 0x4fc720
push dword [esp + 0x18]
call fcn.004797f0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
test eax, eax
je 0x49c24b
push 0x4fc6e0
push eax
call fcn.004797f0
add esp, 8
xor eax, eax
cmp ebp, 2
pop edi
setg al
inc dword [esi + 0x78]
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x14
ret