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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x340
mov dword [esp + 0x2c], edx
cmp byte [ecx + 0x2c], 2
je 0x46c843
mov esi, ecx
lea ebx, [ecx + 0x20]
mov edi, dword [ebx]
lea eax, [edi + 8]
mov dword [esp + 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x530b28]
test eax, 0x7fffffff
jne 0x46c617
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ebx
mov al, byte [edi + 0xc]
test al, al
jne 0x46c857
mov eax, dword [esi + 0x24]
mov dword [esp + 0x24], esi
mov esi, dword [esi + 0x28]
mov ecx, dword [edi + 0x194]
mov edx, dword [edi + 0x198]
mov dword [esp + 0x14], esi
push esi
mov dword [esp + 0x24], eax
push eax
call fcn.0041095c
add esp, 8
lea edx, [eax + 0xac]
lea eax, [edi + 0xa4]
lea esi, [esp + 0x1e0]
mov ecx, esi
push eax
call fcn.0041a52f
add esp, 4
mov ebx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ebx
and al, 7
cmp al, 3
je 0x46bf2d
mov dword [esp + 0x28], edx
cmp ebx, 6
jne 0x46c88f
mov ecx, dword [edi + 0x194]
mov edx, dword [edi + 0x198]
push dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push esi
call fcn.004109ce
add esp, 8
lea edx, [eax + 0x20]
lea ecx, [esp + 0x60]
call fcn.0041681e
lea eax, [esp + 0x60]
mov al, byte [eax]
cmp al, 3
jne 0x46bf79
cmp byte [esp + 0x61], 0
je 0x46c090
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [eax]
push dword [eax + 4]
call dword [ecx]
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [edi + 0x194]
mov edx, dword [edi + 0x198]
push dword [esp + 0x14]
push esi
call fcn.0041095c
add esp, 8
mov esi, eax
mov eax, dword [eax + 0x50]
test eax, eax
je 0x46bf03
push dword [esi + 0x54]
call dword [eax + 0xc]
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x54], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 4
mov edx, dword [esp + 0x28]
jmp 0x46bf42
lea esi, [esp + 0x1e8]
lea edi, [esp + 0x80]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
xor eax, 6
or eax, edx
je 0x46bfd5
mov eax, ebx
add eax, 0xfffffffc
mov edi, edx
mov ecx, edx
adc ecx, 0xffffffff
xor edx, edx
xor esi, esi
inc esi
cmp esi, eax
sbb edx, ecx
jb 0x46bfc2
cmp eax, 0xffffffff
je 0x46bfc2
lea ecx, [esp + 0x1e0]
call fcn.0040feb9
jmp 0x46bfd5
mov cl, byte [esp + 0x61]
movups xmm0, xmmword [esp + 0x62]
movups xmmword [esp + 0x8a], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x98], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 3
mov byte [esp + 0x88], al
mov byte [esp + 0x89], cl
jmp 0x46c0e1
xor ebx, 3
or ebx, edi
je 0x46bfd5
lea ecx, [esp + 0x1e0]
call fcn.0040fe93
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
movzx edx, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
call fcn.00426b01
mov eax, esi
xor eax, 4
or eax, ebx
jne 0x46c019
mov dword [esp + 0x2a4], 0
mov dword [esp + 0x2a0], 5
mov ecx, dword [esp + 0x24]
jmp 0x46c748
lea edx, [esp + 0x88]
mov eax, esi
xor eax, 3
mov edi, ebx
or eax, ebx
mov ebx, dword [esp + 0x24]
je 0x46c0fa
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0x160], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmm1, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x150], xmm1
movaps xmmword [esp + 0x140], xmm0
movups xmm0, xmmword [edx]
movaps xmmword [esp + 0x120], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esp + 0x130], xmm0
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x18]
call fcn.00416a00
jmp 0x46c10d
mov ecx, dword [edi + 0x194]
mov edx, dword [edi + 0x198]
push dword [esp + 0x14]
push esi
call fcn.004109ce
add esp, 8
mov eax, dword [eax + 0xcc]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 3
mov word [esp + 0x88], 0x100
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 1
movzx edx, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
call fcn.00426b01
lea edx, [esp + 0x88]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x120]
call fcn.00419473
xor edi, edi
mov esi, 3
lea eax, [ebx + 0xc]
movsd xmm0, qword [esp + 0x130]
movsd qword [esp + 0x110], xmm0
movaps xmm0, xmmword [esp + 0x120]
movaps xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [esp + 0x140]
movaps xmm1, xmmword [esp + 0x150]
movaps xmmword [esp + 0x1a0], xmm0
movaps xmmword [esp + 0x1b0], xmm1
movsd xmm0, qword [esp + 0x160]
movsd qword [esp + 0x1c0], xmm0
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp + 0x1c8], xmm0
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x1d0], ecx
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
call fcn.0045c4e8
mov byte [ebx + 0x2c], 2
mov ebx, esi
xor ebx, 3
mov eax, ebx
or eax, edi
je 0x46c36e
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], edi
movaps xmm0, xmmword [esp + 0x100]
movups xmmword [esp + 0x148], xmm0
movsd xmm0, qword [esp + 0x110]
movsd qword [esp + 0x158], xmm0
movaps xmm0, xmmword [esp + 0x1a0]
movaps xmm1, xmmword [esp + 0x1b0]
movups xmmword [esp + 0x160], xmm0
movups xmmword [esp + 0x170], xmm1
movaps xmm0, xmmword [esp + 0x1c0]
movups xmmword [esp + 0x180], xmm0
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
test eax, eax
je 0x46c295
mov eax, dword [esp + 0xc]
lea esi, [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x530b28]
test eax, 0x7fffffff
jne 0x46c837
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx + 0xc]
test dl, dl
jne 0x46c8cb
cmp dword [ecx + 0x40], 0x3b9aca00
je 0x46c28b
mov dword [esp + 0x18], eax
call fcn.0049c8f0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xc]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x38], edx
mov dword [esi + 0x40], ecx
mov esi, dword [esp + 0x10]
movzx edx, al
mov ecx, esi
call fcn.00426b01
mov dword [esp + 0x18], edi
lea esi, [esp + 0x288]
lea edi, [esp + 0x140]
mov ecx, esi
mov edx, edi
call fcn.0042419c
mov eax, dword [esi]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0xe0], xmm0
movzx eax, word [edi + 0x44]
mov word [esp + 0xf0], ax
mov edx, dword [esp + 0xe0]
cmp eax, 0xc8
jne 0x46c3ed
test edx, edx
je 0x46c3ed
cmp dword [esp + 0x14], 0
je 0x46c4a9
or dword [esp + 0x10], ecx
je 0x46c4a9
lea edi, [esp + 0x30]
mov ecx, edi
mov edx, 2
call fcn.004608c8
lea ecx, [esp + 0x1e0]
mov byte [ecx], 2
mov dword [ecx + 4], 2
call fcn.00426e10
mov dword [esp + 0x1c], eax
mov ecx, edi
call fcn.0045f482
lea edi, [esp + 0x140]
mov ecx, edi
call fcn.00424699
mov ecx, dword [edi + 0x40]
call fcn.0045c21c
lea edi, [esp + 0x188]
mov ecx, edi
call fcn.0041ce75
mov ecx, edi
call fcn.0045c4e8
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
jmp 0x46c3b3
movsd xmm0, qword [esp + 0x110]
movsd qword [esp + 0x90], xmm0
movaps xmm0, xmmword [esp + 0x100]
movaps xmmword [esp + 0x80], xmm0
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.00427625
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46c459
lea ecx, [esp + 0x80]
call fcn.0046ad85
test esi, esi
je 0x46c3c5
lock dec dword [esi]
jne 0x46c3c5
mov ecx, dword [esp + 0x40]
call fcn.00427f02
xor esi, esi
or ebx, edi
mov ebx, 3
jne 0x46c60e
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x1c]
je 0x46c3e8
lea ecx, [esp + 0x30]
call fcn.0045f482
jmp 0x46c6b3
mov ebx, edx
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x140]
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x228]
mov eax, dword [ecx + 8]
mov dword [esp + 0x58], eax
movsd xmm0, qword [ecx]
movsd qword [esp + 0x50], xmm0
call fcn.0041cd89
xor edi, edi
test al, al
mov ecx, dword [esp + 0xc]
cmove edi, ecx
test ecx, ecx
je 0x46c627
test al, al
mov esi, dword [esp + 0x10]
je 0x46c62b
xor edi, edi
lock dec dword [ecx]
jne 0x46c62b
call fcn.00427f02
jmp 0x46c62b
movsd xmm0, qword [esp + 0x90]
lea ecx, [esp + 0x1e0]
movsd qword [ecx + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [ecx], xmm0
call fcn.00426e10
mov edi, eax
test esi, esi
je 0x46c492
lock dec dword [esi]
jne 0x46c492
mov ecx, dword [esp + 0x40]
call fcn.00427f02
xor esi, esi
mov ebx, 3
cmp dword [esp + 0x30], 0
jne 0x46c3df
jmp 0x46c3e8
lea eax, [esp + 0x1e0]
lea ebx, [esp + 0x140]
mov ecx, 0x16
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x80]
mov ecx, 0x12
mov edi, edx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x50], ecx
movsd xmm0, qword [eax + 0x48]
movsd qword [edx + 0x48], xmm0
lea eax, [esp + 0x1e0]
mov ecx, 0x12
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x50]
mov dword [esp + 0x78], ecx
movsd xmm0, qword [edx + 0x48]
movsd qword [esp + 0x70], xmm0
xor ebx, ebx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x68], ebx
call fcn.00428669
mov edi, eax
mov dword [esp + 0x10], edx
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x60], xmm0
mov al, byte [0x530b2c]
xor ecx, ecx
mov edx, 0x30
call fcn.0049cbc0
test eax, eax
je 0x46c8f6
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [eax + 0xc], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
mov ecx, 0x4f738c
mov dword [eax + 0x1c], ecx
mov esi, str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov edx, dword [esp + 0xc]
mov dword [eax + 0x2c], edx
lea edx, [esp + 0x120]
mov dword [edx], eax
mov dword [edx + 4], 0x4f6038
mov dword [edx + 8], ecx
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], ebx
mov ecx, edi
call fcn.00423e96
lea ecx, [esp + 0x220]
xor edx, edx
inc edx
push dword [esp + 0x10]
call fcn.00462c55
add esp, 4
test eax, 0xfffffffd
jne 0x46c7f5
lea edi, [esp + 0x80]
lea eax, [esp + 0x1e0]
mov ecx, 0x12
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xc], ecx
movsd xmm0, qword [eax + 0x50]
movsd qword [esp + 0x50], xmm0
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x68]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x6c]
jmp 0x46c6ac
mov edi, dword [esp + 0x1c]
jmp 0x46c6b3
call fcn.004ce8a0
xor al, 1
mov dword [esp + 0xc], eax
jmp 0x46be0b
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], edi
cmp dword [esp + 0x14], 0
je 0x46c642
cmp esi, 0xfffffffe
mov eax, dword [esp + 0x18]
sbb eax, 0xffffffff
jb 0x46c661
lea ecx, [esp + 0x50]
call fcn.0041cd89
xor edx, edx
dec edx
xor ecx, ecx
test al, al
cmovne edx, ecx
mov dword [esp + 0x18], edx
mov esi, 0xfffffffe
cmovne esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esp + 0x80]
lea esi, [esp + 0x1e0]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
je 0x46c69c
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 2
lea ecx, [esp + 0xe0]
call fcn.0045f482
jmp 0x46c6ac
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 2
xor esi, esi
mov ebx, 4
lea eax, [esp + 0x2a8]
mov dword [eax - 0x10], edi
mov dword [eax - 0xc], 0
mov dword [eax - 4], esi
mov dword [eax - 8], ebx
lea esi, [esp + 0x80]
mov ecx, 0x12
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x58], ecx
movsd xmm0, qword [esp + 0x50]
movsd qword [eax + 0x50], xmm0
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x5c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x64], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], edx
movups xmm0, xmmword [esp + 0x1e0]
movups xmm1, xmmword [esp + 0x1f0]
movups xmmword [eax + 0x70], xmm0
movups xmmword [eax + 0x80], xmm1
mov eax, ebx
and al, 7
cmp al, 4
je 0x46c75f
and ebx, 7
cmp ebx, 5
mov ecx, dword [esp + 0x24]
jne 0x46c7b9
cmp dword [ecx], 2
je 0x46c885
mov edx, dword [esp + 0x2c]
call fcn.0045e412
jmp 0x46c7ed
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov dword [eax], 2
cmp ecx, 2
je 0x46c8a3
lea esi, [esp + 0x2a8]
lea eax, [esp + 0x80]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
lea edx, [esp + 0x1f0]
mov ecx, 0x1c
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx - 4], 0
mov dword [edx - 8], 4
lea edx, [esp + 0x1e0]
mov ecx, eax
jmp 0x46c7e6
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov dword [ecx], 2
cmp eax, 2
je 0x46c8b7
lea ecx, [esp + 0x1e0]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
lea edx, [esp + 0x298]
call fcn.0045ed98
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, edx
test edx, edx
je 0x46c5b3
mov eax, dword [esi + 0x18]
mov ecx, eax
or ecx, 4
lock cmpxchg dword [esi + 0x18], ecx
jne 0x46c802
and eax, 0xa
cmp eax, 8
jne 0x46c822
mov eax, dword [esi + 8]
push dword [esi + 0xc]
call dword [eax + 8]
add esp, 4
lock dec dword [esi]
jne 0x46c5b3
mov ecx, esi
call fcn.004283ad
jmp 0x46c5b3
call fcn.004ce8a0
xor al, 1
jmp 0x46c249
mov ecx, 0x4f686c
mov edx, 0x36
push 0x4f68a4
call fcn.004cf119
lea eax, [esp + 0x1e0]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov byte [eax + 4], cl
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x4d6f34
push 0x4d67d8
push eax
call fcn.004cbc80
mov ecx, 0x4f782c
call fcn.004cbd00
mov ecx, str.poll_response_called_after_response_returned
mov edx, 0x2c
push 0x4d65f0
call fcn.004cbdd6
mov ecx, str.polled_after_complete
mov edx, 0x15
push 0x4f780c
call fcn.004cbd20
mov ecx, str.polled_after_complete
mov edx, 0x15
push 0x4f781c
call fcn.004cbd20
mov dword [esp + 0x1e0], esi
mov byte [esp + 0x1e4], al
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x4e3d64
push 0x4e34bc
lea eax, [esp + 0x1e8]
jmp 0x46c87f
mov ecx, 4
mov edx, 0x30
call fcn.004cb610