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

Disassembly:
mov eax, 0x184
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x180], eax
mov edx, dword [esp + 0x188]
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x198]
push ebp
push esi
mov esi, dword [esp + 0x1a4]
xor ebp, ebp
push edi
mov dword [esp + 0x18], edx
xor edi, edi
mov dword [esp + 0x24], esi
mov esi, dword [edx + 0x24]
mov edx, dword [edx + 4]
push 0x70
mov dword [esp + 0x14], edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x80]
mov eax, dword [esp + 0x1a8]
push edx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1bc]
push dword [eax + 0x4c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x1c4]
push eax
mov dword [esp + 0x40], ebx
xor ebx, ebx
mov dword [esp + 0x44], esi
mov esi, dword [esi + 0x18]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
call fcn.004c2960
add esp, 0x18
test eax, eax
je 0x515036
mov edi, esi
cmp dword [esp + 0x10], ebx
je 0x514f08
mov eax, 0x70
mov dword [esp + 0x14], ebx
sub eax, esi
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x80]
add eax, esi
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 0x4c]
push eax
push dword [esp + 0x30]
call fcn.004c2960
add esp, 0x18
test eax, eax
je 0x515036
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x514ed9
test byte [eax + 8], 1
je 0x514ed9
add eax, 0xc
mov dword [esp + 0x20], eax
je 0x515036
lea edi, [esi + esi]
mov dword [esp + 0x14], edi
jmp 0x514f0f
call fcn.00457560
push str.ecx_pubkey
push 0x98
push str.providersimplementationskemecx_kem.c
call fcn.00457660
push 0
push 0xdc
push 0x39
call fcn.00457770
add esp, 0x18
jmp 0x515036
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
lea eax, [esi + edi]
mov dword [esp + 0x1c], eax
cmp eax, 0xa8
ja 0x515036
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0xf0]
push eax
call fcn.005e17e0
push esi
push dword [esp + 0x3c]
lea eax, [esp + 0xfc]
add eax, esi
push eax
call fcn.005e17e0
add esp, 0x18
cmp dword [esp + 0x10], ebx
je 0x514f6b
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe8]
push esi
push dword [esp + 0x24]
add eax, ecx
push eax
call fcn.005e17e0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esi + 0xc]
push dword [eax + 0x20]
call fcn.0056c270
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x515036
movzx ecx, word [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x40
ja 0x515036
push edi
mov eax, ecx
mov byte [esp + 0x15], cl
shr eax, 8
mov byte [esp + 0x14], al
lea eax, [esp + 0x7c]
push eax
push str.eae_prk
push 2
lea eax, [esp + 0x20]
push eax
push 0x65e460
push 0
push 0
push esi
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.0056c0b0
add esp, 0x2c
test eax, eax
je 0x515018
push dword [esp + 0x1c]
lea eax, [esp + 0xec]
push eax
push str.shared_secret
push 2
lea eax, [esp + 0x20]
push eax
push 0x65e460
push esi
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x58]
push ebp
call fcn.0056bed0
add esp, 0x2c
mov dword [esp + 0x18], 1
test eax, eax
jne 0x51501c
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x38]
push esi
push eax
call fcn.00401320
add esp, 8
mov eax, 1
cmp dword [esp + 0x18], ebx
cmovne ebx, eax
lea eax, [esp + 0x78]
push edi
push eax
call fcn.00401320
push ebp
call fcn.0054fb70
mov ecx, dword [esp + 0x19c]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dffa1
add esp, 0x184
ret