Function at 0x435e50
Capabilities:
Enumerate files on windows
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d8
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Dataimages_
lea eax, [ebp - 0x20c]
push 0x100
push eax
call fcn.00463a4a
push str..pak
lea ecx, [ebp - 0x20c]
push 0x100
push ecx
call fcn.004642ca
add esp, 0x18
lea edx, [ebp - 0x6c4]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x6d4], esi
cmp esi, 0xffffffff
je 0x4361d0
push ebx
push edi
lea ebx, [ebx]
push str.Dataimages_
lea ecx, [ebp - 0x20c]
push 0x100
push ecx
call fcn.00463a4a
lea edx, [ebp - 0x698]
push edx
lea eax, [ebp - 0x20c]
push 0x100
push eax
call fcn.004642ca
lea ecx, [ebp - 0x20c]
xor ebx, ebx
push 0x497df4
push ecx
mov byte [ebp - 0xc], 0
mov dword [ebp - 0xb], ebx
mov dword [ebp - 0x6cc], ebx
call fcn.004644f9
mov edi, eax
push edi
push 5
lea edx, [ebp - 0xc]
push 1
push edx
mov dword [ebp - 0x6d8], edi
call fcn.0046490d
push edi
push 4
lea eax, [ebp - 0x6cc]
push 1
push eax
call fcn.0046490d
add esp, 0x40
mov dword [ebp - 0x6d0], ebx
cmp dword [ebp - 0x6cc], ebx
jle 0x4361b8
jmp 0x435f58
mov edi, dword [ebp - 0x6d8]
xor ebx, ebx
xor eax, eax
push edi
push 0x20
lea ecx, [ebp - 0x458]
push 1
push ecx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x6c8], ebx
call fcn.0046490d
push edi
push 4
lea edx, [ebp - 0x6c8]
push 1
push edx
call fcn.0046490d
mov eax, dword [ebp - 0x6c8]
push eax
call fcn.00462b8e
mov ecx, dword [ebp - 0x6c8]
push edi
push ecx
mov esi, eax
push 1
push esi
call fcn.0046490d
mov eax, dword [ebp - 0x6c8]
add esp, 0x34
lea edx, [ebp - 0x474]
push edx
push eax
push esi
call sub.d3dx9_31.dll_D3DXGetImageInfoFromFileInMemory
mov edx, dword [ebp - 0x470]
mov eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x410]
push ecx
push ebx
mov ecx, dword [ebp - 0x6c8]
push ebx
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push ebx
push ebx
push 1
push edx
mov edx, dword [0x4b5984]
push eax
push ecx
push esi
push edx
call sub.d3dx9_31.dll_D3DXCreateTextureFromFileInMemoryEx
test eax, eax
jne 0x4361df
push esi
call fcn.00462d9e
mov ebx, dword [0x4c527c]
mov eax, dword [ebp - 0x474]
mov ecx, dword [ebp - 0x470]
mov esi, dword [0x4c5278]
lea edx, [ebp - 0x458]
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], ecx
cmp edx, ebx
jae 0x43610e
mov eax, edx
cmp esi, eax
ja 0x43610e
mov ecx, edx
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [0x4c5280]
jne 0x4360f8
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 0x436218
mov edx, dword [0x4c5280]
sub edx, esi
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ecx
add eax, edx
cmp ecx, eax
jbe 0x4360f8
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x4360d9
xor eax, eax
jmp 0x4360db
add eax, edx
cmp eax, ecx
jae 0x4360e1
mov eax, ecx
push eax
mov ecx, 0x4c5278
call fcn.004157d0
mov ebx, dword [0x4c527c]
mov esi, dword [0x4c5278]
imul edi, edi, 0x4c
add edi, esi
push edi
push ebx
push 0x4c5284
call fcn.0040a4d0
jmp 0x43618f
mov edi, dword [0x4c5280]
cmp ebx, edi
jne 0x43617d
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 0x436218
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 0x43617d
mov edx, eax
shr edx, 1
mov esi, 0x35e50d7
sub esi, edx
cmp esi, eax
jae 0x436164
xor eax, eax
jmp 0x436166
add eax, edx
cmp eax, ecx
jae 0x43616c
mov eax, ecx
push eax
mov ecx, 0x4c5278
call fcn.004157d0
mov ebx, dword [0x4c527c]
lea ecx, [ebp - 0x458]
push ecx
push ebx
push 0x4c5284
call fcn.0040a4d0
mov eax, dword [ebp - 0x6d0]
add dword [0x4c527c], 0x4c
inc eax
add esp, 0xc
mov dword [ebp - 0x6d0], eax
cmp eax, dword [ebp - 0x6cc]
jl 0x435f50
mov esi, dword [ebp - 0x6d4]
lea edx, [ebp - 0x6c4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435ec0
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x40c]
push str.LOAD_PACKING_FAILURE_:__s_n
push ecx
call fcn.00409550
add esp, 0xc
lea edx, [ebp - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00463931
mov esp, ebp
pop ebp
ret
push 0x497ae0
call fcn.00462ad3
int3