Function at 0x482560
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [ecx + 4]
mov ebx, ecx
mov dword [eax + 0x7c], 0
mov dword [eax + 0x88], 0
mov dword [esp + 8], eax
mov edi, dword [eax + 0x94]
mov esi, dword [eax + 0x90]
mov dword [eax + 0x94], 0
test edi, edi
jne 0x4825d6
mov edi, dword [esp + 8]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x482684
mov dword [esp + 0xc], ebx
mov ebx, dword [edi]
movdqa xmm0, xmmword [ebx]
lea esi, [ebx + 0x10]
pmovmskb edi, xmm0
not edi
jmp 0x4825fa
add esi, 8
dec edi
je 0x4825a0
mov eax, dword [esi]
lock dec dword [eax]
jne 0x4825d0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0040e0b0
jmp 0x4825d0
lea eax, [edi - 1]
and eax, edi
dec edx
mov edi, eax
je 0x482645
test di, di
jne 0x48261b
nop
movdqa xmm0, xmmword [esi]
add ebx, 0xffffff40
add esi, 0x10
pmovmskb edi, xmm0
cmp edi, 0xffff
je 0x482600
not edi
tzcnt eax, edi
neg eax
lea eax, [eax + eax*2]
mov ecx, dword [ebx + eax*4 - 0xc]
lock dec dword [ecx]
jne 0x4825f0
lea eax, [ebx + eax*4]
mov dword [esp + 0x10], edx
mov ecx, dword [eax - 0xc]
mov edx, dword [eax - 8]
call fcn.0040e0b0
mov edx, dword [esp + 0x10]
jmp 0x4825f0
mov edi, dword [esp + 8]
mov esi, dword [edi + 4]
test esi, esi
je 0x482663
lea eax, [esi + 0x11]
push eax
push 0xff
push dword [edi]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 1]
mov ebx, dword [esp + 0xc]
mov dword [edi + 0xc], 0
mov ecx, eax
and eax, 0xfffffff8
shr ecx, 3
sub eax, ecx
cmp esi, 8
cmovb eax, esi
mov dword [edi + 8], eax
mov dword [edi + 0x68], 0
inc dword [edi + 0x6c]
mov dword [edi + 0x70], 0
cmp dword [edi + 0xb0], 0
je 0x4826aa
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xb4], eax
mov ecx, ebx
call fcn.00481480
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x2c]
mov edx, dword [edi + 0x24]
mov dword [edi + 0x20], 0
cmp eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jne 0x482ae9
cmp edx, 0x80000000
je 0x482b1f
mov eax, dword [ebx]
mov ecx, dword [eax + 0x27c]
mov dword [esp + 4], eax
mov eax, 1
and ecx, 0x1f
shl eax, cl
cmp ecx, 0x1b
jae 0x482bc0
or eax, 0x40000000
cmp eax, edx
je 0x482b1f
mov eax, 2
shl eax, cl
cmp eax, 0x8000000
jae 0x482b55
or eax, 0x20000000
cmp eax, edx
je 0x482b1f
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x94]
mov esi, dword [esp + 0x1c]
lea eax, [eax + eax*2]
lea esi, [esi + edx*8]
lea eax, [esi + eax*4]
mov esi, dword [edi + 0x88]
add eax, dword [edi + 0xa4]
add esi, dword [edi + 0x7c]
add eax, dword [edi + 0x68]
add esi, dword [edi + 0x38]
add esi, dword [edi + 0x44]
add esi, dword [edi + 0x54]
add esi, dword [edi + 0x60]
add esi, dword [edi + 0x98]
lea eax, [eax + esi*4]
mov esi, 4
shl esi, cl
lea eax, [esi + eax + 0x14]
mov esi, dword [esp + 4]
cmp eax, dword [esi + 0x280]
jbe 0x482801
mov eax, dword [esp + 4]
cmp dword [eax + 0x30], 1
jne 0x4827fa
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 4]
cmp eax, dword [ecx + 0x34]
jb 0x4827fa
mov eax, dword [esp + 4]
cmp dword [eax + 0x38], 1
jne 0x482b83
mov eax, dword [esp + 4]
mov esi, dword [edi + 0x70]
cmp dword [edi + 0xb0], 0
mov eax, dword [eax + 0x3c]
je 0x4827e4
mov ecx, dword [edi + 0xb8]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], ebx
mov edi, dword [edi + 0xb4]
mov ebx, ecx
sub ebx, edi
neg ebx
sub ecx, edi
mov edi, dword [esp + 8]
cmovb ecx, ebx
mov ebx, dword [esp + 0xc]
jmp 0x4827e6
xor ecx, ecx
add ecx, esi
mul edx
mov edx, 0xffffffff
cmovno edx, eax
cmp ecx, edx
jb 0x482b83
mov ecx, ebx
call fcn.00482560
mov ecx, ebx
call fcn.00482bf0
test eax, eax
jne 0x482b83
cmp dword [esp + 0x1c], 0
je 0x482b11
mov eax, dword [esp + 0x18]
mov esi, edx
mov edx, edi
and dword [esp + 0x10], 0x10000000
mov edi, 1
movzx eax, byte [eax + 8]
and eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x27c]
mov eax, dword [edx + 0x74]
mov edx, dword [edx + 0x7c]
and ebx, 0x1f
sub eax, edx
mov ecx, ebx
shl edi, cl
cmp eax, edi
jb 0x482af1
mov eax, dword [esp + 8]
or esi, dword [esp + 0x10]
shl dword [esp + 0xc], 0x1b
cmp ebx, 3
mov eax, dword [eax + 0x78]
jb 0x4828a9
movdqa xmm0, xmmword [0x539440]
mov ecx, edi
mov dword [esp + 0x14], esi
and edi, 6
lea esi, [eax + edx*4 + 0x10]
and ecx, 0xfffffff8
add edx, ecx
mov ebx, ecx
nop dword [eax]
movdqu xmmword [esi - 0x10], xmm0
movdqu xmmword [esi], xmm0
add esi, 0x20
add ebx, 0xfffffff8
jne 0x482890
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x4828bf
mov ecx, edx
nop dword [eax + eax]
lea edx, [ecx + 1]
mov dword [eax + ecx*4], 0x80000000
dec edi
mov ecx, edx
jne 0x4828b0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 4]
or esi, dword [esp + 0xc]
mov dword [eax + 0x7c], edx
mov dword [esp + 0x14], esi
mov ecx, dword [ebx + 0x264]
mov eax, dword [ebx + 0x258]
mov edx, dword [ebx + 0x260]
mov edi, dword [ebx + 0x25c]
or edx, dword [ebx + 0x270]
or eax, dword [ebx + 0x268]
or ecx, dword [ebx + 0x274]
or edi, dword [ebx + 0x26c]
or eax, edx
or edi, ecx
or edi, eax
je 0x482a5e
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x27c]
and ecx, 0x1f
cmp ecx, 0x1b
jae 0x482bb9
mov edx, 2
shl edx, cl
cmp edx, 0x8000000
jae 0x482b55
mov eax, dword [esp + 4]
or edx, 0x20000000
xor edi, edi
mov dword [esp + 0x38], edx
add eax, 0x258
mov dword [esp + 0x3c], eax
cmp edi, 0x101
mov eax, 0x100
cmovae eax, edi
mov dword [esp + 0x40], eax
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [esp + 0x40], edi
je 0x482a5e
mov eax, edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], edi
mov ecx, eax
mov eax, dword [esp + 0x10]
and al, 7
and cl, 0x78
shr cl, 3
neg cl
movsx ebx, cl
mov ecx, eax
mov edi, dword [esp + ebx + 0x5c]
mov edx, dword [esp + ebx + 0x60]
shld edx, edi, cl
shl edi, cl
not cl
mov dword [esp + 0xc], edx
mov edx, dword [esp + ebx + 0x58]
mov ebx, dword [esp + ebx + 0x54]
mov esi, edx
shr esi, 1
shr esi, cl
mov ecx, eax
mov eax, dword [esp + 0x3c]
or esi, edi
mov edi, dword [esp + 0x10]
shld edx, ebx, cl
shl ebx, cl
mov ecx, dword [esp + 0xc]
shr edi, 3
and edi, 0x10
and esi, dword [eax + edi + 8]
and ebx, dword [eax + edi]
and ecx, dword [eax + edi + 0xc]
and edx, dword [eax + edi + 4]
mov eax, dword [esp + 0x10]
or ebx, esi
or edx, ecx
lea edi, [eax + 1]
or edx, ebx
je 0x482970
cmp eax, 0xff
ja 0x482a5e
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
shl eax, 8
movzx eax, ax
push dword [esp + 0x38]
push eax
push dword [esp + 0x1c]
call fcn.00482cc0
add esp, 0xc
jmp 0x482950
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add dword [esi + 0x68], eax
lock inc dword [ecx]
jle 0x482bb7
mov edx, dword [esi + 0x94]
cmp edx, dword [esi + 0x8c]
jne 0x482a95
lea ecx, [esi + 0x8c]
call fcn.0040e570
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov dword [eax + edx*8], ebx
mov dword [eax + edx*8 + 4], edi
inc edx
mov dword [esi + 0x94], edx
mov edx, ebx
push dword [esp + 0x14]
push edi
call fcn.00482db0
add esp, 8
cmp dword [esi + 0x20], 1
jne 0x482adb
mov eax, dword [esi + 0x28]
lock dec dword [eax]
jne 0x482adb
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
call fcn.0040e0b0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], 2
mov dword [esi + 0x24], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
lea ecx, [esi + 0x74]
push edi
call fcn.005343d0
add esp, 4
mov edx, dword [esi + 0x7c]
mov esi, dword [esp + 0x14]
jmp 0x48285c
xor ecx, ecx
xor edx, edx
push 0x54f550
call fcn.00532ca0
lea ecx, [esp + 0x20]
mov edx, 0x54cb2c
mov dword [esp + 0x20], 0x54cb24
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], str.NoneSome_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_wmi_0.11.5_src_connection.rs
mov dword [esp + 0x2c], 0
call fcn.00532c10
lea eax, [esp + 0x20]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x8000000
push 0x54cd24
push 0x54badc
push eax
call fcn.00533020
mov eax, dword [esp + 0x18]
lock dec dword [eax]
jne 0x482b99
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.0040e0b0
lea eax, [esp + 0x20]
mov ecx, str.adding_one_state_after_cache_clear_must_work_
mov edx, 0x2c
push 0x54caf8
push 0x54ba4c
push eax
call fcn.00533020
ud2
mov eax, 1
shl eax, cl
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
mov dword [esp + 0x24], 0
push 0x54cd14
push 0x54badc
push eax
call fcn.00533020
int3