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

Disassembly:
push 0x89c
mov eax, 0x742be6
call fcn.005f004f
mov esi, ecx
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.005c1f30
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005c1f30
add esp, 0x18
lea ecx, [ebp - 0x860]
mov edi, 0x75b41c
push edi
call fcn.00409440
push edi
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], ebx
call fcn.00409440
push edi
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.00409440
push edi
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.00409440
push ebx
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push ebx
call fcn.0043c871
mov ebx, 0x75b4c8
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005d2b61
mov edi, 0x75b474
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005d2b61
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005d2b61
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005d2b61
lea eax, [ebp - 0x420]
push 0x75b4cc
push eax
call fcn.005d2b61
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
add esp, 0x38
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x75b41c
push str.UsrPath
push str.AppCfg
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
test eax, eax
jle 0x42fdd5
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x42fdd5
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x860]
call fcn.0040a2c0
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.0040a2c0
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43009e
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005c1f30
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005c1f30
add esp, 0x18
cmp dword [esi + 0x6c], 0
jne 0x42fe31
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push 0x5c
push eax
call fcn.005c3030
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x42fe4b
lea eax, [esi + 0x5c]
cmp dword [eax + 0x14], 8
jb 0x42fe3c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.005d28f3
pop ecx
pop ecx
push str.BeiKePDFConverter.ini
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push 0x75b524
push eax
call fcn.0040d2b0
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x75b41c
push str.UsrPath
push str.AppInfo
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
test eax, eax
jle 0x42fef8
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x42fef8
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.0040a2c0
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.0040a2c0
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43009e
lea eax, [esi + 0x74]
cmp dword [eax + 0x14], 8
jb 0x42ff03
mov eax, dword [eax]
push str.BeiKePDFConverter.ini
push eax
lea eax, [ebp - 0x830]
push 0x75b524
push eax
call fcn.0040d2b0
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x75b41c
push str.UsrPath
push str.AppInfo
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
test eax, eax
jle 0x42ffaa
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x42ffaa
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.0040a2c0
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.0040a2c0
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43009e
push 0x75b41c
push str.UsrPath
push str.AppInfo
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
call fcn.0042f56f
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.005c5a2e
pop ecx
test eax, eax
jle 0x430030
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call edi
test eax, eax
je 0x430030
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x878]
call fcn.004092d0
lea eax, [ebp - 0x848]
push eax
lea ecx, [esi + 0x14]
call fcn.004092d0
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x430093
cmp byte [esi + 8], 0
je 0x430093
cmp byte [esi + 7], 0
je 0x430093
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x860]
call fcn.0040e4a0
test al, al
jne 0x430056
mov byte [esi + 9], 1
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x860]
call fcn.0040e4a0
test al, al
jne 0x430070
mov byte [esi + 9], 1
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x860]
call fcn.0040e4a0
test al, al
jne 0x430093
push 1
lea ecx, [ebp - 0x860]
call fcn.0042f409
lea ecx, [ebp - 0x848]
call fcn.0040a140
lea ecx, [ebp - 0x878]
call fcn.0040a140
lea ecx, [ebp - 0x890]
call fcn.0040a140
lea ecx, [ebp - 0x8a8]
call fcn.0040a140
lea ecx, [ebp - 0x860]
call fcn.0040a140
call fcn.005f000a
ret