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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
cmp byte [esi + 8], 2
jne 0x4bf97e
cmp dword [edi + 0x3c], 0
je 0x4bf97e
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x30]
mov dword [esp + 0xc], eax
push ebx
push dword [edi + 0x4c]
push dword [edi + 0x48]
call fcn.004c1ba6
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edi, edx
mov edx, eax
push ebx
push edi
mov edi, dword [esp + 0x20]
call fcn.004c1e1d
pop ecx
pop edx
test eax, eax
je 0x4bf97e
mov ecx, esi
jmp 0x4c0051
mov eax, dword [esi + 0x18]
movq xmm0, qword [esi + 0x10]
movsd xmm2, qword [esi]
movq xmm1, qword [esi + 8]
mov edx, dword [esp + 0x1c]
lea ecx, [edi + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x58], eax
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
call fcn.004c07cf
test eax, eax
je 0x4bfd51
mov edi, eax
xor ebx, ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4bfd33
mov ecx, dword [edi + 8]
mov esi, dword [edi]
lea edx, [ecx + 1]
cmp edx, esi
mov edx, dword [edi + 4]
cmovb esi, ebx
dec eax
neg esi
lea esi, [ecx + esi + 1]
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x94], eax
mov al, byte [eax + 0x40]
test al, al
je 0x4bfa08
lea ecx, [esp + 0x94]
call fcn.004c068c
jmp 0x4bf9c1
mov al, byte [esp + 0x59]
movzx ecx, word [esp + 0x5a]
mov byte [esp + 0x59], 2
cmp al, 2
je 0x4c034f
mov dl, byte [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov byte [esp + 0x128], dl
movsd qword [esp + 0x120], xmm0
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x110], xmm2
mov byte [esp + 0x129], al
mov word [esp + 0x12a], cx
lea ecx, [esp + 0x98]
lea edx, [esp + 0x110]
call fcn.004c0818
mov bl, byte [esp + 0xcd]
cmp bl, 2
jne 0x4bfacd
mov al, byte [esp + 0xb0]
movsd xmm0, qword [esp + 0xa8]
movsd xmm2, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
mov bl, byte [esp + 0xb1]
movzx ecx, word [esp + 0xb2]
mov byte [esp + 0x38], al
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm2
jmp 0x4bfb46
lea ecx, [esp + 0xb4]
movzx esi, word [esp + 0xce]
mov al, byte [ecx + 0x18]
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], al
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm2
call fcn.004bf609
mov eax, dword [esp + 0xb0]
movsd xmm0, qword [esp + 0xa8]
movsd xmm2, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
mov ecx, esi
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
mov esi, dword [esp + 0x94]
mov dword [esp + 0xfc], esi
mov al, byte [esi + 0x40]
test al, al
jne 0x4bfb68
mov al, 1
xchg byte [esi + 0x24], al
test al, al
je 0x4bfc0f
mov al, byte [esp + 0x38]
movq xmm0, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x20]
movq xmm1, qword [esp + 0x28]
mov word [esp + 0xc], cx
mov byte [esp + 0x80], al
movq qword [esp + 0x78], xmm0
movq qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm2
lea ecx, [esp + 0xfc]
call fcn.004c068c
cmp bl, 2
jne 0x4bfbc2
cmp byte [esp + 0x59], 2
mov ebx, 0
jne 0x4bf9c1
jmp 0x4bfd2d
lea ecx, [esp + 0x40]
call fcn.004bf609
mov al, byte [esp + 0x80]
movq xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x68]
movq xmm1, qword [esp + 0x70]
mov byte [esp + 0x58], al
movzx eax, word [esp + 0xc]
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
mov byte [esp + 0x59], bl
xor ebx, ebx
mov word [esp + 0x5a], ax
jmp 0x4bf9c1
cmp byte [esi + 0x21], 2
mov word [esp + 0xe0], cx
jne 0x4c0361
lea ecx, [esi + 8]
mov dword [esp + 0x14], ecx
call fcn.004bf609
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x38]
mov byte [ecx + 0x18], al
movzx eax, word [esp + 0xe0]
movsd xmm0, qword [esp + 0x30]
movsd qword [ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x20]
movq xmm1, qword [esp + 0x28]
movq qword [ecx + 8], xmm1
movq qword [ecx], xmm0
mov byte [esi + 0x21], bl
mov word [esi + 0x22], ax
xor eax, eax
mov bl, 2
xchg byte [esi + 0x24], al
mov al, byte [esi + 0x40]
test al, al
je 0x4bfb9c
mov al, 1
xchg byte [esi + 0x24], al
test al, al
jne 0x4bfb9c
mov eax, dword [ecx + 0x18]
mov dword [esp + 0xb0], eax
movsd xmm0, qword [ecx + 0x10]
movsd qword [esp + 0xa8], xmm0
movq xmm0, qword [ecx]
movq xmm1, qword [ecx + 8]
movq qword [esp + 0xa0], xmm1
movq qword [esp + 0x98], xmm0
mov byte [esi + 0x21], 2
mov bl, byte [esp + 0xb1]
cmp bl, 2
jne 0x4bfcdb
lea ecx, [esp + 0x98]
call fcn.004bf609
xor eax, eax
mov bl, 2
jmp 0x4bfd25
mov al, byte [esp + 0xb0]
movsd xmm0, qword [esp + 0xa8]
movq xmm1, qword [esp + 0xa0]
mov byte [esp + 0x80], al
movsd qword [esp + 0x78], xmm0
movq xmm0, qword [esp + 0x98]
movzx eax, word [esp + 0xb2]
movq qword [esp + 0x70], xmm1
mov word [esp + 0xc], ax
movq qword [esp + 0x68], xmm0
xor eax, eax
xchg byte [esi + 0x24], al
jmp 0x4bfb9c
cmp dword [edi + 0xc], 0
jne 0x4bfd51
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x98]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.004c08ce
pop eax
mov ecx, esi
call fcn.004c0966
cmp byte [esp + 0x59], 2
je 0x4c0056
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x98]
mov ecx, edi
lea eax, [esi + 0x30]
mov dword [esp + 0x10], eax
call fcn.004bf8f9
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x40]
mov dword [esp + 0x60], eax
push edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
call fcn.004c1ba6
add esp, 0xc
mov ecx, eax
mov edi, dword [esi + 0x34]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], 0
shr ecx, 0x19
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
mov dword [esp + 0xc], edi
and edi, eax
pshufd xmm1, xmm0, 0
movdqa xmmword [esp + 0x100], xmm1
movdqu xmm0, xmmword [edx + edi]
mov esi, edx
movdqa xmmword [esp + 0xe0], xmm0
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov word [esp + 0x20], ax
lea ecx, [esp + 0x20]
call section..text
test eax, eax
je 0x4bfe1c
add edx, edi
and edx, dword [esp + 0xc]
neg edx
imul ebx, edx, 0x24
lea edx, [esp + 0x98]
lea ecx, [esi + ebx - 0x24]
call fcn.004c1d24
test al, al
je 0x4bfdee
jmp 0x4bfe5c
movdqa xmm1, xmmword [esp + 0xe0]
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
jne 0x4c0219
mov eax, dword [esp + 0x14]
movdqa xmm1, xmmword [esp + 0x100]
mov edx, esi
lea edi, [edi + eax + 0x10]
add eax, 0x10
and edi, dword [esp + 0xc]
mov dword [esp + 0x14], eax
jmp 0x4bfdd1
movsd xmm0, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
mov ecx, esi
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x18]
add ecx, ebx
mov ebx, ecx
movsd qword [esp + 0x6b], xmm0
movsd qword [esp + 0x73], xmm1
mov dword [esp + 0x7b], eax
mov eax, dword [esp + 0x7b]
movsd xmm0, qword [esp + 0x6b]
movsd xmm1, qword [esp + 0x73]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x98]
mov dword [esp + 0x33], eax
movsd qword [esp + 0x2b], xmm1
movsd qword [esp + 0x23], xmm0
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x1c], edx
call fcn.004c1b9c
mov eax, dword [edi + 0x78]
cmp eax, dword [ebx - 4]
jbe 0x4c004d
mov eax, dword [esp + 0x58]
movq xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x40]
movq xmm1, qword [esp + 0x48]
lea esi, [esp + 0x98]
add ebx, 0xfffffff4
mov dword [esi + 0x28], eax
movq qword [esi + 0x20], xmm0
movq qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm2
call fcn.004ff350
mov dword [esi + 4], edx
mov dword [esi], eax
mov dword [esi + 8], ecx
mov ecx, ebx
mov edx, esi
call fcn.004c0973
cmp dword [edi + 0x7c], 0
jne 0x4c0056
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
cmp esi, 0x3b9aca00
je 0x4c0056
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xc], esi
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x7c]
mov dword [esp + 0x14], eax
call fcn.004c099e
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xe0], edx
call fcn.004c05d2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov ecx, edi
mov dword [esp + 0x10], esi
mov edx, esi
mov dword [ebx + 0x7c], eax
push 0
push 0
push 0
push dword [esp + 0x18]
call fcn.00512bb1
add esp, 0x10
test al, al
je 0x4c0373
call fcn.004ff350
mov esi, edx
mov edi, ecx
lea ecx, [esp + 0x98]
mov edx, eax
push 0x62c9b8
push edi
push esi
call fcn.0051369c
add esp, 0xc
push 0x48
pop ecx
push 8
pop edx
call fcn.0049c41a
push 0x12
pop ecx
mov dword [esp + 0x100], eax
mov edi, eax
lea esi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call fcn.004c09d0
mov ecx, dword [ebx + 0x70]
mov esi, eax
test ecx, ecx
je 0x4c0067
mov edx, dword [ebx + 0x74]
call fcn.0051a4bf
mov edi, eax
mov ebx, edx
push 0x20
pop ecx
push 8
pop edx
call fcn.0049c41a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x100]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
push 0x620c64
push eax
push edi
call dword [ebx + 0xc]
add esp, 0xc
jmp 0x4c0056
lea ecx, [esp + 0x40]
call fcn.004bf648
mov ecx, dword [esp + 0x1c]
call fcn.004bf614
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [0x663104]
mov eax, dword [0x663100]
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x663100]
jne 0x4c0072
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
xor ecx, ecx
lea edi, [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
call fcn.0050f76e
test eax, eax
je 0x4c03a0
add eax, 0x18
mov ecx, eax
call fcn.004c1540
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [eax], 0
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x100]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xa8], ebx
mov byte [esp + 0xac], 0
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], edi
je 0x4c02fc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [eax]
mov dword [esp + 0xf8], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], edx
lock inc dword [ebx]
jle 0x4c03c4
lea eax, [ebx + 8]
mov dword [esp + 0x60], eax
push 0x40
pop edx
mov ecx, 0x80
call fcn.0049c41a
mov edi, eax
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x621140
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, edi
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x10]
and dword [edi + 0x2c], 0
and dword [edi + 0x28], 0
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x100]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0xe0]
mov byte [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], esi
and dword [edi + 0x50], 0
and dword [edi + 0x54], 0
and dword [edi + 0x58], 0
push edi
call fcn.004c155c
pop ecx
test eax, eax
je 0x4c030c
mov ecx, dword [esp + 0xf8]
mov edx, eax
call fcn.00512fe0
jmp 0x4c030c
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x38], 0
je 0x4c033d
mov bl, byte [esp + 0x98]
movsd xmm0, qword [esp + 0x99]
movsd xmm2, qword [esp + 0xa1]
movsd xmm1, qword [esp + 0xa8]
mov esi, dword [esp + 0x64]
cmp bl, 3
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x77], xmm1
jne 0x4c026d
mov ebx, dword [esp + 0x3c]
jmp 0x4bfe96
lea eax, [esp + 0x99]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
movsd xmm0, qword [eax + 0xf]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x2f], xmm0
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm2
push dword [esp + 0x3c]
push esi
call fcn.004c1b2b
pop ecx
pop ecx
mov ecx, dword [edi + 0x30]
and dl, 1
neg eax
movzx edx, dl
imul eax, eax, 0x24
sub dword [edi + 0x38], edx
mov byte [ecx + eax - 0x24], bl
lea ebx, [ecx + eax]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
movsd qword [ecx + eax - 0x23], xmm0
movsd qword [ecx + eax - 0x1b], xmm1
movsd xmm0, qword [esp + 0x2f]
movsd qword [ecx + eax - 0x14], xmm0
and dword [ecx + eax - 0xc], 0
mov dword [ecx + eax - 8], 8
and dword [ecx + eax - 4], 0
inc dword [edi + 0x3c]
jmp 0x4bfedb
lea eax, [esp + 0x98]
push eax
call fcn.004c09f6
pop eax
xor edi, edi
mov eax, dword [esp + 0x18]
dec dword [eax]
test edi, edi
je 0x4c03af
mov ecx, 0x84
mov eax, 0xcc
lock cmpxchg dword [edi], ecx
je 0x4c0056
mov eax, dword [edi + 8]
push edi
call dword [eax + 0x10]
add esp, 4
jmp 0x4c0056
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
call fcn.005a32f3
jmp 0x4c0227
push 0x12
pop edx
mov ecx, str.value_already_sent
push 0x6207f8
call fcn.0059f240
push 0x20
pop edx
mov ecx, 0x61e978
push 0x61ea08
call fcn.0059ef30
lea ecx, [esp + 0x98]
mov edx, 0x6207d4
mov dword [ecx], 0x62c944
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
and dword [ecx + 0xc], 0
call fcn.0059ede0
lea eax, [esp + 0x68]
push eax
call fcn.004c09f6
pop eax
mov al, 1
jmp 0x4c03b1
xor eax, eax
lea ecx, [esp + 0x98]
mov edx, 0x620c54
mov byte [ecx], al
call fcn.005a32c2
ud2