Function at 0x41002b
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
sub esp, 0x454
lea ebp, [esp - 4]
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp + 0x454], eax
push 8
mov eax, 0x5103a6
call fcn.0049dfed
mov eax, dword [ebp + 0x460]
mov dword [ebp - 0x14], eax
xor eax, eax
mov ebx, 0x1fe
push ebx
mov word [ebp + 0x54], ax
xor edi, edi
lea eax, [ebp + 0x56]
push edi
push eax
call fcn.0049d740
push 0x12d
lea esi, [ebp + 0x54]
call fcn.0041721b
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x410085
sub eax, edx
sar eax, 1
je 0x4102f9
mov ecx, 0x537d64
lea eax, [ebp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4100c7
cmp dx, di
je 0x4100c3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4100c7
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4100a1
xor eax, eax
jmp 0x4100cc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x4102f9
xor eax, eax
push ebx
mov word [ebp + 0x254], ax
lea eax, [ebp + 0x256]
push edi
push eax
call fcn.0049d740
push 0x1f5
lea esi, [ebp + 0x254]
call fcn.0041721b
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x410103
sub eax, edx
sar eax, 1
je 0x410297
mov ecx, 0x537d64
lea eax, [ebp + 0x254]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410148
cmp dx, di
je 0x410144
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410148
add eax, 4
add ecx, 4
cmp dx, di
jne 0x410122
xor eax, eax
jmp 0x41014d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x410297
mov ecx, 0x537d6c
lea eax, [ebp + 0x254]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410186
cmp dx, di
je 0x410182
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410186
add eax, 4
add ecx, 4
cmp dx, di
jne 0x410160
xor eax, eax
jmp 0x41018b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x410297
call fcn.004016b1
push edi
push edi
push 0x1408
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp]
call fcn.00401685
push 0x5387d0
push 1
push 1
push edi
push 0x5384dc
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00403874
push eax
lea ecx, [ebp]
call fcn.004109ff
mov ebx, dword [ebp - 0x14]
push str.Apks
lea eax, [ebx + 0x40]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00409dbb
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x4101ff
lea eax, [ebp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
push eax
call esi
push 0x538040
lea ecx, [ebp + 0x38]
call fcn.00403850
push 0xffffffffffffffff
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.004039ea
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x410231
lea eax, [ebp + 0x3c]
push edi
push eax
call esi
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebx + 4]
call fcn.004019f3
push str.PlayPic.zip
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00409dbb
add esp, 0xc
push 8
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x20]
pop ebx
cmp dword [ebp + 0x34], ebx
jae 0x41026b
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
inc esi
cmp eax, esi
jne 0x41029b
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.0040184d
push edi
push esi
lea ecx, [ebp + 0x38]
call fcn.0040184d
push edi
push esi
lea ecx, [ebp]
call fcn.0040184d
mov al, 1
jmp 0x41030d
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
jae 0x4102a6
lea eax, [ebp + 0x20]
push eax
mov ecx, str.PLAYPIC
call fcn.00417417
pop ecx
cmp eax, edi
je 0x4102d9
mov ecx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], ebx
jae 0x4102c1
lea ecx, [ebp + 0x3c]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
jae 0x4102cc
lea eax, [ebp + 0x20]
push ecx
push eax
call fcn.0047ab3d
pop ecx
pop ecx
test eax, eax
je 0x410279
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.0040184d
push edi
push esi
lea ecx, [ebp + 0x38]
call fcn.0040184d
push edi
push esi
lea ecx, [ebp]
call fcn.0040184d
jmp 0x41030b
push edi
push 0x538810
push 0x5389b8
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x454]
xor ecx, ebp
call fcn.0049a49b
add ebp, 0x458
leave
ret 4