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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, ecx
mov dword [esp + 0xc], ecx
cmp dword [esi + 4], 0
je 0x5074c1
mov edi, dword [esi]
lea ecx, [edi + 8]
mov dword [esp + 4], ecx
call fcn.00506fe5
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x5073fc
cmp dword [edi + 0x20], 0
jne 0x5073fc
cmp dword [esi], fcn.00468ae7
jne 0x5073fc
cmp dword [esi + 4], fcn.00414ed0
jne 0x5073fc
cmp dword [esi + 8], fcn.00414ed0
jne 0x5073fc
cmp dword [esi + 0xc], fcn.00414ed0
je 0x507421
push 0
call fcn.00468ae7
pop ecx
mov ebx, edx
test esi, esi
je 0x50741b
push dword [edi + 0x20]
mov dword [esp + 0xc], eax
call dword [esi + 0xc]
mov eax, dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ebx
lea ecx, [edi + 0xc]
call fcn.004bed2e
test eax, eax
je 0x5074a5
lock inc dword [eax]
mov ebx, eax
mov esi, dword [esp + 0xc]
jle 0x507683
add edi, 0x14
mov edx, ebx
mov ecx, edi
call fcn.005070bc
mov ecx, dword [esp + 4]
mov edi, ebx
mov byte [ebx + 0x18], 1
add edi, 8
call fcn.005070f9
and dword [esp + 0x24], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], 0x7500f8
mov dword [esp + 4], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 2
call fcn.005d68df
mov ebx, eax
cmp bl, 2
jne 0x5074ca
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
jmp 0x5074eb
mov ecx, dword [esp + 4]
call fcn.00415c36
mov esi, dword [esp + 0xc]
xor edi, edi
cmp dword [esi + 4], 0
push 3
pop ebx
jne 0x50755d
xor edi, edi
push 2
jmp 0x50755c
xor ecx, ecx
xor edx, edx
call fcn.005d68bf
test bl, 1
jne 0x50754f
mov eax, ebx
mov dword [esp + 0x10], edi
shr eax, 0x10
mov dword [esp + 8], eax
mov al, bh
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
lea edx, [esp + 0x18]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [esp + 0x24]
push edx
push eax
call dword [ecx + 0xc]
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x28]
movzx ecx, byte [esp + 0x14]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movzx edx, byte [esp + 8]
mov esi, ebx
xor esi, 2
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
mov eax, esi
or eax, edi
mov eax, 0
cmovne ecx, eax
call fcn.005d68bf
or esi, edi
mov esi, dword [esp + 0xc]
jne 0x5075b3
lea ecx, [esp + 0x38]
call fcn.0041594c
xor edi, edi
push 3
pop ebx
mov eax, ebx
xor eax, 3
or eax, edi
je 0x507665
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov dword [esp + 0x40], ebx
xor ebx, 2
lea eax, [esp + 0x48]
mov dword [esp + 0x44], edi
or ebx, edi
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
je 0x507672
lea ecx, [esp + 0x40]
call 0x5076a1
jmp 0x5073b4
mov eax, dword [esp + 4]
dec dword [esi + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov esi, dword [esi]
lea ecx, [esi + 8]
mov dword [esp + 8], ecx
call fcn.00506fe5
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + 0x18]
mov byte [ecx + 0x18], 2
test eax, eax
je 0x5075ee
cmp eax, 1
jne 0x50768f
add esi, 0x14
jmp 0x5075f1
add esi, 0xc
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.004c8340
test eax, eax
je 0x507685
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.0041594c
mov ecx, dword [esp + 8]
call fcn.00415c36
mov eax, dword [esp + 4]
lea ecx, [esp + 0x20]
mov esi, dword [eax + 0x14]
call fcn.0041594c
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
mov eax, 0xcc
mov ecx, 0x84
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
lock cmpxchg dword [esi], ecx
je 0x50765c
mov eax, dword [esi + 8]
push esi
call dword [eax + 0x10]
add esp, 4
mov esi, dword [esp + 0xc]
jmp 0x50755d
and dword [esp + 0x44], 0
mov dword [esp + 0x40], 2
lea ecx, [esp + 0x40]
call 0x5076a1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, 0x7500d8
call fcn.0062d7f0
push 0x28
pop edx
mov ecx, str.internal_error:_entered_unreachable_codeC:Users9B6E629E7D13D387.cargo_registry_src_rsproxy.cn_0dccff568467c15b_rustls_webpki_0.101.7_srccalendar.rs
push 0x7500e8
call fcn.0062d4b0
push edi
push esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, eax
xor esi, 2
or esi, edx
je 0x5076d8
or eax, edx
je 0x5076d8
mov esi, dword [ecx + 8]
test esi, esi
je 0x5076d8
mov edi, dword [ecx + 0xc]
push esi
call dword [edi]
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x5076d8
mov edx, dword [edi + 8]
mov ecx, esi
push eax
call fcn.004212a6
pop eax
pop esi
pop edi
ret