Function at 0x48c150
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de171
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x526f10]
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.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c19a
push 0x80004005
call fcn.00422000
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.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c1c7
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp dword [0x52cc60], edi
jne 0x48c1e7
call fcn.0048d5b0
test byte [0x52d4d0], 1
jne 0x48c286
or dword [0x52d4d0], 1
mov byte [ebp - 4], 3
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c219
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4cc], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x48c258
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c275
push esi
push eax
mov ecx, 0x52d4cc
call fcn.00424e51
jmp 0x48c275
push str.DeviceLanmanRedirector_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x52d4cc
call fcn.004253d4
push 0x4e5ed0
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52d4d0], 2
jne 0x48c325
or dword [0x52d4d0], 2
mov byte [ebp - 4], 5
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c2b8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4c8], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x48c2f7
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c314
push esi
push eax
mov ecx, 0x52d4c8
call fcn.00424e51
jmp 0x48c314
push str.DeviceWinDfs_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x52d4c8
call fcn.004253d4
push 0x4e5ea0
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52d4d0], 4
mov ebx, 8
jne 0x48c3c8
or dword [0x52d4d0], 4
mov byte [ebp - 4], 7
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c35c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4c4], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], bl
test ecx, 0xffff0000
jne 0x48c39a
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c3b7
push esi
push eax
mov ecx, 0x52d4c4
call fcn.00424e51
jmp 0x48c3b7
push str.DeviceMupDfsClient_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x52d4c4
call fcn.004253d4
push 0x4e5e70
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52d4d0], bl
jne 0x48c465
or dword [0x52d4d0], ebx
mov byte [ebp - 4], 9
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c3f8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4c0], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x48c437
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c454
push esi
push eax
mov ecx, 0x52d4c0
call fcn.00424e51
jmp 0x48c454
push str.DeviceMUP_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x52d4c0
call fcn.004253d4
push 0x4e5e40
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52d4d0], 0x10
jne 0x48c504
or dword [0x52d4d0], 0x10
mov byte [ebp - 4], 0xb
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c497
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4bc], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x48c4d6
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c4f3
push esi
push eax
mov ecx, 0x52d4bc
call fcn.00424e51
jmp 0x48c4f3
push str.DeviceNetWareRedirector_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x52d4bc
call fcn.004253d4
push 0x4e5e10
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52d4d0], 0x20
jne 0x48c5a3
or dword [0x52d4d0], 0x20
mov byte [ebp - 4], 0xd
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c536
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4b8], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x48c575
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c592
push esi
push eax
mov ecx, 0x52d4b8
call fcn.00424e51
jmp 0x48c592
push str.DeviceWebDavRedirector_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x52d4b8
call fcn.004253d4
push 0x4e5de0
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x40
test byte [0x52d4d0], al
jne 0x48c645
or dword [0x52d4d0], eax
mov byte [ebp - 4], 0xf
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c5d8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52d4b4], eax
mov ecx, str.DeviceCdmRedirector_
mov byte [ebp - 4], 0x10
test ecx, 0xffff0000
jne 0x48c617
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
cmp eax, edi
je 0x48c634
push esi
push eax
mov ecx, 0x52d4b4
call fcn.00424e51
jmp 0x48c634
push str.DeviceCdmRedirector_
call fcn.004bbaea
add esp, 4
push eax
push str.DeviceCdmRedirector_
mov ecx, 0x52d4b4
call fcn.004253d4
push 0x4e5db0
call fcn.004be708
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x52d4cc]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov edx, dword [0x52d4cc]
mov eax, dword [eax]
push edx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48c88c
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c6bb
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x4f0374
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x48c6f4
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004b5332
cmp eax, edi
je 0x48c70e
push ebx
push eax
mov ecx, esi
call fcn.00424e51
jmp 0x48c70e
push 0x4f0374
call fcn.004bbaea
add esp, 4
push eax
push 0x4f0374
mov ecx, esi
call fcn.004253d4
mov byte [ebp - 4], 0x12
mov eax, dword [0x52d4cc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.00471b00
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042b993
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push 0x4f1fd8
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004bbd30
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x48c7a4
push ebx
push 4
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b993
mov eax, dword [eax]
push 0x501704
push eax
mov ebx, 3
call fcn.004bbd30
add esp, 8
cmp eax, edi
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x48c7a8
mov byte [ebp - 0xd], 0
test bl, 2
je 0x48c7d2
mov eax, dword [ebp - 0x30]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x28], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c7d2
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 0x48c7fd
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c7fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x48c843
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x48c843
add eax, 0xa
push 0x5c
push eax
call fcn.004bc598
add esp, 8
cmp eax, edi
je 0x48c843
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x48c843
push edi
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.00424883
push 0x4f0374
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043d862
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425445
mov esi, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
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 0x48c87d
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
jmp 0x48d49b
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48c8a6
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov ecx, 0x4eda54
mov byte [ebp - 4], 0x14
test ecx, 0xffff0000
jne 0x48c8e1
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b5332
test eax, eax
je 0x48c8ff
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424e51
jmp 0x48c8fc
push 0x4eda54
call fcn.004bbaea
add esp, 4
push eax
push 0x4eda54
lea ecx, [ebp - 0x1c]
call fcn.004253d4
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
mov eax, dword [0x52d4c8]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov edx, dword [0x52d4c8]
mov eax, dword [eax]
push edx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c94e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48c9a9
mov ecx, dword [0x52d4c8]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x48ca55
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48ca45
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48ca45
push eax
call fcn.00425445
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48c99e
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 0x48ca52
mov ecx, dword [0x52d4c4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov ecx, dword [0x52d4c4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48c9f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48ca55
mov ecx, dword [0x52d4c4]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x48ca55
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48ca45
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48ca45
push eax
call fcn.00425445
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48c99e
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 0x48ca52
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004253d4
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x48cbe8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f0374
call fcn.004247ec
push ecx
mov byte [ebp - 4], 0x16
lea esi, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push esi
call fcn.00425445
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00471b00
add esp, 0xc
push 1
push 3
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b993
mov eax, dword [eax]
push 0x501704
push eax
call fcn.004bbd30
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cadf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48cbe8
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x48cbe8
add eax, 8
push 0x5c
push eax
call fcn.004bc598
add esp, 8
test eax, eax
je 0x48cbe8
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x48cbe8
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.00424883
push 0x4f0374
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043d862
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425445
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48cb68
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 1
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 0x48cb8b
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 0x48cbae
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 0x48cbd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x52d4c0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov ecx, dword [0x52d4c0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48cc34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48ccbc
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f0374
call fcn.004247ec
mov byte [ebp - 4], 0x17
mov eax, dword [0x52d4c0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00471b00
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425445
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48c85a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48c85a
mov ecx, dword [0x52d4bc]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov ecx, dword [0x52d4bc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48cd08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48cd90
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f0374
call fcn.004247ec
mov byte [ebp - 4], 0x18
mov eax, dword [0x52d4bc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00471b00
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425445
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48c85a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48c85a
mov ecx, dword [0x52d4b8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov ecx, dword [0x52d4b8]
mov eax, dword [eax]
push ecx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48cddc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48ce64
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f0374
call fcn.004247ec
mov byte [ebp - 4], 0x19
mov eax, dword [0x52d4b8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00471b00
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425445
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48c85a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48c85a
mov ecx, dword [0x52d4b4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249db
mov ecx, dword [0x52d4b4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004bb834
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48ceb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48cf5b
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f0374
call fcn.004247ec
mov byte [ebp - 4], 0x1a
mov eax, dword [0x52d4b4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00471b00
add esp, 8
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x502e94
call fcn.004247ec
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x501704
call fcn.004247ec
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 0x15
call fcn.00471b00
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425445
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x48cca7
push 0x52d108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x52d100]
mov ebx, dword [ecx]
mov esi, dword [0x52d0e8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
lea ebx, [ebx]
mov edi, dword [0x52d100]
test esi, esi
je 0x48cf92
cmp esi, dword [0x52d0e8]
je 0x48cf97
call fcn.004bbc61
cmp ebx, edi
je 0x48d053
test esi, esi
jne 0x48d00d
call fcn.004bbc61
cmp ebx, dword [esi + 0x18]
jne 0x48cfb2
call fcn.004bbc61
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.00425445
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x30], ebx
lea esi, [ebp - 0x30]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x1c
call fcn.0048bc70
test eax, eax
jne 0x48d011
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48cffa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x3c]
call fcn.0042bce5
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
jmp 0x48cf80
mov esi, dword [esi]
jmp 0x48cfa8
lea esi, [ebp - 0x3c]
call fcn.00430cf5
push eax
lea ecx, [ebp - 0x20]
call fcn.00424edf
call fcn.00430cf5
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00424edf
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d053
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x52d108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x48d3ed
mov eax, dword [0x52d104]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, esp
mov dword [ebp - 0x34], esp
push eax
push ecx
push str.DeviceToDosName:__s_not_found_in_cache__d_._Querying_name.
push edx
call fcn.0046da40
add esp, 0x10
call fcn.0048bc00
add esp, 4
call fcn.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48d0ab
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call fcn.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48d0de
push 0x80004005
call fcn.00422000
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], 0x1e
mov dword [ebp - 0x2c], edi
lea ecx, [edi + 0x41]
push ecx
lea edx, [ebp - 0x24]
push 0x50e3a0
push edx
call fcn.0046da40
add esp, 0xc
mov bl, 0x1f
push 0x4eda54
mov byte [ebp - 4], bl
call fcn.004bbaea
add esp, 4
push eax
push 0x4eda54
lea ecx, [ebp - 0x14]
call fcn.004253d4
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 0x48d152
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0042251a
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
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.004bbacb
add esp, 8
test eax, eax
jl 0x48d5a3
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x48d5a3
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x48d2fb
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x48d2fb
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push str._s___s_
push ecx
call fcn.0046da40
add esp, 0x10
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00425b29
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d1f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4eda54
lea ecx, [ebp - 0x28]
call fcn.004247ec
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
lea ebx, [ebp - 0x28]
call fcn.00425445
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0049e330
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
test eax, eax
je 0x48d2ab
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push edx
push eax
push str.DeviceToDosName:_Resolved_symbolic_link__s___s
push ecx
call fcn.0046da40
add esp, 0x10
call fcn.0048bc00
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x48d2c5
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x48d29c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48d29c
push eax
call fcn.00425445
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x48d291
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 0x48d2c5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004253d4
jmp 0x48d2c5
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.0046da40
add esp, 0xc
call fcn.0048bc00
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.0048bc70
test eax, eax
jne 0x48d4ee
mov byte [ebp - 4], 0x1f
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 0x48d2fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d31e
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 0x48d0f6
mov esi, dword [ebp - 0x30]
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push esi
push str.QueryDosDevice:__s
push ecx
call fcn.0046da40
add esp, 0xc
call fcn.0048bc00
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x48d3aa
push 0x52d108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x20]
push edx
push 0x52d0e8
call fcn.00430a46
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00424edf
mov eax, dword [0x52d104]
push ecx
mov ecx, dword [ebp - 0x20]
mov edx, esp
mov dword [ebp - 0x38], esp
push eax
push edi
push ecx
push str.DeviceToDosName:_Adding_to_cache___s_s_._Cache_now_has__d_items.
push edx
call fcn.0046da40
add esp, 0x14
call fcn.0048bc00
add esp, 4
push 0x52d108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x1d
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 0x48d3cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d3ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
je 0x48d437
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425445
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00471b00
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425445
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
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 0x48d494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d4b4
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
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d4da
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
lea edi, [ebp - 0x14]
call fcn.0042c610
push eax
lea ecx, [ebp - 0x20]
call fcn.00424edf
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48d554
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48d547
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48d547
push eax
call fcn.00425445
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48d53f
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 0x48d554
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004253d4
mov byte [ebp - 4], 0x1f
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 0x48d577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1e
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 0x48d32b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48d32b
push 0x80070057
call fcn.00422000
int3