Function at 0x483a90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3f09
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x518f10]
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.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483ada
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.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483b07
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 [0x51ec28], edi
jne 0x483b27
call fcn.00484da0
test byte [0x51f41c], 1
jne 0x483bc6
or dword [0x51f41c], 1
mov byte [ebp - 4], 3
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483b59
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x51f418], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x483b98
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
cmp eax, edi
je 0x483bb5
push esi
push eax
mov ecx, 0x51f418
call fcn.00424cac
jmp 0x483bb5
push str.DeviceLanmanRedirector_
call fcn.004b1cba
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x51f418
call fcn.0042522f
push 0x4db200
call fcn.004b48d8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x51f41c], 2
jne 0x483c65
or dword [0x51f41c], 2
mov byte [ebp - 4], 5
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483bf8
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x51f414], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x483c37
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
cmp eax, edi
je 0x483c54
push esi
push eax
mov ecx, 0x51f414
call fcn.00424cac
jmp 0x483c54
push str.DeviceWinDfs_
call fcn.004b1cba
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x51f414
call fcn.0042522f
push 0x4db1d0
call fcn.004b48d8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x51f41c], 4
mov ebx, 8
jne 0x483d08
or dword [0x51f41c], 4
mov byte [ebp - 4], 7
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483c9c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x51f410], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], bl
test ecx, 0xffff0000
jne 0x483cda
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
cmp eax, edi
je 0x483cf7
push esi
push eax
mov ecx, 0x51f410
call fcn.00424cac
jmp 0x483cf7
push str.DeviceMupDfsClient_
call fcn.004b1cba
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x51f410
call fcn.0042522f
push 0x4db1a0
call fcn.004b48d8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x51f41c], bl
jne 0x483da5
or dword [0x51f41c], ebx
mov byte [ebp - 4], 9
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483d38
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x51f40c], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x483d77
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
cmp eax, edi
je 0x483d94
push esi
push eax
mov ecx, 0x51f40c
call fcn.00424cac
jmp 0x483d94
push str.DeviceMUP_
call fcn.004b1cba
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x51f40c
call fcn.0042522f
push 0x4db170
call fcn.004b48d8
add esp, 4
mov byte [ebp - 4], 2
test byte [0x51f41c], 0x10
jne 0x483e44
or dword [0x51f41c], 0x10
mov byte [ebp - 4], 0xb
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483dd7
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x51f408], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x483e16
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
cmp eax, edi
je 0x483e33
push esi
push eax
mov ecx, 0x51f408
call fcn.00424cac
jmp 0x483e33
push str.DeviceNetWareRedirector_
call fcn.004b1cba
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x51f408
call fcn.0042522f
push 0x4db140
call fcn.004b48d8
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x20
test byte [0x51f41c], al
jne 0x483ee6
or dword [0x51f41c], eax
mov byte [ebp - 4], 0xd
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483e79
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x51f404], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x483eb8
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
cmp eax, edi
je 0x483ed5
push esi
push eax
mov ecx, 0x51f404
call fcn.00424cac
jmp 0x483ed5
push str.DeviceWebDavRedirector_
call fcn.004b1cba
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x51f404
call fcn.0042522f
push 0x4db110
call fcn.004b48d8
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x51f418]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042481b
mov edx, dword [0x51f418]
mov eax, dword [eax]
push edx
push eax
call fcn.004b19fe
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 0x483f31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48412d
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483f5c
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, 0x4e5ed4
mov byte [ebp - 4], 0xf
test ecx, 0xffff0000
jne 0x483f95
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004ab4f3
cmp eax, edi
je 0x483faf
push ebx
push eax
mov ecx, esi
call fcn.00424cac
jmp 0x483faf
push 0x4e5ed4
call fcn.004b1cba
add esp, 4
push eax
push 0x4e5ed4
mov ecx, esi
call fcn.0042522f
mov byte [ebp - 4], 0x10
mov eax, dword [0x51f418]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004252a0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046ab90
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042b19a
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push 0x4e7908
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004b1f00
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x484045
push ebx
push 4
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b19a
mov eax, dword [eax]
push 0x4f5aec
push eax
mov ebx, 3
call fcn.004b1f00
add esp, 8
cmp eax, edi
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x484049
mov byte [ebp - 0xd], 0
test bl, 2
je 0x484073
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 0x484073
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 0x48409e
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 0x48409e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x4840e4
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x4840e4
add eax, 0xa
push 0x5c
push eax
call fcn.004b2768
add esp, 8
cmp eax, edi
je 0x4840e4
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x4840e4
push edi
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004246c3
push 0x4e5ed4
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043a4ed
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004252a0
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 0x48411e
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 0x484c7f
call fcn.004a35be
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x484147
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, 0x4e3948
mov byte [ebp - 4], 0x12
test ecx, 0xffff0000
jne 0x484182
mov edx, ecx
movzx esi, dx
push esi
call fcn.004ab4f3
test eax, eax
je 0x4841a0
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424cac
jmp 0x48419d
push 0x4e3948
call fcn.004b1cba
add esp, 4
push eax
push 0x4e3948
lea ecx, [ebp - 0x1c]
call fcn.0042522f
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x13
mov eax, dword [0x51f414]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042481b
mov edx, dword [0x51f414]
mov eax, dword [eax]
push edx
push eax
call fcn.004b19fe
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 0x4841ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48424a
mov ecx, dword [0x51f414]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4842f6
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4842e6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4842e6
push eax
call fcn.004252a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48423f
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 0x4842f3
mov ecx, dword [0x51f410]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042481b
mov ecx, dword [0x51f410]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b19fe
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 0x484296
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4842f6
mov ecx, dword [0x51f410]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4842f6
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4842e6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4842e6
push eax
call fcn.004252a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48423f
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 0x4842f3
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042522f
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x484489
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e5ed4
call fcn.0042462c
push ecx
mov byte [ebp - 4], 0x14
lea esi, [edi - 0x10]
mov dword [ebp - 0x30], esp
mov ebx, esp
push esi
call fcn.004252a0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046ab90
add esp, 0xc
push 1
push 3
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042b19a
mov eax, dword [eax]
push 0x4f5aec
push eax
call fcn.004b1f00
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 0x484380
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x484489
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x484489
add eax, 8
push 0x5c
push eax
call fcn.004b2768
add esp, 8
test eax, eax
je 0x484489
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x484489
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004246c3
push 0x4e5ed4
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043a4ed
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004252a0
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 0x484409
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 0x48442c
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 0x48444f
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 0x484475
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 [0x51f40c]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042481b
mov ecx, dword [0x51f40c]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b19fe
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 0x4844d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48455d
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e5ed4
call fcn.0042462c
mov byte [ebp - 4], 0x15
mov eax, dword [0x51f40c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004252a0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046ab90
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.004252a0
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 0x4840fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4840fb
mov ecx, dword [0x51f408]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042481b
mov ecx, dword [0x51f408]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b19fe
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 0x4845a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x484631
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e5ed4
call fcn.0042462c
mov byte [ebp - 4], 0x16
mov eax, dword [0x51f408]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004252a0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046ab90
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.004252a0
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 0x4840fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4840fb
mov ecx, dword [0x51f404]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042481b
mov ecx, dword [0x51f404]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b19fe
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 0x48467d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x484705
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e5ed4
call fcn.0042462c
mov byte [ebp - 4], 0x17
mov eax, dword [0x51f404]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004252a0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046ab90
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.004252a0
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 0x4840fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4840fb
push 0x51f05c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x51f054]
mov ebx, dword [ecx]
mov edi, dword [0x51f03c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov esi, dword [0x51f054]
test edi, edi
je 0x484736
cmp edi, dword [0x51f03c]
je 0x48473b
call fcn.004b1e31
cmp ebx, esi
je 0x484825
test edi, edi
jne 0x4847b6
call fcn.004b1e31
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x484758
call fcn.004b1e31
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.004252a0
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.004835b0
test eax, eax
jne 0x4847ba
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 0x4847a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x3c]
call fcn.0042e04d
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
jmp 0x484724
mov eax, dword [edi]
jmp 0x48474e
test edi, edi
jne 0x48487d
call fcn.004b1e31
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4847d3
call fcn.004b1e31
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.00424d3a
test edi, edi
jne 0x484884
call fcn.004b1e31
cmp ebx, dword [edi + 0x18]
jne 0x4847f6
call fcn.004b1e31
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00424d3a
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 0x484825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x51f05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jne 0x484bd1
mov eax, dword [0x51f058]
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.00466ad0
add esp, 0x10
call fcn.00483540
add esp, 4
call fcn.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48488b
push 0x80004005
call fcn.00422000
mov eax, dword [edi]
jmp 0x4847c9
mov edi, dword [edi]
jmp 0x4847ec
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.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4848be
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], 0x1a
mov dword [ebp - 0x2c], edi
lea ecx, [edi + 0x41]
push ecx
lea edx, [ebp - 0x24]
push 0x501fd8
push edx
call fcn.00466ad0
add esp, 0xc
mov bl, 0x1b
push 0x4e3948
mov byte [ebp - 4], bl
call fcn.004b1cba
add esp, 4
push eax
push 0x4e3948
lea ecx, [ebp - 0x14]
call fcn.0042522f
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 0x484932
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0042251d
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.004b1c9b
add esp, 8
test eax, eax
jl 0x484d87
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x484d87
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x484adf
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
je 0x484adf
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push str._s___s_
push ecx
call fcn.00466ad0
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.0042596c
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 0x4849d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4e3948
lea ecx, [ebp - 0x28]
call fcn.0042462c
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.004252a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00493820
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
test eax, eax
je 0x484a8f
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.00466ad0
add esp, 0x10
call fcn.00483540
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp eax, esi
je 0x484aa9
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x484a80
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x484a80
push eax
call fcn.004252a0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x484a75
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 0x484aa9
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042522f
jmp 0x484aa9
mov edx, dword [ebp - 0x14]
push edx
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push ecx
call fcn.00466ad0
add esp, 0xc
call fcn.00483540
add esp, 4
lea esi, [ebp - 0x14]
lea eax, [ebp + 0xc]
call fcn.004835b0
test eax, eax
jne 0x484cd2
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 0x484adf
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 0x484b02
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 0x4848d6
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.00466ad0
add esp, 0xc
call fcn.00483540
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x484b8e
push 0x51f05c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x20]
push edx
push 0x51f03c
call fcn.0043ed7f
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00424d3a
mov eax, dword [0x51f058]
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.00466ad0
add esp, 0x14
call fcn.00483540
add esp, 4
push 0x51f05c
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 0x484bb1
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 0x484bd1
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 0x484c1b
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.004252a0
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.004252a0
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046ab90
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004252a0
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 0x484c55
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 0x484c78
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 0x484c98
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 0x484cbe
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.0042bb81
push eax
lea ecx, [ebp - 0x20]
call fcn.00424d3a
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x484d38
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x484d2b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x484d2b
push eax
call fcn.004252a0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x484d23
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 0x484d38
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042522f
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 0x484d5b
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 0x484b0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x484b0f
push 0x80070057
call fcn.00422000
int3