Function at 0x493d30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7191
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5470b0]
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.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x493d7a
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.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x493da7
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 [0x54d1f0], edi
jne 0x493dc7
call fcn.00495190
test byte [0x54dabc], 1
jne 0x493e66
or dword [0x54dabc], 1
mov byte [ebp - 4], 3
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x493df9
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54dab8], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x493e38
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x493e55
push esi
push eax
mov ecx, 0x54dab8
call fcn.00424e92
jmp 0x493e55
push str.DeviceLanmanRedirector_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x54dab8
call fcn.00425415
push 0x4ffe90
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
test byte [0x54dabc], 2
jne 0x493f05
or dword [0x54dabc], 2
mov byte [ebp - 4], 5
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x493e98
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54dab4], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x493ed7
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x493ef4
push esi
push eax
mov ecx, 0x54dab4
call fcn.00424e92
jmp 0x493ef4
push str.DeviceWinDfs_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x54dab4
call fcn.00425415
push 0x4ffe60
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
test byte [0x54dabc], 4
mov ebx, 8
jne 0x493fa8
or dword [0x54dabc], 4
mov byte [ebp - 4], 7
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x493f3c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54dab0], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], bl
test ecx, 0xffff0000
jne 0x493f7a
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x493f97
push esi
push eax
mov ecx, 0x54dab0
call fcn.00424e92
jmp 0x493f97
push str.DeviceMupDfsClient_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x54dab0
call fcn.00425415
push 0x4ffe30
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
test byte [0x54dabc], bl
jne 0x494045
or dword [0x54dabc], ebx
mov byte [ebp - 4], 9
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x493fd8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54daac], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x494017
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x494034
push esi
push eax
mov ecx, 0x54daac
call fcn.00424e92
jmp 0x494034
push str.DeviceMUP_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x54daac
call fcn.00425415
push 0x4ffe00
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
test byte [0x54dabc], 0x10
jne 0x4940e4
or dword [0x54dabc], 0x10
mov byte [ebp - 4], 0xb
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x494077
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54daa8], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x4940b6
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x4940d3
push esi
push eax
mov ecx, 0x54daa8
call fcn.00424e92
jmp 0x4940d3
push str.DeviceNetWareRedirector_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x54daa8
call fcn.00425415
push 0x4ffdd0
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
test byte [0x54dabc], 0x20
jne 0x494183
or dword [0x54dabc], 0x20
mov byte [ebp - 4], 0xd
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x494116
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54daa4], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x494155
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x494172
push esi
push eax
mov ecx, 0x54daa4
call fcn.00424e92
jmp 0x494172
push str.DeviceWebDavRedirector_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x54daa4
call fcn.00425415
push 0x4ffda0
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x40
test byte [0x54dabc], al
jne 0x494225
or dword [0x54dabc], eax
mov byte [ebp - 4], 0xf
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4941b8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x54daa0], eax
mov ecx, str.DeviceCdmRedirector_
mov byte [ebp - 4], 0x10
test ecx, 0xffff0000
jne 0x4941f7
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
cmp eax, edi
je 0x494214
push esi
push eax
mov ecx, 0x54daa0
call fcn.00424e92
jmp 0x494214
push str.DeviceCdmRedirector_
call fcn.004d1e6a
add esp, 4
push eax
push str.DeviceCdmRedirector_
mov ecx, 0x54daa0
call fcn.00425415
push 0x4ffd70
call fcn.004d2a2c
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x54dab8]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov edx, dword [0x54dab8]
mov eax, dword [eax]
push edx
push eax
call fcn.004d1bae
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 0x494270
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49446c
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x49429b
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, 0x50a62c
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x4942d4
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
cmp eax, edi
je 0x4942ee
push ebx
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x4942ee
push 0x50a62c
call fcn.004d1e6a
add esp, 4
push eax
push 0x50a62c
mov ecx, esi
call fcn.00425415
mov byte [ebp - 4], 0x12
mov eax, dword [0x54dab8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.004792f0
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042df1d
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push 0x507b8c
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004d20b0
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x494384
push ebx
push 4
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042df1d
mov eax, dword [eax]
push 0x51d56c
push eax
mov ebx, 3
call fcn.004d20b0
add esp, 8
cmp eax, edi
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x494388
mov byte [ebp - 0xd], 0
test bl, 2
je 0x4943b2
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 0x4943b2
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 0x4943dd
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 0x4943dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x494423
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x494423
add eax, 0xa
push 0x5c
push eax
call fcn.004d2d68
add esp, 8
cmp eax, edi
je 0x494423
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x494423
push edi
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.0042488c
push 0x50a62c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.00442448
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425486
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 0x49445d
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 0x49507b
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x494486
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, 0x507cec
mov byte [ebp - 4], 0x14
test ecx, 0xffff0000
jne 0x4944c1
mov edx, ecx
movzx esi, dx
push esi
call fcn.004cb124
test eax, eax
je 0x4944df
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424e92
jmp 0x4944dc
push 0x507cec
call fcn.004d1e6a
add esp, 4
push eax
push 0x507cec
lea ecx, [ebp - 0x1c]
call fcn.00425415
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
mov eax, dword [0x54dab4]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov edx, dword [0x54dab4]
mov eax, dword [eax]
push edx
push eax
call fcn.004d1bae
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 0x49452e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x494589
mov ecx, dword [0x54dab4]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x494635
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x494625
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x494625
push eax
call fcn.00425486
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x49457e
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 0x494632
mov ecx, dword [0x54dab0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov ecx, dword [0x54dab0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004d1bae
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 0x4945d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x494635
mov ecx, dword [0x54dab0]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x494635
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x494625
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x494625
push eax
call fcn.00425486
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x49457e
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 0x494632
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00425415
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x4947c8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x50a62c
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0x16
lea esi, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push esi
call fcn.00425486
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.004792f0
add esp, 0xc
push 1
push 3
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042df1d
mov eax, dword [eax]
push 0x51d56c
push eax
call fcn.004d20b0
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 0x4946bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4947c8
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x4947c8
add eax, 8
push 0x5c
push eax
call fcn.004d2d68
add esp, 8
test eax, eax
je 0x4947c8
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x4947c8
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.0042488c
push 0x50a62c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.00442448
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425486
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 0x494748
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 0x49476b
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 0x49478e
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 0x4947b4
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 [0x54daac]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov ecx, dword [0x54daac]
mov eax, dword [eax]
push ecx
push eax
call fcn.004d1bae
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 0x494814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49489c
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x50a62c
call fcn.004247f5
mov byte [ebp - 4], 0x17
mov eax, dword [0x54daac]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.004792f0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425486
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 0x49443a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49443a
mov ecx, dword [0x54daa8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov ecx, dword [0x54daa8]
mov eax, dword [eax]
push ecx
push eax
call fcn.004d1bae
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 0x4948e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x494970
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x50a62c
call fcn.004247f5
mov byte [ebp - 4], 0x18
mov eax, dword [0x54daa8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.004792f0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425486
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 0x49443a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49443a
mov ecx, dword [0x54daa4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov ecx, dword [0x54daa4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004d1bae
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 0x4949bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x494a44
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x50a62c
call fcn.004247f5
mov byte [ebp - 4], 0x19
mov eax, dword [0x54daa4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.004792f0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425486
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 0x49443a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49443a
mov ecx, dword [0x54daa0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e4
mov ecx, dword [0x54daa0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004d1bae
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 0x494a90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x494b3b
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x50a62c
call fcn.004247f5
mov byte [ebp - 4], 0x1a
mov eax, dword [0x54daa0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.004792f0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x51ecfc
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x51d56c
call fcn.004247f5
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 0x15
call fcn.004792f0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425486
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 0x494887
push 0x54d6c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x54d6c0]
mov ebx, dword [ecx]
mov esi, dword [0x54d6a8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
lea ebx, [ebx]
mov edi, dword [0x54d6c0]
test esi, esi
je 0x494b72
cmp esi, dword [0x54d6a8]
je 0x494b77
call fcn.004d1fe1
cmp ebx, edi
je 0x494c33
test esi, esi
jne 0x494bed
call fcn.004d1fe1
cmp ebx, dword [esi + 0x18]
jne 0x494b92
call fcn.004d1fe1
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.00425486
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.00493850
test eax, eax
jne 0x494bf1
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 0x494bda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x3c]
call fcn.004335d4
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
jmp 0x494b60
mov esi, dword [esi]
jmp 0x494b88
lea esi, [ebp - 0x3c]
call fcn.0042de83
push eax
lea ecx, [ebp - 0x20]
call fcn.00424f20
call fcn.0042de83
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00424f20
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 0x494c33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x54d6c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x494fcd
mov eax, dword [0x54d6c4]
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.00475230
add esp, 0x10
call fcn.004937e0
add esp, 4
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x494c8b
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.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x494cbe
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 0x52a3a8
push edx
call fcn.00475230
add esp, 0xc
mov bl, 0x1f
push 0x507cec
mov byte [ebp - 4], bl
call fcn.004d1e6a
add esp, 4
push eax
push 0x507cec
lea ecx, [ebp - 0x14]
call fcn.00425415
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 0x494d32
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00422524
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.004d1e4b
add esp, 8
test eax, eax
jl 0x495185
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x495185
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x494edb
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x494edb
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push str._s___s_
push ecx
call fcn.00475230
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.00425b52
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 0x494dd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x507cec
lea ecx, [ebp - 0x28]
call fcn.004247f5
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.00425486
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004b44a0
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
test eax, eax
je 0x494e8b
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.00475230
add esp, 0x10
call fcn.004937e0
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x494ea5
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x494e7c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x494e7c
push eax
call fcn.00425486
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x494e71
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 0x494ea5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00425415
jmp 0x494ea5
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.00475230
add esp, 0xc
call fcn.004937e0
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.00493850
test eax, eax
jne 0x4950ce
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 0x494edb
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 0x494efe
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 0x494cd6
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.00475230
add esp, 0xc
call fcn.004937e0
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x494f8a
push 0x54d6c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x20]
push edx
push 0x54d6a8
call fcn.0043305e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00424f20
mov eax, dword [0x54d6c4]
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.00475230
add esp, 0x14
call fcn.004937e0
add esp, 4
push 0x54d6c8
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 0x494fad
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 0x494fcd
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 0x495017
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00425486
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.00425486
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.004792f0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425486
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 0x495051
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 0x495074
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 0x495094
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 0x4950ba
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
push 0x5c
lea edi, [ebp - 0x14]
call fcn.0042eb1f
push eax
lea ecx, [ebp - 0x20]
call fcn.00424f20
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x495136
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x495129
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x495129
push eax
call fcn.00425486
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x495121
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 0x495136
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00425415
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 0x495159
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 0x494f0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x494f0b
push 0x80070057
call fcn.00422000
int3