Function at 0x489220
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dafd1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x522f10]
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.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48926a
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.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x489297
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 [0x528c60], edi
jne 0x4892b7
call fcn.0048a680
test byte [0x5294b0], 1
jne 0x489356
or dword [0x5294b0], 1
mov byte [ebp - 4], 3
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4892e9
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5294ac], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x489328
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x489345
push esi
push eax
mov ecx, 0x5294ac
call fcn.00424e90
jmp 0x489345
push str.DeviceLanmanRedirector_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x5294ac
call fcn.00425413
push 0x4e2940
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5294b0], 2
jne 0x4893f5
or dword [0x5294b0], 2
mov byte [ebp - 4], 5
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x489388
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5294a8], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x4893c7
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x4893e4
push esi
push eax
mov ecx, 0x5294a8
call fcn.00424e90
jmp 0x4893e4
push str.DeviceWinDfs_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x5294a8
call fcn.00425413
push 0x4e2910
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5294b0], 4
mov ebx, 8
jne 0x489498
or dword [0x5294b0], 4
mov byte [ebp - 4], 7
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48942c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5294a4], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], bl
test ecx, 0xffff0000
jne 0x48946a
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x489487
push esi
push eax
mov ecx, 0x5294a4
call fcn.00424e90
jmp 0x489487
push str.DeviceMupDfsClient_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x5294a4
call fcn.00425413
push 0x4e28e0
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5294b0], bl
jne 0x489535
or dword [0x5294b0], ebx
mov byte [ebp - 4], 9
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4894c8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5294a0], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x489507
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x489524
push esi
push eax
mov ecx, 0x5294a0
call fcn.00424e90
jmp 0x489524
push str.DeviceMUP_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x5294a0
call fcn.00425413
push 0x4e28b0
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5294b0], 0x10
jne 0x4895d4
or dword [0x5294b0], 0x10
mov byte [ebp - 4], 0xb
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x489567
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x52949c], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x4895a6
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x4895c3
push esi
push eax
mov ecx, 0x52949c
call fcn.00424e90
jmp 0x4895c3
push str.DeviceNetWareRedirector_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x52949c
call fcn.00425413
push 0x4e2880
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5294b0], 0x20
jne 0x489673
or dword [0x5294b0], 0x20
mov byte [ebp - 4], 0xd
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x489606
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x529498], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x489645
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x489662
push esi
push eax
mov ecx, 0x529498
call fcn.00424e90
jmp 0x489662
push str.DeviceWebDavRedirector_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x529498
call fcn.00425413
push 0x4e2850
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x40
test byte [0x5294b0], al
jne 0x489715
or dword [0x5294b0], eax
mov byte [ebp - 4], 0xf
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4896a8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x529494], eax
mov ecx, str.DeviceCdmRedirector_
mov byte [ebp - 4], 0x10
test ecx, 0xffff0000
jne 0x4896e7
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
cmp eax, edi
je 0x489704
push esi
push eax
mov ecx, 0x529494
call fcn.00424e90
jmp 0x489704
push str.DeviceCdmRedirector_
call fcn.004b8a1a
add esp, 4
push eax
push str.DeviceCdmRedirector_
mov ecx, 0x529494
call fcn.00425413
push 0x4e2820
call fcn.004bb638
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x5294ac]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov edx, dword [0x5294ac]
mov eax, dword [eax]
push edx
push eax
call fcn.004b8761
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 0x489760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48995c
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48978b
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, 0x4ed364
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x4897c4
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004b2260
cmp eax, edi
je 0x4897de
push ebx
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x4897de
push 0x4ed364
call fcn.004b8a1a
add esp, 4
push eax
push 0x4ed364
mov ecx, esi
call fcn.00425413
mov byte [ebp - 4], 0x12
mov eax, dword [0x5294ac]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425484
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046ebb0
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042b934
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push 0x4eefa0
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004b8c60
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x489874
push ebx
push 4
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b934
mov eax, dword [eax]
push 0x4fe28c
push eax
mov ebx, 3
call fcn.004b8c60
add esp, 8
cmp eax, edi
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x489878
mov byte [ebp - 0xd], 0
test bl, 2
je 0x4898a2
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 0x4898a2
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 0x4898cd
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 0x4898cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x489913
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x489913
add eax, 0xa
push 0x5c
push eax
call fcn.004b94c8
add esp, 8
cmp eax, edi
je 0x489913
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x489913
push edi
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.0042488a
push 0x4ed364
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043d7b4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425484
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 0x48994d
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 0x48a56b
call fcn.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x489976
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, 0x4eaa5c
mov byte [ebp - 4], 0x14
test ecx, 0xffff0000
jne 0x4899b1
mov edx, ecx
movzx esi, dx
push esi
call fcn.004b2260
test eax, eax
je 0x4899cf
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424e90
jmp 0x4899cc
push 0x4eaa5c
call fcn.004b8a1a
add esp, 4
push eax
push 0x4eaa5c
lea ecx, [ebp - 0x1c]
call fcn.00425413
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
mov eax, dword [0x5294a8]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov edx, dword [0x5294a8]
mov eax, dword [eax]
push edx
push eax
call fcn.004b8761
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 0x489a1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489a79
mov ecx, dword [0x5294a8]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x489b25
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x489b15
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x489b15
push eax
call fcn.00425484
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x489a6e
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 0x489b22
mov ecx, dword [0x5294a4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov ecx, dword [0x5294a4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b8761
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 0x489ac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489b25
mov ecx, dword [0x5294a4]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x489b25
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x489b15
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x489b15
push eax
call fcn.00425484
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x489a6e
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 0x489b22
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00425413
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x489cb8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ed364
call fcn.004247f3
push ecx
mov byte [ebp - 4], 0x16
lea esi, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push esi
call fcn.00425484
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
add esp, 0xc
push 1
push 3
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b934
mov eax, dword [eax]
push 0x4fe28c
push eax
call fcn.004b8c60
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 0x489baf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489cb8
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x489cb8
add eax, 8
push 0x5c
push eax
call fcn.004b94c8
add esp, 8
test eax, eax
je 0x489cb8
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x489cb8
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.0042488a
push 0x4ed364
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043d7b4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425484
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 0x489c38
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 0x489c5b
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 0x489c7e
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 0x489ca4
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 [0x5294a0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov ecx, dword [0x5294a0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b8761
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 0x489d04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489d8c
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ed364
call fcn.004247f3
mov byte [ebp - 4], 0x17
mov eax, dword [0x5294a0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425484
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425484
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 0x48992a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48992a
mov ecx, dword [0x52949c]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov ecx, dword [0x52949c]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b8761
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 0x489dd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489e60
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ed364
call fcn.004247f3
mov byte [ebp - 4], 0x18
mov eax, dword [0x52949c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425484
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425484
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 0x48992a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48992a
mov ecx, dword [0x529498]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov ecx, dword [0x529498]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b8761
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 0x489eac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489f34
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ed364
call fcn.004247f3
mov byte [ebp - 4], 0x19
mov eax, dword [0x529498]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425484
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425484
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 0x48992a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48992a
mov ecx, dword [0x529494]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004249e2
mov ecx, dword [0x529494]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b8761
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 0x489f80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48a02b
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ed364
call fcn.004247f3
mov byte [ebp - 4], 0x1a
mov eax, dword [0x529494]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00425484
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ffa1c
call fcn.004247f3
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4fe28c
call fcn.004247f3
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00425484
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 0x489d77
push 0x5290ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5290e4]
mov ebx, dword [ecx]
mov esi, dword [0x5290cc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
lea ebx, [ebx]
mov edi, dword [0x5290e4]
test esi, esi
je 0x48a062
cmp esi, dword [0x5290cc]
je 0x48a067
call fcn.004b8b91
cmp ebx, edi
je 0x48a123
test esi, esi
jne 0x48a0dd
call fcn.004b8b91
cmp ebx, dword [esi + 0x18]
jne 0x48a082
call fcn.004b8b91
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.00425484
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.00488d40
test eax, eax
jne 0x48a0e1
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 0x48a0ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x3c]
call fcn.0042eba2
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
jmp 0x48a050
mov esi, dword [esi]
jmp 0x48a078
lea esi, [ebp - 0x3c]
call fcn.0042b8a6
push eax
lea ecx, [ebp - 0x20]
call fcn.00424f1e
call fcn.0042b8a6
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00424f1e
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 0x48a123
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5290ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x48a4bd
mov eax, dword [0x5290e8]
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.0046aaf0
add esp, 0x10
call fcn.00488cd0
add esp, 4
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48a17b
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.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48a1ae
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 0x50ac80
push edx
call fcn.0046aaf0
add esp, 0xc
mov bl, 0x1f
push 0x4eaa5c
mov byte [ebp - 4], bl
call fcn.004b8a1a
add esp, 4
push eax
push 0x4eaa5c
lea ecx, [ebp - 0x14]
call fcn.00425413
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 0x48a222
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.004b89fb
add esp, 8
test eax, eax
jl 0x48a673
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x48a673
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x48a3cb
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x48a3cb
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push str._s___s_
push ecx
call fcn.0046aaf0
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.00425b88
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 0x48a2c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4eaa5c
lea ecx, [ebp - 0x28]
call fcn.004247f3
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.00425484
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0049b260
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
test eax, eax
je 0x48a37b
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.0046aaf0
add esp, 0x10
call fcn.00488cd0
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x48a395
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x48a36c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48a36c
push eax
call fcn.00425484
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x48a361
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 0x48a395
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00425413
jmp 0x48a395
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.0046aaf0
add esp, 0xc
call fcn.00488cd0
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.00488d40
test eax, eax
jne 0x48a5be
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 0x48a3cb
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 0x48a3ee
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 0x48a1c6
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.0046aaf0
add esp, 0xc
call fcn.00488cd0
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x48a47a
push 0x5290ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x20]
push edx
push 0x5290cc
call fcn.00430a98
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00424f1e
mov eax, dword [0x5290e8]
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.0046aaf0
add esp, 0x14
call fcn.00488cd0
add esp, 4
push 0x5290ec
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 0x48a49d
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 0x48a4bd
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 0x48a507
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00425484
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.00425484
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0046ebb0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00425484
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 0x48a541
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 0x48a564
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 0x48a584
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 0x48a5aa
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.0042c64e
push eax
lea ecx, [ebp - 0x20]
call fcn.00424f1e
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48a624
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48a617
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48a617
push eax
call fcn.00425484
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48a60f
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 0x48a624
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00425413
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 0x48a647
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 0x48a3fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48a3fb
push 0x80070057
call fcn.00422000
int3