joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a7fe
Capabilities:
Link many functions at runtime

Disassembly:
push 0x214
mov eax, 0x565856
call fcn.0053da79
mov dword [ebp - 0x220], esi
xor ebx, ebx
push 0x12c
mov dword [ebp - 4], ebx
lea eax, [esi + 0x40]
push ebx
push eax
mov dword [esi], vtable.PanelDriver.0
mov dword [esi + 0x38], ebx
mov byte [esi + 0x16c], bl
call fcn.00539100
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c], eax
cmp dword [0x5d1688], ebx
jne 0x40a8eb
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00539100
add esp, 0xc
call fcn.0043a21e
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0053c0c5
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040235d
mov edi, str.espd01.dll
push edi
mov byte [ebp - 4], 1
call fcn.00538bc9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040b738
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
mov dword [0x5d1688], eax
call fcn.00402722
mov eax, dword [0x5d1688]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
cmp eax, ebx
je 0x40a9cb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PDOpen
push eax
call edi
push str.PDClose
push dword [0x5d1688]
mov dword [esi + 8], eax
call edi
push str.PDLock
push dword [0x5d1688]
mov dword [esi + 0xc], eax
call edi
push str.PDUnLock
push dword [0x5d1688]
mov dword [esi + 0x10], eax
call edi
push str.PDSendJobData
push dword [0x5d1688]
mov dword [esi + 0x14], eax
call edi
push str.PDRecvJobData
push dword [0x5d1688]
mov dword [esi + 0x18], eax
call edi
push str.PDSendJobData2
push dword [0x5d1688]
mov dword [esi + 0x24], eax
call edi
push str.PDSendJobData3
push dword [0x5d1688]
mov dword [esi + 0x1c], eax
call edi
push str.PDDecodeData
push dword [0x5d1688]
mov dword [esi + 0x20], eax
call edi
push str.PDCreateJobData
push dword [0x5d1688]
mov dword [esi + 0x28], eax
call edi
push str.PDCreateJobData2
push dword [0x5d1688]
mov dword [esi + 0x2c], eax
call edi
push str.PDCreateJobData3
push dword [0x5d1688]
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov byte [esi + 4], bl
mov eax, esi
call fcn.0053dafc
ret
Function at 0x40ba2e
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi + 0x28]
mov dword [edi], vtable.Project.0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [edi + 0x40]
call fcn.0040c2fa
mov ecx, dword [edi + 0x38]
push 0x10
pop esi
sub ecx, esi
call fcn.00402722
mov ecx, dword [edi + 0x34]
sub ecx, esi
call fcn.00402722
mov ecx, dword [edi + 0x30]
sub ecx, esi
call fcn.00402722
mov ecx, dword [edi + 0x2c]
sub ecx, esi
call fcn.00402722
mov ecx, dword [edi + 0x28]
sub ecx, esi
call fcn.00402722
mov ecx, dword [edi + 0x20]
sub ecx, esi
call fcn.00402722
mov ecx, dword [edi + 0x18]
pop edi
sub ecx, esi
pop esi
jmp fcn.00402722

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

Disassembly:
push 0xc3c
mov eax, 0x567d95
call fcn.0053da79
mov eax, dword [ebp + 8]
and dword [ebp - 0xc38], 0
mov esi, ecx
lea edi, [ebp - 0xc38]
mov dword [ebp - 0xc3c], eax
call fcn.0040ba94
and dword [ebp - 4], 0
call fcn.00438647
push eax
lea ecx, [ebp - 0xc34]
call fcn.0042a80d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00539100
mov eax, 0x104
push eax
lea ecx, [ebp - 0x628]
push ecx
push eax
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0xc30]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.0053c3e4
add esp, 0x30
mov eax, edi
push eax
lea ecx, [ebp - 0xc34]
call fcn.0040248f
push 0x599b60
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0040193e
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0xc48]
push eax
mov byte [ebp - 4], 2
call fcn.0040193e
push 0x599b48
push eax
lea eax, [ebp - 0xc44]
push eax
mov byte [ebp - 4], 3
call fcn.0040193e
add esp, 0x24
push eax
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 4
call fcn.0040248f
mov ecx, dword [ebp - 0xc44]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0xc48]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc40]
add ecx, 0xfffffff0
call fcn.00402722
mov esi, dword [ebp - 0xc34]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bc5a
push esi
push 0x200
lea eax, [ebp - 0xa28]
push eax
push 0x5990a0
push 0x599b64
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa28]
push eax
jmp 0x40bc5f
push 0x599b84
mov ecx, dword [ebp - 0xc3c]
call fcn.0040235d
lea ecx, [esi - 0x10]
call fcn.00402722
mov ecx, dword [ebp - 0xc38]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, dword [ebp - 0xc3c]
call fcn.0053dafc
ret 4
Function at 0x40bc8e
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x11c
mov eax, 0x568846
call fcn.0053da79
mov eax, dword [ebp + 8]
and dword [ebp - 0x124], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, ecx
push esi
push 0x80
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x110]
push eax
push 0x5990a0
push str.ProjectUid
push str.Launch
call ebx
lea edi, [ebp - 0x11c]
call fcn.0040ba94
and dword [ebp - 4], 0
push 0x599b60
mov eax, edi
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0040193e
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 1
call fcn.0040193e
push 0x599b48
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 2
call fcn.0040193e
add esp, 0x24
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x114]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bdb0
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push 0x80
push eax
push 0x5990a0
push 0x599b64
push str.String
call ebx
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push eax
call fcn.0040235d
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, dword [ebp - 0x118]
jmp 0x40be09
lea eax, [ebp - 0x120]
push eax
mov ecx, esi
call fcn.0040bb03
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
push eax
call fcn.00402431
mov esi, dword [ebp - 0x118]
pop ecx
mov ecx, dword [ebp - 0x120]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00402722
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, esi
call fcn.0053dafc
ret 4
Function at 0x40c330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ecx
push 0x80
lea ecx, [ebp - 0x10c]
push ecx
push 0x5990a0
push eax
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10c]
push eax
call fcn.00538bc9
pop ecx
test eax, eax
jne 0x40c37a
fld qword [ebp + 0xc]
jmp 0x40c3a3
fldz
lea eax, [ebp - 0x114]
push eax
fstp qword [ebp - 0x114]
lea eax, [ebp - 0x10c]
push 0x599d78
push eax
call fcn.0053c66a
fld qword [ebp - 0x114]
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005384ff
leave
ret

Function at 0x40c3af
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push 0x418
mov eax, 0x565818
call fcn.0053da79
xor esi, esi
mov dword [ebp - 0x424], esi
call fcn.00438647
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a80d
push 0x410
lea eax, [ebp - 0x420]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00539100
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, esi
je 0x40c470
dec eax
dec eax
lea eax, [ebp - 0x420]
je 0x40c40a
push eax
push esi
push esi
push 0x8027
jmp 0x40c47e
push ebx
push 0x104
push eax
push 0x5990a0
push str.TargetFolder
push str.Save
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x420]
push eax
je 0x40c401
call fcn.00538bc9
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.004023c0
mov esi, dword [ebp - 0x424]
add esi, 0xfffffff0
push esi
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, esi
jmp 0x40c49c
lea eax, [ebp - 0x420]
push eax
push esi
push esi
push 0x8005
push esi
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.0040235d
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, edi
call fcn.0053dafc
ret
Function at 0x40ece5
Capabilities:
Read .ini file

Disassembly:
push 0x230
mov eax, 0x5657e5
call fcn.0053da79
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00435bc8
pop ecx
call fcn.00438647
push eax
lea ecx, [ebp - 0x230]
call fcn.0042a80d
push str.Resources
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push 0x59a4bc
push eax
mov byte [ebp - 4], 1
call fcn.0040a7c3
add esp, 0x10
call fcn.00438647
push eax
lea ecx, [ebp - 0x224]
call fcn.0042a80d
mov byte [ebp - 4], 2
call fcn.00438647
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042a80d
mov byte [ebp - 4], 3
call fcn.00438647
push eax
lea ecx, [ebp - 0x228]
call fcn.0042a80d
and dword [ebp - 0x238], 0
mov dword [ebp - method.CLcMgrStub.virtual_0], vtable.CLcMgrStub.0
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x220], esp
push str.string
call fcn.0040235d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x230]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x234], esp
mov esi, esp
push eax
mov dword [ebp - 0x234], eax
call fcn.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.004174d7
push dword [ebp + 8]
lea ebx, [ebp - 0x220]
call fcn.0041752c
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.0040248f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00420db5
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x5990a0
push str.ProjectAppName
push str.Event_Launch_Win
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push 0x5996a0
push eax
call fcn.0040a7c3
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x20]
mov eax, dword [eax + 0x18]
cmp dword [eax - 0xc], 0
mov ebx, dword [ebp - 0x22c]
je 0x40ee82
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [eax + 0x18]
jmp 0x40ee89
cmp dword [ebx - 0xc], 0
je 0x40eea0
push ebx
push dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push eax
call fcn.0040a7c3
add esp, 0xc
jmp 0x40eed7
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00420e02
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x228]
push dword [ebp - 0x224]
push eax
call fcn.0040a7c3
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [ebp - 0x228]
push 0x30
push 0x59a818
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.004174c6
lea ecx, [esi - 0x10]
call fcn.00402722
lea ecx, [ebx - 0x10]
call fcn.00402722
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x234]
call fcn.00402722
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.0053dafc
ret 4
Function at 0x40fff1
Capabilities:
Read .ini file

Disassembly:
push 0x244
mov eax, 0x56575d
call fcn.0053da79
mov eax, dword [ebp + 8]
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x234], eax
call fcn.0045205a
push 0xa
lea ecx, [ebp - 0x250]
call fcn.0043ab0b
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00438647
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042a80d
mov byte [ebp - 4], 1
call fcn.00438647
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a80d
lea esi, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.004101ea
mov byte [ebp - 4], 3
push dword [ebp - 0x228]
mov esi, str.Devices
push edi
push str.SupportedDeviceCount
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x22c], eax
xor eax, eax
cmp dword [ebp - 0x22c], edi
jle 0x41012f
mov edi, 0x5990a0
lea ebx, [eax + 1]
push ebx
lea eax, [ebp - 0x21c]
push str.Device_04d
push eax
call fcn.0040a7c3
add esp, 0xc
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
push dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040235d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x41010d
lea ecx, [ebp - 0x224]
call fcn.00410289
push dword [ebp - 0x224]
lea ecx, [ebp - 0x250]
call fcn.0043acf9
push edi
mov ecx, eax
call fcn.00402337
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, ebx
cmp eax, dword [ebp - 0x22c]
jl 0x41008f
xor edi, edi
lea eax, [ebp - 0x250]
push eax
call fcn.0040fe7a
mov eax, dword [ebp - 0x244]
neg eax
sbb eax, eax
mov dword [ebp - 0x230], eax
cmp eax, edi
je 0x4101a7
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x250]
call fcn.0043abe3
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], edi
je 0x41019f
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], edi
je 0x41019f
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0043acf9
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.0040248f
cmp dword [ebp - 0x230], edi
jne 0x41014f
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.0043abab
mov al, 1
call fcn.0053dafc
ret 4

Function at 0x410455
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, eax
mov ecx, esi
call fcn.00410633
test al, al
je 0x410467
mov al, 1
pop esi
ret
xor ecx, ecx
cmp byte [esi + 0x10], cl
je 0x410476
cmp dword [esi + 0x1c], ecx
pop esi
setne al
ret
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 8]
push eax
push ecx
push str.ModelDependency
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
pop esi
ret
Function at 0x4104e1
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x5656fe
call fcn.0053da79
xor esi, esi
inc esi
push esi
push 0x23
xor eax, eax
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x230], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0040235d
and dword [ebp - 4], 0
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
mov dword [ebp - 0x230], esi
call fcn.00402431
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], esi
mov dword [esp], 0x598e20
push str.Model
lea ecx, [ebp - 0x21c]
call fcn.00410ca3
push str.ScanSmart.ini
lea ecx, [ebp - 0x224]
call fcn.0040f17a
push str.epsonEpson_Scan_2Models_
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0040f17a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.004018e7
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 4
call fcn.004018e7
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 5
call fcn.004018e7
add esp, 0x24
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040248f
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, edi
call fcn.0053dafc
ret
Function at 0x410633
Capabilities:
Check if file exists
Check os version
Read .ini file

Disassembly:
push 0x128
mov eax, 0x5678c2
call fcn.0053da79
mov edi, 0x114
push edi
xor esi, esi
lea eax, [ebp - 0x124]
push esi
push eax
mov ebx, ecx
call fcn.00539100
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 7
jb 0x41067f
xor al, al
jmp 0x41077b
cmp dword [ebp - 0x120], 6
jne 0x410691
cmp dword [ebp - 0x11c], 1
jae 0x410678
lea edi, [ebp - 0x128]
call fcn.004104e1
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402722
cmp edi, esi
je 0x41076f
lea edi, [ebp - 0x134]
call fcn.004104e1
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.004107a6
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.buttonNumbers
push eax
call esi
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402722
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
call fcn.00402722
test edi, edi
jle 0x41076f
lea edi, [ebp - 0x130]
call fcn.004104e1
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.004107a6
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push 0
push str.category
push eax
call esi
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402722
mov ecx, dword [ebp - 0x130]
add ecx, 0xfffffff0
call fcn.00402722
cmp esi, 0x15
je 0x41076b
cmp esi, 0x16
jne 0x41076f
mov al, 1
jmp 0x41077b
mov eax, ebx
call fcn.00410781
test al, al
setne al
call fcn.0053dafc
ret

Function at 0x4107f9
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x564898
call fcn.0053da10
mov ebx, ecx
call fcn.00410633
test al, al
je 0x410867
mov eax, ebx
call fcn.00410781
test al, al
je 0x410820
push 4
pop eax
jmp 0x410887
lea edi, [ebp - 0x14]
call fcn.004104e1
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004107a6
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push 0
push str.buttonNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402722
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, esi
jmp 0x410887
cmp byte [ebx + 0x10], 0
je 0x410872
mov eax, dword [ebx + 0x18]
jmp 0x410887
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 0
push str.NumJobEvents
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call fcn.0053dae8
ret
Function at 0x41088d
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x564898
call fcn.0053da10
mov ebx, ecx
call fcn.00410633
test al, al
je 0x4108f8
lea edi, [ebp - 0x14]
call fcn.004104e1
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004107a6
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push 0
push str.buttonNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402722
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*4 + 2]
jmp 0x410918
cmp byte [ebx + 0x10], 0
je 0x410903
mov eax, dword [ebx + 0x14]
jmp 0x410918
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 0
push str.JobDeviceType
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call fcn.0053dae8
ret

Function at 0x41091e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00539100
add esp, 0xc
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x5990a0
push str.ShortTranslation
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0040235d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.005384ff
leave
ret

Function at 0x410994
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x56863d
call fcn.0053da79
and dword [ebp - 0x224], 0
mov ebx, ecx
mov esi, edx
call fcn.00410633
test al, al
je 0x410a24
lea edi, [ebp - 0x21c]
call fcn.004104e1
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
push ebx
call fcn.004107a6
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push 0
push str.buttonNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402722
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, esi
cmp edi, 1
jne 0x410a1d
push str.ModelMF0A
call fcn.0040f17a
jmp 0x410a82
push str.ModelMF16
jmp 0x410a16
cmp byte [ebx + 0x10], 0
je 0x410a34
lea eax, [ebx + 0x14]
call fcn.004018c9
jmp 0x410a82
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00539100
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5990a0
push str.DeviceSettingAlias
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040235d
mov eax, esi
call fcn.0053dafc
ret