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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [ecx + 0x6c]
mov esi, edx
mov edi, ecx
test eax, eax
je 0x4c6d3a
lock inc dword [eax]
jle 0x4c747a
cmp byte [esi + 0x3c], 0
mov dword [esp + 0x10], eax
je 0x4c6d61
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
movsd xmm0, qword [esi + 0x20]
mov dword [esp + 0x38], eax
mov al, 1
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], eax
jmp 0x4c6d75
xor ecx, ecx
cmp byte [esi + 0x3d], 0
je 0x4c7066
mov dword [esp + 4], 0
mov dword [esp + 8], 0
movsd xmm1, qword [esi + 0x14]
mov dword [esp], ecx
mov ecx, dword [edi + 0x70]
movsd xmm0, qword [esi + 0xc]
mov eax, dword [esi + 8]
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esi]
test ecx, ecx
movsd qword [esp + 0x60], xmm0
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm1
je 0x4c6e21
mov edx, dword [edi + 0x74]
call fcn.0051a4bf
mov edi, eax
mov ebx, edx
push 0x64
pop ecx
push 4
pop edx
call fcn.0049c41a
movsd xmm0, qword [esp + 0x70]
mov edx, dword [esp + 0x10]
movsd qword [eax], xmm0
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov ecx, dword [esp]
mov dword [eax + 0xc], ecx
movsd xmm0, qword [esp + 0x30]
movsd qword [eax + 0x10], xmm0
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x68]
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 0x28], xmm1
mov byte [eax + 0x60], 0
push 0x620ca4
push eax
push edi
call dword [ebx + 0xc]
add esp, 0xc
jmp 0x4c7142
mov edx, dword [0x663104]
mov eax, dword [0x663100]
lea edi, [esi + 0xc]
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x663100]
jne 0x4c6e2f
lea ecx, [esp + 0x50]
movsd xmm0, qword [esi]
movsd xmm1, qword [edi + 8]
mov ebx, dword [esp]
movsd xmm2, qword [edi]
movsd xmm3, qword [edi + 8]
movsd xmm4, qword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 8]
mov dword [ecx + 4], edx
movsd qword [esp + 0xe8], xmm0
movsd xmm0, qword [edi]
mov edi, dword [esp + 0x10]
movsd qword [esp + 0x18], xmm4
movsd qword [esp + 0x48], xmm1
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xf4], ebx
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edi
movsd qword [esp + 0x108], xmm2
movsd qword [esp + 0x110], xmm3
mov byte [esp + 0x148], 0
mov dword [esp + 0x14c], ecx
xor ecx, ecx
call fcn.0050f76e
test eax, eax
je 0x4c7480
add eax, 0x18
mov ecx, eax
call fcn.004c1540
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x30]
cmp dword [eax], 0
movsd xmm2, qword [esp + 0x40]
mov dword [esp + 0xc], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x38]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x8c], ebx
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x48]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], edi
movsd qword [esp + 0xa0], xmm2
movsd qword [esp + 0xa8], xmm1
mov byte [esp + 0xe0], 0
mov dword [esp + 0xe4], ecx
je 0x4c710a
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov ebx, dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
lock inc dword [ebx]
jle 0x4c747a
lea eax, [ebx + 8]
mov dword [esp + 0x28], eax
push 0x40
pop edx
mov ecx, 0xc0
call fcn.0049c41a
mov edi, eax
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x621168
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, edi
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x20], eax
and dword [edi + 0x28], 0
movsd xmm0, qword [esp + 0x18]
movsd qword [edi + 0x2c], xmm0
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov eax, dword [esp]
mov dword [edi + 0x38], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [edi + 0x3c], xmm0
mov eax, dword [esp + 0x38]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x48], eax
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [edi + 0x4c], xmm0
movsd qword [edi + 0x54], xmm1
mov byte [edi + 0x8c], 0
and dword [edi + 0x90], 0
and dword [edi + 0x94], 0
and dword [edi + 0x98], 0
push edi
call fcn.004c155c
pop ecx
test eax, eax
je 0x4c711a
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.00512fe0
jmp 0x4c711a
movsd xmm1, qword [esi + 0x34]
movsd xmm0, qword [esi + 0x2c]
movsd xmm2, qword [esi + 0x1c]
mov ebx, dword [ebp + 8]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [esi + 0x24]
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x88], xmm1
push 0x24
pop ecx
push 4
pop edx
call fcn.0049c41a
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
lea ecx, [esp + 0x60]
mov edx, ebx
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
movsd xmm0, qword [esp + 0x90]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [eax + 0x18], xmm0
mov byte [eax + 0x20], 0
mov dword [ecx], eax
call fcn.004b3f60
test al, al
je 0x4c716a
cmp byte [edi + 0x48], 2
jne 0x4c7178
mov al, 2
mov ebx, edi
mov dword [esp], eax
jmp 0x4c71cb
lea eax, [esp + 0x80]
push eax
call fcn.004c79b3
pop eax
xor edi, edi
mov eax, dword [esp + 0xc]
dec dword [eax]
test edi, edi
je 0x4c747c
mov ecx, 0x84
mov eax, 0xcc
lock cmpxchg dword [edi], ecx
je 0x4c7142
mov eax, dword [edi + 8]
push edi
call dword [eax + 0x10]
add esp, 4
cmp byte [esp + 4], 0
jne 0x4c7151
lea ecx, [esi + 0x1c]
call fcn.004b2a11
cmp byte [esp + 8], 0
jne 0x4c7162
add esi, 0x2c
mov ecx, esi
call fcn.004b0f0c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x60]
call fcn.004c20c4
jmp 0x4c7455
mov ebx, edi
mov edi, dword [edi + 0x40]
mov ecx, 0x7fffffff
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
xor edx, ecx
cmp eax, edx
je 0x4c7468
lea edx, [eax + 1]
lock cmpxchg dword [edi + 0x20], edx
jne 0x4c7185
lock inc dword [edi]
jle 0x4c747a
lea ecx, [esp + 0x80]
xor eax, eax
mov dword [esp], 0
and dword [ecx + 8], 0
mov byte [ecx + 0x10], al
and dword [ecx], 0
mov byte [ecx + 4], al
call fcn.004c8cc6
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0x82]
movzx edx, word [esp + 0x80]
test ecx, ecx
mov byte [esp + 0x1a], al
mov word [esp + 0x18], dx
je 0x4c71f4
lock inc dword [ecx]
jle 0x4c747a
mov ecx, dword [ebx + 0x70]
mov eax, dword [esp + 0x60]
test ecx, ecx
mov dword [esp + 8], eax
je 0x4c7266
mov edx, dword [ebx + 0x74]
call fcn.0051a4bf
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
push 0x14
pop ecx
push 4
pop edx
call fcn.0049c41a
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp]
mov byte [eax + 0x10], cl
movzx ecx, word [esp + 0x18]
mov word [eax + 0x11], cx
mov cl, byte [esp + 0x1a]
mov byte [eax + 0x13], cl
push 0x620cd4
push eax
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
call dword [eax + 0xc]
add esp, 0xc
mov edi, ebx
jmp 0x4c7455
mov edx, dword [0x663104]
mov eax, dword [0x663100]
mov dword [esp + 0xc], ebx
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x663100]
jne 0x4c7275
lea ecx, [esp + 0x40]
mov ebx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xe8], ecx
mov dword [ecx + 4], edx
xor ecx, ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], eax
mov eax, dword [esp]
mov byte [esp + 0xfc], al
movzx eax, word [esp + 0x18]
mov word [esp + 0xfd], ax
mov al, byte [esp + 0x1a]
mov byte [esp + 0xff], al
call fcn.0050f76e
test eax, eax
je 0x4c74a3
add eax, 0x18
mov ecx, eax
call fcn.004c1540
lea ecx, [esp + 0x40]
cmp dword [eax], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ecx
mov ecx, dword [esp]
mov byte [esp + 0x94], cl
movzx ecx, word [esp + 0x18]
mov word [esp + 0x95], cx
mov ch, byte [esp + 0x1a]
mov byte [esp + 0x97], ch
je 0x4c741d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
lock inc dword [eax]
jle 0x4c747a
mov dword [esp + 0x5c], eax
add eax, 8
mov dword [esp + 0x24], eax
push 0x40
pop edx
mov ecx, 0x80
call fcn.0049c41a
mov ebx, eax
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x6211e0
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov edx, ebx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 8]
and dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], eax
mov eax, dword [esp]
mov byte [ebx + 0x3c], al
movzx eax, word [esp + 0x18]
mov word [ebx + 0x3d], ax
mov al, byte [esp + 0x1a]
mov byte [ebx + 0x3f], al
and dword [ebx + 0x48], 0
and dword [ebx + 0x4c], 0
and dword [ebx + 0x50], 0
push ebx
call fcn.004c155c
pop ecx
test eax, eax
je 0x4c742d
mov ecx, dword [esp + 0x58]
mov edx, eax
call fcn.00512fe0
jmp 0x4c742d
lea eax, [esp + 0x84]
push eax
call fcn.004c881e
pop eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
dec dword [eax]
test ebx, ebx
je 0x4c747c
mov ecx, 0x84
mov eax, 0xcc
lock cmpxchg dword [ebx], ecx
je 0x4c7455
mov eax, dword [ebx + 8]
push ebx
call dword [eax + 0x10]
add esp, 4
mov al, 1
xor ecx, ecx
mov dword [esp + 4], eax
mov al, 1
mov dword [esp + 8], eax
jmp 0x4c6d7d
push 0x35
pop edx
mov ecx, str.cannot_clone__Sender_____too_many_outstanding_senders
push 0x621ed0
call fcn.005a527a
ud2
xor eax, eax
jmp 0x4c7490
lea eax, [esp + 0xe8]
push eax
call fcn.004c79b3
pop eax
mov al, 1
lea ecx, [esp + 0x80]
mov edx, 0x620c54
mov byte [ecx], al
call fcn.005a32c2
lea eax, [esp + 0xec]
push eax
call fcn.004c881e
jmp 0x4c748d