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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x60]
test esi, esi
je 0x6b563c00
call sym.libcrypto_1_1.dll_BN_CTX_new
mov ebx, eax
test eax, eax
je 0x6b563c00
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_CTX_start
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp], ebx
mov dword [esp + 0x38], eax
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp], ebx
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp], ebx
mov dword [esp + 0x34], eax
call sym.libcrypto_1_1.dll_BN_CTX_get
mov edi, eax
test eax, eax
je 0x6b563d80
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x6b563d90
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x6b563d40
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6b563cd0
mov edx, dword [esp + 0x88]
test edx, edx
je 0x6b563ca5
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6b563c30
call sym.libcrypto_1_1.dll_BN_new
mov dword [esi + 0x10], eax
test eax, eax
je 0x6b563d70
mov dword [esp + 0xc], ebx
mov edx, dword [esi + 0x20]
mov dword [esp + 8], edx
mov edx, dword [esi + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.libcrypto_1_1.dll_BN_mul
mov ebp, eax
test eax, eax
je 0x6b563bf2
call sym.libcrypto_1_1.dll_BN_value_one
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_sub
mov ebp, eax
test eax, eax
jne 0x6b563db8
xor edi, edi
jmp 0x6b563c06
xor ebp, ebp
xor edi, edi
xor ebx, ebx
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_end
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_free
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BN_CTX_free
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x3c], ecx
call sym.libcrypto_1_1.dll_BN_new
mov dword [esi + 0x20], eax
test eax, eax
je 0x6b563d70
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
call sym.libcrypto_1_1.dll_BN_X931_derive_prime_ex
mov ebp, eax
test eax, eax
je 0x6b563bf2
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6b563cb0
mov ebp, dword [esi + 0x20]
test ebp, ebp
jne 0x6b563b9c
mov dword [esp], ebx
mov ebp, 2
call sym.libcrypto_1_1.dll_BN_CTX_end
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_free
jmp 0x6b563c1e
mov dword [esp + 0x3c], ecx
call sym.libcrypto_1_1.dll_BN_new
mov dword [esi + 0x1c], eax
test eax, eax
je 0x6b563d70
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
call sym.libcrypto_1_1.dll_BN_X931_derive_prime_ex
mov ecx, dword [esp + 0x3c]
test eax, eax
mov ebp, eax
je 0x6b563bf2
lea esi, [esi]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x6b563c9e
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6b563c30
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x6b563b9c
jmp 0x6b563cb0
xor edi, edi
xor ebp, ebp
jmp 0x6b563c06
xor ebp, ebp
jmp 0x6b563c06
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_dup
mov dword [esi + 0x14], eax
test eax, eax
je 0x6b563d70
mov ecx, dword [esp + 0x8c]
jmp 0x6b563b6b
call sym.libcrypto_1_1.dll_BN_value_one
mov edx, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BN_sub
mov ebp, eax
test eax, eax
je 0x6b563bf2
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x30]
mov dword [esp], ebp
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BN_mul
mov ebp, eax
test eax, eax
je 0x6b563bf2
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BN_gcd
mov ebp, eax
test eax, eax
je 0x6b563bf2
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ebp
mov dword [esp], ebp
mov dword [esp + 4], 0
call sym.libcrypto_1_1.dll_BN_div
mov ebp, eax
test eax, eax
je 0x6b563c06
call sym.libcrypto_1_1.dll_BN_CTX_new
xor ebp, ebp
mov edi, eax
test eax, eax
je 0x6b563c06
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esi + 0x14]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BN_mod_inverse
mov dword [esi + 0x18], eax
test eax, eax
je 0x6b563c06
call sym.libcrypto_1_1.dll_BN_new
mov dword [esi + 0x24], eax
test eax, eax
je 0x6b563c06
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0
call sym.libcrypto_1_1.dll_BN_div
mov ebp, eax
test eax, eax
je 0x6b563c06
call sym.libcrypto_1_1.dll_BN_new
mov dword [esi + 0x28], eax
test eax, eax
je 0x6b563d80
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0
call sym.libcrypto_1_1.dll_BN_div
mov ebp, eax
test eax, eax
je 0x6b563c06
mov dword [esp + 0xc], edi
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BN_mod_inverse
test eax, eax
mov dword [esi + 0x2c], eax
setne al
movzx eax, al
mov ebp, eax
jmp 0x6b563c06