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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ecx, dword [0x101d2014]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x34]
xor ecx, ebp
mov dword [esp + 0xa8], ecx
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov eax, dword [eax + 8]
mov dword [edx + 4], eax
lea eax, [esp + 0x2c]
mov dword [edx + 8], 0
push eax
push 2
push edx
call fcn.10176080
add esp, 0xc
xor esi, esi
dec esi
test eax, eax
jne 0x1018bbd0
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
jne 0x1018bb50
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
je 0x1018bb61
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
push 2
push ecx
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018bbc4
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x14]
push eax
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018bbc4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 8], ecx
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.10176020
add esp, 0xc
test eax, eax
jne 0x1018bbc4
mov eax, dword [esp + 0x20]
mov ecx, 0xfe09
xor eax, ecx
or eax, dword [esp + 0x24]
jne 0x1018b7a6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 8], esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], edx
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
push eax
push 2
lea eax, [esp + 0xa4]
push eax
call fcn.10176080
add esp, 0xc
test eax, eax
je 0x1018b7c9
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1018b61c
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor ebx, ebx
push ebx
lea eax, [esp + 0x78]
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push ebx
lea eax, [esp + 0x90]
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
xor eax, eax
mov ecx, dword [esp + 8]
test al, al
je 0x1018bbc4
test ebx, ebx
je 0x1018b7a6
mov edx, dword [esp + 4]
movzx eax, word [esp + 0x20]
lea esi, [ebx + 8]
add edx, 4
mov word [ebx + 0x1c], ax
push edx
push ecx
push esi
push 0
call fcn.101452d0
add esp, 0x10
test eax, eax
jne 0x1018bbc4
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x8a], eax
mov dword [esp + 0x86], eax
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x70]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x1e
call sym.nss3.dll_PK11_GetInternalSlot
test eax, eax
je 0x1018bb76
push 0
push esi
push 0x10c
push 4
push 0x402b
mov dword [esp + 0x18], eax
push eax
call sym.nss3.dll_PK11_ImportDataKey
add esp, 0x18
mov edi, eax
test eax, eax
je 0x1018bb89
mov word [esp + 0x70], 0x101
mov dword [esp + 0x72], 0x250
mov dword [esp + 0x76], 1
mov dword [esp + 0x86], str.tls_ech_config_id
mov dword [esp + 0x8a], 0x11
push 0x2800
push 8
push 0x10c
push 0x402a
lea eax, [esp + 0xac]
push eax
push 0x402b
push edi
call sym.nss3.dll_PK11_DeriveWithFlags
add esp, 0x1c
mov esi, eax
push eax
call sym.nss3.dll_PK11_ExtractKeyValue
add esp, 4
test eax, eax
jne 0x1018bb9c
cmp dword [esi + 0x20], 8
jne 0x1018bb8d
mov eax, dword [esi + 0x1c]
movsd xmm0, qword [eax]
movsd qword [ebx + 0x14], xmm0
push edi
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
push esi
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [esp + 4]
lock dec dword [eax + 0x48]
jne 0x1018b793
push eax
call fcn.10135de0
add esp, 4
mov edi, dword [ebp + 0xc]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], ebx
mov dword [edi + 4], ebx
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x10], esi
je 0x1018bb72
add esi, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
push 2
lea eax, [esp + 0x14]
push eax
jmp 0x1018b53f
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1018b93e
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ecx
mov edi, ecx
add ecx, 1
adc esi, 0
cmp byte [edx + edi], 0
je 0x1018b952
cmp ecx, eax
mov edi, esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], esi
sbb edi, 0
jb 0x1018b7e5
inc eax
push eax
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
mov edi, dword [ebp + 0xc]
test eax, eax
mov dword [esp + 0x70], eax
je 0x1018b61c
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push 2
lea eax, [esp + 0xa4]
push eax
call fcn.10176080
add esp, 0xc
test eax, eax
jne 0x1018b60a
push dword [esp + 0x5c]
push dword [esp + 0x5c]
lea eax, [esp + 0x7c]
push eax
push 0
call fcn.101452d0
add esp, 0x10
test eax, eax
jne 0x1018b60a
lea eax, [esp + 0x68]
push eax
push 2
lea eax, [esp + 0xa4]
push eax
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018b60a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x58]
push eax
push 2
lea eax, [esp + 0xa4]
push eax
call fcn.10176080
add esp, 0xc
test eax, eax
jne 0x1018b60a
mov eax, dword [esp + 0x5c]
test al, 1
jne 0x1018b93e
mov ecx, dword [esp + 0x58]
mov bl, 1
test eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
je 0x1018b981
lea eax, [esp + 0x68]
push eax
push 2
lea eax, [esp + 0x54]
push eax
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018b60a
lea eax, [esp + 0x60]
push eax
push 2
lea eax, [esp + 0x54]
push eax
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018b60a
push dword [esp + 0x60]
push dword [esp + 0x6c]
push dword [esp + 0x88]
call sym.nss3.dll_PK11_HPKE_ValidateParameters
add esp, 0xc
test eax, eax
je 0x1018b969
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
jne 0x1018b8df
jmp 0x1018b981
push 0
push 0xffffd0b0
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1018b60a
push 0
push 0xffffd0b0
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [ebp + 0xc]
jmp 0x1018b60a
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
xor ebx, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
push dword [esp + 0x5c]
push dword [esp + 0x5c]
lea eax, [esp + 0x94]
push eax
push 0
call fcn.101452d0
add esp, 0x10
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x1018b60a
lea eax, [esp + 0x68]
push eax
push 2
lea eax, [esp + 0xa4]
push eax
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018b60a
movzx eax, word [esp + 0x68]
mov word [esp + 0x98], ax
lea eax, [esp + 0x58]
push eax
push 2
lea eax, [esp + 0xa4]
push eax
call fcn.10176080
add esp, 0xc
test eax, eax
jne 0x1018b60a
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
lea eax, [esi + esi]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0
and eax, 0xfffffffc
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
mov dword [esp], eax
je 0x1018b60a
test esi, esi
je 0x1018ba9f
xor esi, esi
lea eax, [esp + 0x68]
push eax
push 2
lea eax, [esp + 0x48]
push eax
call fcn.10176150
add esp, 0xc
test eax, eax
jne 0x1018bb00
mov eax, dword [esp + 0x68]
test esi, esi
je 0x1018ba69
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov edi, dword [esp]
movzx edi, word [edi + edx*2]
xor edi, eax
or edi, ecx
je 0x1018bae8
inc edx
cmp esi, edx
jne 0x1018ba53
mov ecx, dword [esp]
mov word [ecx + esi*2], ax
cmp word [esp + 0x68], 0
js 0x1018bb47
lea eax, [esp + 0x58]
push eax
push 2
lea eax, [esp + 0x48]
push eax
call fcn.10176080
add esp, 0xc
test eax, eax
jne 0x1018bb00
mov eax, dword [esp + 0x44]
inc esi
cmp eax, dword [esp + 0x48]
jne 0x1018ba29
mov eax, dword [esp + 0xa0]
cmp eax, dword [esp + 0xa4]
jne 0x1018baf1
test bl, bl
je 0x1018bb11
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1018bac5
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor ebx, ebx
push ebx
lea eax, [esp + 0x78]
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push ebx
lea eax, [esp + 0x90]
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
jmp 0x1018bb31
push 0
push 0xffffe022
jmp 0x1018baf8
push 0
push 0xffffd0b0
call sym.nss3.dll_PR_SetError
add esp, 8
push dword [esp]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x1018b961
push 0x4c
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x1018bb00
mov edi, eax
mov ecx, 0xb
lea esi, [esp + 0x70]
mov ebx, eax
add edi, 0x20
rep movsd dword es:[edi], dword [esi]
push dword [esp]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [ebp + 0xc]
mov al, 1
jmp 0x1018b63f
push 0
push 0xffffe029
jmp 0x1018baf8
push 0
push 0xffffe002
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1018bbd0
push 0
push 0xffffe002
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1018bbcd
xor esi, esi
jmp 0x1018bbd0
xor esi, esi
push esi
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
push esi
call sym.nss3.dll_PK11_FreeSymKey
jmp 0x1018bbc1
xor esi, esi
jmp 0x1018bb9c
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
push edi
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
push esi
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [esp + 4]
mov edi, dword [ebp + 0xc]
lock dec dword [eax + 0x48]
jne 0x1018bbc4
push eax
call fcn.10135de0
add esp, 4
push edi
call fcn.1018b2a0
add esp, 4
xor esi, esi
dec esi
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret