Function at 0x419b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7dc
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x7dc], ecx
push str._PJL_INFO_ID
mov eax, dword [ebp + 8]
push eax
call fcn.00401ce0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419f6e
mov ecx, dword [ebp - 4]
add ecx, 0xc
mov dword [ebp - 4], ecx
push 0x22
mov edx, dword [ebp - 4]
push edx
call fcn.00401cc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419f6e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0x22
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401cc0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jbe 0x419f6e
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0x104
jge 0x419f6e
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x104
lea eax, [ebp - 0x320]
push eax
call fcn.00403b04
add esp, 0x10
mov ecx, dword [ebp - 0x7dc]
add ecx, 0x4808
push ecx
push 0
push str.General
push str.system
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x419ddb
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x320]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x36c], 0
mov ecx, dword [ebp - 0x7dc]
add ecx, 0x4808
push ecx
push 0x104
lea edx, [ebp - 0x578]
push edx
push 0
push str.DriverName
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x419cc9
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x7dc]
add edx, 0x3040
push edx
call fcn.00401050
add esp, 8
test eax, eax
je 0x419cc7
mov dword [ebp - 0x36c], 1
jmp 0x419d3d
lea eax, [ebp - 0x580]
push eax
push 0x437ef0
lea ecx, [ebp - 0x578]
push ecx
call fcn.0040268d
add esp, 0xc
mov dword [ebp - 0x57c], eax
mov edx, dword [ebp - 0x57c]
push edx
mov eax, dword [ebp - 0x7dc]
add eax, 0x3040
push eax
call fcn.00401050
add esp, 8
test eax, eax
je 0x419d13
mov dword [ebp - 0x36c], 1
lea ecx, [ebp - 0x580]
push ecx
push 0x437ef4
mov edx, dword [ebp - 0x580]
push edx
call fcn.0040268d
add esp, 0xc
mov dword [ebp - 0x57c], eax
cmp dword [ebp - 0x57c], 0
jne 0x419cea
cmp dword [ebp - 0x36c], 0
jne 0x419ddb
mov eax, dword [ebp - 0x7dc]
mov dword [eax + 0x2e28], 1
mov ecx, dword [ebp - 0x7dc]
add ecx, 0x2e38
push ecx
push 0x12c
mov edx, dword [ebp - 0x7dc]
add edx, 0x3988
push edx
call fcn.004023ae
add esp, 0xc
push 0x12c
mov eax, dword [ebp - 0x7dc]
add eax, 0x3be0
push eax
push 0x437ef8
mov ecx, dword [ebp - 0x7dc]
add ecx, 0x40c8
call fcn.0042e720
mov ecx, dword [ebp - 0x7dc]
mov dword [ecx + 0x3e38], 1
push 0
push 0
push 0x479
mov edx, dword [ebp - 0x7dc]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x419f70
mov ecx, dword [ebp - 0x7dc]
add ecx, 0x4808
push ecx
push 0x22
lea edx, [ebp - 0x368]
push edx
push 0x437f24
push str.Data
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 6
push 0x437f40
lea ecx, [ebp - 0x368]
push ecx
call fcn.00402656
add esp, 0xc
test eax, eax
jne 0x419f26
push 0x12c
lea edx, [ebp - 0x7d8]
push edx
push str.APPERR_NOTSUPPORT
mov ecx, dword [ebp - 0x7dc]
add ecx, 0x40c8
call fcn.0042e720
lea eax, [ebp - 0x7d8]
push eax
call fcn.00402006
add esp, 4
test eax, eax
ja 0x419e74
push str.Not_supported
push 0x12c
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.004023ae
add esp, 0xc
lea edx, [ebp - 0x7d8]
push edx
push 0x12c
mov eax, dword [ebp - 0x7dc]
add eax, 0x3264
push eax
call fcn.004023ae
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x7d8]
push edx
push str._s_:__s
push 0x12c
mov eax, dword [ebp - 0x7dc]
add eax, 0x3be0
push eax
call fcn.00402385
add esp, 0x14
mov ecx, dword [ebp - 0x7dc]
mov dword [ecx + 0x2e28], 1
mov edx, dword [ebp - 0x7dc]
add edx, 0x2e38
push edx
push 0x12c
mov eax, dword [ebp - 0x7dc]
add eax, 0x3988
push eax
call fcn.004023ae
add esp, 0xc
mov ecx, dword [ebp - 0x7dc]
mov dword [ecx + 0x3e38], 1
push 0
push 0
push 0x479
mov edx, dword [ebp - 0x7dc]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x419f70
lea ecx, [ebp - 0x218]
push ecx
push 0x104
mov edx, dword [ebp - 0x7dc]
add edx, 0x2bcc
push edx
call fcn.004023ae
add esp, 0xc
mov eax, dword [ebp - 0x7dc]
mov dword [eax + 0x2e28], 0
mov ecx, dword [ebp - 0x7dc]
mov dword [ecx + 0x2e34], 1
mov eax, 1
jmp 0x419f70
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret 8