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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x180
mov esi, esp
mov dword [esi + 0x158], ebp
lea eax, [esi + 0x160]
mov ebx, ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502f90
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x4913df
lock inc dword [edi]
jle 0x491ab9
cmp byte [edx + 0x3c], 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x4c], edx
je 0x491458
mov ecx, dword [edx + 0x28]
movsd xmm0, qword [edx + 0x20]
lea eax, [esi + 0x80]
movsd xmm1, qword [edx + 0x14]
mov dword [esi + 0x168], 1
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [edx]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0x1c]
movsd qword [eax], xmm0
movsd xmm0, qword [edx + 0xc]
mov edx, dword [ebx + 0x74]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x1c], edi
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 0x28], xmm1
mov byte [eax + 0x60], cl
mov byte [esi + 0x32], cl
mov cl, 1
mov byte [esi + 0x31], cl
mov byte [esi + 0x33], cl
mov ecx, dword [ebx + 0x70]
push eax
call fcn.004922dc
pop eax
jmp 0x491a39
mov cl, byte [edx + 0x3d]
mov al, 1
mov dword [esi + 0x48], edi
test cl, cl
mov byte [esi + 0x3a], cl
jne 0x4919c7
movsd xmm1, qword [edx + 0x34]
movsd xmm0, qword [edx + 0x2c]
movsd xmm2, qword [edx + 0x1c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x168], 0xe
movsd qword [esi + 0x98], xmm1
movsd xmm1, qword [edx + 0x24]
movsd qword [esi + 0x90], xmm0
movsd qword [esi + 0x80], xmm2
movsd qword [esi + 0x88], xmm1
mov byte [esi + 0xa0], 0
push 0x24
pop ecx
push 4
pop edx
call fcn.004ea8ea
mov edi, dword [ebp + 8]
mov ebx, eax
lea eax, [esi + 0x80]
push 0x24
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x58]
mov edx, edi
mov byte [esi + 0x30], 0
mov dword [esi + 0x168], 2
mov dword [ecx], ebx
call fcn.00491e1e
mov ecx, dword [esi + 0x3c]
test al, al
je 0x491506
cmp byte [ecx + 0x48], 2
jne 0x49152b
mov al, 2
mov dword [esi + 0x54], eax
jmp 0x49158c
mov ecx, dword [esi + 0x58]
xor eax, eax
mov dword [esi + 0x168], 1
mov byte [esi + 0x31], al
mov byte [esi + 0x32], al
mov byte [esi + 0x33], al
call fcn.004922d3
mov ebx, dword [esi + 0x3c]
jmp 0x4919b8
mov edi, dword [ecx + 0x40]
mov ecx, 0x7fffffff
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
xor edx, ecx
cmp eax, edx
je 0x491a5f
lea edx, [eax + 1]
lock cmpxchg dword [edi + 0x20], edx
jne 0x491536
lock inc dword [edi]
jle 0x491ab9
lea ecx, [esi + 0x80]
mov dword [esi + 0x34], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x168], 0xd
and word [ecx], 0
and dword [ecx + 4], 0
mov byte [ecx + 0xc], 0
call fcn.004961a3
mov ecx, dword [esi + 0x3c]
mov ebx, eax
mov dword [esi + 0x54], 0
mov edx, dword [esi + 0x48]
mov al, byte [esi + 0x82]
movzx edi, word [esi + 0x80]
test edx, edx
mov byte [esi + 0x52], al
mov word [esi + 0x50], di
je 0x4915b0
lock inc dword [edx]
jle 0x491ab9
mov eax, dword [ecx + 0x70]
mov edi, dword [esi + 0x58]
test eax, eax
je 0x491673
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x44], eax
mov eax, dword [eax + 8]
mov dword [esi + 0x80], edi
mov dword [esi + 0x168], 0xc
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x90], al
movzx eax, word [esi + 0x50]
mov word [esi + 0x91], ax
mov al, byte [esi + 0x52]
mov byte [esi + 0x93], al
push 0x14
pop ecx
push 4
pop edx
call fcn.004ea8ea
mov edi, dword [esi + 0x90]
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov dword [eax + 0x10], edi
dec edx
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
and edx, 0xfffffff8
lea ecx, [ecx + edx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov byte [esi + 0x30], 1
mov dword [esi + 0x168], 2
push 0x57a1f4
push eax
push ecx
mov eax, dword [esi + 0x44]
call dword [eax + 0xc]
add esp, 0xc
mov ebx, dword [esi + 0x3c]
jmp 0x4919b8
mov al, byte [esi + 0x52]
mov edx, dword [0x5c2064]
mov dword [esi + 0x44], ebx
mov byte [esi + 0x7f], al
movzx eax, word [esi + 0x50]
mov word [esi + 0x7d], ax
mov eax, dword [0x5c2060]
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x5c2060]
jne 0x49168f
lea ecx, [esi + 0x150]
mov byte [esi + 0x3b], 1
mov dword [esi + 0x168], 3
mov dword [ecx], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + 4], edx
lea edx, [esi + 0x6c]
mov dword [edx - 4], ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esi + 0x34]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x44]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x54]
mov byte [edx + 0x10], al
call fcn.004072cc
test eax, eax
je 0x491a82
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
mov ecx, eax
mov byte [esi + 0x43], 1
mov dword [esi + 0x168], 4
movsd qword [esi + 0x130], xmm0
movsd qword [esi + 0x128], xmm1
movsd qword [esi + 0x120], xmm2
call fcn.004f0d48
cmp dword [eax], 2
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
mov dword [esi + 0x54], edx
movsd qword [esi + 0x148], xmm0
movsd qword [esi + 0x140], xmm1
movsd qword [esi + 0x138], xmm2
jne 0x491773
lea ecx, [esi + 0x13c]
mov dword [esi + 0x168], 5
call fcn.00494e2d
mov ebx, dword [esi + 0x3c]
xor edx, edx
jmp 0x49197e
lea edi, [esi + 0x124]
mov ecx, eax
add eax, 4
mov edi, dword [edi - 4]
cmp dword [ecx], 0
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
je 0x491884
mov eax, dword [eax]
lock inc dword [eax]
jle 0x491ab9
mov dword [esi + 0x80], 0xcc
and dword [esi + 0x84], 0
mov dword [esi + 0x88], 0x57a644
and dword [esi + 0x94], 0
and dword [esi + 0x90], 0
mov dword [esi + 0x98], eax
mov dword [esi + 0x44], eax
lea eax, [esi + 0x124]
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ecx
and dword [esi + 0xa8], 0
mov dword [esi + 0x168], 6
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [esi + 0xac], xmm0
movsd qword [esi + 0xb4], xmm1
mov dword [esi + 0xbc], eax
and dword [esi + 0xc8], 0
and dword [esi + 0xcc], 0
and dword [esi + 0xd0], 0
push 0x40
pop edx
mov ecx, 0x80
call fcn.004ea8ea
mov ebx, eax
mov eax, dword [esi + 0x44]
lea edi, [eax + 0x40]
push 0x80
lea eax, [esi + 0x80]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x168], 9
mov ecx, edi
mov edx, ebx
mov dword [esi + 0x34], ebx
push ebx
call fcn.00473298
pop ecx
mov ecx, dword [esi + 0x44]
mov edx, eax
mov dword [esi + 0x168], 8
add ecx, 8
call fcn.004f2405
jmp 0x491978
mov dword [esi + 0x44], eax
mov eax, dword [eax]
lock inc dword [eax]
jle 0x491ab9
mov dword [esi + 0x80], 0xcc
and dword [esi + 0x84], 0
mov dword [esi + 0x88], 0x57a6e4
and dword [esi + 0x94], 0
and dword [esi + 0x90], 0
mov dword [esi + 0x98], eax
mov dword [esi + 0x34], eax
lea eax, [esi + 0x124]
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ecx
and dword [esi + 0xa8], 0
mov dword [esi + 0x168], 7
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [esi + 0xac], xmm0
movsd qword [esi + 0xb4], xmm1
mov dword [esi + 0xbc], eax
and dword [esi + 0xc8], 0
and dword [esi + 0xcc], 0
and dword [esi + 0xd0], 0
push 0x40
pop edx
mov ecx, 0x80
call fcn.004ea8ea
mov ebx, dword [esi + 0x34]
mov edi, eax
add ebx, 0x38
push 0x80
lea eax, [esi + 0x80]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x168], 0xb
mov ecx, ebx
mov edx, edi
mov dword [esi + 0x34], edi
push edi
call fcn.00473298
pop ecx
mov ecx, dword [esi + 0x44]
test eax, eax
je 0x491978
mov edx, eax
mov dword [esi + 0x168], 0xa
call fcn.004f1de6
mov ebx, dword [esi + 0x3c]
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x54]
dec dword [eax]
test edx, edx
je 0x491a9c
mov ecx, 0x84
mov eax, 0xcc
lock cmpxchg dword [edx], ecx
je 0x4919b8
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x10]
mov byte [esi + 0x30], 1
mov dword [esi + 0x168], 2
push edx
call eax
mov ebx, dword [esi + 0x3c]
add esp, 4
mov edx, dword [esi + 0x4c]
xor eax, eax
mov dword [esi + 0x168], 1
mov ecx, dword [edx + 8]
lea edi, [esi + 0x80]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 0x14]
mov byte [esi + 0x31], al
mov byte [esi + 0x32], al
mov byte [esi + 0x33], 1
mov dword [esi + 0x168], 1
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x48]
movsd qword [edi], xmm0
movsd xmm0, qword [edx + 0xc]
and dword [edi + 0xc], 0
mov edx, dword [ebx + 0x74]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebx + 0x70]
movsd qword [edi + 0x20], xmm0
movsd qword [edi + 0x28], xmm1
mov byte [edi + 0x60], 0
push edi
call fcn.004922dc
pop eax
cmp byte [esi + 0x3a], 0
je 0x491a4b
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x168], 0xf
lea ecx, [eax + 0x1c]
call fcn.0046e139
mov ecx, dword [esi + 0x4c]
or dword [esi + 0x168], 0xffffffff
add ecx, 0x2c
call fcn.0046b220
mov eax, dword [esi + 0x160]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 0x30], 0
mov dword [esi + 0x168], 2
push 0x35
pop edx
mov ecx, str.cannot_clone__Sender_____too_many_outstanding_senders
push 0x57b1cc
call fcn.005277b8
pop eax
jmp 0x491ab9
lea ecx, [esi + 0x6c]
mov byte [esi + 0x30], 1
mov dword [esi + 0x168], 2
call fcn.00494e2d
mov al, 1
jmp 0x491a9e
xor eax, eax
lea ecx, [esi + 0x80]
mov byte [esi + 0x30], 1
mov dword [esi + 0x168], 2
mov byte [ecx], al
call fcn.00527c1d
ud2