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

Disassembly:
push 0x1d4
mov eax, 0x100ae527
call fcn.10091010
push 0x100cb65c
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
pop ecx
pop ecx
lea eax, [ebp - 0x1e0]
xor ebx, ebx
push eax
push eax
push 0x100c9298
push 0x100c92a4
mov dword [ebp - 0x1e0], ebx
call fcn.10041280
mov ecx, eax
call fcn.100412d7
call fcn.10045657
push dword [ebp - 0x1e0]
push 0x100c92b0
push eax
call fcn.100448e6
add esp, 0xc
mov byte [ebp - 0x118], bl
lea eax, [ebp - 0x117]
push 0x103
push ebx
push eax
call fcn.10090560
add esp, 0xc
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
push 0xf
pop eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ebx
mov byte [ebp - 0x148], bl
mov esi, ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1e0], esi
jle 0x100469b7
push esi
push 0x100c92e8
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.100360ff
add esp, 0x10
lea ecx, [ebp - 0x160]
push 0x100bc7cc
call fcn.10006fbe
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x100c92a4
call fcn.10041280
mov ecx, eax
call fcn.100414ad
push ebx
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.100072c0
push esi
push 0x100c92f4
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.100360ff
add esp, 0x10
lea ecx, [ebp - 0x160]
push 0x100bc7cc
call fcn.10006fbe
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x100c92a4
call fcn.10041280
mov ecx, eax
call fcn.100414ad
push ebx
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.100072c0
push esi
push 0x100cb624
lea eax, [ebp - 0x118]
mov byte [ebp - 0x1d9], bl
push 0x104
push eax
call fcn.100360ff
add esp, 0x10
lea eax, [ebp - 0x1d9]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
push 0x100c92a4
call fcn.10041280
mov ecx, eax
call fcn.10041408
cmp dword [ebp - 0x120], 0
je 0x100469aa
cmp dword [ebp - 0x138], 0
je 0x100469aa
cmp byte [ebp - 0x1d9], 0
jne 0x100469aa
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete bl
test bl, bl
je 0x1004690d
push 1
lea eax, [ebp - 0x118]
push eax
push ecx
push ecx
call fcn.10041280
pop ecx
mov ecx, eax
call fcn.100416c8
lea ecx, [ebp - 0x1d8]
call fcn.10048154
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 0x19c], bl
call fcn.1000721f
lea ecx, [ebp - 0x1d8]
call fcn.100475cf
test bl, bl
jne 0x1004696b
lea ecx, [ebp - 0x1d8]
call fcn.10047950
test al, al
je 0x1004696b
cmp dword [ebp - 0x180], 0
je 0x1004696b
lea eax, [ebp - 0x130]
push eax
call fcn.100489db
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
movzx eax, bl
cmovae ecx, dword [ebp - 0x130]
push eax
push ecx
push 0x100cb690
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.100481eb
xor ebx, ebx
inc esi
cmp esi, dword [ebp - 0x1e0]
jl 0x1004679d
push 0x100cb6d4
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.100072c0
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.100072c0
call fcn.10090fbf
ret