Function at 0x10010038
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x194
mov eax, 0x1005ab1e
call fcn.1004262a
and dword [ebp - 4], 0
and dword [ebp - 0x180], 0
lea eax, [ebp - 0x170]
mov ebx, ecx
push eax
mov dword [ebp - 0x174], ebx
mov esi, edx
call fcn.1000e177
xor edi, edi
push 7
inc edi
mov dword [ebp - 4], edi
and dword [ebx + 0x14], 0
pop eax
lea ecx, [ebx + 4]
xor edx, edx
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x178], ecx
mov word [ecx], dx
and dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x180], edi
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], eax
je 0x10010269
cmp dword [esi + 0x18], 8
jb 0x100100b0
mov eax, dword [esi + 4]
jmp 0x100100b3
lea eax, [esi + 4]
push eax
push str.Test_Str:_ls
call fcn.1003b928
pop ecx
pop ecx
push esi
lea esi, [ebp - 0x2c]
call fcn.100048fd
mov eax, esi
mov byte [ebp - 4], 3
call fcn.10013564
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100100e0
lea eax, [ebp - 0x28]
push 0x22
pop ecx
cmp word [eax], cx
jne 0x1001010b
push edi
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], ecx
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.1001180a
mov edi, eax
cmp edi, 0xffffffff
jne 0x100101e5
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.10004d65
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x178]
jb 0x1001012c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10010234
push str..exe
lea esi, [ebp - 0x19c]
call fcn.100048dd
lea eax, [ebp - 0x2c]
push eax
mov ebx, esi
mov byte [ebp - 4], 4
call fcn.100135da
pop ecx
push 0
push 1
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10004e12
cmp edi, 0xffffffff
je 0x10010234
add edi, 4
cmp edi, dword [ebp - 0x18]
jae 0x10010234
push edi
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
lea esi, [ebp - 0x19c]
call fcn.100112c0
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push dword [ebp - 0x174]
call fcn.10004d65
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10004e12
mov eax, dword [ebp - 0x18]
sub eax, edi
push eax
lea eax, [ebp - 0x2c]
push eax
mov ebx, edi
lea esi, [ebp - 0x19c]
call fcn.100112c0
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 6
call fcn.10004d65
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10004e12
jmp 0x10010234
lea eax, [edi - 1]
push eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
inc ebx
lea esi, [ebp - 0x19c]
call fcn.100112c0
push 0xffffffffffffffff
mov byte [ebp - 4], 7
push dword [ebp - 0x174]
xor ebx, ebx
call fcn.10004d65
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10004e12
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10010226
lea eax, [ebp - 0x28]
lea eax, [eax + edi*2 + 2]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10004deb
lea eax, [ebp - 0x48]
call fcn.10013564
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x178]
jb 0x10010250
mov eax, dword [eax]
push eax
xor edi, edi
call fcn.10028848
push edi
lea esi, [ebp - 0x2c]
push 1
call fcn.10004e12
mov ebx, dword [ebp - 0x174]
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.10004e12
lea edi, [ebp - 0x170]
call fcn.1000ee10
mov eax, ebx
call fcn.100426ad
ret