Function at 0x10012da0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1012b328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x1016e0e4]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xb0]
mov byte [esp + 0x34], 2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10012e7d
mov eax, dword [0x1018e644]
lea ecx, [esp + 0xc]
push eax
push 0x12c
push 0x12c
call fcn.10120158
push eax
push str.ERROR_RESOURCE_PATH_NO_EXIST
push str.ERROR_RESOURCE_PATH_NO_EXIST
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0xc]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.1012262e
push 0x12c
lea ecx, [esp + 0x10]
call fcn.101201a8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.1011fd13
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.1011fd13
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.1011fd13
or eax, 0xffffffff
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov eax, dword [0x1016e0e4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea edi, [esi + 0x70]
push str._binunpackresource.bat
lea edx, [esp + 0x1c]
push edi
push edx
mov byte [esp + 0x40], 4
call fcn.1011ffb8
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 5
call fcn.1011fa80
lea ecx, [esp + 0x28]
push ecx
call fcn.1000ccc0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 6
call fcn.1011fe5a
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call fcn.1011fd13
lea edx, [esp + 0x10]
push ebx
push edx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.1011fa80
call fcn.100102f0
add esp, 0xc
cmp eax, ebx
jne 0x10012fde
mov ecx, dword [0x1018e644]
push ecx
push 0x12c
push 0x12c
lea ecx, [esp + 0x18]
call fcn.10120158
push eax
push str.ERROR_UNPACK_RESOURCE
push str.ERROR_UNPACK_RESOURCE
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
push ebx
push eax
push edx
mov ecx, esi
call fcn.1012262e
push 0x12c
lea ecx, [esp + 0x10]
call fcn.101201a8
mov eax, dword [esp + 0x10]
mov ecx, dword [0x1018fb1c]
push eax
push str.resource_unpack_failed__s_n
push ecx
call fcn.100251e0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call fcn.1011fd13
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.1011fd13
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.1011fd13
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.1011fd13
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.1011fd13
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.1011fd13
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push ecx
lea edx, [esi + 0xbc]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov dword [esi + 0x164], 1
mov dword [esi + 0x168], 1
call fcn.1011fa80
call fcn.10010720
add esp, 4
cmp eax, ebx
je 0x10013026
push 1
push 0x4ca
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101238dc
push str._bindtbtodts.bat
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1011ffb8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 7
call fcn.1011fe5a
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call fcn.1011fd13
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.1011fa80
lea eax, [esp + 0x28]
push eax
call fcn.1000ccc0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 8
call fcn.1011fe5a
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call fcn.1011fd13
lea ecx, [esp + 0x10]
push ebx
push ecx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.1011fa80
call fcn.100102f0
add esp, 0xc
cmp eax, ebx
jne 0x10013188
mov eax, dword [0x1018e644]
lea ecx, [esp + 0xc]
push eax
push 0x12c
push 0x12c
call fcn.10120158
push eax
push str.ERROR_EXPORT_RESOURCE_DTB
push str.ERROR_EXPORT_RESOURCE_DTB
push str.Logo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0xc]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.1012262e
push 0x12c
lea ecx, [esp + 0x10]
call fcn.101201a8
mov edx, dword [esp + 0x10]
mov eax, dword [0x1018fb1c]
push edx
push str.resource_export_dtb__s_n
push eax
call fcn.100251e0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call fcn.1011fd13
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.1011fd13
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.1011fd13
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.1011fd13
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.1011fd13
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.1011fd13
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x18]
mov dword [esi + 0x16c], 1
mov byte [esp + 0x34], 4
call fcn.1011fd13
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.1011fd13
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.1011fd13
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.1011fd13
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.1011fd13
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.1011fd13
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret