Function at 0x47e0d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfc19
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4efc64]
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.0049673f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e11a
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.0049673f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e147
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 [0x4f4878], edi
jne 0x47e167
call fcn.0047fc70
test byte [0x4f4f0c], 1
jne 0x47e2ce
or dword [0x4f4f0c], 1
mov byte [ebp - 4], 3
call fcn.0049673f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47e199
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4f4f08], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x47e2a0
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
cmp ebx, edi
je 0x47e2bd
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 0x47e2bd
push esi
push eax
push ebx
call fcn.004216c8
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x47e2bd
mov edx, dword [0x4f4f08]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47e22f
push ebx
mov ecx, 0x4f4f08
call fcn.004214f2
mov edx, dword [0x4f4f08]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47e247
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47f958]
jmp dword [ecx*4 + 0x47f948]
call fcn.00496ca7
test ebx, ebx
jl 0x47e296
mov eax, dword [0x4f4f08]
cmp ebx, dword [eax - 8]
jg 0x47e296
mov dword [eax - 0xc], ebx
mov eax, dword [0x4f4f08]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47e2bd
push 0x80070057
call fcn.00421000
push str.DeviceLanmanRedirector_
call fcn.004a4d8a
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x4f4f08
call fcn.00423edb
push 0x4c5120
call fcn.004a5ca5
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4f4f0c], 2
jne 0x47e42f
or dword [0x4f4f0c], 2
mov byte [ebp - 4], 5
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47e300
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4f4f04], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x47e401
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47e41e
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 0x47e41e
push esi
push eax
push ebx
call fcn.004216c8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47e41e
mov edx, dword [0x4f4f04]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47e396
push ebx
mov ecx, 0x4f4f04
call fcn.004214f2
mov edx, dword [0x4f4f04]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47e3ae
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47f9bc]
jmp dword [ecx*4 + 0x47f9ac]
call fcn.00496cdf
test ebx, ebx
jl 0x47e296
mov eax, dword [0x4f4f04]
cmp ebx, dword [eax - 8]
jg 0x47e296
mov dword [eax - 0xc], ebx
mov eax, dword [0x4f4f04]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47e41e
push str.DeviceWinDfs_
call fcn.004a4d8a
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x4f4f04
call fcn.00423edb
push 0x4c50f0
call fcn.004a5ca5
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4f4f0c], 4
jne 0x47e58f
or dword [0x4f4f0c], 4
mov byte [ebp - 4], 7
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47e461
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4f4f00], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x47e561
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47e57e
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 0x47e57e
push esi
push eax
push ebx
call fcn.004216c8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47e57e
mov edx, dword [0x4f4f00]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47e4f7
push ebx
mov ecx, 0x4f4f00
call fcn.004214f2
mov edx, dword [0x4f4f00]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47e50f
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47fa20]
jmp dword [ecx*4 + 0x47fa10]
test ebx, ebx
jl 0x47e296
mov eax, dword [0x4f4f00]
cmp ebx, dword [eax - 8]
jg 0x47e296
mov dword [eax - 0xc], ebx
mov eax, dword [0x4f4f00]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47e57e
push str.DeviceMupDfsClient_
call fcn.004a4d8a
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x4f4f00
call fcn.00423edb
push 0x4c50c0
call fcn.004a5ca5
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4f4f0c], 8
jne 0x47e6ef
or dword [0x4f4f0c], 8
mov byte [ebp - 4], 9
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47e5c1
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4f4efc], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x47e6c1
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47e6de
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 0x47e6de
push esi
push eax
push ebx
call fcn.004216c8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47e6de
mov edx, dword [0x4f4efc]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47e657
push ebx
mov ecx, 0x4f4efc
call fcn.004214f2
mov edx, dword [0x4f4efc]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47e66f
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47fa84]
jmp dword [ecx*4 + 0x47fa74]
test ebx, ebx
jl 0x47e296
mov eax, dword [0x4f4efc]
cmp ebx, dword [eax - 8]
jg 0x47e296
mov dword [eax - 0xc], ebx
mov eax, dword [0x4f4efc]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47e6de
push str.DeviceMUP_
call fcn.004a4d8a
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x4f4efc
call fcn.00423edb
push 0x4c5090
call fcn.004a5ca5
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4f4f0c], 0x10
jne 0x47e84f
or dword [0x4f4f0c], 0x10
mov byte [ebp - 4], 0xb
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47e721
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4f4ef8], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x47e821
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47e83e
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 0x47e83e
push esi
push eax
push ebx
call fcn.004216c8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47e83e
mov edx, dword [0x4f4ef8]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47e7b7
push ebx
mov ecx, 0x4f4ef8
call fcn.004214f2
mov edx, dword [0x4f4ef8]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47e7cf
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47fae8]
jmp dword [ecx*4 + 0x47fad8]
test ebx, ebx
jl 0x47e296
mov eax, dword [0x4f4ef8]
cmp ebx, dword [eax - 8]
jg 0x47e296
mov dword [eax - 0xc], ebx
mov eax, dword [0x4f4ef8]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47e83e
push str.DeviceNetWareRedirector_
call fcn.004a4d8a
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x4f4ef8
call fcn.00423edb
push 0x4c5060
call fcn.004a5ca5
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x20
test byte [0x4f4f0c], al
jne 0x47e9b2
or dword [0x4f4f0c], eax
mov byte [ebp - 4], 0xd
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47e884
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4f4ef4], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x47e984
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47e9a1
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 0x47e9a1
push esi
push eax
push ebx
call fcn.004216c8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47e9a1
mov edx, dword [0x4f4ef4]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47e91a
push ebx
mov ecx, 0x4f4ef4
call fcn.004214f2
mov edx, dword [0x4f4ef4]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47e932
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47fb4c]
jmp dword [ecx*4 + 0x47fb3c]
test ebx, ebx
jl 0x47e296
mov eax, dword [0x4f4ef4]
cmp ebx, dword [eax - 8]
jg 0x47e296
mov dword [eax - 0xc], ebx
mov eax, dword [0x4f4ef4]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47e9a1
push str.DeviceWebDavRedirector_
call fcn.004a4d8a
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x4f4ef4
call fcn.00423edb
push 0x4c5030
call fcn.004a5ca5
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [0x4f4f08]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423605
mov ecx, dword [0x4f4f08]
mov eax, dword [eax]
push ecx
push eax
call fcn.004a4b43
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 0x47e9fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47ecb6
push ecx
mov edi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x24], edi
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47ea29
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, 0x4d846c
mov byte [ebp - 4], 0xf
test ecx, 0xffff0000
jne 0x47eb1d
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47eb37
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 0x47eb37
push esi
push eax
push ebx
call fcn.004216c8
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47eb37
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 0x47eab2
push esi
mov ecx, edi
call fcn.004214f2
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47eacc
push ebx
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx edx, byte [eax + 0x47fbb0]
jmp dword [edx*4 + 0x47fba0]
test esi, esi
jl 0x47e296
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x47e296
mov edx, dword [ebp - 0x28]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x47eb37
push 0x4d846c
call fcn.004a4d8a
add esp, 4
push eax
push 0x4d846c
mov ecx, edi
call fcn.00423edb
mov byte [ebp - 4], 0x10
mov eax, dword [0x4f4f08]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f4c
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.004662b0
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00427bcb
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push 0x4ce700
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.004a4fd0
add esp, 8
test eax, eax
sete al
test al, al
je 0x47ebcd
push ebx
push 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00427bcb
mov eax, dword [eax]
push 0x4d6634
push eax
mov ebx, 3
call fcn.004a4fd0
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x47ebd1
mov byte [ebp - 0xd], 0
test bl, 2
je 0x47ebfb
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 0x47ebfb
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 0x47ec26
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 0x47ec26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x47ec6d
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x47ec6d
add eax, 0xa
push 0x5c
push eax
call fcn.004a55da
add esp, 8
test eax, eax
je 0x47ec6d
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x47ec6d
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004234ad
push 0x4d846c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.004303de
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f4c
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 0x47eca7
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 0x47f8f5
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47ecd0
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, 0x4cd12c
mov byte [ebp - 4], 0x12
test ecx, 0xffff0000
jne 0x47edb9
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x47edd4
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 0x47edd4
push esi
push eax
push ebx
call fcn.004216c8
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47edd4
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 0x47ed59
push esi
lea ecx, [ebp - 0x14]
call fcn.004214f2
movzx eax, word [ebx]
lea edi, [ebx + 2]
cmp eax, 0xffffffff
jne 0x47ed6e
push edi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x47eaf3.1
movzx ecx, byte [eax + 0x47fc14]
jmp dword [ecx*4 + 0x47fc04]
test esi, esi
jl 0x47e296
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax - 8]
jg 0x47e296
xor edx, edx
mov dword [eax - 0xc], esi
mov word [ebx + eax], dx
jmp 0x47edd4
push 0x4cd12c
call fcn.004a4d8a
add esp, 4
push eax
push 0x4cd12c
lea ecx, [ebp - 0x14]
call fcn.00423edb
mov byte [ebp - 4], 0x13
mov eax, dword [0x4f4f04]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00423605
mov edx, dword [0x4f4f04]
mov eax, dword [eax]
push edx
push eax
call fcn.004a4b43
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 0x47ee25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47ee31
mov ecx, dword [0x4f4f04]
jmp 0x47ee86
mov ecx, dword [0x4f4f00]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423605
mov ecx, dword [0x4f4f00]
mov eax, dword [eax]
push ecx
push eax
call fcn.004a4b43
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 0x47ee7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47eedb
mov ecx, dword [0x4f4f00]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea eax, [ecx - 0x10]
cmp eax, esi
je 0x47eedb
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x47eece
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47eece
push eax
call fcn.00423f4c
mov edi, eax
or eax, 0xffffffff
add esp, 4
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x47eec3
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 0x47eedb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423edb
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x47f055
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d846c
call fcn.00423416
mov byte [ebp - 4], 0x14
mov eax, dword [0x4f4f00]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f4c
add eax, 0x10
lea edx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], 0x13
call fcn.004662b0
add esp, 0xc
push 1
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00427bcb
mov eax, dword [eax]
push 0x4d6634
push eax
call fcn.004a4fd0
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 0x47ef6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f055
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x47f055
add eax, 8
push 0x5c
push eax
call fcn.004a55da
add esp, 8
test eax, eax
je 0x47f055
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, edi
je 0x47f055
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004234ad
push 0x4d846c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.004303de
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f4c
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 ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47eff9
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 0x47f01b
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 0x47f03d
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 0x47f928
mov ecx, dword [0x4f4efc]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423605
mov ecx, dword [0x4f4efc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004a4b43
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 0x47f0a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f181
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d846c
call fcn.00423416
mov byte [ebp - 4], 0x15
mov eax, dword [0x4f4efc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f4c
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.004662b0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00423f4c
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 0x47f121
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 0x47f143
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 0x47f03d
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 0x47f928
mov ecx, dword [0x4f4ef8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423605
mov ecx, dword [0x4f4ef8]
mov eax, dword [eax]
push ecx
push eax
call fcn.004a4b43
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 0x47f1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f2ad
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d846c
call fcn.00423416
mov byte [ebp - 4], 0x16
mov eax, dword [0x4f4ef8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f4c
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.004662b0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00423f4c
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 0x47f24d
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 0x47f26f
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 0x47f03d
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 0x47f928
mov ecx, dword [0x4f4ef4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423605
mov ecx, dword [0x4f4ef4]
mov eax, dword [eax]
push ecx
push eax
call fcn.004a4b43
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 0x47f2f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47f3c4
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d846c
call fcn.00423416
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4f4ef4
call fcn.00423401
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 0x13
call fcn.004662b0
mov esi, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.00423401
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 0x47f364
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 0x47f386
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 0x47f03d
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 0x47f928
push 0x4f4b8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4f4b84]
mov edx, dword [ecx]
mov eax, dword [0x4f4b6c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
mov esi, dword [0x4f4b84]
test eax, eax
je 0x47f3f4
cmp eax, dword [0x4f4b6c]
je 0x47f3f9
call fcn.004a4f01
cmp dword [ebp - 0x34], esi
je 0x47f49c
lea esi, [ebp - 0x38]
call fcn.00450d90
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00423f4c
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.0047da00
test eax, eax
jne 0x47f45d
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 0x47f450
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x38]
call fcn.0044d2d0
mov eax, dword [ebp - 0x38]
jmp 0x47f3e2
lea esi, [ebp - 0x38]
call fcn.00450d90
push eax
lea ecx, [ebp - 0x20]
call fcn.00423ab3
call fcn.00450d90
add eax, 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423ab3
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x47f49c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4f4b8c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x47f847
mov eax, dword [0x4f4b88]
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.00462050
add esp, 0x10
call fcn.0047d990
add esp, 4
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47f4f4
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.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47f527
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
lea esp, [esp]
lea ecx, [edi + 0x41]
push ecx
lea edx, [ebp - 0x24]
push 0x4dde50
push edx
call fcn.00462050
add esp, 0xc
mov bl, 0x1b
push 0x4cd12c
mov byte [ebp - 4], bl
call fcn.004a4d8a
add esp, 4
push eax
push 0x4cd12c
lea ecx, [ebp - 0x18]
call fcn.00423edb
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 0x47f59c
push 0x104
lea ecx, [ebp - 0x18]
call fcn.004214f2
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.004a4d6b
add esp, 8
test eax, eax
jl 0x47e296
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx - 8]
jg 0x47e296
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x47f6f3
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ecx
je 0x47f6f3
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
push str._s___s_
push ecx
call fcn.00462050
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.00424476
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 0x47f63d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4cd12c
lea ecx, [ebp - 0x28]
call fcn.00423416
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.00423f4c
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004910b0
add esp, 4
push ecx
test eax, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], esp
je 0x47f6a8
mov edx, dword [ebp - 0x28]
mov ecx, esp
push edx
push eax
push str.DeviceToDosName:_Resolved_symbolic_link__s___s
push ecx
call fcn.00462050
add esp, 0x10
call fcn.0047d990
add esp, 4
mov ecx, ebx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00423ab3
jmp 0x47f6c1
mov edx, esp
push eax
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push edx
call fcn.00462050
add esp, 0xc
call fcn.0047d990
add esp, 4
lea esi, [ebp - 0x18]
lea eax, [ebp + 0xc]
call fcn.0047da00
test eax, eax
jne 0x47f722
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 0x47f6f3
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 0x47f716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0x19
jle 0x47f540
jmp 0x47f785
lea ebx, [ebp - 0x18]
call fcn.0043fa40
push eax
lea ecx, [ebp - 0x20]
call fcn.00423ab3
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00423ab3
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 0x47f762
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 0x47f785
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.00462050
add esp, 0xc
call fcn.0047d990
mov edi, dword [ebp - 0x1c]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x47f804
push 0x4f4b8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4f4b6c
lea ecx, [ebp - 0x20]
call fcn.00450b00
lea edx, [ebp - 0x1c]
push edx
mov ecx, eax
call fcn.00423ab3
mov edx, dword [ebp - 0x20]
push ecx
mov ecx, dword [0x4f4b88]
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.00462050
add esp, 0x14
call fcn.0047d990
add esp, 4
push 0x4f4b8c
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 0x47f827
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 0x47f847
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 0x47f891
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x34], esp
mov esi, esp
push eax
call fcn.00423f4c
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.00423f4c
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.004662b0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f4c
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 0x47f8cb
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 0x47f8ee
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 0x47f90e
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 0x47f934
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