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

Disassembly:
mov eax, 0x184
call fcn.0059eec0
mov eax, dword [0x66ea60]
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.00498ff0
add esp, 0x18
test eax, eax
je 0x57b2e6
mov edi, esi
cmp dword [esp + 0x10], ebx
je 0x57b1b8
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.00498ff0
add esp, 0x18
test eax, eax
je 0x57b2e6
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x57b189
test byte [eax + 8], 1
je 0x57b189
add eax, 0xc
mov dword [esp + 0x20], eax
je 0x57b2e6
lea edi, [esi + esi]
mov dword [esp + 0x14], edi
jmp 0x57b1bf
call fcn.00471c50
push str.ecx_pubkey
push 0x98
push str.providersimplementationskemecx_kem.c
call fcn.00471d50
push 0
push 0xdc
push 0x39
call fcn.00471e60
add esp, 0x18
jmp 0x57b2e6
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
lea eax, [esi + edi]
mov dword [esp + 0x1c], eax
cmp eax, 0xa8
ja 0x57b2e6
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0xf0]
push eax
call fcn.005b5b30
push esi
push dword [esp + 0x3c]
lea eax, [esp + 0xfc]
add eax, esi
push eax
call fcn.005b5b30
add esp, 0x18
cmp dword [esp + 0x10], ebx
je 0x57b21b
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe8]
push esi
push dword [esp + 0x24]
add eax, ecx
push eax
call fcn.005b5b30
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.005019f0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x57b2e6
movzx ecx, word [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x40
ja 0x57b2e6
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 0x651940
push 0
push 0
push esi
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.00501830
add esp, 0x2c
test eax, eax
je 0x57b2c8
push dword [esp + 0x1c]
lea eax, [esp + 0xec]
push eax
push str.shared_secret
push 2
lea eax, [esp + 0x20]
push eax
push 0x651940
push esi
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x58]
push ebp
call fcn.00501650
add esp, 0x2c
mov dword [esp + 0x18], 1
test eax, eax
jne 0x57b2cc
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.00501180
mov ecx, dword [esp + 0x19c]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e5bd
add esp, 0x184
ret