Function at 0x47e730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cedf9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x512f18]
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.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e77a
push 0x80004005
call fcn.00421000
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.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e7a7
push 0x80004005
call fcn.00421000
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 [0x518c14], edi
jne 0x47e7c7
call fcn.0047fa40
test byte [0x5193e8], 1
jne 0x47e866
or dword [0x5193e8], 1
mov byte [ebp - 4], 3
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e7f9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5193e4], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x47e838
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
cmp eax, edi
je 0x47e855
push esi
push eax
mov ecx, 0x5193e4
call fcn.00423ccc
jmp 0x47e855
push str.DeviceLanmanRedirector_
call fcn.004ad5da
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x5193e4
call fcn.0042424f
push 0x4d6670
call fcn.004b01f8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5193e8], 2
jne 0x47e905
or dword [0x5193e8], 2
mov byte [ebp - 4], 5
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e898
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5193e0], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x47e8d7
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
cmp eax, edi
je 0x47e8f4
push esi
push eax
mov ecx, 0x5193e0
call fcn.00423ccc
jmp 0x47e8f4
push str.DeviceWinDfs_
call fcn.004ad5da
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x5193e0
call fcn.0042424f
push 0x4d6640
call fcn.004b01f8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5193e8], 4
mov ebx, 8
jne 0x47e9a8
or dword [0x5193e8], 4
mov byte [ebp - 4], 7
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e93c
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5193dc], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], bl
test ecx, 0xffff0000
jne 0x47e97a
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
cmp eax, edi
je 0x47e997
push esi
push eax
mov ecx, 0x5193dc
call fcn.00423ccc
jmp 0x47e997
push str.DeviceMupDfsClient_
call fcn.004ad5da
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x5193dc
call fcn.0042424f
push 0x4d6610
call fcn.004b01f8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5193e8], bl
jne 0x47ea45
or dword [0x5193e8], ebx
mov byte [ebp - 4], 9
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e9d8
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5193d8], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x47ea17
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
cmp eax, edi
je 0x47ea34
push esi
push eax
mov ecx, 0x5193d8
call fcn.00423ccc
jmp 0x47ea34
push str.DeviceMUP_
call fcn.004ad5da
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x5193d8
call fcn.0042424f
push 0x4d65e0
call fcn.004b01f8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x5193e8], 0x10
jne 0x47eae4
or dword [0x5193e8], 0x10
mov byte [ebp - 4], 0xb
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47ea77
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5193d4], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x47eab6
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
cmp eax, edi
je 0x47ead3
push esi
push eax
mov ecx, 0x5193d4
call fcn.00423ccc
jmp 0x47ead3
push str.DeviceNetWareRedirector_
call fcn.004ad5da
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x5193d4
call fcn.0042424f
push 0x4d65b0
call fcn.004b01f8
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x20
test byte [0x5193e8], al
jne 0x47eb86
or dword [0x5193e8], eax
mov byte [ebp - 4], 0xd
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47eb19
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x5193d0], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x47eb58
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
cmp eax, edi
je 0x47eb75
push esi
push eax
mov ecx, 0x5193d0
call fcn.00423ccc
jmp 0x47eb75
push str.DeviceWebDavRedirector_
call fcn.004ad5da
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x5193d0
call fcn.0042424f
push 0x4d6580
call fcn.004b01f8
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x5193e4]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004237f6
mov edx, dword [0x5193e4]
mov eax, dword [eax]
push edx
push eax
call fcn.004ad328
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 0x47ebd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47edcd
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47ebfc
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x4e0e7c
mov byte [ebp - 4], 0xf
test ecx, 0xffff0000
jne 0x47ec35
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004a6e27
cmp eax, edi
je 0x47ec4f
push ebx
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x47ec4f
push 0x4e0e7c
call fcn.004ad5da
add esp, 4
push eax
push 0x4e0e7c
mov ecx, esi
call fcn.0042424f
mov byte [ebp - 4], 0x10
mov eax, dword [0x5193e4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.00468a50
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042a0bf
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push 0x4e28e8
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004ad820
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x47ece5
push ebx
push 4
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042a0bf
mov eax, dword [eax]
push 0x4f06d4
push eax
mov ebx, 3
call fcn.004ad820
add esp, 8
cmp eax, edi
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x47ece9
mov byte [ebp - 0xd], 0
test bl, 2
je 0x47ed13
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 0x47ed13
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 0x47ed3e
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 0x47ed3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x47ed84
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x47ed84
add eax, 0xa
push 0x5c
push eax
call fcn.004ae088
add esp, 8
cmp eax, edi
je 0x47ed84
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x47ed84
push edi
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.0042369e
push 0x4e0e7c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.00438c31
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004242c0
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 0x47edbe
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 0x47f91f
call fcn.0049eef3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47ede7
push 0x80004005
call fcn.00421000
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, 0x4de948
mov byte [ebp - 4], 0x12
test ecx, 0xffff0000
jne 0x47ee22
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a6e27
test eax, eax
je 0x47ee40
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423ccc
jmp 0x47ee3d
push 0x4de948
call fcn.004ad5da
add esp, 4
push eax
push 0x4de948
lea ecx, [ebp - 0x1c]
call fcn.0042424f
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x13
mov eax, dword [0x5193e0]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004237f6
mov edx, dword [0x5193e0]
mov eax, dword [eax]
push edx
push eax
call fcn.004ad328
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 0x47ee8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47eeea
mov ecx, dword [0x5193e0]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x47ef96
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47ef86
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47ef86
push eax
call fcn.004242c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47eedf
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 0x47ef93
mov ecx, dword [0x5193dc]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004237f6
mov ecx, dword [0x5193dc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ad328
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 0x47ef36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47ef96
mov ecx, dword [0x5193dc]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x47ef96
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47ef86
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47ef86
push eax
call fcn.004242c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47eedf
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 0x47ef93
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042424f
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x47f129
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e0e7c
call fcn.00423607
push ecx
mov byte [ebp - 4], 0x14
lea esi, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push esi
call fcn.004242c0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00468a50
add esp, 0xc
push 1
push 3
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042a0bf
mov eax, dword [eax]
push 0x4f06d4
push eax
call fcn.004ad820
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 0x47f020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f129
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x47f129
add eax, 8
push 0x5c
push eax
call fcn.004ae088
add esp, 8
test eax, eax
je 0x47f129
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x47f129
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.0042369e
push 0x4e0e7c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.00438c31
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004242c0
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 0x47f0a9
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 0x47f0cc
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 0x47f0ef
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 0x47f115
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 [0x5193d8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004237f6
mov ecx, dword [0x5193d8]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ad328
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 0x47f175
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f1fd
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e0e7c
call fcn.00423607
mov byte [ebp - 4], 0x15
mov eax, dword [0x5193d8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00468a50
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.004242c0
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 0x47ed9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47ed9b
mov ecx, dword [0x5193d4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004237f6
mov ecx, dword [0x5193d4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ad328
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 0x47f249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f2d1
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e0e7c
call fcn.00423607
mov byte [ebp - 4], 0x16
mov eax, dword [0x5193d4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00468a50
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.004242c0
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 0x47ed9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47ed9b
mov ecx, dword [0x5193d0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.004237f6
mov ecx, dword [0x5193d0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ad328
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 0x47f31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f3a5
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e0e7c
call fcn.00423607
mov byte [ebp - 4], 0x17
mov eax, dword [0x5193d0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00468a50
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.004242c0
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 0x47ed9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47ed9b
push 0x519050
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x519048]
mov ebx, dword [ecx]
mov edi, dword [0x519030]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov esi, dword [0x519048]
test edi, edi
je 0x47f3d6
cmp edi, dword [0x519030]
je 0x47f3db
call fcn.004ad751
cmp ebx, esi
je 0x47f4c5
test edi, edi
jne 0x47f456
call fcn.004ad751
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x47f3f8
call fcn.004ad751
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.004242c0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x28]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x18
call fcn.0047e250
test eax, eax
jne 0x47f45a
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x3c]
call fcn.0042a360
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
jmp 0x47f3c4
mov eax, dword [edi]
jmp 0x47f3ee
test edi, edi
jne 0x47f51d
call fcn.004ad751
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x47f473
call fcn.004ad751
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.00423d5a
test edi, edi
jne 0x47f524
call fcn.004ad751
cmp ebx, dword [edi + 0x18]
jne 0x47f496
call fcn.004ad751
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00423d5a
mov byte [ebp - 4], 0x13
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 0x47f4c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x519050
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x47f871
mov eax, dword [0x51904c]
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.00464a80
add esp, 0x10
call fcn.0047e1e0
add esp, 4
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47f52b
push 0x80004005
call fcn.00421000
mov eax, dword [edi]
jmp 0x47f469
mov edi, dword [edi]
jmp 0x47f48c
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], 0x19
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47f55e
push 0x80004005
call fcn.00421000
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], 0x1a
mov dword [ebp - 0x2c], edi
lea ecx, [edi + 0x41]
push ecx
lea edx, [ebp - 0x24]
push 0x4fc920
push edx
call fcn.00464a80
add esp, 0xc
mov bl, 0x1b
push 0x4de948
mov byte [ebp - 4], bl
call fcn.004ad5da
add esp, 4
push eax
push 0x4de948
lea ecx, [ebp - 0x14]
call fcn.0042424f
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 0x47f5d2
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004214fc
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.004ad5bb
add esp, 8
test eax, eax
jl 0x47fa27
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x47fa27
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x47f77f
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x47f77f
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push str._s___s_
push ecx
call fcn.00464a80
add esp, 0x10
mov byte [ebp - 4], 0x1c
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004249ab
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 0x47f673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4de948
lea ecx, [ebp - 0x28]
call fcn.00423607
mov byte [ebp - 4], 0x1d
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.004242c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0048f150
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
test eax, eax
je 0x47f72f
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.00464a80
add esp, 0x10
call fcn.0047e1e0
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x47f749
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x47f720
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47f720
push eax
call fcn.004242c0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x47f715
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 0x47f749
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042424f
jmp 0x47f749
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.00464a80
add esp, 0xc
call fcn.0047e1e0
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.0047e250
test eax, eax
jne 0x47f972
mov byte [ebp - 4], 0x1b
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 0x47f77f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1a
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 0x47f7a2
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 0x47f576
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.00464a80
add esp, 0xc
call fcn.0047e1e0
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x47f82e
push 0x519050
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x20]
push edx
push 0x519030
call fcn.0043d44f
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00423d5a
mov eax, dword [0x51904c]
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.00464a80
add esp, 0x14
call fcn.0047e1e0
add esp, 4
push 0x519050
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x19
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 0x47f851
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], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f871
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 0x47f8bb
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00468a50
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004242c0
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 0x47f8f5
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 0x47f918
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]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f938
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 0x47f95e
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.0042a7b7
push eax
lea ecx, [ebp - 0x20]
call fcn.00423d5a
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x47f9d8
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47f9cb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47f9cb
push eax
call fcn.004242c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47f9c3
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 0x47f9d8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042424f
mov byte [ebp - 4], 0x1b
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 0x47f9fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1a
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 0x47f7af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47f7af
push 0x80070057
call fcn.00421000
int3