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

Disassembly:
push 0x230
mov eax, 0x564af3
call fcn.0053cd89
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00434eea
pop ecx
call fcn.00437969
push eax
lea ecx, [ebp - 0x230]
call fcn.00402738
push str.Resources
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push 0x59a49c
push eax
mov byte [ebp - 4], 1
call fcn.0040a7d8
add esp, 0x10
call fcn.00437969
push eax
lea ecx, [ebp - 0x224]
call fcn.00402738
mov byte [ebp - 4], 2
call fcn.00437969
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402738
mov byte [ebp - 4], 3
call fcn.00437969
push eax
lea ecx, [ebp - 0x228]
call fcn.00402738
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.00402372
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.00402446
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.00416f57
push dword [ebp + 8]
lea ebx, [ebp - 0x220]
call fcn.00416fac
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.004024a4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00420606
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x599080
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.00402760
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push 0x599680
push eax
call fcn.0040a7d8
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 0x40ebf3
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [eax + 0x18]
jmp 0x40ebfa
cmp dword [ebx - 0xc], 0
je 0x40ec11
push ebx
push dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push eax
call fcn.0040a7d8
add esp, 0xc
jmp 0x40ec48
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.00420653
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x228]
push dword [ebp - 0x224]
push eax
call fcn.0040a7d8
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402760
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [ebp - 0x228]
push 0x30
push 0x59a7f8
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.00416f46
lea ecx, [esi - 0x10]
call fcn.00402760
lea ecx, [ebx - 0x10]
call fcn.00402760
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x234]
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
call fcn.0053ce0c
ret 4
Function at 0x40fc27
Capabilities:
Read .ini file

Disassembly:
push 0x244
mov eax, 0x564a6b
call fcn.0053cd89
mov eax, dword [ebp + 8]
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x234], eax
call fcn.0045131a
push 0xa
lea ecx, [ebp - 0x250]
call fcn.00439e85
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00437969
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402738
mov byte [ebp - 4], 1
call fcn.00437969
push eax
lea ecx, [ebp - 0x220]
call fcn.00402738
lea esi, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0040fe20
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 0x40fd65
mov edi, 0x599080
lea ebx, [eax + 1]
push ebx
lea eax, [ebp - 0x21c]
push str.Device_04d
push eax
call fcn.0040a7d8
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.00402372
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x40fd43
lea ecx, [ebp - 0x224]
call fcn.0040febf
push dword [ebp - 0x224]
lea ecx, [ebp - 0x250]
call fcn.0043a08e
push edi
mov ecx, eax
call fcn.0040234c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, ebx
cmp eax, dword [ebp - 0x22c]
jl 0x40fcc5
xor edi, edi
lea eax, [ebp - 0x250]
push eax
call fcn.0040fab0
mov eax, dword [ebp - 0x244]
neg eax
sbb eax, eax
mov dword [ebp - 0x230], eax
cmp eax, edi
je 0x40fddd
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x250]
call fcn.00439f78
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], edi
je 0x40fdd5
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], edi
je 0x40fdd5
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0043a08e
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.004024a4
cmp dword [ebp - 0x230], edi
jne 0x40fd85
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00439f40
mov al, 1
call fcn.0053ce0c
ret 4

Function at 0x41008b
Capabilities:
Read .ini file

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

Disassembly:
push 0x22c
mov eax, 0x564a0c
call fcn.0053cd89
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.00402372
and dword [ebp - 4], 0
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
mov dword [ebp - 0x230], esi
call fcn.00402446
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], esi
mov dword [esp], 0x598e00
push str.Model
lea ecx, [ebp - 0x21c]
call fcn.004108d9
push str.ScanSmart.ini
lea ecx, [ebp - 0x224]
call fcn.0040eeca
push str.epsonEpson_Scan_2Models_
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0040eeca
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.00401906
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 4
call fcn.00401906
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 5
call fcn.00401906
add esp, 0x24
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004024a4
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, edi
call fcn.0053ce0c
ret
Function at 0x410269
Capabilities:
Check if file exists
Check os version
Read .ini file

Disassembly:
push 0x128
mov eax, 0x566b36
call fcn.0053cd89
mov edi, 0x114
push edi
xor esi, esi
lea eax, [ebp - 0x124]
push esi
push eax
mov ebx, ecx
call fcn.00538410
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 0x4102b5
xor al, al
jmp 0x4103b1
cmp dword [ebp - 0x120], 6
jne 0x4102c7
cmp dword [ebp - 0x11c], 1
jae 0x4102ae
lea edi, [ebp - 0x128]
call fcn.00410117
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402760
cmp edi, esi
je 0x4103a5
lea edi, [ebp - 0x134]
call fcn.00410117
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.004103dc
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.00402760
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
call fcn.00402760
test edi, edi
jle 0x4103a5
lea edi, [ebp - 0x130]
call fcn.00410117
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.004103dc
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.00402760
mov ecx, dword [ebp - 0x130]
add ecx, 0xfffffff0
call fcn.00402760
cmp esi, 0x15
je 0x4103a1
cmp esi, 0x16
jne 0x4103a5
mov al, 1
jmp 0x4103b1
mov eax, ebx
call fcn.004103b7
test al, al
setne al
call fcn.0053ce0c
ret

Function at 0x41042f
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x563b8f
call fcn.0053cd20
mov ebx, ecx
call fcn.00410269
test al, al
je 0x41049d
mov eax, ebx
call fcn.004103b7
test al, al
je 0x410456
push 4
pop eax
jmp 0x4104bd
lea edi, [ebp - 0x14]
call fcn.00410117
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004103dc
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.00402760
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
jmp 0x4104bd
cmp byte [ebx + 0x10], 0
je 0x4104a8
mov eax, dword [ebx + 0x18]
jmp 0x4104bd
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.0053cdf8
ret
Function at 0x4104c3
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x563b8f
call fcn.0053cd20
mov ebx, ecx
call fcn.00410269
test al, al
je 0x41052e
lea edi, [ebp - 0x14]
call fcn.00410117
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004103dc
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.00402760
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*4 + 2]
jmp 0x41054e
cmp byte [ebx + 0x10], 0
je 0x410539
mov eax, dword [ebx + 0x14]
jmp 0x41054e
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.0053cdf8
ret

Function at 0x410554
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.00538410
add esp, 0xc
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x599080
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.00402372
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0053780e
leave
ret

Function at 0x4105ca
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x5677e6
call fcn.0053cd89
and dword [ebp - 0x224], 0
mov ebx, ecx
mov esi, edx
call fcn.00410269
test al, al
je 0x41065a
lea edi, [ebp - 0x21c]
call fcn.00410117
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
push ebx
call fcn.004103dc
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.00402760
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, esi
cmp edi, 1
jne 0x410653
push str.ModelMF0A
call fcn.0040eeca
jmp 0x4106b8
push str.ModelMF16
jmp 0x41064c
cmp byte [ebx + 0x10], 0
je 0x41066a
lea eax, [ebx + 0x14]
call fcn.004018e8
jmp 0x4106b8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00538410
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x599080
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.00402372
mov eax, esi
call fcn.0053ce0c
ret
Function at 0x4106c0
Capabilities:
Read .ini file

Disassembly:
push 0x21c
mov eax, 0x5677b3
call fcn.0053cd89
mov edi, edx
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], esi
call fcn.00410269
test al, al
je 0x41075f
lea edi, [ebp - 0x220]
call fcn.00410117
mov edi, eax
lea eax, [ebp - 0x224]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.004103dc
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.00402760
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x21c]
cmp esi, 1
jne 0x410758
push str.MFP09
call fcn.0040eeca
mov eax, dword [ebp - 0x21c]
jmp 0x4107af
push str.MFP16
jmp 0x41074b
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00538410
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x599080
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.00402372
mov eax, edi
call fcn.0053ce0c
ret

Function at 0x4107b5
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x563b8f
call fcn.0053cd20
mov ebx, ecx
call fcn.00410269
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test al, al
je 0x410826
mov eax, ebx
call fcn.004103b7
test al, al
je 0x4107e2
push 0x10
pop eax
jmp 0x410837
lea edi, [ebp - 0x14]
call fcn.00410117
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004103dc
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.00402760
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402760
cmp edi, 4
je 0x4107dd
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 0
push str.ModifiedEvent
push ebx
call esi
call fcn.0053cdf8
ret

Function at 0x41083d
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x563b8f
call fcn.0053cd20
mov ebx, ecx
call fcn.00410269
test al, al
je 0x4108be
mov eax, dword [ebx + 4]
cmp eax, 0x196
je 0x4108b9
cmp eax, 0x20d
je 0x4108b9
cmp eax, 0x216
je 0x4108b9
lea edi, [ebp - 0x14]
call fcn.00410117
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004103dc
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.00402760
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
cmp esi, 1
sete al
jmp 0x4108d3
xor eax, eax
inc eax
jmp 0x4108d3
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.0053cdf8
ret
Function at 0x4121a3
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x214
mov eax, 0x56490a
call fcn.0053cd89
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.00402372
mov dword [ebp - 4], esi
push 0x59b024
mov ecx, edi
mov dword [ebp - 0x21c], 1
call fcn.0040b727
mov eax, edi
call fcn.0053ce0c
ret

Function at 0x412203
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.00402372
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0053780e
leave
ret

Function at 0x41224b
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x563713
call fcn.0053cd89
xor esi, esi
mov dword [ebp - 0x21c], esi
call fcn.0041217d
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], esi
jne 0x4122d5
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.00402372
mov dword [ebp - 4], esi
mov esi, str.EPSONEvent_ManagerMappingTable.ini
push esi
call fcn.00537ed9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040b74d
call fcn.0041217d
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 4]
call fcn.004024a4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
call fcn.0041217d
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00402446
add eax, 0x10
mov dword [edi], eax
pop ecx
mov eax, edi
call fcn.0053ce0c
ret
Function at 0x4123b4
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x214
mov eax, 0x56493d
call fcn.0053cd89
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ebx
call fcn.0041217d
mov eax, dword [eax + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x412481
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.00402372
mov esi, str.Epson
push esi
mov dword [ebp - 4], ebx
call fcn.00537ed9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040b74d
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.00537ed9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040b74d
push ebx
push dword [ebp - 0x21c]
call esi
call fcn.0041217d
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 0xc]
call fcn.004024a4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
mov esi, dword [ebp - 0x220]
call fcn.0041217d
mov eax, dword [eax + 0xc]
sub eax, 0x10
push eax
call fcn.00402446
add eax, 0x10
mov dword [esi], eax
pop ecx
mov eax, esi
call fcn.0053ce0c
ret

Function at 0x4125a0
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x5648c0
call fcn.0053cd89
and dword [ebp - 4], 0
and dword [ebp - 0x220], 0
mov dword [ebp - 0x224], esi
call fcn.00437969
push eax
mov ecx, esi
call fcn.00402738
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.00402372
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0040234c
push 0x599b40
mov ecx, esi
call fcn.0040b727
push 0x59a65c
mov ecx, esi
call fcn.0040b727
push str.Event_ManagerScanModule.ini
mov ecx, esi
call fcn.0040b727
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
call fcn.0053ce0c
ret
Function at 0x414999
Capabilities:
Read .ini file

Disassembly:
push 0x644
mov eax, 0x5667e6
call fcn.0053cd89
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, 0x599080
push edi
push 0x59b3c4
push str.Event_Launch_Win
call ebx
call fcn.00437969
push eax
lea ecx, [ebp - 0x634]
call fcn.00402738
and dword [ebp - 4], 0
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push 0x599680
push eax
call fcn.0040a7d8
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.00402446
pop ecx
mov ecx, dword [ebp - 0x62c]
add eax, 0x10
mov dword [ecx], eax
lea eax, [esi + 0x40]
push eax
call fcn.0043599a
pop ecx
pop ecx
test eax, eax
jne 0x414b66
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 0x414b66
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x40]
call fcn.0040234c
lea eax, [ebp - 0x218]
lea ecx, [esi + 0x44]
push eax
call fcn.0040234c
lea ecx, [ebp - 0x650]
call fcn.00439a5b
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x44]
push 0
push eax
lea ecx, [ebp - 0x650]
call fcn.00439b02
lea ecx, [ebp - 0x650]
test eax, eax
jne 0x414b4b
call fcn.004395c7
push edi
lea ecx, [esi + 0x44]
call fcn.0040234c
cmp dword [esi + 0x38], 0x384
jne 0x414ad1
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.00538410
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.00402372
mov ecx, esi
call fcn.00413d02
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0
call fcn.00439a8d
xor esi, esi
mov ecx, dword [ebp - 0x630]
call fcn.00402760
mov eax, esi
call fcn.0053ce0c
ret
call fcn.004395c7
lea ecx, [ebp - 0x650]
mov dword [esi + 0x54], 1
mov byte [ebp - 4], 0
call fcn.00439a8d
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 0x599680
push edi
call fcn.0040a7d8
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402446
lea edi, [eax + 0x10]
add esp, 0x10
cmp dword [edi - 0xc], 0
mov dword [ebp - 0x62c], edi
je 0x414bee
push str._File
lea ecx, [ebp - 0x62c]
call fcn.00410a55
test eax, eax
jne 0x414bd1
mov dword [esi + 0x48], 1
jmp 0x414bee
push str._Folder
lea ecx, [ebp - 0x62c]
call fcn.00410a55
neg eax
sbb eax, eax
and eax, 2
add eax, 2
mov dword [esi + 0x48], eax
lea ecx, [edi - 0x10]
call fcn.00402760
xor esi, esi
inc esi
jmp 0x414b38