Function at 0x48a480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc1e1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x523f10]
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.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a4ca
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.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a4f7
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 [0x529c60], edi
jne 0x48a517
call fcn.0048b8e0
test byte [0x52a4c8], 1
jne 0x48a5b6
or dword [0x52a4c8], 1
mov byte [ebp - 4], 3
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a549
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4c4], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x48a588
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a5a5
push esi
push eax
mov ecx, 0x52a4c4
call fcn.00424e6b
jmp 0x48a5a5
push str.DeviceLanmanRedirector_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x52a4c4
call fcn.004253ee
push 0x4e3d50
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52a4c8], 2
jne 0x48a655
or dword [0x52a4c8], 2
mov byte [ebp - 4], 5
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a5e8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4c0], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x48a627
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a644
push esi
push eax
mov ecx, 0x52a4c0
call fcn.00424e6b
jmp 0x48a644
push str.DeviceWinDfs_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x52a4c0
call fcn.004253ee
push 0x4e3d20
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52a4c8], 4
mov ebx, 8
jne 0x48a6f8
or dword [0x52a4c8], 4
mov byte [ebp - 4], 7
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a68c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4bc], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], bl
test ecx, 0xffff0000
jne 0x48a6ca
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a6e7
push esi
push eax
mov ecx, 0x52a4bc
call fcn.00424e6b
jmp 0x48a6e7
push str.DeviceMupDfsClient_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x52a4bc
call fcn.004253ee
push 0x4e3cf0
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52a4c8], bl
jne 0x48a795
or dword [0x52a4c8], ebx
mov byte [ebp - 4], 9
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a728
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4b8], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x48a767
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a784
push esi
push eax
mov ecx, 0x52a4b8
call fcn.00424e6b
jmp 0x48a784
push str.DeviceMUP_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x52a4b8
call fcn.004253ee
push 0x4e3cc0
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52a4c8], 0x10
jne 0x48a834
or dword [0x52a4c8], 0x10
mov byte [ebp - 4], 0xb
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a7c7
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4b4], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x48a806
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a823
push esi
push eax
mov ecx, 0x52a4b4
call fcn.00424e6b
jmp 0x48a823
push str.DeviceNetWareRedirector_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x52a4b4
call fcn.004253ee
push 0x4e3c90
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
test byte [0x52a4c8], 0x20
jne 0x48a8d3
or dword [0x52a4c8], 0x20
mov byte [ebp - 4], 0xd
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a866
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4b0], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x48a8a5
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a8c2
push esi
push eax
mov ecx, 0x52a4b0
call fcn.00424e6b
jmp 0x48a8c2
push str.DeviceWebDavRedirector_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x52a4b0
call fcn.004253ee
push 0x4e3c60
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x40
test byte [0x52a4c8], al
jne 0x48a975
or dword [0x52a4c8], eax
mov byte [ebp - 4], 0xf
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a908
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52a4ac], eax
mov ecx, str.DeviceCdmRedirector_
mov byte [ebp - 4], 0x10
test ecx, 0xffff0000
jne 0x48a947
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
cmp eax, edi
je 0x48a964
push esi
push eax
mov ecx, 0x52a4ac
call fcn.00424e6b
jmp 0x48a964
push str.DeviceCdmRedirector_
call fcn.004b9b7a
add esp, 4
push eax
push str.DeviceCdmRedirector_
mov ecx, 0x52a4ac
call fcn.004253ee
push 0x4e3c30
call fcn.004bc798
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x52a4c4]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov edx, dword [0x52a4c4]
mov eax, dword [eax]
push edx
push eax
call fcn.004b98c4
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 0x48a9c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48abbc
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a9eb
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, 0x4ee35c
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x48aa24
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004b33b0
cmp eax, edi
je 0x48aa3e
push ebx
push eax
mov ecx, esi
call fcn.00424e6b
jmp 0x48aa3e
push 0x4ee35c
call fcn.004b9b7a
add esp, 4
push eax
push 0x4ee35c
mov ecx, esi
call fcn.004253ee
mov byte [ebp - 4], 0x12
mov eax, dword [0x52a4c4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.0042545f
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046fdf0
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042b90a
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push 0x4effd0
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004b9dc0
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x48aad4
push ebx
push 4
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b90a
mov eax, dword [eax]
push 0x4ff564
push eax
mov ebx, 3
call fcn.004b9dc0
add esp, 8
cmp eax, edi
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x48aad8
mov byte [ebp - 0xd], 0
test bl, 2
je 0x48ab02
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 0x48ab02
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 0x48ab2d
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 0x48ab2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x48ab73
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x48ab73
add eax, 0xa
push 0x5c
push eax
call fcn.004ba628
add esp, 8
cmp eax, edi
je 0x48ab73
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x48ab73
push edi
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.00424882
push 0x4ee35c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043d78d
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.0042545f
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 0x48abad
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 0x48b7cb
call fcn.004ab443
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48abd6
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, 0x4eba54
mov byte [ebp - 4], 0x14
test ecx, 0xffff0000
jne 0x48ac11
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b33b0
test eax, eax
je 0x48ac2f
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424e6b
jmp 0x48ac2c
push 0x4eba54
call fcn.004b9b7a
add esp, 4
push eax
push 0x4eba54
lea ecx, [ebp - 0x1c]
call fcn.004253ee
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
mov eax, dword [0x52a4c0]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov edx, dword [0x52a4c0]
mov eax, dword [eax]
push edx
push eax
call fcn.004b98c4
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 0x48ac7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48acd9
mov ecx, dword [0x52a4c0]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x48ad85
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48ad75
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48ad75
push eax
call fcn.0042545f
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48acce
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 0x48ad82
mov ecx, dword [0x52a4bc]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov ecx, dword [0x52a4bc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b98c4
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 0x48ad25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48ad85
mov ecx, dword [0x52a4bc]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x48ad85
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48ad75
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48ad75
push eax
call fcn.0042545f
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48acce
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 0x48ad82
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004253ee
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x48af18
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ee35c
call fcn.004247eb
push ecx
mov byte [ebp - 4], 0x16
lea esi, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push esi
call fcn.0042545f
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
add esp, 0xc
push 1
push 3
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b90a
mov eax, dword [eax]
push 0x4ff564
push eax
call fcn.004b9dc0
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 0x48ae0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48af18
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x48af18
add eax, 8
push 0x5c
push eax
call fcn.004ba628
add esp, 8
test eax, eax
je 0x48af18
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x48af18
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.00424882
push 0x4ee35c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043d78d
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.0042545f
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 0x48ae98
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 0x48aebb
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 0x48aede
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 0x48af04
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 [0x52a4b8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov ecx, dword [0x52a4b8]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b98c4
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 0x48af64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48afec
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ee35c
call fcn.004247eb
mov byte [ebp - 4], 0x17
mov eax, dword [0x52a4b8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.0042545f
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.0042545f
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 0x48ab8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48ab8a
mov ecx, dword [0x52a4b4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov ecx, dword [0x52a4b4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b98c4
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 0x48b038
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b0c0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ee35c
call fcn.004247eb
mov byte [ebp - 4], 0x18
mov eax, dword [0x52a4b4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.0042545f
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.0042545f
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 0x48ab8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48ab8a
mov ecx, dword [0x52a4b0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov ecx, dword [0x52a4b0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b98c4
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 0x48b10c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b194
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ee35c
call fcn.004247eb
mov byte [ebp - 4], 0x19
mov eax, dword [0x52a4b0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.0042545f
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.0042545f
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 0x48ab8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48ab8a
mov ecx, dword [0x52a4ac]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249da
mov ecx, dword [0x52a4ac]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b98c4
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 0x48b1e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b28b
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ee35c
call fcn.004247eb
mov byte [ebp - 4], 0x1a
mov eax, dword [0x52a4ac]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.0042545f
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x500cf4
call fcn.004247eb
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4ff564
call fcn.004247eb
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.0042545f
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 0x48afd7
push 0x52a104
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x52a0fc]
mov ebx, dword [ecx]
mov esi, dword [0x52a0e4]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
lea ebx, [ebx]
mov edi, dword [0x52a0fc]
test esi, esi
je 0x48b2c2
cmp esi, dword [0x52a0e4]
je 0x48b2c7
call fcn.004b9cf1
cmp ebx, edi
je 0x48b383
test esi, esi
jne 0x48b33d
call fcn.004b9cf1
cmp ebx, dword [esi + 0x18]
jne 0x48b2e2
call fcn.004b9cf1
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.0042545f
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.00489fa0
test eax, eax
jne 0x48b341
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 0x48b32a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x3c]
call fcn.00430cfe
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
jmp 0x48b2b0
mov esi, dword [esi]
jmp 0x48b2d8
lea esi, [ebp - 0x3c]
call fcn.0042b87c
push eax
lea ecx, [ebp - 0x20]
call fcn.00424ef9
call fcn.0042b87c
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00424ef9
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 0x48b383
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x52a104
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x48b71d
mov eax, dword [0x52a100]
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.0046bd30
add esp, 0x10
call fcn.00489f30
add esp, 4
call fcn.004ab443
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48b3db
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.004ab443
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48b40e
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 0x50bf58
push edx
call fcn.0046bd30
add esp, 0xc
mov bl, 0x1f
push 0x4eba54
mov byte [ebp - 4], bl
call fcn.004b9b7a
add esp, 4
push eax
push 0x4eba54
lea ecx, [ebp - 0x14]
call fcn.004253ee
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 0x48b482
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00422527
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.004b9b5b
add esp, 8
test eax, eax
jl 0x48b8d3
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x48b8d3
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x48b62b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x48b62b
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push str._s___s_
push ecx
call fcn.0046bd30
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.00425b2b
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 0x48b523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4eba54
lea ecx, [ebp - 0x28]
call fcn.004247eb
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.0042545f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0049c3c0
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
test eax, eax
je 0x48b5db
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.0046bd30
add esp, 0x10
call fcn.00489f30
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x48b5f5
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x48b5cc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48b5cc
push eax
call fcn.0042545f
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x48b5c1
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 0x48b5f5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004253ee
jmp 0x48b5f5
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.0046bd30
add esp, 0xc
call fcn.00489f30
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.00489fa0
test eax, eax
jne 0x48b81e
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 0x48b62b
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 0x48b64e
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 0x48b426
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.0046bd30
add esp, 0xc
call fcn.00489f30
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x48b6da
push 0x52a104
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x20]
push edx
push 0x52a0e4
call fcn.0043074e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00424ef9
mov eax, dword [0x52a100]
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.0046bd30
add esp, 0x14
call fcn.00489f30
add esp, 4
push 0x52a104
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 0x48b6fd
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 0x48b71d
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 0x48b767
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.0042545f
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.0042545f
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046fdf0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.0042545f
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 0x48b7a1
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 0x48b7c4
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 0x48b7e4
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 0x48b80a
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.0042c2d2
push eax
lea ecx, [ebp - 0x20]
call fcn.00424ef9
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48b884
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48b877
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48b877
push eax
call fcn.0042545f
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48b86f
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 0x48b884
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004253ee
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 0x48b8a7
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 0x48b65b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48b65b
push 0x80070057
call fcn.00422000
int3