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

Disassembly:
push 0x214
mov eax, 0x56556c
call fcn.0053d749
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.00538860
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c], eax
cmp dword [0x5d1688], ebx
jne 0x40ac32
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538860
add esp, 0xc
call fcn.00439ede
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.0053bdb5
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040266d
mov edi, str.espd01.dll
push edi
mov byte [ebp - 4], 1
call fcn.0053894e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040ba79
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.00402a50
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 0x40ad12
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.0053d7cc
ret
Function at 0x40bd6f
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.0040c63b
mov ecx, dword [edi + 0x38]
push 0x10
pop esi
sub ecx, esi
call fcn.00402a50
mov ecx, dword [edi + 0x34]
sub ecx, esi
call fcn.00402a50
mov ecx, dword [edi + 0x30]
sub ecx, esi
call fcn.00402a50
mov ecx, dword [edi + 0x2c]
sub ecx, esi
call fcn.00402a50
mov ecx, dword [edi + 0x28]
sub ecx, esi
call fcn.00402a50
mov ecx, dword [edi + 0x20]
sub ecx, esi
call fcn.00402a50
mov ecx, dword [edi + 0x18]
pop edi
sub ecx, esi
pop esi
jmp fcn.00402a50

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

Disassembly:
push 0xc3c
mov eax, 0x56795b
call fcn.0053d749
mov eax, dword [ebp + 8]
and dword [ebp - 0xc38], 0
mov esi, ecx
lea edi, [ebp - 0xc38]
mov dword [ebp - 0xc3c], eax
call fcn.0040bdd5
and dword [ebp - 4], 0
call fcn.00438329
push eax
lea ecx, [ebp - 0xc34]
call fcn.00402a28
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00538860
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.0053c0d4
add esp, 0x30
mov eax, edi
push eax
lea ecx, [ebp - 0xc34]
call fcn.0040279f
push 0x599c28
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.00401c58
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0xc48]
push eax
mov byte [ebp - 4], 2
call fcn.00401c58
push 0x599c10
push eax
lea eax, [ebp - 0xc44]
push eax
mov byte [ebp - 4], 3
call fcn.00401c58
add esp, 0x24
push eax
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 4
call fcn.0040279f
mov ecx, dword [ebp - 0xc44]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0xc48]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc40]
add ecx, 0xfffffff0
call fcn.00402a50
mov esi, dword [ebp - 0xc34]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bf9b
push esi
push 0x200
lea eax, [ebp - 0xa28]
push eax
push 0x599168
push 0x599c2c
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa28]
push eax
jmp 0x40bfa0
push 0x599c4c
mov ecx, dword [ebp - 0xc3c]
call fcn.0040266d
lea ecx, [esi - 0x10]
call fcn.00402a50
mov ecx, dword [ebp - 0xc38]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0xc3c]
call fcn.0053d7cc
ret 4
Function at 0x40bfcf
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x11c
mov eax, 0x568402
call fcn.0053d749
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 0x599168
push str.ProjectUid
push str.Launch
call ebx
lea edi, [ebp - 0x11c]
call fcn.0040bdd5
and dword [ebp - 4], 0
push 0x599c28
mov eax, edi
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00401c58
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 1
call fcn.00401c58
push 0x599c10
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 2
call fcn.00401c58
add esp, 0x24
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
call fcn.00402a50
push dword [ebp - 0x114]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c0f1
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push 0x80
push eax
push 0x599168
push 0x599c2c
push str.String
call ebx
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push eax
call fcn.0040266d
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0x118]
jmp 0x40c14a
lea eax, [ebp - 0x120]
push eax
mov ecx, esi
call fcn.0040be44
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
push eax
call fcn.00402741
mov esi, dword [ebp - 0x118]
pop ecx
mov ecx, dword [ebp - 0x120]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00402a50
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, esi
call fcn.0053d7cc
ret 4
Function at 0x40c671
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 0x599168
push eax
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10c]
push eax
call fcn.0053894e
pop ecx
test eax, eax
jne 0x40c6bb
fld qword [ebp + 0xc]
jmp 0x40c6e4
fldz
lea eax, [ebp - 0x114]
push eax
fstp qword [ebp - 0x114]
lea eax, [ebp - 0x10c]
push 0x599e40
push eax
call fcn.0053c35a
fld qword [ebp - 0x114]
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005381db
leave
ret

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

Disassembly:
push 0x418
mov eax, 0x56552e
call fcn.0053d749
xor esi, esi
mov dword [ebp - 0x424], esi
call fcn.00438329
push eax
lea ecx, [ebp - 0x424]
call fcn.00402a28
push 0x410
lea eax, [ebp - 0x420]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00538860
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, esi
je 0x40c7b1
dec eax
dec eax
lea eax, [ebp - 0x420]
je 0x40c74b
push eax
push esi
push esi
push 0x8027
jmp 0x40c7bf
push ebx
push 0x104
push eax
push 0x599168
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 0x40c742
call fcn.0053894e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.004026d0
mov esi, dword [ebp - 0x424]
add esi, 0xfffffff0
push esi
call fcn.00402741
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, esi
jmp 0x40c7dd
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.0040266d
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, edi
call fcn.0053d7cc
ret
Function at 0x40eec8
Capabilities:
Read .ini file

Disassembly:
push 0x230
mov eax, 0x5654fb
call fcn.0053d749
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004358a8
pop ecx
call fcn.00438329
push eax
lea ecx, [ebp - 0x230]
call fcn.00402a28
push str.Resources
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push 0x59a5a4
push eax
mov byte [ebp - 4], 1
call fcn.0040ab0a
add esp, 0x10
call fcn.00438329
push eax
lea ecx, [ebp - 0x224]
call fcn.00402a28
mov byte [ebp - 4], 2
call fcn.00438329
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402a28
mov byte [ebp - 4], 3
call fcn.00438329
push eax
lea ecx, [ebp - 0x228]
call fcn.00402a28
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.0040266d
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.00402741
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.004176cf
push dword [ebp + 8]
lea ebx, [ebp - 0x220]
call fcn.00417724
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.0040279f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00412de8
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x599168
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.00402a50
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push 0x599768
push eax
call fcn.0040ab0a
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 0x40f065
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [eax + 0x18]
jmp 0x40f06c
cmp dword [ebx - 0xc], 0
je 0x40f083
push ebx
push dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push eax
call fcn.0040ab0a
add esp, 0xc
jmp 0x40f0ba
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00420fa5
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x228]
push dword [ebp - 0x224]
push eax
call fcn.0040ab0a
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402a50
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [ebp - 0x228]
push 0x30
push 0x59a918
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.004176be
lea ecx, [esi - 0x10]
call fcn.00402a50
lea ecx, [ebx - 0x10]
call fcn.00402a50
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x234]
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7cc
ret 4
Function at 0x41013d
Capabilities:
Read .ini file

Disassembly:
push 0x244
mov eax, 0x565473
call fcn.0053d749
mov eax, dword [ebp + 8]
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x234], eax
call fcn.0043a86b
push 0xa
lea ecx, [ebp - 0x250]
call fcn.0043a7cb
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00438329
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402a28
mov byte [ebp - 4], 1
call fcn.00438329
push eax
lea ecx, [ebp - 0x220]
call fcn.00402a28
lea esi, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.00410336
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 0x41027b
mov edi, 0x599168
lea ebx, [eax + 1]
push ebx
lea eax, [ebp - 0x21c]
push str.Device_04d
push eax
call fcn.0040ab0a
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.0040266d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x410259
lea ecx, [ebp - 0x224]
call fcn.004103d5
push dword [ebp - 0x224]
lea ecx, [ebp - 0x250]
call fcn.0043aa30
push edi
mov ecx, eax
call fcn.00402647
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, ebx
cmp eax, dword [ebp - 0x22c]
jl 0x4101db
xor edi, edi
lea eax, [ebp - 0x250]
push eax
call fcn.0040ffc6
mov eax, dword [ebp - 0x244]
neg eax
sbb eax, eax
mov dword [ebp - 0x230], eax
cmp eax, edi
je 0x4102f3
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x250]
call fcn.0043a8f5
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], edi
je 0x4102eb
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], edi
je 0x4102eb
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0043aa30
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.0040279f
cmp dword [ebp - 0x230], edi
jne 0x41029b
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.0043a8bd
mov al, 1
call fcn.0053d7cc
ret 4

Function at 0x4106b4
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, eax
mov ecx, esi
call fcn.00410892
test al, al
je 0x4106c6
mov al, 1
pop esi
ret
xor ecx, ecx
cmp byte [esi + 0x10], cl
je 0x4106d5
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 0x410740
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x565414
call fcn.0053d749
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.0040266d
and dword [ebp - 4], 0
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
mov dword [ebp - 0x230], esi
call fcn.00402741
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], esi
mov dword [esp], 0x598ee8
push str.Model
lea ecx, [ebp - 0x21c]
call fcn.00410f02
push str.ScanSmart.ini
lea ecx, [ebp - 0x224]
call fcn.0040f341
push str.epsonEpson_Scan_2Models_
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0040f341
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.00401c01
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 4
call fcn.00401c01
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 5
call fcn.00401c01
add esp, 0x24
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040279f
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, edi
call fcn.0053d7cc
ret
Function at 0x410892
Capabilities:
Check if file exists
Check os version
Read .ini file

Disassembly:
push 0x128
mov eax, 0x5674a6
call fcn.0053d749
mov edi, 0x114
push edi
xor esi, esi
lea eax, [ebp - 0x124]
push esi
push eax
mov ebx, ecx
call fcn.00538860
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 0x4108de
xor al, al
jmp 0x4109da
cmp dword [ebp - 0x120], 6
jne 0x4108f0
cmp dword [ebp - 0x11c], 1
jae 0x4108d7
lea edi, [ebp - 0x128]
call fcn.00410740
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402a50
cmp edi, esi
je 0x4109ce
lea edi, [ebp - 0x134]
call fcn.00410740
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.00410a05
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.00402a50
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
call fcn.00402a50
test edi, edi
jle 0x4109ce
lea edi, [ebp - 0x130]
call fcn.00410740
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.00410a05
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.00402a50
mov ecx, dword [ebp - 0x130]
add ecx, 0xfffffff0
call fcn.00402a50
cmp esi, 0x15
je 0x4109ca
cmp esi, 0x16
jne 0x4109ce
mov al, 1
jmp 0x4109da
mov eax, ebx
call fcn.004109e0
test al, al
setne al
call fcn.0053d7cc
ret

Function at 0x410a58
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x5681a0
call fcn.0053d6e0
mov ebx, ecx
call fcn.00410892
test al, al
je 0x410ac6
mov eax, ebx
call fcn.004109e0
test al, al
je 0x410a7f
push 4
pop eax
jmp 0x410ae6
lea edi, [ebp - 0x14]
call fcn.00410740
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00410a05
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.00402a50
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, esi
jmp 0x410ae6
cmp byte [ebx + 0x10], 0
je 0x410ad1
mov eax, dword [ebx + 0x18]
jmp 0x410ae6
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.0053d7b8
ret
Function at 0x410aec
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x5681a0
call fcn.0053d6e0
mov ebx, ecx
call fcn.00410892
test al, al
je 0x410b57
lea edi, [ebp - 0x14]
call fcn.00410740
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00410a05
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.00402a50
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*4 + 2]
jmp 0x410b77
cmp byte [ebx + 0x10], 0
je 0x410b62
mov eax, dword [ebx + 0x14]
jmp 0x410b77
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.0053d7b8
ret

Function at 0x410b7d
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.00538860
add esp, 0xc
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x599168
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.0040266d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.005381db
leave
ret

Function at 0x410bf3
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x5681f9
call fcn.0053d749
and dword [ebp - 0x224], 0
mov ebx, ecx
mov esi, edx
call fcn.00410892
test al, al
je 0x410c83
lea edi, [ebp - 0x21c]
call fcn.00410740
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
push ebx
call fcn.00410a05
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.00402a50
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, esi
cmp edi, 1
jne 0x410c7c
push str.ModelMF0A
call fcn.0040f341
jmp 0x410ce1
push str.ModelMF16
jmp 0x410c75
cmp byte [ebx + 0x10], 0
je 0x410c93
lea eax, [ebx + 0x14]
call fcn.004030a2
jmp 0x410ce1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00538860
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x599168
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.0040266d
mov eax, esi
call fcn.0053d7cc
ret