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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x4ab000]
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 0x4334c0
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.0045d7aa
push str..png
lea edx, [ebp - 0x204]
push 0x100
push edx
call fcn.0045e02a
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 0x43374e
jmp 0x433536
mov esi, dword [ebp - 0x6c8]
lea edx, [ebp - 0x690]
push edx
lea eax, [ebp - 0x46c]
push 0x20
push eax
call fcn.0045d7aa
push esi
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call fcn.0045d7aa
lea edx, [ebp - 0x690]
push edx
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0045e02a
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 [0x4acc3c]
push eax
push ecx
call sub.d3dx9_31.dll_D3DXCreateTextureFromFileExW
test eax, eax
jne 0x43375e
mov ebx, dword [0x4be4e8]
mov esi, dword [0x4be4e4]
lea edx, [ebp - 0x46c]
cmp edx, ebx
jae 0x4336a1
mov eax, edx
cmp esi, eax
ja 0x4336a1
mov ebx, dword [0x4be4ec]
mov ecx, edx
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
mov ecx, dword [0x4be4e8]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ecx, ebx
jne 0x433685
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x35e50d6
ja 0x43376f
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 0x433685
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x43366c
xor eax, eax
jmp 0x43366e
add eax, edx
cmp eax, ecx
jae 0x433674
mov eax, ecx
push eax
mov ecx, 0x4be4e4
call fcn.00417a60
mov esi, dword [0x4be4e4]
mov ecx, dword [0x4be4e8]
imul edi, edi, 0x4c
add edi, esi
push edi
push ecx
push 0x4be4f0
call fcn.0040b3e0
jmp 0x433722
mov edi, dword [0x4be4ec]
cmp ebx, edi
jne 0x433710
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 0x43376f
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 0x433710
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x4336f7
xor eax, eax
jmp 0x4336f9
add eax, edx
cmp eax, ecx
jae 0x4336ff
mov eax, ecx
push eax
mov ecx, 0x4be4e4
call fcn.00417a60
mov ebx, dword [0x4be4e8]
lea edx, [ebp - 0x46c]
push edx
push ebx
push 0x4be4f0
call fcn.0040b3e0
mov ecx, dword [ebp - 0x6cc]
add dword [0x4be4e8], 0x4c
add esp, 0xc
lea eax, [ebp - 0x6bc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x433530
mov edi, dword [ebp - 0x6c0]
inc edi
mov dword [ebp - 0x6c0], edi
cmp edi, 1
jb 0x4334c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d691
mov esp, ebp
pop ebp
ret
push 0x4925b0
call fcn.0045c833
int3