Function at 0x4832e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cce59
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x504c94]
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.0049d1fb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48332a
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 - 0x1c], eax
mov byte [ebp - 4], 1
call fcn.0049d1fb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483357
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 [0x509eac], edi
jne 0x483377
call fcn.00484e90
test byte [0x50a5f0], 1
jne 0x4834de
or dword [0x50a5f0], 1
mov byte [ebp - 4], 3
call fcn.0049d1fb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4833a9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x50a5ec], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x4834b0
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
cmp ebx, edi
je 0x4834cd
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4834cd
push esi
push eax
push ebx
call fcn.004216fe
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4834cd
mov edx, dword [0x50a5ec]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x48343f
push ebx
mov ecx, 0x50a5ec
call fcn.0042151d
mov edx, dword [0x50a5ec]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x483457
push esi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484b78]
jmp dword [ecx*4 + 0x484b68]
call fcn.0049d763
test ebx, ebx
jl 0x4834a6
mov eax, dword [0x50a5ec]
cmp ebx, dword [eax - 8]
jg 0x4834a6
mov dword [eax - 0xc], ebx
mov eax, dword [0x50a5ec]
xor edx, edx
mov word [edi + eax], dx
jmp 0x4834cd
push 0x80070057
call fcn.00421000
push str.DeviceLanmanRedirector_
call fcn.004ab8ea
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x50a5ec
call fcn.00423f13
push 0x4d3bc0
call fcn.004ae508
add esp, 4
mov byte [ebp - 4], 2
test byte [0x50a5f0], 2
jne 0x48363f
or dword [0x50a5f0], 2
mov byte [ebp - 4], 5
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483510
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x50a5e8], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x483611
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x48362e
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48362e
push esi
push eax
push ebx
call fcn.004216fe
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48362e
mov edx, dword [0x50a5e8]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x4835a6
push ebx
mov ecx, 0x50a5e8
call fcn.0042151d
mov edx, dword [0x50a5e8]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x4835be
push esi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484bdc]
jmp dword [ecx*4 + 0x484bcc]
call fcn.0049d79b
test ebx, ebx
jl 0x4834a6
mov eax, dword [0x50a5e8]
cmp ebx, dword [eax - 8]
jg 0x4834a6
mov dword [eax - 0xc], ebx
mov eax, dword [0x50a5e8]
xor edx, edx
mov word [edi + eax], dx
jmp 0x48362e
push str.DeviceWinDfs_
call fcn.004ab8ea
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x50a5e8
call fcn.00423f13
push 0x4d3b90
call fcn.004ae508
add esp, 4
mov byte [ebp - 4], 2
test byte [0x50a5f0], 4
jne 0x48379f
or dword [0x50a5f0], 4
mov byte [ebp - 4], 7
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483671
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x50a5e4], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x483771
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x48378e
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48378e
push esi
push eax
push ebx
call fcn.004216fe
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48378e
mov edx, dword [0x50a5e4]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x483707
push ebx
mov ecx, 0x50a5e4
call fcn.0042151d
mov edx, dword [0x50a5e4]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x48371f
push esi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484c40]
jmp dword [ecx*4 + 0x484c30]
test ebx, ebx
jl 0x4834a6
mov eax, dword [0x50a5e4]
cmp ebx, dword [eax - 8]
jg 0x4834a6
mov dword [eax - 0xc], ebx
mov eax, dword [0x50a5e4]
xor edx, edx
mov word [edi + eax], dx
jmp 0x48378e
push str.DeviceMupDfsClient_
call fcn.004ab8ea
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x50a5e4
call fcn.00423f13
push 0x4d3b60
call fcn.004ae508
add esp, 4
mov byte [ebp - 4], 2
test byte [0x50a5f0], 8
jne 0x4838ff
or dword [0x50a5f0], 8
mov byte [ebp - 4], 9
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4837d1
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x50a5e0], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x4838d1
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x4838ee
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4838ee
push esi
push eax
push ebx
call fcn.004216fe
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4838ee
mov edx, dword [0x50a5e0]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x483867
push ebx
mov ecx, 0x50a5e0
call fcn.0042151d
mov edx, dword [0x50a5e0]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x48387f
push esi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484ca4]
jmp dword [ecx*4 + 0x484c94]
test ebx, ebx
jl 0x4834a6
mov eax, dword [0x50a5e0]
cmp ebx, dword [eax - 8]
jg 0x4834a6
mov dword [eax - 0xc], ebx
mov eax, dword [0x50a5e0]
xor edx, edx
mov word [edi + eax], dx
jmp 0x4838ee
push str.DeviceMUP_
call fcn.004ab8ea
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x50a5e0
call fcn.00423f13
push 0x4d3b30
call fcn.004ae508
add esp, 4
mov byte [ebp - 4], 2
test byte [0x50a5f0], 0x10
jne 0x483a5f
or dword [0x50a5f0], 0x10
mov byte [ebp - 4], 0xb
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483931
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x50a5dc], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x483a31
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x483a4e
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x483a4e
push esi
push eax
push ebx
call fcn.004216fe
mov esi, eax
add esp, 0xc
test esi, esi
je 0x483a4e
mov edx, dword [0x50a5dc]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x4839c7
push ebx
mov ecx, 0x50a5dc
call fcn.0042151d
mov edx, dword [0x50a5dc]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x4839df
push esi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484d08]
jmp dword [ecx*4 + 0x484cf8]
test ebx, ebx
jl 0x4834a6
mov eax, dword [0x50a5dc]
cmp ebx, dword [eax - 8]
jg 0x4834a6
mov dword [eax - 0xc], ebx
mov eax, dword [0x50a5dc]
xor edx, edx
mov word [edi + eax], dx
jmp 0x483a4e
push str.DeviceNetWareRedirector_
call fcn.004ab8ea
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x50a5dc
call fcn.00423f13
push 0x4d3b00
call fcn.004ae508
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x20
test byte [0x50a5f0], al
jne 0x483bc2
or dword [0x50a5f0], eax
mov byte [ebp - 4], 0xd
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483a94
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x50a5d8], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x483b94
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x483bb1
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x483bb1
push esi
push eax
push ebx
call fcn.004216fe
mov esi, eax
add esp, 0xc
test esi, esi
je 0x483bb1
mov edx, dword [0x50a5d8]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x483b2a
push ebx
mov ecx, 0x50a5d8
call fcn.0042151d
mov edx, dword [0x50a5d8]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x483b42
push esi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
push edx
push esi
lea edi, [ebx + ebx]
push edi
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484d6c]
jmp dword [ecx*4 + 0x484d5c]
test ebx, ebx
jl 0x4834a6
mov eax, dword [0x50a5d8]
cmp ebx, dword [eax - 8]
jg 0x4834a6
mov dword [eax - 0xc], ebx
mov eax, dword [0x50a5d8]
xor edx, edx
mov word [edi + eax], dx
jmp 0x483bb1
push str.DeviceWebDavRedirector_
call fcn.004ab8ea
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x50a5d8
call fcn.00423f13
push 0x4d3ad0
call fcn.004ae508
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [0x50a5ec]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042360e
mov ecx, dword [0x50a5ec]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab635
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483c0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x483ec6
push ecx
mov edi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x24], edi
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483c39
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, 0x4dd62c
mov byte [ebp - 4], 0xf
test ecx, 0xffff0000
jne 0x483d2d
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x483d47
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x483d47
push esi
push eax
push ebx
call fcn.004216fe
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x483d47
mov eax, dword [edi]
movzx esi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x483cc2
push esi
mov ecx, edi
call fcn.0042151d
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x483cdc
push ebx
call fcn.004ab8ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push ebx
push ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx edx, byte [eax + 0x484dd0]
jmp dword [edx*4 + 0x484dc0]
test esi, esi
jl 0x4834a6
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4834a6
mov edx, dword [ebp - 0x28]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x483d47
push 0x4dd62c
call fcn.004ab8ea
add esp, 4
push eax
push 0x4dd62c
mov ecx, edi
call fcn.00423f13
mov byte [ebp - 4], 0x10
mov eax, dword [0x50a5ec]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.0046abc0
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00428c89
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push 0x4de1d0
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004abb30
add esp, 8
test eax, eax
sete al
test al, al
je 0x483ddd
push ebx
push 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00428c89
mov eax, dword [eax]
push 0x4e82c4
push eax
mov ebx, 3
call fcn.004abb30
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x483de1
mov byte [ebp - 0xd], 0
test bl, 2
je 0x483e0b
mov eax, dword [ebp - 0x2c]
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 0x483e0b
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 0x483e36
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 0x483e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x483e7d
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x483e7d
add eax, 0xa
push 0x5c
push eax
call fcn.004ac398
add esp, 8
test eax, eax
je 0x483e7d
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x483e7d
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004234b6
push 0x4dd62c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043297b
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f84
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483eb7
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 - 0x1c]
add eax, 0xfffffff0
jmp 0x484b15
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483ee0
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
mov ecx, 0x4d9c38
mov byte [ebp - 4], 0x12
test ecx, 0xffff0000
jne 0x483fc9
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x483fe4
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x483fe4
push esi
push eax
push ebx
call fcn.004216fe
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x483fe4
mov eax, dword [ebp - 0x14]
movzx esi, word [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x483f69
push esi
lea ecx, [ebp - 0x14]
call fcn.0042151d
movzx eax, word [ebx]
lea edi, [ebx + 2]
cmp eax, 0xffffffff
jne 0x483f7e
push edi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x14]
push edx
push edi
lea ebx, [esi + esi]
push ebx
push eax
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x483d03.1
movzx ecx, byte [eax + 0x484e34]
jmp dword [ecx*4 + 0x484e24]
test esi, esi
jl 0x4834a6
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax - 8]
jg 0x4834a6
xor edx, edx
mov dword [eax - 0xc], esi
mov word [ebx + eax], dx
jmp 0x483fe4
push 0x4d9c38
call fcn.004ab8ea
add esp, 4
push eax
push 0x4d9c38
lea ecx, [ebp - 0x14]
call fcn.00423f13
mov byte [ebp - 4], 0x13
mov eax, dword [0x50a5e8]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042360e
mov edx, dword [0x50a5e8]
mov eax, dword [eax]
push edx
push eax
call fcn.004ab635
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484035
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x484041
mov ecx, dword [0x50a5e8]
jmp 0x484096
mov ecx, dword [0x50a5e4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042360e
mov ecx, dword [0x50a5e4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab635
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48408c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4840eb
mov ecx, dword [0x50a5e4]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea eax, [ecx - 0x10]
cmp eax, esi
je 0x4840eb
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4840de
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4840de
push eax
call fcn.00423f84
mov edi, eax
or eax, 0xffffffff
add esp, 4
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4840d3
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
or edi, 0xffffffff
jmp 0x4840eb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423f13
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x484278
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4dd62c
call fcn.0042341f
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x14]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov ebx, esp
push esi
call fcn.00423f84
add eax, 0x10
lea edx, [ebp + 0xc]
add esp, 4
mov dword [ebx], eax
push edx
mov byte [ebp - 4], 0x13
call fcn.0046abc0
add esp, 0xc
push 1
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00428c89
mov eax, dword [eax]
push 0x4e82c4
push eax
call fcn.004abb30
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48417a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x484278
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x484278
add eax, 8
push 0x5c
push eax
call fcn.004ac398
add esp, 8
test eax, eax
je 0x484278
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, edi
je 0x484278
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004234b6
push 0x4dd62c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.0043297b
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f84
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484201
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]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484223
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x484264
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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 [0x50a5e0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042360e
mov ecx, dword [0x50a5e0]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab635
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4842c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4843a0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4dd62c
call fcn.0042341f
mov byte [ebp - 4], 0x15
mov eax, dword [0x50a5e0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046abc0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00423f84
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484344
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]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484366
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x484b48
mov ecx, dword [0x50a5dc]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042360e
mov ecx, dword [0x50a5dc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab635
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4843eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4844cc
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4dd62c
call fcn.0042341f
mov byte [ebp - 4], 0x16
mov eax, dword [0x50a5dc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046abc0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00423f84
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48446c
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]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48448e
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x484b48
mov ecx, dword [0x50a5d8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.0042360e
mov ecx, dword [0x50a5d8]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab635
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484517
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4845e3
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4dd62c
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x50a5d8
call fcn.0042340a
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046abc0
mov esi, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.0042340a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484583
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]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4845a5
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x484b48
push 0x50a254
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x50a24c]
mov edx, dword [ecx]
mov eax, dword [0x50a234]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
mov esi, dword [0x50a24c]
test eax, eax
je 0x484613
cmp eax, dword [0x50a234]
je 0x484618
call fcn.004aba61
cmp dword [ebp - 0x34], esi
je 0x4846bb
lea esi, [ebp - 0x38]
call fcn.004554d0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00423f84
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x2c], ebx
lea esi, [ebp - 0x2c]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x18
call fcn.00482c10
test eax, eax
jne 0x48467c
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48466f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x38]
call fcn.0044e550
mov eax, dword [ebp - 0x38]
jmp 0x484601
lea esi, [ebp - 0x38]
call fcn.004554d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00423aeb
call fcn.004554d0
add eax, 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423aeb
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4846bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x50a254
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x484a67
mov eax, dword [0x50a250]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, esp
mov dword [ebp - 0x30], esp
push eax
push ecx
push str.DeviceToDosName:__s_not_found_in_cache__d_._Querying_name.
push edx
call fcn.00466a00
add esp, 0x10
call fcn.00482ba0
add esp, 4
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x484713
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 - 0x2c], eax
mov byte [ebp - 4], 0x19
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x484746
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], 0x1a
xor edi, edi
jmp 0x484760
lea ecx, [edi + 0x41]
push ecx
lea edx, [ebp - 0x24]
push 0x4f15e0
push edx
call fcn.00466a00
add esp, 0xc
mov bl, 0x1b
push 0x4d9c38
mov byte [ebp - 4], bl
call fcn.004ab8ea
add esp, 4
push eax
push 0x4d9c38
lea ecx, [ebp - 0x18]
call fcn.00423f13
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4847bc
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0042151d
mov edx, dword [ebp - 0x18]
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 - 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ab8cb
add esp, 8
test eax, eax
jl 0x4834a6
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx - 8]
jg 0x4834a6
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x484913
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ecx
je 0x484913
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
push str._s___s_
push ecx
call fcn.00466a00
add esp, 0x10
mov byte [ebp - 4], 0x1c
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00424437
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48485d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4d9c38
lea ecx, [ebp - 0x28]
call fcn.0042341f
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x34], esp
mov esi, esp
push eax
lea ebx, [ebp - 0x28]
call fcn.00423f84
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004953a0
add esp, 4
push ecx
test eax, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], esp
je 0x4848c8
mov edx, dword [ebp - 0x28]
mov ecx, esp
push edx
push eax
push str.DeviceToDosName:_Resolved_symbolic_link__s___s
push ecx
call fcn.00466a00
add esp, 0x10
call fcn.00482ba0
add esp, 4
mov ecx, ebx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00423aeb
jmp 0x4848e1
mov edx, esp
push eax
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push edx
call fcn.00466a00
add esp, 0xc
call fcn.00482ba0
add esp, 4
lea esi, [ebp - 0x18]
lea eax, [ebp + 0xc]
call fcn.00482c10
test eax, eax
jne 0x484942
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 0x484913
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 0x484936
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0x19
jle 0x484760
jmp 0x4849a5
lea edi, [ebp - 0x18]
call fcn.004366ea
push eax
lea ecx, [ebp - 0x20]
call fcn.00423aeb
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00423aeb
mov byte [ebp - 4], 0x1b
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 0x484982
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 0x4849a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x2c]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
push str.QueryDosDevice:__s
push ecx
call fcn.00466a00
add esp, 0xc
call fcn.00482ba0
mov edi, dword [ebp - 0x1c]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x484a24
push 0x50a254
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x50a234
lea ecx, [ebp - 0x20]
call fcn.00455240
lea edx, [ebp - 0x1c]
push edx
mov ecx, eax
call fcn.00423aeb
mov edx, dword [ebp - 0x20]
push ecx
mov ecx, dword [0x50a250]
mov eax, esp
mov dword [ebp - 0x34], esp
push ecx
push edi
push edx
push str.DeviceToDosName:_Adding_to_cache___s_s_._Cache_now_has__d_items.
push eax
call fcn.00466a00
add esp, 0x14
call fcn.00482ba0
add esp, 4
push 0x50a254
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x19
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 0x484a47
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 0x484a67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 0xc], 0
je 0x484ab1
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x34], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.0046abc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f84
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484aeb
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 0x484b0e
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 0x484b2e
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 0x484b54
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