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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1e0
mov esi, esp
mov dword [esi + 0x1c8], ebp
mov dword [esi + 0x1cc], esp
mov dword [esi + 0x1d8], 0xffffffff
mov dword [esi + 0x1d4], 0x1006fab0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
mov edx, dword fs:[0]
mov dword [esi + 0x1d0], edx
mov dword fs:[0], ecx
mov dword [esi + 0x58], 0
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
test byte [eax], 1
mov edx, dword [eax + 0x10]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x54], edi
mov dword [esi + 0x10], edx
je 0x10065d01
mov eax, dword [eax + 4]
jmp 0x10065d11
mov eax, dword [0x10284a2c]
mov eax, dword [eax]
test eax, eax
je 0x10065f8c
dec eax
mov dword [esi + 0x20], eax
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x1d8], 1
call fcn.10195ce0
mov edi, dword [esi + 0x1c]
mov ecx, edi
neg ecx
seto byte [esi + 0x1b]
jno 0x10065d54
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
push edx
push eax
call fcn.10195f90
add esp, 8
jmp 0x10065d7d
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x6c], edi
mov byte [esi + 7], 0
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x6c]
push ecx
push edx
push eax
call fcn.10195e90
add esp, 0xc
mov dword [esi + 0x14], eax
lock inc dword [eax]
jle 0x1006608b
mov dword [esi + 0x38], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x44], 0
movzx eax, byte [0x10284b49]
push 4
push 0x18
call fcn.10013770
add esp, 8
test eax, eax
je 0x1006605a
movsd xmm0, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x38]
movsd xmm1, qword [esi + 0x40]
mov dword [esi + 0x2c], eax
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
lock inc dword [eax]
jle 0x1006608b
mov dword [esi + 0x5c], eax
mov byte [esi + 0xe], 1
mov dword [esi + 0x1d8], 3
push 0
call fcn.10198160
add esp, 4
test eax, eax
je 0x10065e14
lock inc dword [eax]
jle 0x1006608b
mov byte [esi + 0xf], 1
mov dword [esi + 0x1d8], 4
mov dword [esi + 0x10], eax
push eax
call fcn.10198160
add esp, 4
test eax, eax
je 0x10065e3e
lock dec dword [eax]
jne 0x10065e3e
mov ecx, eax
call fcn.1006bba0
lea eax, [esi + 0x78]
push 0x140
push dword [ebp + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1bc], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x1b8], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x1c0], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x10065e94
add eax, 8
mov byte [esi + 0xa], 1
mov dword [esi + 0x1d8], 5
push eax
call fcn.10195840
add esp, 4
movzx eax, byte [0x10284b49]
push 8
push 0x150
call fcn.10013770
add esp, 8
test eax, eax
je 0x10066072
mov edi, eax
push 0x150
lea eax, [esi + 0x78]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 0xa], 0
mov dword [esi + 0x1d8], 5
lea eax, [esi + 0x38]
push 0x101d9018
push edi
push dword [esi + 0x20]
push eax
call fcn.101a9e10
add esp, 0x10
movzx ecx, byte [esi + 0x38]
mov edi, dword [ebp + 8]
cmp ecx, 4
jne 0x10065f08
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x24]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
jmp 0x10065f76
mov eax, dword [esi + 0x3c]
movzx ebx, byte [esi + 0x3b]
movzx edx, word [esi + 0x39]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
lock dec dword [eax]
jne 0x10065f49
lea eax, [esi + 0x2c]
mov dword [esi + 0x1d8], 9
push eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x24], edx
call fcn.1006c140
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x20]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x14]
shl edx, 8
shl ebx, 0x18
or ebx, edx
or ebx, ecx
lock dec dword [eax]
jne 0x10065f67
lea eax, [esi + 0x14]
push eax
call fcn.10006c40
add esp, 4
mov eax, dword [esi + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi], 0
mov eax, dword [esi + 0x1d0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x1d8], 1
lea eax, [esi + 0x5c]
push 0xe
push str.RUST_MIN_STACKArc_counter_overflow
push eax
call fcn.10196340
add esp, 0xc
xor eax, eax
cmp eax, dword [esi + 0x5c]
jno 0x10065fc3
mov edi, 0x200000
jmp 0x1006603d
movsd xmm0, qword [esi + 0x5c]
movsd xmm1, qword [esi + 0x64]
lea eax, [esi + 0x38]
mov dword [esi + 0x1d8], 8
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm0
push eax
call fcn.101ab560
add esp, 4
lea ecx, [esi + 0x2c]
push edx
push eax
push ecx
call fcn.10196730
add esp, 0xc
test byte [esi + 0x2c], 1
je 0x10066008
mov edi, 0x200000
jmp 0x10066028
push dword [esi + 0x34]
push dword [esi + 0x30]
lea eax, [esi + 0x2c]
push eax
call fcn.101beb00
add esp, 0xc
cmp byte [esi + 0x2c], 0
mov edi, 0x200000
jne 0x10066028
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1006603d
push 1
push eax
push dword [esi + 0x3c]
call fcn.10013780
add esp, 0xc
mov ecx, dword [0x10284a2c]
lea eax, [edi + 1]
mov dword [esi + 0x20], edi
mov dword [ecx], eax
mov dword [esi + 0x1d8], 1
jmp 0x10065d14
mov dword [esi + 0x1d8], 7
push 0x18
push 4
call fcn.101cc679
add esp, 8
jmp 0x1006608b
mov dword [esi + 0x1d8], 6
push 0x150
push 8
call fcn.101cc679
add esp, 8
ud2