Function at 0x435b30
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x6c4], str.Dataimages_
mov dword [ebp - 0x6c0], edi
jmp 0x435b60
lea eax, [ebp - 0x404]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp + edi*4 - 0x6c4]
push esi
lea ecx, [ebp - 0x204]
push 0x100
push ecx
mov dword [ebp - 0x6c8], esi
call fcn.00463a4a
push str..png
lea edx, [ebp - 0x204]
push 0x100
push edx
call fcn.004642ca
add esp, 0x18
lea eax, [ebp - 0x6bc]
push eax
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6cc], eax
cmp eax, 0xffffffff
je 0x435dee
jmp 0x435bd6
mov esi, dword [ebp - 0x6c8]
lea edx, [ebp - 0x690]
push edx
lea eax, [ebp - 0x46c]
push 0x20
push eax
call fcn.00463a4a
push esi
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.00463a4a
lea edx, [ebp - 0x690]
push edx
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.004642ca
add esp, 0x24
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x204]
push edx
call sub.d3dx9_31.dll_D3DXGetImageInfoFromFileW
mov ecx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x424]
push edx
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0
push 0
push 1
push ecx
push eax
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x428], ecx
mov ecx, dword [0x4b5984]
push eax
push ecx
call sub.d3dx9_31.dll_D3DXCreateTextureFromFileExW
test eax, eax
jne 0x435dfe
mov ebx, dword [0x4c527c]
mov esi, dword [0x4c5278]
lea edx, [ebp - 0x46c]
cmp edx, ebx
jae 0x435d41
mov eax, edx
cmp esi, eax
ja 0x435d41
mov ebx, dword [0x4c5280]
mov ecx, edx
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
mov ecx, dword [0x4c527c]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ecx, ebx
jne 0x435d25
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x35e50d6
ja 0x435e0f
sub ebx, esi
mov eax, 0x6bca1af3
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x435d25
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x435d0c
xor eax, eax
jmp 0x435d0e
add eax, edx
cmp eax, ecx
jae 0x435d14
mov eax, ecx
push eax
mov ecx, 0x4c5278
call fcn.004157d0
mov esi, dword [0x4c5278]
mov ecx, dword [0x4c527c]
imul edi, edi, 0x4c
add edi, esi
push edi
push ecx
push 0x4c5284
call fcn.0040a4d0
jmp 0x435dc2
mov edi, dword [0x4c5280]
cmp ebx, edi
jne 0x435db0
mov ecx, ebx
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x35e50d6
ja 0x435e0f
sub edi, esi
mov eax, 0x6bca1af3
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x435db0
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x435d97
xor eax, eax
jmp 0x435d99
add eax, edx
cmp eax, ecx
jae 0x435d9f
mov eax, ecx
push eax
mov ecx, 0x4c5278
call fcn.004157d0
mov ebx, dword [0x4c527c]
lea edx, [ebp - 0x46c]
push edx
push ebx
push 0x4c5284
call fcn.0040a4d0
mov ecx, dword [ebp - 0x6cc]
add dword [0x4c527c], 0x4c
add esp, 0xc
lea eax, [ebp - 0x6bc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435bd0
mov edi, dword [ebp - 0x6c0]
inc edi
mov dword [ebp - 0x6c0], edi
cmp edi, 1
jb 0x435b60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
push 0x497ae0
call fcn.00462ad3
int3