Function at 0x10b4b2f
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
push edi
mov esi, ecx
mov dword [ebp - 0x40], eax
mov edi, dword [0x111124c]
cmp edi, 0x111124c
je 0x10b4b8a
test byte [edi + 0x1c], 4
je 0x10b4b8a
cmp byte [edi + 0x19], 4
jb 0x10b4b8a
push 0x100b070
push 0x19
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.010189d0
mov edi, dword [0x111124c]
xor eax, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x39], al
call fcn.010aa4a9
cmp edi, 0x111124c
je 0x10b4be5
test byte [edi + 0x1c], 4
je 0x10b4be5
cmp byte [edi + 0x19], 4
jb 0x10b4be5
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0x100b070
push 0x1a
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.01019a40
xor eax, eax
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 6
pop ecx
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x8c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0xd4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x10b4c73
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.010b47d6
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10b4c73
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b5062
test byte [eax + 0x1c], 4
je 0x10b5062
cmp byte [eax + 0x19], 2
jb 0x10b5062
push dword [ebx]
push dword [ebp - 0x38]
push 0x100b070
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
jmp 0x10b5062
neg edi
sbb edi, edi
lea eax, [ebp - 0x34]
push ebx
and edi, eax
lea eax, [ebp - 0x64]
push eax
push edi
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.010b0beb
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10b4cc8
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b5062
test byte [eax + 0x1c], 4
je 0x10b5062
cmp byte [eax + 0x19], 2
jb 0x10b5062
push dword [ebx]
push dword [ebp - 0x38]
push 0x100b070
push 0x1c
jmp 0x10b4c63
push 0
push 0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x10b4cef
mov dword [ebx], 0x7b
mov dword [ebp - 0x38], 2
jmp 0x10b5062
xor eax, eax
push eax
push eax
push 0x48
push 5
push eax
push 0x80
push eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
push 0xc0100080
lea ecx, [ebp - 0x74]
push esi
mov dword [ebp - 0xac], 0x18
mov dword [ebp - 0xa0], 0x40
mov dword [ebp - 0xa4], ecx
call dword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jge 0x10b4d9f
and dword [esi], 0
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push 7
pop edx
mov dword [ebx], eax
mov dword [ebp - 0x38], edx
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b5062
test byte [ecx + 0x1c], 4
je 0x10b5062
cmp byte [ecx + 0x19], 2
jb 0x10b5062
push eax
push edx
push dword [ebp - 0x70]
push 0x100b070
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0109b90b
jmp 0x10b5062
push 4
push 0x28
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jge 0x10b4dff
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [ebx], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b4df3
test byte [ecx + 0x1c], 4
je 0x10b4df3
cmp byte [ecx + 0x19], 2
jb 0x10b4df3
push eax
push 0x100b070
push 0x1e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
mov dword [ebp - 0x38], 7
jmp 0x10b5062
test dword [ebp - 0xb4], 0x800
je 0x10b4e9f
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4e3c
test byte [eax + 0x1c], 4
je 0x10b4e3c
cmp byte [eax + 0x19], 4
jb 0x10b4e3c
push dword [ebp - 0x44]
push 0x100b070
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
push dword [esi]
mov ecx, esi
call fcn.010aab00
mov dword [ebx], eax
test eax, eax
je 0x10b4e72
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b4df3
test byte [ecx + 0x1c], 4
je 0x10b4df3
cmp byte [ecx + 0x19], 2
jb 0x10b4df3
push eax
push 0x100b070
push 0x20
jmp 0x10b4de8
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4e9f
test byte [eax + 0x1c], 4
je 0x10b4e9f
cmp byte [eax + 0x19], 4
jb 0x10b4e9f
push dword [ebp - 0x44]
push 0x100b070
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.010aefff
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b5062
mov ecx, dword [ebp - 0x4c]
xor edi, edi
cmp dword [ebp - 0x40], edi
jne 0x10b4ef6
mov eax, dword [ebp - 0x6c]
mov edx, 0x200200
mul edx
add ecx, eax
adc edi, edx
add ecx, 0x200
adc edi, 0
push edi
mov dword [esi + 0xf0], ecx
push ecx
mov ecx, esi
mov dword [esi + 0xf4], edi
call fcn.010ad054
test eax, eax
jne 0x10b4f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x10b4df3
push ebx
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x58]
call fcn.010af54b
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b5062
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
mov dword [ebp - 0x48], edi
cmp dword [ebp - 0x40], edi
jne 0x10b505b
push 0x20000
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x54], eax
cmp eax, edi
jne 0x10b4f7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [ebp - 0x38], 3
jmp 0x10b5062
push eax
call fcn.0109cd2b
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
jne 0x10b4f93
mov dword [ebx], 0x57
jmp 0x10b4f70
push 0x200
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x80808080
stosb byte es:[edi], al
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x7c], eax
cmp eax, edi
je 0x10b4f18
mov eax, dword [esi + 0x88]
shl eax, 9
mov dword [esi + 0x30], eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x8c]
push eax
push 0x200
push dword [ebp - 0x50]
mov ecx, edi
push dword [esi]
mov dword [esi + 0x34], edi
mov dword [ebp - 0x80], ecx
call fcn.010a03a5
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x8c]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
call edi
test eax, eax
jne 0x10b501c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [ebp - 0x38], 5
jmp 0x10b5062
mov eax, dword [esi + 0x88]
and dword [esi + 0x34], 0
inc eax
shl eax, 9
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x39]
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, esi
call fcn.010afa16
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b5062
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
call edi
test eax, eax
je 0x10b500b
mov ecx, esi
call fcn.010aeb84
push dword [ebp - 0x70]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x64]
call esi
push dword [ebp - 0x54]
call esi
push dword [ebp - 0x68]
call esi
push dword [ebp - 0x5c]
call esi
mov eax, dword [0x111124c]
pop edi
pop esi
pop ebx
cmp eax, 0x111124c
je 0x10b50c5
test byte [eax + 0x1c], 4
je 0x10b50c5
cmp byte [eax + 0x19], 4
jb 0x10b50c5
push 0x100b070
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
lea ecx, [ebp - 0x34]
call fcn.010aa8fb
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0106f5f8
leave
ret 0x14