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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x4a4cf0]
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 0x431dd0
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.0045c0fa
push str..png
lea edx, [ebp - 0x204]
push 0x100
push edx
call fcn.0045c97a
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 0x43205e
jmp 0x431e46
mov esi, dword [ebp - 0x6c8]
lea edx, [ebp - 0x690]
push edx
lea eax, [ebp - 0x46c]
push 0x20
push eax
call fcn.0045c0fa
push esi
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.0045c0fa
lea edx, [ebp - 0x690]
push edx
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0045c97a
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 [0x4a6954]
push eax
push ecx
call sub.d3dx9_31.dll_D3DXCreateTextureFromFileExW
test eax, eax
jne 0x43206e
mov ebx, dword [0x4b81a0]
mov esi, dword [0x4b819c]
lea edx, [ebp - 0x46c]
cmp edx, ebx
jae 0x431fb1
mov eax, edx
cmp esi, eax
ja 0x431fb1
mov ebx, dword [0x4b81a4]
mov ecx, edx
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
mov ecx, dword [0x4b81a0]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ecx, ebx
jne 0x431f95
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x35e50d6
ja 0x43207f
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 0x431f95
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x431f7c
xor eax, eax
jmp 0x431f7e
add eax, edx
cmp eax, ecx
jae 0x431f84
mov eax, ecx
push eax
mov ecx, 0x4b819c
call fcn.00414e00
mov esi, dword [0x4b819c]
mov ecx, dword [0x4b81a0]
imul edi, edi, 0x4c
add edi, esi
push edi
push ecx
push 0x4b81a8
call fcn.0040b030
jmp 0x432032
mov edi, dword [0x4b81a4]
cmp ebx, edi
jne 0x432020
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 0x43207f
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 0x432020
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x432007
xor eax, eax
jmp 0x432009
add eax, edx
cmp eax, ecx
jae 0x43200f
mov eax, ecx
push eax
mov ecx, 0x4b819c
call fcn.00414e00
mov ebx, dword [0x4b81a0]
lea edx, [ebp - 0x46c]
push edx
push ebx
push 0x4b81a8
call fcn.0040b030
mov ecx, dword [ebp - 0x6cc]
add dword [0x4b81a0], 0x4c
add esp, 0xc
lea eax, [ebp - 0x6bc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431e40
mov edi, dword [ebp - 0x6c0]
inc edi
mov dword [ebp - 0x6c0], edi
cmp edi, 1
jb 0x431dd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
push 0x48bd48
call fcn.0045b183
int3