Function at 0x100600e0
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10235e2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x102ec100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x105
push ecx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x228]
call fcn.1005fe20
mov esi, eax
test esi, esi
je 0x10060380
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x228]
sub esi, eax
sar esi, 1
push eax
mov dword [ebp - 0x248], esi
call edi
cmp eax, esi
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
jle 0x100601d0
nop dword [eax]
push 0x102f8388
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x100602bd
lea eax, [ebp - 0x228]
push eax
call edi
lea eax, [ebp + eax*2 - 0x228]
nop dword [eax + eax]
cmp word [eax], 0x5c
je 0x100601ba
push eax
lea eax, [ebp - 0x228]
push eax
call esi
lea ecx, [ebp - 0x228]
cmp eax, ecx
ja 0x100601a0
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x228]
push eax
call edi
cmp eax, dword [ebp - 0x248]
jg 0x10060170
lea eax, [ebp - 0x228]
push eax
call edi
lea ecx, [ebp - 0x228]
lea eax, [ecx + eax*2]
push eax
mov eax, ecx
push eax
call esi
cmp word [eax], 0x5c
je 0x10060200
push 0x102d0004
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x10060380
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10060240
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.1004d150
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 1
call fcn.1005ffe0
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 0x241], al
cmp ecx, 7
jbe 0x100603b0
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100603a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100603b8
jmp 0x100603a0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x102f8388], 0x10
je 0x10060380
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10060300
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.1004d150
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call fcn.1005ffe0
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 0x241], al
cmp ecx, 7
jbe 0x1006037c
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006036c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100603b8
push ecx
push edx
call fcn.10123601
mov al, byte [ebp - 0x241]
add esp, 8
test al, al
jne 0x100603b4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10123194
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push ecx
push edx
call fcn.10123601
mov al, byte [ebp - 0x241]
add esp, 8
test al, al
je 0x10060380
mov al, 1
jmp 0x10060382
call fcn.10154fbf
int3