Function at 0x47c7f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8409
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4e5c64]
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.0048f565
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47c83a
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.0048f565
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47c867
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 [0x4ea754], edi
jne 0x47c887
call fcn.0047e390
test byte [0x4eade4], 1
jne 0x47c9ee
or dword [0x4eade4], 1
mov byte [ebp - 4], 3
call fcn.0048f565
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47c8b9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4eade0], eax
mov ecx, str.DeviceLanmanRedirector_
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x47c9c0
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
cmp ebx, edi
je 0x47c9dd
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 0x47c9dd
push esi
push eax
push ebx
call fcn.00421708
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x47c9dd
mov edx, dword [0x4eade0]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47c94f
push ebx
mov ecx, 0x4eade0
call fcn.00421527
mov edx, dword [0x4eade0]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47c967
push esi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e078]
jmp dword [ecx*4 + 0x47e068]
call fcn.0048facd
test ebx, ebx
jl 0x47c9b6
mov eax, dword [0x4eade0]
cmp ebx, dword [eax - 8]
jg 0x47c9b6
mov dword [eax - 0xc], ebx
mov eax, dword [0x4eade0]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47c9dd
push 0x80070057
call fcn.00421000
push str.DeviceLanmanRedirector_
call fcn.0049db0a
add esp, 4
push eax
push str.DeviceLanmanRedirector_
mov ecx, 0x4eade0
call fcn.00423f19
push 0x4bd810
call fcn.0049ea25
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4eade4], 2
jne 0x47cb4f
or dword [0x4eade4], 2
mov byte [ebp - 4], 5
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47ca20
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4eaddc], eax
mov ecx, str.DeviceWinDfs_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x47cb21
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47cb3e
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 0x47cb3e
push esi
push eax
push ebx
call fcn.00421708
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47cb3e
mov edx, dword [0x4eaddc]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47cab6
push ebx
mov ecx, 0x4eaddc
call fcn.00421527
mov edx, dword [0x4eaddc]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47cace
push esi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e0dc]
jmp dword [ecx*4 + 0x47e0cc]
call fcn.0048fb05
test ebx, ebx
jl 0x47c9b6
mov eax, dword [0x4eaddc]
cmp ebx, dword [eax - 8]
jg 0x47c9b6
mov dword [eax - 0xc], ebx
mov eax, dword [0x4eaddc]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47cb3e
push str.DeviceWinDfs_
call fcn.0049db0a
add esp, 4
push eax
push str.DeviceWinDfs_
mov ecx, 0x4eaddc
call fcn.00423f19
push 0x4bd7e0
call fcn.0049ea25
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4eade4], 4
jne 0x47ccaf
or dword [0x4eade4], 4
mov byte [ebp - 4], 7
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47cb81
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4eadd8], eax
mov ecx, str.DeviceMupDfsClient_
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x47cc81
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47cc9e
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 0x47cc9e
push esi
push eax
push ebx
call fcn.00421708
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47cc9e
mov edx, dword [0x4eadd8]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47cc17
push ebx
mov ecx, 0x4eadd8
call fcn.00421527
mov edx, dword [0x4eadd8]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47cc2f
push esi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e140]
jmp dword [ecx*4 + 0x47e130]
test ebx, ebx
jl 0x47c9b6
mov eax, dword [0x4eadd8]
cmp ebx, dword [eax - 8]
jg 0x47c9b6
mov dword [eax - 0xc], ebx
mov eax, dword [0x4eadd8]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47cc9e
push str.DeviceMupDfsClient_
call fcn.0049db0a
add esp, 4
push eax
push str.DeviceMupDfsClient_
mov ecx, 0x4eadd8
call fcn.00423f19
push 0x4bd7b0
call fcn.0049ea25
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4eade4], 8
jne 0x47ce0f
or dword [0x4eade4], 8
mov byte [ebp - 4], 9
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47cce1
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4eadd4], eax
mov ecx, str.DeviceMUP_
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x47cde1
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47cdfe
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 0x47cdfe
push esi
push eax
push ebx
call fcn.00421708
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47cdfe
mov edx, dword [0x4eadd4]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47cd77
push ebx
mov ecx, 0x4eadd4
call fcn.00421527
mov edx, dword [0x4eadd4]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47cd8f
push esi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e1a4]
jmp dword [ecx*4 + 0x47e194]
test ebx, ebx
jl 0x47c9b6
mov eax, dword [0x4eadd4]
cmp ebx, dword [eax - 8]
jg 0x47c9b6
mov dword [eax - 0xc], ebx
mov eax, dword [0x4eadd4]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47cdfe
push str.DeviceMUP_
call fcn.0049db0a
add esp, 4
push eax
push str.DeviceMUP_
mov ecx, 0x4eadd4
call fcn.00423f19
push 0x4bd780
call fcn.0049ea25
add esp, 4
mov byte [ebp - 4], 2
test byte [0x4eade4], 0x10
jne 0x47cf6f
or dword [0x4eade4], 0x10
mov byte [ebp - 4], 0xb
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47ce41
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4eadd0], eax
mov ecx, str.DeviceNetWareRedirector_
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x47cf41
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47cf5e
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 0x47cf5e
push esi
push eax
push ebx
call fcn.00421708
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47cf5e
mov edx, dword [0x4eadd0]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47ced7
push ebx
mov ecx, 0x4eadd0
call fcn.00421527
mov edx, dword [0x4eadd0]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47ceef
push esi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e208]
jmp dword [ecx*4 + 0x47e1f8]
test ebx, ebx
jl 0x47c9b6
mov eax, dword [0x4eadd0]
cmp ebx, dword [eax - 8]
jg 0x47c9b6
mov dword [eax - 0xc], ebx
mov eax, dword [0x4eadd0]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47cf5e
push str.DeviceNetWareRedirector_
call fcn.0049db0a
add esp, 4
push eax
push str.DeviceNetWareRedirector_
mov ecx, 0x4eadd0
call fcn.00423f19
push 0x4bd750
call fcn.0049ea25
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x20
test byte [0x4eade4], al
jne 0x47d0d2
or dword [0x4eade4], eax
mov byte [ebp - 4], 0xd
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47cfa4
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [0x4eadcc], eax
mov ecx, str.DeviceWebDavRedirector_
mov byte [ebp - 4], 0xe
test ecx, 0xffff0000
jne 0x47d0a4
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47d0c1
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 0x47d0c1
push esi
push eax
push ebx
call fcn.00421708
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47d0c1
mov edx, dword [0x4eadcc]
movzx ebx, word [esi]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x47d03a
push ebx
mov ecx, 0x4eadcc
call fcn.00421527
mov edx, dword [0x4eadcc]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47d052
push esi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e26c]
jmp dword [ecx*4 + 0x47e25c]
test ebx, ebx
jl 0x47c9b6
mov eax, dword [0x4eadcc]
cmp ebx, dword [eax - 8]
jg 0x47c9b6
mov dword [eax - 0xc], ebx
mov eax, dword [0x4eadcc]
xor edx, edx
mov word [edi + eax], dx
jmp 0x47d0c1
push str.DeviceWebDavRedirector_
call fcn.0049db0a
add esp, 4
push eax
push str.DeviceWebDavRedirector_
mov ecx, 0x4eadcc
call fcn.00423f19
push 0x4bd720
call fcn.0049ea25
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [0x4eade0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423631
mov ecx, dword [0x4eade0]
mov eax, dword [eax]
push ecx
push eax
call fcn.0049d8c3
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 0x47d11e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47d3d6
push ecx
mov edi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x24], edi
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47d149
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, 0x4d018c
mov byte [ebp - 4], 0xf
test ecx, 0xffff0000
jne 0x47d23d
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47d257
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 0x47d257
push esi
push eax
push ebx
call fcn.00421708
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47d257
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 0x47d1d2
push esi
mov ecx, edi
call fcn.00421527
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x2c], edx
cmp eax, 0xffffffff
jne 0x47d1ec
push ebx
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx edx, byte [eax + 0x47e2d0]
jmp dword [edx*4 + 0x47e2c0]
test esi, esi
jl 0x47c9b6
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x47c9b6
mov edx, dword [ebp - 0x28]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x47d257
push 0x4d018c
call fcn.0049db0a
add esp, 4
push eax
push 0x4d018c
mov ecx, edi
call fcn.00423f19
mov byte [ebp - 4], 0x10
mov eax, dword [0x4eade0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f8a
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.00465fc0
add esp, 0xc
push 1
push 2
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00427d8c
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push 0x4c6580
mov ebx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.0049dd50
add esp, 8
test eax, eax
sete al
test al, al
je 0x47d2ed
push ebx
push 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00427d8c
mov eax, dword [eax]
push 0x4ce354
push eax
mov ebx, 3
call fcn.0049dd50
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0xd], 1
test al, al
jne 0x47d2f1
mov byte [ebp - 0xd], 0
test bl, 2
je 0x47d31b
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 0x47d31b
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 0x47d346
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 0x47d346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x47d38d
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 5
jle 0x47d38d
add eax, 0xa
push 0x5c
push eax
call fcn.0049e35a
add esp, 8
test eax, eax
je 0x47d38d
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x47d38d
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004234d9
push 0x4d018c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.004303d1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f8a
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 0x47d3c7
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 0x47e015
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47d3f0
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, 0x4c4fbc
mov byte [ebp - 4], 0x12
test ecx, 0xffff0000
jne 0x47d4d9
mov edx, ecx
movzx esi, dx
push esi
call fcn.00497482
mov ebx, eax
test ebx, ebx
je 0x47d4f4
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 0x47d4f4
push esi
push eax
push ebx
call fcn.00421708
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47d4f4
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 0x47d479
push esi
lea ecx, [ebp - 0x14]
call fcn.00421527
movzx eax, word [ebx]
lea edi, [ebx + 2]
cmp eax, 0xffffffff
jne 0x47d48e
push edi
call fcn.0049db0a
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.0049d600
add esp, 0x10
cmp eax, 0x50
ja case.0x47d213.1
movzx ecx, byte [eax + 0x47e334]
jmp dword [ecx*4 + 0x47e324]
test esi, esi
jl 0x47c9b6
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax - 8]
jg 0x47c9b6
xor edx, edx
mov dword [eax - 0xc], esi
mov word [ebx + eax], dx
jmp 0x47d4f4
push 0x4c4fbc
call fcn.0049db0a
add esp, 4
push eax
push 0x4c4fbc
lea ecx, [ebp - 0x14]
call fcn.00423f19
mov byte [ebp - 4], 0x13
mov eax, dword [0x4eaddc]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00423631
mov edx, dword [0x4eaddc]
mov eax, dword [eax]
push edx
push eax
call fcn.0049d8c3
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 0x47d545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47d551
mov ecx, dword [0x4eaddc]
jmp 0x47d5a6
mov ecx, dword [0x4eadd8]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423631
mov ecx, dword [0x4eadd8]
mov eax, dword [eax]
push ecx
push eax
call fcn.0049d8c3
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 0x47d59c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47d5fb
mov ecx, dword [0x4eadd8]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea eax, [ecx - 0x10]
cmp eax, esi
je 0x47d5fb
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x47d5ee
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47d5ee
push eax
call fcn.00423f8a
mov edi, eax
or eax, 0xffffffff
add esp, 4
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x47d5e3
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 0x47d5fb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423f19
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x47d775
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d018c
call fcn.00423442
mov byte [ebp - 4], 0x14
mov eax, dword [0x4eadd8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f8a
add eax, 0x10
lea edx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], 0x13
call fcn.00465fc0
add esp, 0xc
push 1
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00427d8c
mov eax, dword [eax]
push 0x4ce354
push eax
call fcn.0049dd50
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 0x47d68c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47d775
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 4
jle 0x47d775
add eax, 8
push 0x5c
push eax
call fcn.0049e35a
add esp, 8
test eax, eax
je 0x47d775
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, edi
je 0x47d775
push 0
lea ecx, [ebp + 0xc]
inc eax
push ecx
call fcn.004234d9
push 0x4d018c
lea edx, [ebp + 0xc]
push edx
xor eax, eax
call fcn.004303d1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f8a
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 0x47d719
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 0x47d73b
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 0x47d75d
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 0x47e048
mov ecx, dword [0x4eadd4]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423631
mov ecx, dword [0x4eadd4]
mov eax, dword [eax]
push ecx
push eax
call fcn.0049d8c3
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 0x47d7c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47d8a1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d018c
call fcn.00423442
mov byte [ebp - 4], 0x15
mov eax, dword [0x4eadd4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f8a
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00465fc0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00423f8a
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 0x47d841
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 0x47d863
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 0x47d75d
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 0x47e048
mov ecx, dword [0x4eadd0]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423631
mov ecx, dword [0x4eadd0]
mov eax, dword [eax]
push ecx
push eax
call fcn.0049d8c3
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 0x47d8ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47d9cd
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d018c
call fcn.00423442
mov byte [ebp - 4], 0x16
mov eax, dword [0x4eadd0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00423f8a
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00465fc0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00423f8a
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 0x47d96d
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 0x47d98f
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 0x47d75d
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 0x47e048
mov ecx, dword [0x4eadcc]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.00423631
mov ecx, dword [0x4eadcc]
mov eax, dword [eax]
push ecx
push eax
call fcn.0049d8c3
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 0x47da18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x47dae4
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4d018c
call fcn.00423442
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4eadcc
call fcn.0042342d
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 0x13
call fcn.00465fc0
mov esi, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.0042342d
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 0x47da84
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 0x47daa6
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 0x47d75d
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 0x47e048
push 0x4eaa68
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4eaa60]
mov edx, dword [ecx]
mov eax, dword [0x4eaa48]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
mov esi, dword [0x4eaa60]
test eax, eax
je 0x47db14
cmp eax, dword [0x4eaa48]
je 0x47db19
call fcn.0049dc81
cmp dword [ebp - 0x34], esi
je 0x47dbbc
lea esi, [ebp - 0x38]
call fcn.00450bd0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00423f8a
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.0047c120
test eax, eax
jne 0x47db7d
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 0x47db70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x38]
call fcn.0044d160
mov eax, dword [ebp - 0x38]
jmp 0x47db02
lea esi, [ebp - 0x38]
call fcn.00450bd0
push eax
lea ecx, [ebp - 0x20]
call fcn.00423af1
call fcn.00450bd0
add eax, 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423af1
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x47dbbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4eaa68
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x47df67
mov eax, dword [0x4eaa64]
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.00461d60
add esp, 0x10
call fcn.0047c0b0
add esp, 4
call fcn.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47dc14
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.0048f565
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47dc47
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 0x4d5a08
push edx
call fcn.00461d60
add esp, 0xc
mov bl, 0x1b
push 0x4c4fbc
mov byte [ebp - 4], bl
call fcn.0049db0a
add esp, 4
push eax
push 0x4c4fbc
lea ecx, [ebp - 0x18]
call fcn.00423f19
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 0x47dcbc
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00421527
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.0049daeb
add esp, 8
test eax, eax
jl 0x47c9b6
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx - 8]
jg 0x47c9b6
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
test esi, esi
je 0x47de13
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ecx
je 0x47de13
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
push str._s___s_
push ecx
call fcn.00461d60
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.0042447c
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 0x47dd5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4c4fbc
lea ecx, [ebp - 0x28]
call fcn.00423442
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.00423f8a
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0048d1b0
add esp, 4
push ecx
test eax, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], esp
je 0x47ddc8
mov edx, dword [ebp - 0x28]
mov ecx, esp
push edx
push eax
push str.DeviceToDosName:_Resolved_symbolic_link__s___s
push ecx
call fcn.00461d60
add esp, 0x10
call fcn.0047c0b0
add esp, 4
mov ecx, ebx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00423af1
jmp 0x47dde1
mov edx, esp
push eax
push str.DeviceToDosName:__s_is_not_a_symbolic_link
push edx
call fcn.00461d60
add esp, 0xc
call fcn.0047c0b0
add esp, 4
lea esi, [ebp - 0x18]
lea eax, [ebp + 0xc]
call fcn.0047c120
test eax, eax
jne 0x47de42
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 0x47de13
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 0x47de36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0x19
jle 0x47dc60
jmp 0x47dea5
lea ebx, [ebp - 0x18]
call fcn.0043f810
push eax
lea ecx, [ebp - 0x20]
call fcn.00423af1
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00423af1
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 0x47de82
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 0x47dea5
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.00461d60
add esp, 0xc
call fcn.0047c0b0
mov edi, dword [ebp - 0x1c]
add esp, 4
cmp dword [edi - 0xc], 0
je 0x47df24
push 0x4eaa68
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4eaa48
lea ecx, [ebp - 0x20]
call fcn.00450940
lea edx, [ebp - 0x1c]
push edx
mov ecx, eax
call fcn.00423af1
mov edx, dword [ebp - 0x20]
push ecx
mov ecx, dword [0x4eaa64]
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.00461d60
add esp, 0x14
call fcn.0047c0b0
add esp, 4
push 0x4eaa68
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 0x47df47
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 0x47df67
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 0x47dfb1
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x34], esp
mov esi, esp
push eax
call fcn.00423f8a
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.00423f8a
add eax, 0x10
lea ecx, [ebp + 0xc]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00465fc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00423f8a
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 0x47dfeb
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 0x47e00e
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 0x47e02e
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 0x47e054
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