joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ebac
Capabilities:
Read .ini file

Disassembly:
push 0x230
mov eax, 0x5650bd
call fcn.0053d399
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004354e1
pop ecx
call fcn.00437f60
push eax
lea ecx, [ebp - 0x230]
call fcn.0042a551
push str.Resources
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push 0x59a4dc
push eax
mov byte [ebp - 4], 1
call fcn.0040a7ee
add esp, 0x10
call fcn.00437f60
push eax
lea ecx, [ebp - 0x224]
call fcn.0042a551
mov byte [ebp - 4], 2
call fcn.00437f60
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042a551
mov byte [ebp - 4], 3
call fcn.00437f60
push eax
lea ecx, [ebp - 0x228]
call fcn.0042a551
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.00402358
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.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.004172bb
push dword [ebp + 8]
lea ebx, [ebp - 0x220]
call fcn.00417310
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.0040248a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.004129d5
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.00402728
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push 0x5996a0
push eax
call fcn.0040a7ee
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 0x40ed49
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [eax + 0x18]
jmp 0x40ed50
cmp dword [ebx - 0xc], 0
je 0x40ed67
push ebx
push dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push eax
call fcn.0040a7ee
add esp, 0xc
jmp 0x40ed9e
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00420ae2
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x228]
push dword [ebp - 0x224]
push eax
call fcn.0040a7ee
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402728
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [ebp - 0x228]
push 0x30
push 0x59a850
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.004172aa
lea ecx, [esi - 0x10]
call fcn.00402728
lea ecx, [ebx - 0x10]
call fcn.00402728
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x234]
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.0053d41c
ret 4
Function at 0x40fe1f
Capabilities:
Read .ini file

Disassembly:
push 0x244
mov eax, 0x565035
call fcn.0053d399
mov eax, dword [ebp + 8]
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x234], eax
call fcn.004519b3
push 0xa
lea ecx, [ebp - 0x250]
call fcn.0043a476
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00437f60
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042a551
mov byte [ebp - 4], 1
call fcn.00437f60
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a551
lea esi, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.00410018
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 0x40ff5d
mov edi, 0x5990a0
lea ebx, [eax + 1]
push ebx
lea eax, [ebp - 0x21c]
push str.Device_04d
push eax
call fcn.0040a7ee
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.00402358
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x40ff3b
lea ecx, [ebp - 0x224]
call fcn.004100b7
push dword [ebp - 0x224]
lea ecx, [ebp - 0x250]
call fcn.0043a664
push edi
mov ecx, eax
call fcn.00402332
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, ebx
cmp eax, dword [ebp - 0x22c]
jl 0x40febd
xor edi, edi
lea eax, [ebp - 0x250]
push eax
call fcn.0040fca8
mov eax, dword [ebp - 0x244]
neg eax
sbb eax, eax
mov dword [ebp - 0x230], eax
cmp eax, edi
je 0x40ffd5
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x250]
call fcn.0043a54e
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], edi
je 0x40ffcd
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], edi
je 0x40ffcd
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0043a664
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.0040248a
cmp dword [ebp - 0x230], edi
jne 0x40ff7d
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.0043a516
mov al, 1
call fcn.0053d41c
ret 4

Function at 0x410283
Capabilities:
Read .ini file

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

Disassembly:
push 0x22c
mov eax, 0x564fd6
call fcn.0053d399
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.00402358
and dword [ebp - 4], 0
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
mov dword [ebp - 0x230], esi
call fcn.0040242c
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.00410ad1
push str.ScanSmart.ini
lea ecx, [ebp - 0x224]
call fcn.0040f025
push str.epsonEpson_Scan_2Models_
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0040f025
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.004018ec
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 4
call fcn.004018ec
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 5
call fcn.004018ec
add esp, 0x24
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040248a
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, edi
call fcn.0053d41c
ret
Function at 0x410461
Capabilities:
Check if file exists
Check os version
Read .ini file

Disassembly:
push 0x128
mov eax, 0x567116
call fcn.0053d399
mov edi, 0x114
push edi
xor esi, esi
lea eax, [ebp - 0x124]
push esi
push eax
mov ebx, ecx
call fcn.00538a20
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 0x4104ad
xor al, al
jmp 0x4105a9
cmp dword [ebp - 0x120], 6
jne 0x4104bf
cmp dword [ebp - 0x11c], 1
jae 0x4104a6
lea edi, [ebp - 0x128]
call fcn.0041030f
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402728
cmp edi, esi
je 0x41059d
lea edi, [ebp - 0x134]
call fcn.0041030f
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.004105d4
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.00402728
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
call fcn.00402728
test edi, edi
jle 0x41059d
lea edi, [ebp - 0x130]
call fcn.0041030f
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.004105d4
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.00402728
mov ecx, dword [ebp - 0x130]
add ecx, 0xfffffff0
call fcn.00402728
cmp esi, 0x15
je 0x410599
cmp esi, 0x16
jne 0x41059d
mov al, 1
jmp 0x4105a9
mov eax, ebx
call fcn.004105af
test al, al
setne al
call fcn.0053d41c
ret

Function at 0x410627
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x565232
call fcn.0053d330
mov ebx, ecx
call fcn.00410461
test al, al
je 0x410695
mov eax, ebx
call fcn.004105af
test al, al
je 0x41064e
push 4
pop eax
jmp 0x4106b5
lea edi, [ebp - 0x14]
call fcn.0041030f
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004105d4
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.00402728
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
jmp 0x4106b5
cmp byte [ebx + 0x10], 0
je 0x4106a0
mov eax, dword [ebx + 0x18]
jmp 0x4106b5
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.0053d408
ret
Function at 0x4106bb
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x565232
call fcn.0053d330
mov ebx, ecx
call fcn.00410461
test al, al
je 0x410726
lea edi, [ebp - 0x14]
call fcn.0041030f
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004105d4
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.00402728
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*4 + 2]
jmp 0x410746
cmp byte [ebx + 0x10], 0
je 0x410731
mov eax, dword [ebx + 0x14]
jmp 0x410746
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.0053d408
ret

Function at 0x41074c
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.00538a20
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.00402358
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.00537e11
leave
ret

Function at 0x4107c2
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x567e3e
call fcn.0053d399
and dword [ebp - 0x224], 0
mov ebx, ecx
mov esi, edx
call fcn.00410461
test al, al
je 0x410852
lea edi, [ebp - 0x21c]
call fcn.0041030f
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
push ebx
call fcn.004105d4
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.00402728
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, esi
cmp edi, 1
jne 0x41084b
push str.ModelMF0A
call fcn.0040f025
jmp 0x4108b0
push str.ModelMF16
jmp 0x410844
cmp byte [ebx + 0x10], 0
je 0x410862
lea eax, [ebx + 0x14]
call fcn.004018ce
jmp 0x4108b0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00538a20
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.00402358
mov eax, esi
call fcn.0053d41c
ret
Function at 0x4108b8
Capabilities:
Read .ini file

Disassembly:
push 0x21c
mov eax, 0x567e0b
call fcn.0053d399
mov edi, edx
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], esi
call fcn.00410461
test al, al
je 0x410957
lea edi, [ebp - 0x220]
call fcn.0041030f
mov edi, eax
lea eax, [ebp - 0x224]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.004105d4
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push esi
push str.buttonNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402728
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x21c]
cmp esi, 1
jne 0x410950
push str.MFP09
call fcn.0040f025
mov eax, dword [ebp - 0x21c]
jmp 0x4109a7
push str.MFP16
jmp 0x410943
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00538a20
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5990a0
push str.DevInfAlias
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402358
mov eax, edi
call fcn.0053d41c
ret

Function at 0x4109ad
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x565232
call fcn.0053d330
mov ebx, ecx
call fcn.00410461
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test al, al
je 0x410a1e
mov eax, ebx
call fcn.004105af
test al, al
je 0x4109da
push 0x10
pop eax
jmp 0x410a2f
lea edi, [ebp - 0x14]
call fcn.0041030f
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004105d4
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push 0
push str.buttonNumbers
push eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402728
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
cmp edi, 4
je 0x4109d5
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 0
push str.ModifiedEvent
push ebx
call esi
call fcn.0053d408
ret

Function at 0x410a35
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x565232
call fcn.0053d330
mov ebx, ecx
call fcn.00410461
test al, al
je 0x410ab6
mov eax, dword [ebx + 4]
cmp eax, 0x196
je 0x410ab1
cmp eax, 0x20d
je 0x410ab1
cmp eax, 0x216
je 0x410ab1
lea edi, [ebp - 0x14]
call fcn.0041030f
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004105d4
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push 0
push str.adfOrigin
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402728
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
cmp esi, 1
sete al
jmp 0x410acb
xor eax, eax
inc eax
jmp 0x410acb
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 1
push str.ADFOrigin
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call fcn.0053d408
ret
Function at 0x412410
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x214
mov eax, 0x563a88
call fcn.0053d399
xor esi, esi
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], esi
push esi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402358
mov dword [ebp - 4], esi
push 0x59b074
mov ecx, edi
mov dword [ebp - 0x21c], 1
call fcn.0040b737
mov eax, edi
call fcn.0053d41c
ret

Function at 0x412470
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push eax
push 0x26
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov dword [ebp - 0x210], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00402358
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00537e11
leave
ret

Function at 0x4124b8
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x564f07
call fcn.0053d399
xor esi, esi
mov dword [ebp - 0x21c], esi
call fcn.004123ea
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], esi
jne 0x412542
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402358
mov dword [ebp - 4], esi
mov esi, str.EPSONEvent_ManagerMappingTable.ini
push esi
call fcn.005384e9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040b75d
call fcn.004123ea
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 4]
call fcn.0040248a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.004123ea
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.0040242c
add eax, 0x10
mov dword [edi], eax
pop ecx
mov eax, edi
call fcn.0053d41c
ret
Function at 0x412621
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x214
mov eax, 0x564ed4
call fcn.0053d399
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ebx
call fcn.004123ea
mov eax, dword [eax + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x4126ee
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402358
mov esi, str.Epson
push esi
mov dword [ebp - 4], ebx
call fcn.005384e9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040b75d
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push dword [ebp - 0x21c]
call esi
mov edi, str.Event_Manager_
push edi
call fcn.005384e9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040b75d
push ebx
push dword [ebp - 0x21c]
call esi
call fcn.004123ea
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 0xc]
call fcn.0040248a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
mov esi, dword [ebp - 0x220]
call fcn.004123ea
mov eax, dword [eax + 0xc]
sub eax, 0x10
push eax
call fcn.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
mov eax, esi
call fcn.0053d41c
ret

Function at 0x41280d
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x564ea1
call fcn.0053d399
and dword [ebp - 4], 0
and dword [ebp - 0x220], 0
mov dword [ebp - 0x224], esi
call fcn.00437f60
push eax
mov ecx, esi
call fcn.0042a551
and dword [ebp - 4], 0
xor edi, edi
inc edi
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
mov dword [ebp - 0x220], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402358
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00402332
push 0x599b60
mov ecx, esi
call fcn.0040b737
push 0x59a6b4
mov ecx, esi
call fcn.0040b737
push str.Event_ManagerScanModule.ini
mov ecx, esi
call fcn.0040b737
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
call fcn.0053d41c
ret
Function at 0x414bc8
Capabilities:
Read .ini file

Disassembly:
push 0x644
mov eax, 0x566dc6
call fcn.0053d399
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, ecx
push dword [esi + 8]
lea eax, [ebp - 0x628]
push 0x104
push eax
mov edi, 0x5990a0
push edi
push 0x59b414
push str.Event_Launch_Win
call ebx
call fcn.00437f60
push eax
lea ecx, [ebp - 0x634]
call fcn.0042a551
and dword [ebp - 4], 0
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push 0x5996a0
push eax
call fcn.0040a7ee
mov eax, dword [ebp - 0x634]
pop ecx
pop ecx
add eax, 0xfffffff0
mov dword [ebp - 0x630], esp
mov dword [ebp - 0x62c], esp
push eax
mov dword [ebp - 0x630], eax
call fcn.0040242c
pop ecx
mov ecx, dword [ebp - 0x62c]
add eax, 0x10
mov dword [ecx], eax
lea eax, [esi + 0x40]
push eax
call fcn.00435f91
pop ecx
pop ecx
test eax, eax
jne 0x414d95
push dword [esi + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
push str.AppPath
push str.Event_Launch_Win
call ebx
cmp word [ebp - 0x218], 0
je 0x414d95
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x40]
call fcn.00402332
lea eax, [ebp - 0x218]
lea ecx, [esi + 0x44]
push eax
call fcn.00402332
lea ecx, [ebp - 0x650]
call fcn.0043a04c
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x44]
push 0
push eax
lea ecx, [ebp - 0x650]
call fcn.0043a0f3
lea ecx, [ebp - 0x650]
test eax, eax
jne 0x414d7a
call fcn.00439bb8
push edi
lea ecx, [esi + 0x44]
call fcn.00402332
cmp dword [esi + 0x38], 0x384
jne 0x414d00
or dword [esi + 0x38], 0xffffffff
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.00538a20
add esp, 0xc
push dword [esi + 8]
lea eax, [ebp - 0x420]
push 0x104
push eax
push edi
push str.ProjectAppName
push str.Event_Launch_Win
call ebx
push ecx
lea eax, [ebp - 0x420]
mov ecx, esp
mov dword [ebp - 0x62c], esp
push eax
call fcn.00402358
mov ecx, esi
call fcn.00413f1c
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0
call fcn.0043a07e
xor esi, esi
mov ecx, dword [ebp - 0x630]
call fcn.00402728
mov eax, esi
call fcn.0053d41c
ret
call fcn.00439bb8
lea ecx, [ebp - 0x650]
mov dword [esi + 0x54], 1
mov byte [ebp - 4], 0
call fcn.0043a07e
push dword [esi + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
push str.Option
push str.Event_Launch_Win
call ebx
lea eax, [ebp - 0x218]
push eax
lea edi, [esi + 0x4c]
push 0x5996a0
push edi
call fcn.0040a7ee
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.0040242c
lea edi, [eax + 0x10]
add esp, 0x10
cmp dword [edi - 0xc], 0
mov dword [ebp - 0x62c], edi
je 0x414e1d
push str._File
lea ecx, [ebp - 0x62c]
call fcn.00410c4d
test eax, eax
jne 0x414e00
mov dword [esi + 0x48], 1
jmp 0x414e1d
push str._Folder
lea ecx, [ebp - 0x62c]
call fcn.00410c4d
neg eax
sbb eax, eax
and eax, 2
add eax, 2
mov dword [esi + 0x48], eax
lea ecx, [edi - 0x10]
call fcn.00402728
xor esi, esi
inc esi
jmp 0x414d67