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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001eaa7
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x1002f0ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10003ea0
lea ebx, [edi + 0x18]
lea esi, [edi + 0x48]
cmp esi, ebx
je 0x10003b5b
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.10001800
push 0xa
push 0x100204c0
mov ecx, esi
call fcn.100016d0
xor eax, eax
mov dword [ebp - 0x424], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.10001800
push 0x13
push str.OriginPDFReader.ini
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.100016d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1000cfc0
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003c4f
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10020328
push str.CfgPath
push str.ORAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x10003c27
xor ecx, ecx
jmp 0x10003c3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003c30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x78]
call fcn.10001920
cmp dword [edi + 0x88], 0
jne 0x10003e06
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1000cfc0
add esp, 0xc
lea eax, [ebp - 0x468]
mov ecx, edi
push eax
call fcn.10003300
cmp dword [ebp - 0x454], 8
lea ecx, [ebp - 0x420]
push ecx
push str.7ee87
push str.OROISet
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x468]
mov ecx, edi
push eax
push 0x10020338
lea eax, [ebp - 0x450]
push eax
call fcn.10003780
mov ebx, eax
lea esi, [edi + 0x78]
cmp esi, ebx
je 0x10003d00
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10003cd9
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10001a20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10003cf1
mov eax, dword [esi]
jmp 0x10003cf3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.10001310
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x10003d22
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.10001a20
cmp dword [esi + 0x10], 0
je 0x10003de6
xor eax, eax
mov dword [ebp - 0x43c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.10001800
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x484], 0x5c
call fcn.10001bf0
cmp eax, 0xffffffff
jle 0x10003dc8
inc eax
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x480]
push eax
call fcn.10001cb0
push eax
mov ecx, esi
call fcn.10001240
lea ecx, [ebp - 0x480]
call fcn.10001200
add edi, 0x90
cmp edi, esi
je 0x10003dbc
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.10001800
push str.Qddaseer.ini
mov ecx, edi
call fcn.10002ee0
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x10003de6
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.10001a20
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x10003e49
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.10001a20
jmp 0x10003e49
push 7
lea esi, [edi + 0x78]
push str.CfgPath
mov ecx, esi
call fcn.100016d0
push 1
push 0x1002032c
mov ecx, esi
call fcn.100016d0
add edi, 0x90
cmp edi, esi
je 0x10003e3b
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.10001800
push 0xe
push str.OriginVest.ini
mov ecx, edi
call fcn.100016d0
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x10003e67
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.10001a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a19d
mov esp, ebp
pop ebp
ret