Function at 0x10b49ee
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x111027c]
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 [0x111024c]
cmp edi, 0x111024c
je 0x10b4a49
test byte [edi + 0x1c], 4
je 0x10b4a49
cmp byte [edi + 0x19], 4
jb 0x10b4a49
push 0x100b080
push 0x19
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.0101894a
mov edi, dword [0x111024c]
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.010aa397
cmp edi, 0x111024c
je 0x10b4aa4
test byte [edi + 0x1c], 4
je 0x10b4aa4
cmp byte [edi + 0x19], 4
jb 0x10b4aa4
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0x100b080
push 0x1a
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.010198ad
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 0x10b4b32
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.010b4695
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10b4b32
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4f21
test byte [eax + 0x1c], 4
je 0x10b4f21
cmp byte [eax + 0x19], 2
jb 0x10b4f21
push dword [ebx]
push dword [ebp - 0x38]
push 0x100b080
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
jmp 0x10b4f21
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.010b0aaa
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10b4b87
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4f21
test byte [eax + 0x1c], 4
je 0x10b4f21
cmp byte [eax + 0x19], 2
jb 0x10b4f21
push dword [ebx]
push dword [ebp - 0x38]
push 0x100b080
push 0x1c
jmp 0x10b4b22
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 0x10b4bae
mov dword [ebx], 0x7b
mov dword [ebp - 0x38], 2
jmp 0x10b4f21
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 0x10b4c5e
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 [0x111024c]
cmp ecx, 0x111024c
je 0x10b4f21
test byte [ecx + 0x1c], 4
je 0x10b4f21
cmp byte [ecx + 0x19], 2
jb 0x10b4f21
push eax
push edx
push dword [ebp - 0x70]
push 0x100b080
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019c0f
jmp 0x10b4f21
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 0x10b4cbe
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [ebx], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b4cb2
test byte [ecx + 0x1c], 4
je 0x10b4cb2
cmp byte [ecx + 0x19], 2
jb 0x10b4cb2
push eax
push 0x100b080
push 0x1e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
mov dword [ebp - 0x38], 7
jmp 0x10b4f21
test dword [ebp - 0xb4], 0x800
je 0x10b4d5e
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4cfb
test byte [eax + 0x1c], 4
je 0x10b4cfb
cmp byte [eax + 0x19], 4
jb 0x10b4cfb
push dword [ebp - 0x44]
push 0x100b080
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
push dword [esi]
mov ecx, esi
call fcn.010aa9c1
mov dword [ebx], eax
test eax, eax
je 0x10b4d31
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b4cb2
test byte [ecx + 0x1c], 4
je 0x10b4cb2
cmp byte [ecx + 0x19], 2
jb 0x10b4cb2
push eax
push 0x100b080
push 0x20
jmp 0x10b4ca7
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4d5e
test byte [eax + 0x1c], 4
je 0x10b4d5e
cmp byte [eax + 0x19], 4
jb 0x10b4d5e
push dword [ebp - 0x44]
push 0x100b080
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
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.010aeec0
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b4f21
mov ecx, dword [ebp - 0x4c]
xor edi, edi
cmp dword [ebp - 0x40], edi
jne 0x10b4db5
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.010acf15
test eax, eax
jne 0x10b4de4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x10b4cb2
push ebx
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x58]
call fcn.010af40c
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b4f21
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 0x10b4f1a
push 0x20000
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x54], eax
cmp eax, edi
jne 0x10b4e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [ebp - 0x38], 3
jmp 0x10b4f21
push eax
call fcn.0109cc1a
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
jne 0x10b4e52
mov dword [ebx], 0x57
jmp 0x10b4e2f
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 0x10b4dd7
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.010a0293
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 0x10b4edb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [ebp - 0x38], 5
jmp 0x10b4f21
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.010af8d7
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b4f21
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
call edi
test eax, eax
je 0x10b4eca
mov ecx, esi
call fcn.010aea45
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 [0x111024c]
pop edi
pop esi
pop ebx
cmp eax, 0x111024c
je 0x10b4f84
test byte [eax + 0x1c], 4
je 0x10b4f84
cmp byte [eax + 0x19], 4
jb 0x10b4f84
push 0x100b080
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
lea ecx, [ebp - 0x34]
call fcn.010aa7bc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0106f798
leave
ret 0x14