Function at 0x4385d0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1238
call fcn.004d6340
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push edi
mov esi, 1
push 0x5b9260
push esi
xor edi, edi
push str.Save_UseNewDLL
push 0x598da0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
call ebp
mov ebx, dword [esp + 0x126c]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x43861c
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x1278]
mov eax, dword [esp + 0x124c]
test eax, eax
mov word [edi], 0
mov byte [esp + 0x54], 0
jne 0x438661
mov eax, dword [esp + 0x1264]
test eax, eax
jne 0x438661
mov eax, dword [esp + 0x1268]
test eax, eax
je 0x438654
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1238
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4386b4
mov eax, dword [0x5b565c]
test eax, eax
je 0x438683
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x5b565c], 0
lea eax, [esp + 0x9f8]
push str.PDF.DLL
push eax
call fcn.004d631b
push 0
lea ecx, [esp + 0xa04]
push edi
push ecx
call fcn.00490760
mov edx, dword [0x5b565c]
add esp, 0x14
mov dword [esp + 0x18], edx
jmp 0x4386f0
lea eax, [esp + 0x9f8]
push str.IMPDF.DLL
push eax
call fcn.004d631b
lea ecx, [esp + 0xa00]
lea edx, [esp + 0x1008]
push ecx
push edx
call fcn.004904e0
add esp, 0x10
lea eax, [esp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43873f
mov eax, dword [esp + 0x1268]
test eax, eax
je 0x438709
mov dword [eax], 1
mov eax, dword [esp + 0x1270]
test eax, eax
je 0x4387c6
lea ecx, [esp + 0x1000]
push 0
lea edx, [esp + 0x9fc]
push ecx
push edx
call fcn.004905d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1238
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x438765
mov eax, dword [esp + 0x18]
push str.SavePDF_W
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x438867
jmp 0x43877d
mov ecx, dword [esp + 0x18]
push str.ImpdfIvSaveAsW
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4387d3
mov eax, dword [esp + 0x1268]
test eax, eax
je 0x43878e
mov dword [eax], 1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4387a1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x1270]
test eax, eax
je 0x4387c6
lea eax, [esp + 0x1000]
push 0
lea ecx, [esp + 0x9fc]
push eax
push ecx
call fcn.004905d0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1238
ret
lea edx, [esp + 0x158]
push edx
push 0x5b9260
call fcn.004c5950
lea eax, [esp + 0x160]
lea ecx, [esp + 0xc08]
push eax
push str.ImPDFIni_s_r_n
push ecx
call fcn.004d6857
mov edx, dword [esp + 0x1288]
lea ebp, [esp + eax + 0xc14]
push edx
push str.ImPDFLanguage_s_r_n
push ebp
call fcn.004d6857
add ebp, eax
push str.ImPDFDPMIsDPI1_r_n
push ebp
call fcn.004d6857
mov ecx, dword [esp + 0x1298]
add esp, 0x28
add ebp, eax
mov eax, 0x71
test ecx, ecx
jne 0x438840
mov eax, 0x130
push eax
push str.ImPDFShow_d_r_n
push ebp
call fcn.004d6857
add ebp, eax
push 0x598324
push str.ImPDFCreator_s_r_n
push ebp
call fcn.004d6857
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x18
test ebx, ebx
je 0x4388ae
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4388a7
mov ecx, dword [esp + 0x124c]
lea eax, [esp + 0x360]
push edi
push eax
push ecx
call fcn.00438410
mov esi, eax
add esp, 0xc
cmp esi, 1
jne 0x43891c
push 0x5aae60
push 0
push edi
push 0x5b9260
push eax
jmp 0x4388fb
xor esi, esi
jmp 0x43900c
cmp dword [esp + 0x1258], 1
jg 0x43897b
mov eax, dword [esp + 0x124c]
test eax, eax
je 0x43897b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x438931
lea ecx, [esp + 0x360]
push edi
push ecx
push eax
call fcn.00438410
mov esi, eax
add esp, 0xc
cmp esi, 1
jne 0x43891c
push 0x5aae60
push 0
push edi
push 0x5b9260
push 0
mov eax, dword [esp + 0x1260]
mov ecx, dword [esp + 0x1264]
lea edx, [esp + 0x374]
push edx
push eax
push ecx
call dword [esp + 0x3c]
add esp, 0x20
mov esi, eax
lea edx, [esp + 0x360]
push edx
call fcn.004d7368
add esp, 4
jmp 0x439004
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc00]
push eax
mov eax, dword [esp + 0x1254]
push 0
lea edx, [esp + 0x1254]
push ecx
push edx
push 1
push eax
push 0
push 0
call dword [esp + 0x40]
add esp, 0x20
lea ecx, [esp + 0x54]
mov esi, eax
push 0x104
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x43900c
mov edx, dword [esp + 0x1250]
lea eax, [esp + 0x770]
xor ebx, ebx
push edx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
call fcn.004d631b
mov eax, dword [esp + 0x125c]
add esp, 8
cmp eax, ebx
je 0x4389e5
mov edx, dword [esp + 0x1250]
mov ecx, eax
push ecx
push edx
call fcn.004d7652
add esp, 8
test eax, eax
jne 0x4389e5
cmp dword [esp + 0x1264], ebx
jne 0x4389e5
lea eax, [esp + 0x770]
push 0x598e88
push eax
call fcn.004d62f1
add esp, 8
mov dword [esp + 0x34], 1
cmp dword [esp + 0x10], ebx
jne 0x438a7a
mov eax, dword [esp + 0x1258]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0xc04]
push ebx
push edx
push ebx
lea ecx, [esp + 0x780]
push eax
push ecx
lea edx, [esp + 0x3c]
push 1
push edx
call dword [esp + 0x40]
add esp, 0x20
mov esi, eax
lea eax, [esp + 0x54]
push 0x104
push edi
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x54]
push str.cancel
push ecx
call fcn.004d6b10
add esp, 8
test eax, eax
jne 0x438a7a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x34], ebx
je 0x438a6a
lea eax, [esp + 0x770]
push eax
call fcn.004d7368
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1238
ret
cmp dword [esp + 0x1264], ebx
jne 0x438cd1
mov eax, dword [esp + 0x1258]
xor ebp, ebp
test eax, eax
jle 0x438c77
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, 1
jne 0x438c77
cmp ebp, dword [esp + 0x125c]
jne 0x438b6e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x438b27
mov edx, dword [esp + 0x124c]
lea ecx, [esp + 0x360]
push edi
push ecx
push edx
call fcn.00438410
mov esi, eax
add esp, 0xc
cmp esi, 1
jne 0x438b12
mov edx, dword [esp + 0x124c]
xor eax, eax
push 0x5aae60
push 0
test ebp, ebp
push edi
push 0x5b9260
setne al
lea ecx, [esp + 0x370]
push eax
push ecx
lea eax, [esp + 0x788]
push edx
push eax
call dword [esp + 0x3c]
add esp, 0x20
mov esi, eax
lea ecx, [esp + 0x360]
push ecx
call fcn.004d7368
add esp, 4
jmp 0x438c5f
lea edx, [esp + 0x54]
lea eax, [esp + 0xc00]
push edx
push 0
lea ecx, [esp + 0x1254]
push eax
push ecx
push 1
push 0
lea edx, [esp + 0x3c]
push 2
push edx
call dword [esp + 0x40]
add esp, 0x20
mov esi, eax
lea eax, [esp + 0x54]
push 0x104
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x438c5f
mov edx, dword [esp + 0x1260]
mov eax, dword [esp + 0x1254]
push 0
lea ecx, [esp + 0x50]
push 0
push ecx
push ebp
push edx
push eax
call fcn.004a9410
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x438c67
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x438c02
lea ecx, [esp + 0x360]
push edi
push ecx
push eax
call fcn.00438410
mov esi, eax
add esp, 0xc
cmp esi, 1
jne 0x438bf0
mov ecx, dword [esp + 0x14]
xor edx, edx
push 0x5aae60
push 0
test ebp, ebp
push edi
push 0x5b9260
setne dl
lea eax, [esp + 0x370]
push edx
push eax
lea edx, [esp + 0x788]
push ecx
push edx
call dword [esp + 0x3c]
add esp, 0x20
mov esi, eax
lea eax, [esp + 0x360]
push eax
call fcn.004d7368
add esp, 4
jmp 0x438c41
lea ecx, [esp + 0x54]
lea edx, [esp + 0xc00]
push ecx
push 0
lea eax, [esp + 0x1c]
push edx
push eax
push 1
push 0
lea ecx, [esp + 0x3c]
push 2
push ecx
call dword [esp + 0x40]
add esp, 0x20
lea edx, [esp + 0x54]
mov esi, eax
push 0x104
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x438c5f
push eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x14], 0
test esi, esi
je 0x438faf
mov eax, dword [esp + 0x1258]
inc ebp
cmp ebp, eax
jl 0x438a9e
test esi, esi
je 0x438faf
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x438fde
lea ecx, [esp + 0x54]
lea edx, [esp + 0xc00]
push ecx
push 0
push edx
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push 3
push eax
mov word [edi], 0
call dword [esp + 0x40]
add esp, 0x20
lea ecx, [esp + 0x54]
mov esi, eax
push 0x104
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x438fb7
push 0x5b9260
push 1
push str.SaveAllPages
push 0x598da0
call ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x30], ebx
jne 0x438d0b
push 0x5b9260
push 1
push str.ImpdfIVSaveAll
push str.ImPDF
call ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1268]
cmp eax, ebx
je 0x438d18
mov dword [eax], ebx
mov ecx, dword [esp + 0x1264]
xor ebp, ebp
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], ebx
call fcn.004d6713
add esp, 4
test eax, eax
jle 0x438c77
mov edx, dword [esp + 0x1264]
mov ax, word [edx + ebp*2]
cmp ax, 0x7c
je 0x438d61
mov ecx, dword [esp + 0x28]
mov word [esp + ecx*2 + 0x158], ax
inc ecx
mov dword [esp + 0x28], ecx
jmp 0x438f58
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x158]
push 1
push ecx
mov word [esp + eax*2 + 0x160], bx
mov dword [esp + 0x30], ebx
call fcn.00454070
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, ebx
mov dword [esp + 0x2c], 1
je 0x438dc4
lea edx, [esp + 0x1260]
lea eax, [esp + 0x158]
push edx
push eax
call fcn.004ccca0
mov ecx, dword [esp + 0x1268]
lea edx, [esp + 0x160]
push ecx
push edx
call fcn.004a9740
add esp, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x38], ebx
jle 0x438f50
push ebx
cmp ebp, ebx
push ebx
jne 0x438e08
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x68]
push ebx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
push ebx
lea eax, [esp + 0x190]
push ebx
push eax
call fcn.004a71a0
add esp, 0x40
jmp 0x438e26
mov edx, dword [esp + 0x1268]
lea ecx, [esp + 0x4c]
push ecx
push ebp
lea eax, [esp + 0x168]
push edx
push eax
call fcn.004a9410
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x438e76
cmp dword [esp + 0x1270], ebx
je 0x438e5c
cmp dword [esp + 0x38], ebx
jne 0x438e5c
mov edx, dword [0x5b5574]
push ebx
lea ecx, [esp + 0x15c]
push ebx
push ecx
push ebx
push 0x4e3
push edx
call fcn.004cc7f0
add esp, 0x18
mov eax, dword [esp + 0x1268]
cmp eax, ebx
je 0x438e69
inc dword [eax]
mov dword [esp + 0x38], 1
jmp 0x438f43
cmp dword [esp + 0x10], ebx
je 0x438ee6
lea ecx, [esp + 0x360]
push edi
push ecx
push eax
call fcn.00438410
mov esi, eax
add esp, 0xc
cmp esi, 1
jne 0x438ecb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
xor edx, edx
push 0x5aae60
cmp eax, ebx
push ebx
push edi
push 0x5b9260
setne dl
lea eax, [esp + 0x370]
push edx
push eax
lea edx, [esp + 0x788]
push ecx
push edx
call dword [esp + 0x3c]
add esp, 0x20
mov esi, eax
lea eax, [esp + 0x360]
push eax
call fcn.004d7368
mov eax, dword [esp + 0x34]
add esp, 4
inc eax
mov dword [esp + 0x30], eax
jmp 0x438f21
lea ecx, [esp + 0x54]
lea edx, [esp + 0xc00]
push ecx
push ebx
lea eax, [esp + 0x1c]
push edx
push eax
push 1
push ebx
lea ecx, [esp + 0x3c]
push 2
push ecx
call dword [esp + 0x40]
add esp, 0x20
lea edx, [esp + 0x54]
mov esi, eax
push 0x104
push edi
push 0xffffffffffffffff
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x438f3f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x438f7a
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jl 0x438dd6
cmp esi, ebx
je 0x438faf
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x1264]
inc ebp
push ecx
mov dword [esp + 0x44], ebp
call fcn.004d6713
add esp, 4
cmp ebp, eax
jl 0x438d3a
jmp 0x438c77
cmp dword [esp + 0x1270], ebx
je 0x438fa2
mov eax, dword [0x5b5574]
push 3
lea edx, [esp + 0x15c]
push ebx
push edx
push ebx
push 0x520
push eax
call fcn.004cc7f0
add esp, 0x18
mov eax, dword [esp + 0x1268]
cmp eax, ebx
je 0x438faf
inc dword [eax]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x438fde
lea edx, [esp + 0x54]
push str.cancel
push edx
call fcn.004d6b10
add esp, 8
test eax, eax
jne 0x438fde
mov eax, dword [esp + 0x1268]
test eax, eax
je 0x438fde
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x439004
mov edi, dword [esp + 0x1250]
push edi
call fcn.004d7368
lea eax, [esp + 0x774]
push edi
push eax
call fcn.004d7a37
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x439017
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1238
ret