Function at 0x10013910
Capabilities:
Check if file exists
Create directory
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1012b4db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x1016e0e4]
xor ebp, ebp
mov dword [esp + 0x4e0], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4e8]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x4e4], 5
call fcn.1011fe5a
push 0x5c
lea ecx, [esp + 0x18]
call fcn.1011dcd9
mov edi, eax
mov eax, dword [esp + 0x4ec]
sub eax, ebp
mov dword [esi + 0x160], ebp
je 0x10013b61
dec eax
je 0x10013a7b
push str._bootanimation.zip
lea ecx, [esp + 0x64]
call fcn.1011fddc
lea ecx, [esp + 0x6c]
push edi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e8], 0x10
call fcn.1011dc61
lea edx, [esp + 0x60]
mov bl, 0x11
push edx
push eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x4e8], bl
push eax
call fcn.1011ff52
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e4], 0x12
call fcn.1011fe5a
lea ecx, [esp + 0x74]
mov byte [esp + 0x4e0], bl
call fcn.1011fd13
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4e0], 0x10
call fcn.1011fd13
lea ecx, [esp + 0x60]
mov byte [esp + 0x4e0], 5
call fcn.1011fd13
push str._bootanimation
lea ecx, [esp + 0x5c]
call fcn.1011fddc
lea ecx, [esp + 0x58]
lea edx, [esi + 0xd8]
push ecx
lea eax, [esp + 0x68]
mov bl, 0x13
push edx
push eax
mov byte [esp + 0x4ec], bl
call fcn.1011ff52
lea edi, [esi + 0xcc]
push eax
mov ecx, edi
mov byte [esp + 0x4e4], 0x14
call fcn.1011fe5a
lea ecx, [esp + 0x64]
mov byte [esp + 0x4e0], bl
call fcn.1011fd13
mov byte [esp + 0x4e0], 5
lea ecx, [esp + 0x58]
jmp 0x10013c42
push str._shutdownanimation.zip
lea ecx, [esp + 0x58]
call fcn.1011fddc
lea ecx, [esp + 0x68]
push edi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e8], 0xb
call fcn.1011dc61
lea edx, [esp + 0x54]
mov bl, 0xc
push edx
push eax
lea eax, [esp + 0x78]
mov byte [esp + 0x4e8], bl
push eax
call fcn.1011ff52
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e4], 0xd
call fcn.1011fe5a
lea ecx, [esp + 0x70]
mov byte [esp + 0x4e0], bl
call fcn.1011fd13
lea ecx, [esp + 0x68]
mov byte [esp + 0x4e0], 0xb
call fcn.1011fd13
lea ecx, [esp + 0x54]
mov byte [esp + 0x4e0], 5
call fcn.1011fd13
push str._shutdownanimation
lea ecx, [esp + 0x60]
call fcn.1011fddc
lea ecx, [esp + 0x5c]
lea edx, [esi + 0xd8]
push ecx
lea eax, [esp + 0x38]
mov bl, 0xe
push edx
push eax
mov byte [esp + 0x4ec], bl
call fcn.1011ff52
lea edi, [esi + 0xcc]
push eax
mov ecx, edi
mov byte [esp + 0x4e4], 0xf
call fcn.1011fe5a
lea ecx, [esp + 0x34]
mov byte [esp + 0x4e0], bl
call fcn.1011fd13
mov byte [esp + 0x4e0], 5
lea ecx, [esp + 0x5c]
jmp 0x10013c42
push str._bootanimation.zip
lea ecx, [esp + 0x34]
call fcn.1011fddc
lea ecx, [esp + 0x3c]
push edi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e8], 6
call fcn.1011dc61
lea edx, [esp + 0x30]
mov bl, 7
push edx
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x4e8], bl
push eax
call fcn.1011ff52
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e4], 8
call fcn.1011fe5a
lea ecx, [esp + 0x38]
mov byte [esp + 0x4e0], bl
call fcn.1011fd13
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4e0], 6
call fcn.1011fd13
lea ecx, [esp + 0x30]
mov byte [esp + 0x4e0], 5
call fcn.1011fd13
push str._bootanimation
lea ecx, [esp + 0x28]
call fcn.1011fddc
lea ecx, [esp + 0x24]
lea edx, [esi + 0xd8]
push ecx
lea eax, [esp + 0x24]
mov bl, 9
push edx
push eax
mov byte [esp + 0x4ec], bl
call fcn.1011ff52
lea edi, [esi + 0xcc]
push eax
mov ecx, edi
mov byte [esp + 0x4e4], 0xa
call fcn.1011fe5a
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e0], bl
call fcn.1011fd13
mov byte [esp + 0x4e0], 5
lea ecx, [esp + 0x24]
call fcn.1011fd13
lea ecx, [esi + 0x6c]
push ecx
lea ecx, [esp + 0x30]
call fcn.1011fe5a
push 0x5c
lea ecx, [esp + 0x30]
call fcn.1011dcd9
push str.desc.txt
lea ecx, [esp + 0x28]
call fcn.1011fddc
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push edi
push eax
mov byte [esp + 0x4ec], 0x15
call fcn.1011ff52
lea ecx, [esp + 0x24]
mov byte [esp + 0x4e0], 0x17
call fcn.1011fd13
push ecx
lea edx, [esp + 0x4ec]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.1011fa80
call fcn.1000a1d0
add esp, 4
cmp eax, ebp
je 0x10013cd2
push ecx
lea eax, [esp + 0x4ec]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.1011fa80
call fcn.1000a260
add esp, 4
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.1011fa80
call fcn.1000a1d0
add esp, 4
cmp eax, ebp
je 0x10013d00
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.1011fa80
call fcn.1000a260
add esp, 4
lea ecx, [esi + 0x118]
mov dword [esi + 0x134], ebp
call fcn.1011f039
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001402f
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.10024aa0
mov ebp, eax
lea eax, [esp + 0x2b0]
push eax
push 0xffffffffffffffff
push ebp
call fcn.10024ac0
mov eax, dword [edi]
mov ecx, dword [esp + 0x2bc]
add esp, 0x14
mov dword [esp + 0x30], ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10013d9e
mov edx, dword [0x1018e644]
lea ecx, [esp + 0x10]
push edx
push 0x12c
push 0x12c
call fcn.10120158
push eax
push str.ERROR_CREATE_ZIP_DIR_FAILED
push str.ERROR_CREATE_ZIP_DIR_FAILED
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
jmp 0x1001409d
mov edi, dword [edi]
push edi
push ebp
call fcn.10024b80
mov eax, dword [esp + 0x38]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x10013ee1
lea ecx, [esp + 0x78]
push ecx
push ebx
push ebp
call fcn.10024ac0
add esp, 0xc
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x20]
push edx
call fcn.1011fd87
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e4], 0x18
call fcn.1011fe5a
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e0], 0x17
call fcn.1011fd13
lea eax, [esp + 0x3c]
push 3
push eax
lea ecx, [esp + 0x24]
call fcn.1011dbe5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e4], 0x19
call fcn.1011fe5a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4e0], 0x17
call fcn.1011fd13
mov ecx, dword [esp + 0x14]
push 0x1016c5c4
push ecx
call fcn.10030ae7
mov edx, dword [esp + 0x1c]
push 0x1016c5bc
push edx
mov edi, eax
call fcn.10030ae7
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
push 0x1016c5b4
push eax
call fcn.10030ae7
add esp, 0x18
test edi, edi
je 0x10013e71
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x10013e71
test eax, eax
jne 0x10013ec5
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x38]
call fcn.1011fd87
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e4], 0x1a
call fcn.1011fe5a
lea ecx, [esp + 0x34]
mov byte [esp + 0x4e0], 0x17
call fcn.1011fd13
push 0x1016a058
push 0x1016a05c
lea ecx, [esp + 0x24]
call fcn.1011d9bb
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x118]
push edx
call fcn.1011f1a3
lea eax, [esp + 0x7c]
push eax
push ebx
push ebp
call fcn.10024b60
mov eax, dword [esp + 0x3c]
add esp, 0xc
inc ebx
cmp ebx, eax
jl 0x10013db8
push ebp
call fcn.10024bc0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0x160], 1
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100140b2
xor edx, edx
lea eax, [esp + 0x28]
mov dword [esp + 0x40], edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x5c], edx
call fcn.1011fa80
call fcn.10010600
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10013f7a
mov ecx, dword [0x1018e644]
push ecx
push 0x12c
push 0x12c
lea ecx, [esp + 0x1c]
call fcn.10120158
push eax
push str.ERROR_READ_DESC_FAILED
push str.ERROR_READ_DESC_FAILED
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
push ebx
jmp 0x10014097
mov esi, ebx
mov al, byte [esi]
test al, al
je 0x10014021
cmp al, 0xd
je 0x10013f96
cmp al, 0x20
je 0x10013f96
mov byte [esp + edi + 0x40], al
inc esi
inc edi
jmp 0x10013f7c
test edi, edi
jne 0x10013f9d
inc esi
jmp 0x10013f7c
cmp ebp, 4
ja case.default.0x10013fa2
jmp dword [ebp*4 + 0x1001414c]
lea eax, [esp + 0x40]
push eax
call fcn.1002f5dd
add esp, 4
mov dword [0x1018e648], eax
jmp case.default.0x10013fa2
lea ecx, [esp + 0x40]
push ecx
call fcn.1002f5dd
add esp, 4
mov dword [0x1018e64c], eax
jmp case.default.0x10013fa2
lea edx, [esp + 0x40]
push edx
call fcn.1002f5dd
add esp, 4
mov dword [0x1018e650], eax
jmp case.default.0x10013fa2
mov al, byte [esp + 0x40]
mov byte [0x1018e654], al
jmp case.default.0x10013fa2
lea ecx, [esp + 0x40]
push ecx
call fcn.1002f5dd
add esp, 4
mov dword [0x1018e65c], eax
xor edi, edi
inc esi
inc ebp
xor edx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
jmp 0x10013f7c
push ebx
call fcn.1002e4db
add esp, 4
jmp 0x100140b2
mov eax, dword [esp + 0x4ec]
sub eax, ebp
je 0x10014063
dec eax
jne 0x10014093
mov eax, dword [0x1018e644]
lea ecx, [esp + 0x10]
push eax
push 0x12c
push 0x12c
call fcn.10120158
push eax
push str.ERROR_FIND_SHUTDOWNANIMATION
push str.ERROR_FIND_SHUTDOWNANIMATION
jmp 0x10014088
mov ecx, dword [0x1018e644]
push ecx
push 0x12c
push 0x12c
lea ecx, [esp + 0x1c]
call fcn.10120158
push eax
push str.ERROR_FIND_BOOTANIMATION
push str.ERROR_FIND_BOOTANIMATION
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
push ebp
mov edx, dword [esp + 0x14]
push eax
push edx
mov ecx, esi
call fcn.1012262e
push 0x12c
lea ecx, [esp + 0x14]
call fcn.101201a8
lea ecx, [esp + 0x28]
mov byte [esp + 0x4e0], 5
call fcn.1011fd13
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.1011fd13
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e0], 3
call fcn.1011fd13
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4e0], 2
call fcn.1011fd13
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e0], 1
call fcn.1011fd13
lea ecx, [esp + 0x14]
mov byte [esp + 0x4e0], 0
call fcn.1011fd13
lea ecx, [esp + 0x4e8]
mov dword [esp + 0x4e0], 0xffffffff
call fcn.1011fd13
mov ecx, dword [esp + 0x4d8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4d4
ret 8