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

Disassembly:
mov eax, 0x59a197
call fcn.00593620
mov eax, 0x10cc
call fcn.004b3f70
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push dword [ebp + 8]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
call fcn.0043bc64
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
push 0x61d5dc
mov dword [0x61d5a4], eax
call fcn.0043c4b4
lea eax, [ebp - 0x18]
add esp, 0x1c
push eax
call fcn.0043be91
pop ecx
lea eax, [ebp - 0x18]
mov edi, 0x61d5cc
mov dword [ebp - 4], ebx
call fcn.004013b4
lea eax, [ebp - 0x14]
push eax
call fcn.00482593
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
call fcn.00486614
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
or dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00439676
cmp eax, ebx
je 0x43cc2f
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x3c]
lea eax, [eax + ecx + 4]
mov esi, dword [eax + 4]
cmp esi, dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
ja 0x43cc10
xor eax, eax
mov byte [ebp - 0x10], bl
lea edi, [ebp - 0xf]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + ecx]
push 4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049cbc0
add esp, 0xc
push 4
lea eax, [ebp - 0x10]
push str.zzd.
push eax
call fcn.0049d244
add esp, 0xc
test eax, eax
jne 0x43cc10
add esi, 4
mov dword [ebp - 0x4c], esi
jmp 0x43cc1c
lea esi, [ebp - 0x58]
call fcn.00439782
cmp eax, ebx
je 0x43cc2f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.00439485
lea esi, [ebp - 0x58]
call fcn.00439462
mov eax, dword [0x619864]
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push str.install_resinstallconfig.ini
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0041bc02
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004013b4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
call fcn.0043c378
mov eax, dword [0x61d5d4]
mov eax, dword [eax - 0xc]
cmp eax, ebx
mov esi, 0x61d5d4
jne 0x43ccde
push str.softid
lea eax, [ebp - 0x24]
push eax
mov dword [0x61d5d8], 1
call fcn.0043229f
mov eax, edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.0043b81b
add esp, 0xc
mov edi, esi
mov byte [ebp - 4], 6
call fcn.004013b4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [0x61d5d4]
cmp dword [eax - 0xc], ebx
je 0x43ccf6
call fcn.00401062
mov ebx, eax
call fcn.00401088
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
jne 0x43ce23
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ce23
push 0x5e8234
lea eax, [ebp - 0x24]
push eax
call fcn.0043229f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.0043b81b
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004011c0
push str.source
lea eax, [ebp - 0x1c]
push eax
call fcn.0043229f
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x1c]
push 0x5e7dd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x61d5a0], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
call fcn.004813cc
add esp, 0x18
call fcn.0048335d
test eax, eax
je 0x43cdb7
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
mov dword [0x61d59c], eax
mov eax, dword [ebp - 0x34]
mov dword [0x61d5a4], eax
push str.RecommendPopChickText
lea eax, [ebp - 0x1c]
push eax
call fcn.0043229f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xa
call fcn.0043b81b
add esp, 0xc
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [ebp - 0x38]
mov edi, 0x61d5d0
call fcn.004013b4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.004011c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [0x61d5a0], 4
jne 0x43ce3a
mov eax, dword [0x61d5d4]
cmp dword [eax - 0xc], ebx
je 0x43cf25
push str.install_res
lea eax, [ebp - 0x18]
push eax
call fcn.00431fdb
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call fcn.0043c60e
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
push eax
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x14], esp
mov esi, esp
call fcn.0040135c
add eax, 0x10
mov dword [esi], eax
call fcn.0043c013
pop ecx
pop ecx
call fcn.0043c9e7
test eax, eax
je 0x43cf25
call fcn.00482757
test eax, eax
je 0x43ceb5
cmp dword [0x61d5a8], ebx
jne 0x43cf25
push ebx
push ebx
push 2
push 2
push 0x5e8290
push ebx
push ebx
push 0x5e82a0
push ebx
call fcn.0040aacf
add esp, 0x24
jmp 0x43cf25
mov eax, dword [0x61d5a0]
cmp eax, 1
je 0x43cf0c
cmp eax, 3
je 0x43cf0c
push ecx
mov eax, edi
mov dword [ebp - 0x14], esp
mov esi, esp
call fcn.0040135c
push dword [ebp - 0x30]
add eax, 0x10
push dword [ebp - 0x20]
mov dword [esi], eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x10d8]
push eax
call fcn.00487be6
lea eax, [ebp - 0x10d8]
mov byte [ebp - 4], 0xd
call fcn.0043d29e
lea eax, [ebp - 0x10d8]
push eax
mov byte [ebp - 4], 3
call fcn.00487e31
jmp 0x43cf25
push dword [ebp - 0x28]
lea ebx, [ebp - 0x18]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
call fcn.0043c833
add esp, 0x10
xor ebx, ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
lea esi, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00439462
call fcn.00486729
mov esi, dword [ebp - 0x18]
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [ebp - 0x14], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
call fcn.0043c0b2
pop ecx
mov eax, esi
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret