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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1f0
and dword [esp + 0x54], 0
mov word [esp + 0x6c], 0x501
mov dword [esp + 0x5c], 4
and dword [esp + 0x64], 0
and dword [esp + 0x60], 0
lea esi, [esp + 0x78]
mov edi, ecx
mov dword [esp + 0x68], 0x10000
mov ecx, esi
call fcn.00553b59
cmp byte [esi], 0
jne 0x537fb0
cmp byte [esp + 0x79], 0
je 0x537bd6
xor ebx, ebx
jmp 0x537c90
mov eax, dword [0x640d94]
cmp eax, 2
jb 0x537c11
lea ecx, [esp + 0x78]
mov dword [ecx], str.DANGER:_Discontinued_OS_version._TLS_certificate_verification_will_be_disabled.
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
and dword [ecx + 0xc], 0
push 2
pop edx
push 0x37
push 0x629438
call fcn.0045b0c0
pop eax
pop ecx
mov eax, dword [0x640d94]
cmp eax, 2
jb 0x537c4c
lea ecx, [esp + 0x78]
mov dword [ecx], str.DANGER:_Discontinued_OS_version._TLS_certificate_verification_will_be_disabled.
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
and dword [ecx + 0xc], 0
push 2
pop edx
push 0x38
push 0x629438
call fcn.0045b0c0
pop eax
pop ecx
mov eax, dword [0x640d94]
cmp eax, 1
jbe 0x537c87
lea ecx, [esp + 0x78]
mov dword [ecx], str.DANGER:_Discontinued_OS_version._TLS_certificate_verification_will_be_disabled.
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
and dword [ecx + 0xc], 0
push 2
pop edx
push 0x39
push 0x629438
call fcn.0045b0c0
pop eax
pop ecx
mov bl, 1
mov word [esp + 0x68], 0x101
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.crypt32.dll_CertOpenStore]
test eax, eax
je 0x537e43
mov dword [esp + 0x24], edi
movzx edi, bl
mov dword [esp + 4], eax
lea edx, [esp + 0x140]
lea ecx, [esp + 0x28]
lea esi, [esp + 0xec]
mov eax, edi
shl edi, 0x10
mov dword [edx], 0x621e4c
shl eax, 8
or edi, eax
xor eax, eax
inc eax
mov dword [edx + 4], eax
and dword [edx + 0x10], 0
mov dword [edx + 8], ecx
and dword [edx + 0xc], 0
mov ecx, esi
or edi, eax
call fcn.00401b26
push 8
pop ecx
push 4
pop edx
call fcn.004fc1d3
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
push 8
pop ecx
push 4
pop edx
call fcn.004fc1d3
xor ecx, ecx
inc ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov edx, ecx
mov ecx, 0x3b9aca00
mov dword [esi - 0x74], 0x1e
and dword [esi - 0x70], 0
and dword [esi - 0x6c], 0
mov dword [esi - 0x5c], ecx
mov dword [esi - 0x4c], ecx
mov dword [esi - 0x3c], ecx
xor ecx, ecx
mov dword [esi - 0x34], ebx
mov dword [esi - 0x30], 0x6238b8
mov byte [esi - 4], 4
mov dword [esi + 0xc], 5
mov word [esi + 0x10], pe_nt_image_headers32
mov byte [esi + 0x12], cl
mov byte [esi + 0x30], cl
mov dword [esi + 0x28], 0x64
mov dword [esi + 0x2c], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x622a58
mov dword [esi + 0x1c], 4
and dword [esi + 0x20], 0
and dword [esi + 0x24], 0
push 0x1c
pop ecx
push 4
pop edx
call fcn.004fc1d3
mov ecx, dword [esp + 4]
mov esi, eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x501
lock dec dword [ebx]
jne 0x537dbb
lea ecx, [esp + 0xb8]
call fcn.004ff374
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], 0x626060
push 0xa8
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x148]
push eax
call fcn.005669c0
add esp, 0xc
cmp byte [esp + 0x1b0], 4
jne 0x538063
cmp byte [esp + 0x1e4], 0
je 0x538063
lea esi, [esp + 8]
mov edx, 0x6227a1
mov ecx, esi
push 9
call fcn.004e2a70
pop eax
cmp byte [esi + 0xc], 3
jne 0x537ea0
lea esi, [esp + 0x78]
lea edx, [esp + 8]
mov ecx, esi
call fcn.00504ff5
cmp dword [esi], 3
je 0x537ff4
lea ecx, [esp + 0x78]
call fcn.00505613
jmp 0x537ea9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x78]
push eax
call fcn.004e0e30
pop eax
push 0x24
pop ecx
push 4
pop edx
call fcn.004fc1d3
mov dword [eax], 0x627400
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + 4], xmm0
movsd qword [eax + 0xc], xmm1
movsd xmm0, qword [esp + 0x88]
movsd qword [eax + 0x14], xmm0
and dword [eax + 0x1c], 0
mov dword [eax + 0x20], esi
mov dword [edi + 4], eax
and dword [edi], 0
jmp 0x5381c6
lea ecx, [esp + 8]
call fcn.00505628
lea esi, [esp + 8]
mov edx, 0x6227aa
mov ecx, esi
push 9
call fcn.004e2a70
pop eax
cmp byte [esi + 0xc], 3
jne 0x537ee5
lea esi, [esp + 0x78]
lea edx, [esp + 8]
mov ecx, esi
call fcn.00504ff5
cmp dword [esi], 3
je 0x537ff4
lea ecx, [esp + 0x78]
call fcn.00505613
jmp 0x537eee
lea ecx, [esp + 8]
call fcn.00505628
lea esi, [esp + 8]
mov edx, 0x6227b3
mov ecx, esi
push 0xb
call fcn.004e2a70
pop eax
cmp byte [esi + 0xc], 3
jne 0x537f2a
lea esi, [esp + 0x78]
lea edx, [esp + 8]
mov ecx, esi
call fcn.00504ff5
cmp dword [esi], 3
je 0x537ff4
lea ecx, [esp + 0x78]
call fcn.00505613
jmp 0x537f33
lea ecx, [esp + 8]
call fcn.00505628
lea esi, [esp + 8]
mov edx, 0x6227be
mov ecx, esi
push 0xb
call fcn.004e2a70
pop eax
cmp byte [esi + 0xc], 3
jne 0x537f6f
lea esi, [esp + 0x78]
lea edx, [esp + 8]
mov ecx, esi
call fcn.00504ff5
cmp dword [esi], 3
je 0x537ff4
lea ecx, [esp + 0x78]
call fcn.00505613
jmp 0x537f78
lea ecx, [esp + 8]
call fcn.00505628
lea esi, [esp + 8]
mov edx, 0x6227c9
mov ecx, esi
push 0xa
call fcn.004e2a70
pop eax
cmp byte [esi + 0xc], 3
jne 0x537fbe
lea esi, [esp + 0x78]
lea edx, [esp + 8]
mov ecx, esi
call fcn.00504ff5
cmp dword [esi], 3
je 0x537ff4
lea ecx, [esp + 0x78]
call fcn.00505613
jmp 0x537fc7
mov ecx, dword [esp + 0x7c]
call fcn.0057ab7a
jmp 0x537e95
lea ecx, [esp + 8]
call fcn.00505628
lea esi, [esp + 8]
mov edx, 0x6227d3
mov ecx, esi
push 0xa
call fcn.004e2a70
pop eax
cmp byte [esi + 0xc], 3
jne 0x53804f
lea esi, [esp + 0x78]
lea edx, [esp + 8]
mov ecx, esi
call fcn.00504ff5
cmp dword [esi], 3
jne 0x53805a
lea eax, [esp + 0x7c]
push 0xa
pop ecx
lea edi, [esp + 0x28]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov dl, byte [eax + 0x28]
movzx ecx, word [eax + 0x29]
mov al, byte [eax + 0x2b]
cmp dl, 4
mov word [esp], cx
mov byte [esp + 2], al
je 0x538063
lea ebx, [esp + 0x188]
mov byte [esp + 4], dl
mov ecx, ebx
call fcn.004fd926
push 0xa
pop ecx
lea esi, [esp + 0x28]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 4]
movzx edx, word [esp]
mov cl, byte [esp + 2]
mov byte [ebx + 0x28], al
mov word [ebx + 0x29], dx
mov byte [ebx + 0x2b], cl
jmp 0x538063
lea ecx, [esp + 8]
call fcn.00505628
jmp 0x538063
lea ecx, [esp + 0x78]
call fcn.00505613
push 8
pop edx
mov ecx, 0x90
call fcn.004fc1d3
xor esi, esi
mov ebx, eax
inc esi
mov dword [eax], esi
mov dword [eax + 4], esi
add eax, 8
push 0x88
lea ecx, [esp + 0x144]
push ecx
push eax
call fcn.005669c0
add esp, 0xc
mov eax, dword [esp + 0x1dc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x20], eax
call fcn.004f8f90
test eax, eax
je 0x5381d7
movsd xmm0, qword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [0x62c6f8]
mov dword [esp + 0x1c], ecx
add ecx, esi
mov dword [esp + 0x18], edx
mov dword [eax], ecx
mov ecx, edx
adc ecx, 0
mov dword [eax + 4], ecx
movsd qword [esp + 0x83], xmm0
movsd xmm0, qword [0x62c6f0]
mov esi, dword [esp + 0x1c8]
mov edi, dword [esp + 0x1cc]
movsd qword [esp + 0x7b], xmm0
mov eax, dword [esp + 0x87]
movsd xmm1, qword [esp + 0x78]
movsd xmm0, qword [esp + 0x80]
mov dword [esp + 0x37], eax
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x28], xmm1
push 0x60
pop ecx
push 8
pop edx
call fcn.004fc1d3
xor ecx, ecx
mov edx, dword [esp + 0x24]
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
and dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [eax + 0x15], xmm0
movsd qword [eax + 0x1d], xmm1
movsd xmm0, qword [esp + 0x70]
mov ecx, dword [esp + 0x37]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 4]
movsd qword [eax + 0x30], xmm0
mov dword [eax + 0x38], 4
and dword [eax + 0x3c], 0
and dword [eax + 0x40], 0
and dword [eax + 0x44], 0
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x4c], ecx
movsd xmm0, qword [esp + 0x1d0]
movsd qword [eax + 0x50], xmm0
mov ecx, dword [esp + 0x1d8]
mov dword [eax + 0x58], ecx
mov dword [edx], ebx
mov dword [edx + 4], eax
lea ecx, [esp + 0x54]
call fcn.00538261
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x46
pop edx
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadlocal.rs
push 0x62c6cc
push 0x62156c
lea eax, [esp + 0x30]
push eax
call fcn.00576e10
add esp, 0xc
ud2