Function at 0x46e960
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a83a9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4cfc64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
call fcn.00480035
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46e9aa
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00480035
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46e9d7
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [0x4d4734], edi
jne 0x46e9f7
call fcn.0046ffe0
test byte [0x4d4bac], 1
jne 0x46eb5e
or dword [0x4d4bac], 1
mov byte [ebp - 4], 3
call fcn.00480035
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46ea29
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4d4ba8], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x46eb30
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov ebx, eax
cmp ebx, edi
je 0x46eb4d
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x46eb4d
push esi
push eax
push ebx
call fcn.0042066d
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x46eb4d
mov edx, dword [0x4d4ba8]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x46eabf
push ebx
mov ecx, 0x4d4ba8
call fcn.004204f5
mov edx, dword [0x4d4ba8]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x46ead7
push esi
call fcn.0048e8dc
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x46f084.1
movzx ecx, byte [eax + 0x46fdf8]
jmp dword [ecx*4 + 0x46fde8]
call fcn.0048059d
test ebx, ebx
jl 0x46eb26
mov eax, dword [0x4d4ba8]
cmp ebx, dword [eax - 8]
jg 0x46eb26
mov dword [eax - 0xc], ebx
mov eax, dword [0x4d4ba8]
xor edx, edx
mov word [edi + eax], dx
jmp 0x46eb4d
push 0x80070057
call fcn.00420000
push str.DeviceLanmanRedirector_
call fcn.0048e8dc
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x4d4ba8
call fcn.00421168
push 0x4ace10
call fcn.0048f585
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4d4bac], 2
jne 0x46ecbf
or dword [0x4d4bac], 2
mov byte [ebp - 4], 5
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46eb90
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4d4ba4], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x46ec91
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov ebx, eax
test ebx, ebx
je 0x46ecae
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46ecae
push esi
push eax
push ebx
call fcn.0042066d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46ecae
mov edx, dword [0x4d4ba4]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x46ec26
push ebx
mov ecx, 0x4d4ba4
call fcn.004204f5
mov edx, dword [0x4d4ba4]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x46ec3e
push esi
call fcn.0048e8dc
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x46f084.1
movzx ecx, byte [eax + 0x46fe5c]
jmp dword [ecx*4 + 0x46fe4c]
call fcn.004805d5
test ebx, ebx
jl 0x46eb26
mov eax, dword [0x4d4ba4]
cmp ebx, dword [eax - 8]
jg 0x46eb26
mov dword [eax - 0xc], ebx
mov eax, dword [0x4d4ba4]
xor edx, edx
mov word [edi + eax], dx
jmp 0x46ecae
push str.DeviceMUP_
call fcn.0048e8dc
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x4d4ba4
call fcn.00421168
push 0x4acde0
call fcn.0048f585
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4d4bac], 4
jne 0x46ee1f
or dword [0x4d4bac], 4
mov byte [ebp - 4], 7
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46ecf1
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4d4ba0], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x46edf1
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov ebx, eax
test ebx, ebx
je 0x46ee0e
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46ee0e
push esi
push eax
push ebx
call fcn.0042066d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46ee0e
mov edx, dword [0x4d4ba0]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x46ed87
push ebx
mov ecx, 0x4d4ba0
call fcn.004204f5
mov edx, dword [0x4d4ba0]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x46ed9f
push esi
call fcn.0048e8dc
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x46f084.1
movzx ecx, byte [eax + 0x46fec0]
jmp dword [ecx*4 + 0x46feb0]
test ebx, ebx
jl 0x46eb26
mov eax, dword [0x4d4ba0]
cmp ebx, dword [eax - 8]
jg 0x46eb26
mov dword [eax - 0xc], ebx
mov eax, dword [0x4d4ba0]
xor edx, edx
mov word [edi + eax], dx
jmp 0x46ee0e
push str.DeviceNetWareRedirector_
call fcn.0048e8dc
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x4d4ba0
call fcn.00421168
push 0x4acdb0
call fcn.0048f585
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4d4bac], 8
jne 0x46ef7f
or dword [0x4d4bac], 8
mov byte [ebp - 4], 9
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46ee51
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4d4b9c], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x46ef51
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov ebx, eax
test ebx, ebx
je 0x46ef6e
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46ef6e
push esi
push eax
push ebx
call fcn.0042066d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46ef6e
mov edx, dword [0x4d4b9c]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x46eee7
push ebx
mov ecx, 0x4d4b9c
call fcn.004204f5
mov edx, dword [0x4d4b9c]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x46eeff
push esi
call fcn.0048e8dc
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x46f084.1
movzx ecx, byte [eax + 0x46ff24]
jmp dword [ecx*4 + 0x46ff14]
test ebx, ebx
jl 0x46eb26
mov eax, dword [0x4d4b9c]
cmp ebx, dword [eax - 8]
jg 0x46eb26
mov dword [eax - 0xc], ebx
mov eax, dword [0x4d4b9c]
xor edx, edx
mov word [edi + eax], dx
jmp 0x46ef6e
push str.DeviceWebDavRedirector_
call fcn.0048e8dc
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x4d4b9c
call fcn.00421168
push 0x4acd80
call fcn.0048f585
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4d4bac], 0x10
jne 0x46f0df
or dword [0x4d4bac], 0x10
mov byte [ebp - 4], 0xb
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46efb1
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4d4b98], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x46f0b1
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov ebx, eax
test ebx, ebx
je 0x46f0ce
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46f0ce
push esi
push eax
push ebx
call fcn.0042066d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46f0ce
mov edx, dword [0x4d4b98]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x46f047
push ebx
mov ecx, 0x4d4b98
call fcn.004204f5
mov edx, dword [0x4d4b98]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x46f05f
push esi
call fcn.0048e8dc
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x46f084.1
movzx ecx, byte [eax + 0x46ff88]
jmp dword [ecx*4 + 0x46ff78]
test ebx, ebx
jl 0x46eb26
mov eax, dword [0x4d4b98]
cmp ebx, dword [eax - 8]
jg 0x46eb26
mov dword [eax - 0xc], ebx
mov eax, dword [0x4d4b98]
xor edx, edx
mov word [edi + eax], dx
jmp 0x46f0ce
push str.DeviceWinDfs_
call fcn.0048e8dc
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x4d4b98
call fcn.00421168
push 0x4acd50
call fcn.0048f585
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [0x4d4ba8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423c6c
mov ecx, dword [0x4d4ba8]
mov eax, dword [eax]
push ecx
push eax
call fcn.0048ef19
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f12d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46f2c0
mov ecx, dword [0x4d4ba8]
push 0x4bc1ac
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0042e103
push 1
push 2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0xc]
call fcn.00423df7
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push 0x4b3adc
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.0048ed05
add esp, 8
test eax, eax
sete al
test al, al
je 0x46f1b0
push ebx
push 4
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00423df7
mov eax, dword [eax]
push 0x4ba6c4
push eax
mov ebx, 3
call fcn.0048ed05
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x46f1b4
mov byte [ebp - 0xd], 0
test bl, 2
je 0x46f1dd
mov eax, dword [ebp - 0x2c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x28], ebx
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f1dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
test bl, 1
je 0x46f207
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x46f24d
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x46f24d
add eax, 0xa
push 0x5c
push eax
call fcn.0048ed5b
add esp, 8
test eax, eax
je 0x46f24d
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, edi
je 0x46f24d
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.00423ac2
push 0x4bc1ac
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0042a887
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00421e21
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f286
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x46fdc5
mov ecx, dword [0x4d4b98]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423c6c
mov ecx, dword [0x4d4b98]
mov eax, dword [eax]
push ecx
push eax
call fcn.0048ef19
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f30b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46f426
mov ecx, dword [0x4d4b98]
push 0x4bc1ac
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0042e103
push 1
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00423df7
mov eax, dword [eax]
push 0x4ba6c4
push eax
call fcn.0048ed05
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f36b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46f3af
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x46f3af
add eax, 8
push 0x5c
push eax
call fcn.0048ed5b
add esp, 8
test eax, eax
je 0x46f3af
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, edi
je 0x46f3af
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.00423ac2
push 0x4bc1ac
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0042a887
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00421e21
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f3e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x46fdc5
mov ecx, dword [0x4d4ba4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423c6c
mov ecx, dword [0x4d4ba4]
mov eax, dword [eax]
push ecx
push eax
call fcn.0048ef19
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46f505
mov ecx, dword [0x4d4ba4]
push 0x4bc1ac
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0042e103
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00421e21
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f4c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x46fdc5
mov ecx, dword [0x4d4ba0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423c6c
mov ecx, dword [0x4d4ba0]
mov eax, dword [eax]
push ecx
push eax
call fcn.0048ef19
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f550
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46f5e4
mov ecx, dword [0x4d4ba0]
push 0x4bc1ac
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0042e103
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00421e21
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f5a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x46fdc5
mov ecx, dword [0x4d4b9c]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423c6c
mov ecx, dword [0x4d4b9c]
mov eax, dword [eax]
push ecx
push eax
call fcn.0048ef19
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f62f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46f6c3
mov ecx, dword [0x4d4b9c]
push 0x4bc1ac
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0042e103
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00421e21
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f685
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x46fdc5
push 0x4d4a3c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4d4a34]
mov ebx, dword [ecx]
mov esi, dword [0x4d4a1c]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov edi, dword [0x4d4a34]
test esi, esi
je 0x46f6f4
cmp esi, dword [0x4d4a1c]
je 0x46f6f9
call fcn.0048ea53
cmp ebx, edi
je 0x46f851
test esi, esi
jne 0x46f76f
call fcn.0048ea53
cmp ebx, dword [esi + 0x18]
jne 0x46f714
call fcn.0048ea53
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.00421e21
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x28], edi
lea esi, [ebp - 0x28]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.0046e2b0
test eax, eax
jne 0x46f773
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f75c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x38]
call fcn.0045df70
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
jmp 0x46f6e2
mov esi, dword [esi]
jmp 0x46f70a
lea esi, [ebp - 0x38]
call fcn.0045ce60
mov ecx, dword [eax]
mov esi, dword [ebp - 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46f7cf
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x46f7c2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46f7c2
push eax
call fcn.00421e21
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x46f7ba
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
jmp 0x46f7cf
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00421168
lea esi, [ebp - 0x38]
call fcn.0045ce60
mov esi, dword [ebp - 0x18]
add eax, 4
mov eax, dword [eax]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x46f82e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x46f821
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x46f821
push ecx
call fcn.00421e21
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x46f819
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x18], ebx
jmp 0x46f82e
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00421168
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4d4a3c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x46fd37
mov eax, dword [0x4d4a38]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, esp
mov dword [ebp - 0x30], esp
push eax
push ecx
push str.DeviceToDosName:__s_not_found_in_cache__d_._Querying_name.
push edx
call fcn.004559f0
add esp, 0x10
call fcn.0046e240
add esp, 4
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46f8a9
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46f8dc
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x2c], edi
lea ecx, [edi + 0x41]
push ecx
lea edx, [ebp - 0x20]
push 0x4c11d8
push edx
call fcn.004559f0
add esp, 0xc
mov bl, 0x11
push 0x4b263c
mov byte [ebp - 4], bl
call fcn.0048e8dc
add esp, 4
push eax
push 0x4b263c
lea ecx, [ebp - 0x14]
call fcn.00421168
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x46f950
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004204f5
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0048f15d
add esp, 8
test eax, eax
jl 0x46eb26
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x46eb26
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x46faf5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x46faf5
push eax
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push str._s___s_
push ecx
call fcn.004559f0
add esp, 0x10
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00423eda
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f9f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b263c
lea ecx, [ebp - 0x24]
call fcn.00421017
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x34], esp
mov esi, esp
push eax
lea ebx, [ebp - 0x24]
call fcn.00421e21
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047dcf0
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
test eax, eax
je 0x46faa9
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push edx
push eax
push str.DeviceToDosName:_Resolved_symbolic_link__s___s
push ecx
call fcn.004559f0
add esp, 0x10
call fcn.0046e240
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x46fac3
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46fa9a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46fa9a
push eax
call fcn.00421e21
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46fa8f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x2c]
jmp 0x46fac3
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00421168
jmp 0x46fac3
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.004559f0
add esp, 0xc
call fcn.0046e240
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.0046e2b0
test eax, eax
jne 0x46fb2a
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46faf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fb18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0x19
mov dword [ebp - 0x2c], edi
jle 0x46f8f4
jmp 0x46fc21
lea ebx, [ebp - 0x14]
call fcn.004390f0
mov ecx, dword [eax]
mov esi, dword [ebp - 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46fb86
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46fb79
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46fb79
push eax
call fcn.00421e21
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46fb71
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x1c], edi
jmp 0x46fb86
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00421168
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46fbdb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x46fbce
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46fbce
push eax
call fcn.00421e21
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x46fbc6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x18], ebx
jmp 0x46fbdb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00421168
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fbfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fc21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x28]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push edx
push str.QueryDosDevice:__s
push ecx
call fcn.004559f0
add esp, 0xc
call fcn.0046e240
mov eax, dword [ebp - 0x18]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x46fcf1
push 0x4d4a3c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x1c]
push ecx
mov edi, 0x4d4a1c
call fcn.0045c4f0
mov ebx, dword [ebp - 0x18]
mov edi, eax
mov esi, dword [edi]
lea eax, [ebx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x46fcbf
cmp dword [esi + 0xc], 0
jl 0x46fcb3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46fcb3
push eax
call fcn.00421e21
mov dword [ebp - 0x2c], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fca9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x46fcbf
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, edi
call fcn.00421168
mov eax, dword [0x4d4a38]
push ecx
mov ecx, dword [ebp - 0x1c]
mov edx, esp
mov dword [ebp - 0x34], esp
push eax
push ebx
push ecx
push str.DeviceToDosName:_Adding_to_cache___s_s_._Cache_now_has__d_items.
push edx
call fcn.004559f0
add esp, 0x14
call fcn.0046e240
add esp, 4
push 0x4d4a3c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fd14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fd37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x46fd4e
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0042e103
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00421e21
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fd88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fdab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fdd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret