Function at 0x42e460
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x54c
push ebx
push ebp
push esi
push edi
call fcn.004318b0
test eax, eax
je 0x42e504
push 0
lea eax, [esp + 0x18]
push str.KINIFile::LocateINIFileNames_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x218]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x218]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.004318b0
mov ebp, dword [esp + 0x560]
test eax, eax
je 0x42e538
push ebp
lea ecx, [esp + 0x18]
push str.pszInstallPath___s_n
push ecx
call fcn.0044cb10
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x318]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x318]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..INI
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x41c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [esp + 0x564]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x42e6f8
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47d160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x114]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x448]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx]
cmp esi, 0x1f4
jae 0x42e69e
lea eax, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebx], eax
je 0x42e69e
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 4
push ecx
call fcn.00460d6f
mov edx, eax
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx + esi*4 + 0x1f8], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004318b0
test eax, eax
je 0x42e6d2
lea ecx, [esp + 0x114]
lea edx, [esp + 0x14]
push ecx
push str.szTestFile___s_n
push edx
call fcn.0044cb10
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x41c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42e5b9
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004318b0
test eax, eax
je 0x42e793
mov ecx, dword [ebx]
lea edx, [esp + 0x14]
push ecx
push str.KINIFile::LocateINIFileNames_:_pkslINIFileNames__GetCount_____d_n
push edx
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x218]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x218]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
mov edx, dword [ebx]
xor ecx, ecx
cmp ecx, edx
pop edi
sbb eax, eax
pop esi
pop ebp
pop ebx
neg eax
add esp, 0x54c
ret 8