Function at 0x4049a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43a7db
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x44b7a0]
xor eax, esp
mov dword [esp + 0x614], eax
push ebp
push esi
push edi
mov eax, dword [0x44b7a0]
xor eax, esp
push eax
lea eax, [esp + 0x628]
mov dword fs:[0], eax
call fcn.0040c366
mov eax, dword [eax + 8]
push 0x100
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x24]
push 0x5c
push edx
call fcn.00425028
add esp, 8
test eax, eax
je 0x404a15
lea ecx, [esp + 0x24]
sub eax, ecx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x26], dx
lea eax, [esp + 0x24]
push eax
lea esi, [ebx + 4]
push 0x200
push esi
call fcn.00424fb9
add esp, 0xc
push esi
lea ecx, [ebx + 0x1004]
push 0x200
push ecx
call fcn.00424fb9
mov eax, esi
add esp, 0xc
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x404a45
mov edx, dword [str.cdinfo.ini]
mov dword [eax], edx
mov ecx, dword [0x441b78]
mov dword [eax + 4], ecx
mov edx, dword [0x441b7c]
mov dword [eax + 8], edx
mov ecx, dword [0x441b80]
mov dword [eax + 0xc], ecx
mov edx, dword [0x441b84]
mov dword [eax + 0x10], edx
mov cx, word [0x441b88]
mov word [eax + 0x14], cx
lea ecx, [esp + 0x14]
call fcn.0041437f
push 0
push 0
lea esi, [ebx + 4]
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x63c], 0
call fcn.004147f7
lea ecx, [esp + 0x14]
test eax, eax
jne 0x404ac4
mov dword [ebx + 0x480c], 2
jmp 0x404fb4
call fcn.00414319
mov edx, 0x44f6b0
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404ad2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
lea eax, [ebx + 4]
push eax
push 0x100
lea edx, [esp + 0x2c]
push edx
push 0x441858
push str.Language
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x441858
lea eax, [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404b3c
test dx, dx
je 0x404b38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404b3c
add eax, 4
add ecx, 4
test dx, dx
jne 0x404b16
xor eax, eax
jmp 0x404b41
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404b92
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x441ba0
push ecx
call fcn.004250c4
mov eax, dword [esp + 0x1c]
mov edx, 0xffff
add esp, 0xc
cmp ax, dx
jne 0x404b8f
movzx eax, di
push eax
push str.0x_04x
lea edx, [esp + 0x2c]
call fcn.004025c0
add esp, 8
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040b96f
jmp 0x404b92
movzx edi, ax
movzx edx, di
push edx
lea esi, [ebx + 0x1404]
push str.0x_04x
mov edx, esi
call fcn.00407250
lea ebp, [ebx + 0x4858]
push ebp
lea edi, [ebx + 0x1804]
push esi
push str._s._s
mov edx, edi
call fcn.00407250
add esp, 0x14
mov ecx, ebx
call fcn.00407160
test eax, eax
jne 0x404c00
mov eax, str.0x0409
mov edx, esi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404be0
push ebp
push esi
push str._s._s
mov edx, edi
call fcn.00407250
add esp, 0xc
push str._10_0_FW_BOLD_Arial_0_0_FALSE_FALSE_FALSE_ANSI_CHARSET_OUT_DEFAULT_PRECIS_CLIP_DEFAULT_PRECIS_DEFAULT_QUALITY_DEFAULT_PITCH
lea eax, [esp + 0x28]
push 0x100
push eax
mov dword [ebx + 0x4c60], ebp
call fcn.00424fb9
add esp, 0xc
lea ecx, [ebx + 0x4830]
push ecx
lea ecx, [esp + 0x28]
call fcn.00405890
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edi, [ebx + 4]
push edi
push 0x258
push str.Width
push str.SETTING
call ebp
push edi
push 0x1c2
push str.Height
push str.SETTING
mov dword [ebx + 0x4838], eax
call ebp
push esi
push str._s.INFORMATION
lea edx, [esp + 0x42c]
mov dword [ebx + 0x483c], eax
call fcn.004025c0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 8
push edi
push 0x200
lea edx, [esp + 0x2c]
push edx
push 0x441858
push str.ExitCaption
lea eax, [esp + 0x438]
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [ebx + 0x4408]
push 0x200
push edx
call fcn.00424fb9
add esp, 0xc
push edi
push 0x200
lea eax, [esp + 0x2c]
push eax
push 0x441858
push str.AcrobatCaption
lea ecx, [esp + 0x438]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
lea eax, [ebx + 0x4008]
push 0x200
push eax
call fcn.00424fb9
add esp, 0xc
push edi
push 0
push str.ExitLineCount
push str.INFORMATION
call ebp
push 0x400
mov dword [ebx + 0x4c64], eax
lea eax, [ebx + 0x3408]
push 0
push eax
call fcn.00425cd0
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0x4c64], eax
jle 0x404dd6
lea ebp, [eax + 1]
push ebp
push str.ExitLine_d
lea edx, [esp + 0x22c]
call fcn.004025c0
add esp, 8
lea eax, [ebx + 4]
push eax
push 0x200
lea ecx, [esp + 0x2c]
push ecx
push 0x441858
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404d72
mov ecx, dword [0x4414a0]
lea eax, [esp + 0x24]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404d90
lea edi, [ebx + 0x3408]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x404da6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
cmp eax, dword [ebx + 0x4c64]
jl 0x404d2a
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebx + 4]
push eax
push 0
push str.AcrobatLineCount
push str.INFORMATION
call ebp
push 0x400
mov dword [ebx + 0x4c68], eax
lea eax, [ebx + 0x3808]
push 0
push eax
call fcn.00425cd0
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0x4c68], eax
jle 0x404ec6
lea ebp, [eax + 1]
push ebp
push str.AcrobatLine_d
lea edx, [esp + 0x22c]
call fcn.004025c0
add esp, 8
lea eax, [ebx + 4]
push eax
push 0x200
lea edx, [esp + 0x2c]
push edx
push 0x441858
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [esp + 0x24]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404e60
mov edx, dword [0x4414a0]
lea eax, [esp + 0x24]
mov dword [edi], edx
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404e80
lea edi, [ebx + 0x3808]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x404e96
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
cmp eax, dword [ebx + 0x4c68]
jl 0x404e12
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebx + 4]
push eax
push 0
push str.BMAcrobatLineCount
push str.INFORMATION
call ebp
push 0x400
mov dword [ebx + 0x4c6c], eax
lea eax, [ebx + 0x3c08]
push 0
push eax
call fcn.00425cd0
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0x4c6c], eax
jle 0x404fb0
lea ebp, [eax + 1]
push ebp
push str.BMAcrobatLine_d
lea edx, [esp + 0x22c]
call fcn.004025c0
add esp, 8
lea eax, [ebx + 4]
push eax
push 0x200
lea eax, [esp + 0x2c]
push eax
push 0x441858
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [esp + 0x24]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404f50
mov eax, dword [0x4414a0]
mov dword [edi], eax
lea eax, [esp + 0x24]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404f70
lea edi, [ebx + 0x3c08]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x404f86
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
cmp eax, dword [ebx + 0x4c6c]
jl 0x404f02
lea ecx, [esp + 0x14]
mov dword [esp + 0x630], 0xffffffff
call fcn.00414487
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x614]
xor ecx, esp
call fcn.0042461c
add esp, 0x624
ret