Function at 0x110f43f0
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e35c6
mov eax, dword fs:[0]
push eax
sub esp, 0x578
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
movzx esi, word [edi]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
and esi, 0xfff
mov dword [ebp - 0x55c], ebx
mov dword [ebp - 0x580], eax
mov dword [ebp - 0x53c], 0
cmp esi, 0x1a
jne 0x110f4457
mov dword [ebp - 0x54c], 0x1b
jmp 0x110f446c
xor ecx, ecx
cmp esi, 0x34
setne cl
lea ecx, [ecx + ecx + 0x35]
movzx edx, cx
mov dword [ebp - 0x54c], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x554], eax
call fcn.110c7040
push eax
push 0x800
lea ecx, [ebp - 0x578]
call fcn.1111a110
mov eax, dword [ebp - 0x54c]
or eax, 0x8000
movzx ecx, ax
mov eax, dword [ebp - 0x578]
lea edx, [ebp - 0x538]
mov dword [ebp - 0x538], ecx
push edx
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x578]
mov dword [ebp - 4], 0
call edx
mov edx, dword [ebp - 0x578]
xor eax, eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x538], eax
lea eax, [ebp - 0x538]
push eax
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x578]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp - 0x530]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp - 0x544]
push ecx
mov ecx, eax
call edx
movzx eax, word [edi + 6]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [ebp - 0x530], eax
movzx eax, word [edi + 4]
mov edx, eax
mov dword [ebp - 0x540], edx
mov dword [ebp - 0x57c], ecx
movzx ecx, word [edi + 2]
mov dword [ebp - 0x548], ecx
mov dword [ebp - 0x544], 0
cmp esi, 0x36
jne 0x110f455f
test eax, 0x8000
je 0x110f455f
mov dword [ebp - 0x544], 1
push ebx
lea ecx, [ebp - 0x52c]
call fcn.110f02d0
push 1
lea edx, [ebp - 0x53c]
push edx
add edi, 8
push edi
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 1
call fcn.110f1430
cmp dword [ebp - 0x53c], 0
mov dword [ebp - 0x534], eax
jne 0x110f493f
lea edx, [ebp - 0x218]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110f45a2
movzx eax, word [ebx + 0x2d0]
lea esi, [ebx + 0x2d0]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.110e4740
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x110f45f6
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110f45e0
sub eax, edx
sar eax, 1
lea ecx, [ebp + eax*2 - 0x218]
mov edx, ecx
add ecx, 2
mov eax, esi
mov dword [ebp - 0x538], ecx
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110f4605
cmp dword [ebp - 0x548], 0
lea edi, [ebx + 0x38]
je 0x110f4a66
mov esi, ebx
call fcn.110f0610
push 0x56
lea edx, [ebp - 0x218]
push edx
push ebx
call fcn.110f3ff0
add esp, 0xc
test eax, eax
jne 0x110f493f
push 0x4c
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.110f3ff0
add esp, 0xc
test eax, eax
je 0x110f4671
cmp dword [ebp - 0x530], 1
jle 0x110f4671
test byte [ebp - 0x540], 0x10
je 0x110f493f
test byte [ebp - 0x540], 8
je 0x110f4831
mov edx, dword [ebp - 0x534]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor eax, eax
xor ecx, ecx
mov word [edx + 6], cx
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x584], eax
mov word [edi], cx
mov dword [ebp - 0x540], eax
mov edx, dword [ebp - 0x534]
push edx
call ebx
mov esi, eax
cmp esi, 1
jne 0x110f46c8
push 0
lea ecx, [ebp - 0x52c]
call fcn.110f0370
test eax, eax
jne 0x110f46a7
sub esi, 3
je 0x110f47b9
dec esi
je 0x110f4773
dec esi
je 0x110f47b9
mov eax, dword [ebp - 0x534]
movzx ecx, word [eax]
push ecx
lea edx, [ebp - 0x318]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons_c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x530]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x318]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x110f47a8
mov ecx, dword [ebp - 0x530]
lea edx, [ebp - 0x548]
push edx
push edi
lea eax, [ebp - 0x534]
push eax
push 0
push str.DefaultLabel
push ecx
mov dword [ebp - 0x548], 0x208
call fcn.111b8970
add esp, 0x18
mov esi, 1
test eax, eax
je 0x110f4764
mov esi, dword [ebp - 0x540]
mov edx, dword [ebp - 0x530]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x110f47e2
mov eax, dword [ebp - 0x534]
lea edx, [ebp - 0x530]
push edx
push edi
xor ecx, ecx
push eax
mov dword [ebp - 0x530], 0x104
mov word [eax + 4], cx
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
je 0x110f47e7
cmp eax, 0x4b1
jne 0x110f47a8
cmp word [edi], 0
jne 0x110f47e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x53c], eax
jmp 0x110f493f
mov edx, dword [ebp - 0x534]
push 0
push 0
lea eax, [ebp - 0x584]
push eax
lea ecx, [ebp - 0x550]
push ecx
push 0
push 0x104
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, eax
cmp esi, 1
jne 0x110f47a8
cmp word [edi], 0
je 0x110f493f
mov ecx, dword [ebp - 0x544]
movzx edx, word [ebp - 0x54c]
lea eax, [ebp - 0x554]
push eax
push ecx
push edx
mov edx, dword [ebp - 0x538]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x55c]
push eax
lea edi, [ebp - 0x578]
add eax, 0xc
call fcn.110f4270
add esp, 0x14
jmp 0x110f493f
cmp dword [ebp - 0x548], 0
je 0x110f4a66
cmp dword [ebx + 0x2d4], 0
je 0x110f4885
cmp dword [ebx + 0x324], 0
jne 0x110f4868
mov ecx, dword [ebx + 0x2d8]
push str.Wow64DisableWow64FsRedirection
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x324], eax
mov eax, dword [ebx + 0x324]
test eax, eax
je 0x110f487d
lea edx, [ebp - 0x550]
push edx
call eax
jmp 0x110f4885
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x534]
jmp 0x110f4890
lea esi, [ebx + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebx + 0x25c], eax
cmp eax, 0xffffffff
jne 0x110f48b7
push 0
lea ecx, [ebp - 0x52c]
call fcn.110f0370
test eax, eax
jne 0x110f4890
cmp dword [ebx + 0x2d4], 0
je 0x110f48fe
cmp dword [ebx + 0x328], 0
mov edi, dword [ebp - 0x550]
jne 0x110f48e7
mov eax, dword [ebx + 0x2d8]
push str.Wow64RevertWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x328], eax
mov eax, dword [ebx + 0x328]
test eax, eax
je 0x110f48f6
push edi
call eax
jmp 0x110f48fe
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebx + 0x25c], 0xffffffff
setne al
test eax, eax
jne 0x110f4a7f
mov dword [ebx + 0x25c], eax
mov esi, ebx
call fcn.110f0610
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x53c], eax
cmp eax, 0x12
je 0x110f4935
cmp eax, 2
jne 0x110f493f
mov dword [ebp - 0x53c], 0
cmp dword [ebp - 0x57c], 0
je 0x110f4953
mov esi, dword [ebp - 0x55c]
call fcn.110f0610
mov edx, dword [ebp - 0x578]
mov eax, dword [edx + 0xa4]
lea ecx, [ebp - 0x578]
call eax
test al, al
jne 0x110f4982
push 0x13a
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov edx, dword [ebp - 0x578]
mov eax, dword [edx + 0xa4]
mov esi, dword [ebp - 0x56c]
lea ecx, [ebp - 0x578]
call eax
test al, al
jne 0x110f49b7
push 0x135
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x564]
push esi
push ecx
call fcn.111ba520
mov dx, word [ebp - 0x53c]
mov cx, word [ebp - 0x554]
mov esi, eax
mov ax, word [ebp - 0x558]
mov word [esi + 4], ax
mov word [esi + 6], cx
mov word [esi + 2], dx
mov edx, dword [ebp - 0x578]
mov eax, dword [edx + 0xa4]
add esp, 8
lea ecx, [ebp - 0x578]
call eax
test al, al
jne 0x110f4a19
push 0x13a
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x56c]
mov edx, dword [ebp - 0x580]
mov dword [edx], ecx
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 0
call fcn.110f1420
lea ecx, [ebp - 0x578]
mov dword [ebp - 4], 0xffffffff
call fcn.1111ab70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x25c]
lea esi, [ebx + 0xc]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x110f4918
mov eax, dword [esi]
mov edx, eax
xor edx, dword [ebp - 0x540]
mov dword [ebp - 0x548], 0
test dl, 0x10
jne 0x110f4831
mov ecx, dword [ebp - 0x540]
or eax, ecx
or eax, 0xfffffff9
or ecx, 0xfffffff9
cmp eax, ecx
jne 0x110f4831
mov ecx, 0x11247f48
lea eax, [esi + 0x2c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x110f4ae6
test dx, dx
je 0x110f4ae2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x110f4ae6
add eax, 4
add ecx, 4
test dx, dx
jne 0x110f4ac0
xor eax, eax
jmp 0x110f4aeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x110f4831
mov ecx, 0x1124b650
lea eax, [esi + 0x2c]
jmp 0x110f4b00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x110f4b26
test dx, dx
je 0x110f4b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x110f4b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x110f4b00
xor eax, eax
jmp 0x110f4b2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x110f4831
mov ecx, dword [ebp - 0x544]
movzx edx, word [ebp - 0x54c]
lea eax, [ebp - 0x554]
push eax
push ecx
push edx
mov edx, dword [ebp - 0x538]
lea eax, [ebp - 0x218]
push eax
push ebx
lea edi, [ebp - 0x578]
lea eax, [ebx + 0xc]
call fcn.110f4270
mov edx, dword [ebp - 0x578]
mov eax, dword [edx + 0xa4]
add esp, 0x14
mov ecx, edi
call eax
test al, al
jne 0x110f4b93
push 0x13a
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
cmp dword [ebp - 0x56c], 0x800
jl 0x110f4ba9
mov dword [ebp - 0x558], 1
dec dword [ebp - 0x530]
je 0x110f493f
cmp word [ebp - 0x558], 0
je 0x110f4831
jmp 0x110f493f