Function at 0x40e410
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x424040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [edi], xmm0
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004018a0
mov edx, dword [ebp - 0x48]
mov esi, eax
mov ecx, dword [ebp - 0x44]
add esp, 8
mov dword [edi], esi
mov dword [edi + 0x10], 0x19
mov dword [edi + 0x14], edx
movups xmm0, xmmword [str.TLS__specify_all_or_none_]
movups xmmword [esi], xmm0
movq xmm0, qword [0x41d428]
movq qword [esi + 0x10], xmm0
mov al, byte [0x41d430]
mov byte [esi + 0x18], al
mov byte [esi + 0x19], 0
call fcn.0040edc0
mov edi, eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004018a0
movups xmm0, xmmword [str.tls_client_credentials]
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], 0x16
movups xmmword [edx], xmm0
mov ecx, dword [0x41d444]
mov dword [edx + 0x10], ecx
mov ax, word [0x41d448]
mov word [edx + 0x14], ax
mov byte [edx + 0x16], 0
mov ecx, dword [ebp - 0x50]
sub esp, 0x20
mov eax, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_ae86143be88f826f4764228ce6102413___void__char_const__.0
mov dword [eax + 4], ecx
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x3f
xorps xmm0, xmm0
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004018a0
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [esi], edx
mov dword [esi + 0x10], 0x3c
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.name_a_PKCS12_file_to_use_as_a_source_of_client_credentials]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x41d464]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x41d474]
movups xmmword [edx + 0x20], xmm0
movq xmm0, qword [0x41d484]
movq qword [edx + 0x30], xmm0
mov eax, dword [0x41d48c]
mov dword [edx + 0x38], eax
mov byte [edx + 0x3c], 0
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x58], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.file]
mov dword [ecx], eax
mov byte [ecx + 4], 0
mov ecx, dword [edi + 0x18]
lea edx, [ebp - 0x28]
push 0
push edx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [edi + 0x20]
add edi, 0x1c
mov esi, eax
cmp ecx, dword [edi + 8]
je 0x40e5fd
mov eax, dword [ebp - 0x44]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x40e609
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, edi
call fcn.00402ba0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00415f60
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00415ee0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00415dc0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x40e667
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e65d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e65d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00417f35
add esp, 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004018a0
movups xmm0, xmmword [str.tls_client_credentials_password]
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x14], ecx
movups xmmword [edx], xmm0
movq xmm0, qword [0x41d4a4]
movq qword [edx + 0x10], xmm0
mov eax, dword [0x41d4ac]
mov dword [edx + 0x18], eax
mov ax, word [0x41d4b0]
mov word [edx + 0x1c], ax
movzx eax, byte [0x41d4b2]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
mov ecx, dword [ebp - 0x50]
sub esp, 0x20
mov eax, esp
mov dword [ebp - 4], 4
mov dword [ebp - 0x58], esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_bdc3bd49a8ae33abd286ae0d3edb79e2___void__char_const__.0
mov dword [eax + 4], ecx
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x3f
xorps xmm0, xmm0
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004018a0
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [esi], edx
mov dword [esi + 0x10], 0x31
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.specify_password_for_accessing_client_credentials]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x41d4d0]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x41d4e0]
movups xmmword [edx + 0x20], xmm0
movzx eax, byte [0x41d4f0]
mov byte [edx + 0x30], al
mov byte [edx + 0x31], 0
sub esp, 0x10
xorps xmm0, xmm0
mov eax, esp
mov dword [ebp - 0x4c], esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.password]
movq qword [eax], xmm0
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 7
push 0
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
lea edx, [ebp - 0x44]
push edx
call eax
mov edx, dword [edi + 4]
mov esi, eax
cmp edx, dword [edi + 8]
je 0x40e7c3
mov ecx, dword [ebp - 0x44]
mov dword [edx], ecx
add dword [edi + 4], 4
jmp 0x40e7cf
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push edx
call fcn.00402ba0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00415f60
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00415ee0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00415dc0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x40e82d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e823
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e823
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00417f35
add esp, 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004018a0
movups xmm0, xmmword [str.tls_trust_material]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x12
movups xmmword [eax], xmm0
mov cx, word [0x41d504]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], 0
mov ecx, dword [ebp - 0x50]
sub esp, 0x20
mov eax, esp
mov dword [ebp - 4], 8
mov dword [ebp - 0x58], esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_95f3651afb8fbbf0446acdb12aed1595___void__char_const__.0
mov dword [eax + 4], ecx
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x3f
xorps xmm0, xmm0
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004018a0
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [esi], edx
mov dword [esi + 0x10], 0x3d
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.name_a_PKCS7_file_to_use_as_a_source_of_trusted_certificates]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x41d518]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x41d528]
movups xmmword [edx + 0x20], xmm0
movq xmm0, qword [0x41d538]
movq qword [edx + 0x30], xmm0
mov eax, dword [0x41d540]
mov dword [edx + 0x38], eax
mov al, byte [0x41d544]
mov byte [edx + 0x3c], al
mov byte [edx + 0x3d], 0
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x4c], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.file]
mov dword [ecx], eax
mov byte [ecx + 4], 0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
push 0
push edx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
mov ecx, dword [eax + 0x18]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [edi + 4]
mov esi, eax
cmp edx, dword [edi + 8]
je 0x40e977
mov ecx, dword [ebp - 0x44]
mov dword [edx], ecx
add dword [edi + 4], 4
jmp 0x40e983
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push edx
call fcn.00402ba0
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00415f60
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00415ee0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00415dc0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x40e9e1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e9d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00417f35
add esp, 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.004018a0
movups xmm0, xmmword [str.read_certificate_files]
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], 0x16
movups xmmword [edx], xmm0
mov ecx, dword [0x41d558]
mov dword [edx + 0x10], ecx
mov ax, word [0x41d55c]
mov word [edx + 0x14], ax
mov byte [edx + 0x16], 0
mov ecx, dword [ebp - 0x50]
sub esp, 0x20
mov eax, esp
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x58], esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_35fa4be7a3f1a05bb5e3dbceefec07b1___void__char_const__.0
mov dword [eax + 4], ecx
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x2f
xorps xmm0, xmm0
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004018a0
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [esi], edx
add esp, 8
mov dword [esi + 0x10], 0x25
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.read_the_TLS_files_and_pass_the_blobs]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x41d570]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x41d580]
mov dword [edx + 0x20], eax
mov al, byte [0x41d584]
mov byte [edx + 0x24], al
mov byte [edx + 0x25], 0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x40]
push 0
push edx
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax + 0x18]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [edi + 4]
mov esi, eax
cmp edx, dword [edi + 8]
je 0x40eaf9
mov ecx, dword [ebp - 0x4c]
mov dword [edx], ecx
add dword [edi + 4], 4
jmp 0x40eb05
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push edx
call fcn.00402ba0
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00415ee0
mov ecx, eax
mov dword [eax + 0xb0], 0
mov byte [ebp - 4], 0xc
call fcn.00415dc0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40eb5b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40eb51
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00417f35
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418274
mov esp, ebp
pop ebp
ret 4