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

Disassembly:
mov eax, 0x184
call fcn.005f62e0
mov eax, dword [0x6c02d0]
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.00528d40
add esp, 0x18
test eax, eax
je 0x5b5956
mov edi, esi
cmp dword [esp + 0x10], ebx
je 0x5b5828
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.00528d40
add esp, 0x18
test eax, eax
je 0x5b5956
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x5b57f9
test byte [eax + 8], 1
je 0x5b57f9
add eax, 0xc
mov dword [esp + 0x20], eax
je 0x5b5956
lea edi, [esi + esi]
mov dword [esp + 0x14], edi
jmp 0x5b582f
call fcn.004c22a0
push str.ecx_pubkey
push 0x98
push str.providersimplementationskemecx_kem.c
call fcn.004c23a0
push 0
push 0xdc
push 0x39
call fcn.004c24b0
add esp, 0x18
jmp 0x5b5956
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
lea eax, [esi + edi]
mov dword [esp + 0x1c], eax
cmp eax, 0xa8
ja 0x5b5956
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0xf0]
push eax
call fcn.005f7b80
push esi
push dword [esp + 0x3c]
lea eax, [esp + 0xfc]
add eax, esi
push eax
call fcn.005f7b80
add esp, 0x18
cmp dword [esp + 0x10], ebx
je 0x5b588b
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe8]
push esi
push dword [esp + 0x24]
add eax, ecx
push eax
call fcn.005f7b80
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.005d2770
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x5b5956
movzx ecx, word [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x40
ja 0x5b5956
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 0x69e540
push 0
push 0
push esi
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.005d25b0
add esp, 0x2c
test eax, eax
je 0x5b5938
push dword [esp + 0x1c]
lea eax, [esp + 0xec]
push eax
push str.shared_secret
push 2
lea eax, [esp + 0x20]
push eax
push 0x69e540
push esi
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x58]
push ebp
call fcn.005d23d0
add esp, 0x2c
mov dword [esp + 0x18], 1
test eax, eax
jne 0x5b593c
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.00513400
mov ecx, dword [esp + 0x19c]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f5e48
add esp, 0x184
ret