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

Disassembly:
push 0x21c
mov eax, 0x56860a
call fcn.0053da79
mov edi, edx
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], esi
call fcn.00410633
test al, al
je 0x410b29
lea edi, [ebp - 0x220]
call fcn.004104e1
mov edi, eax
lea eax, [ebp - 0x224]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.004107a6
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.00402722
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x21c]
cmp esi, 1
jne 0x410b22
push str.MFP09
call fcn.0040f17a
mov eax, dword [ebp - 0x21c]
jmp 0x410b79
push str.MFP16
jmp 0x410b15
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00539100
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.0040235d
mov eax, edi
call fcn.0053dafc
ret

Function at 0x410b7f
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x564898
call fcn.0053da10
mov ebx, ecx
call fcn.00410633
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test al, al
je 0x410bf0
mov eax, ebx
call fcn.00410781
test al, al
je 0x410bac
push 0x10
pop eax
jmp 0x410c01
lea edi, [ebp - 0x14]
call fcn.004104e1
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
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 esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402722
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402722
cmp edi, 4
je 0x410ba7
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 0
push str.ModifiedEvent
push ebx
call esi
call fcn.0053dae8
ret

Function at 0x410c07
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x564898
call fcn.0053da10
mov ebx, ecx
call fcn.00410633
test al, al
je 0x410c88
mov eax, dword [ebx + 4]
cmp eax, 0x196
je 0x410c83
cmp eax, 0x20d
je 0x410c83
cmp eax, 0x216
je 0x410c83
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.adfOrigin
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
sete al
jmp 0x410c9d
xor eax, eax
inc eax
jmp 0x410c9d
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.0053dae8
ret
Function at 0x4125cf
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x214
mov eax, 0x56416a
call fcn.0053da79
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.0040235d
mov dword [ebp - 4], esi
push 0x59b02c
mov ecx, edi
mov dword [ebp - 0x21c], 1
call fcn.0040b712
mov eax, edi
call fcn.0053dafc
ret

Function at 0x41262f
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.0040235d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005384ff
leave
ret

Function at 0x412677
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x56562f
call fcn.0053da79
xor esi, esi
mov dword [ebp - 0x21c], esi
call fcn.004125a9
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], esi
jne 0x412701
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.0040235d
mov dword [ebp - 4], esi
mov esi, str.EPSONEvent_ManagerMappingTable.ini
push esi
call fcn.00538bc9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040b738
call fcn.004125a9
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 4]
call fcn.0040248f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.004125a9
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00402431
add eax, 0x10
mov dword [edi], eax
pop ecx
mov eax, edi
call fcn.0053dafc
ret
Function at 0x4127e0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x214
mov eax, 0x5655fc
call fcn.0053da79
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ebx
call fcn.004125a9
mov eax, dword [eax + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x4128ad
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.0040235d
mov esi, str.Epson
push esi
mov dword [ebp - 4], ebx
call fcn.00538bc9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040b738
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.00538bc9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040b738
push ebx
push dword [ebp - 0x21c]
call esi
call fcn.004125a9
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 0xc]
call fcn.0040248f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
mov esi, dword [ebp - 0x220]
call fcn.004125a9
mov eax, dword [eax + 0xc]
sub eax, 0x10
push eax
call fcn.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
mov eax, esi
call fcn.0053dafc
ret

Function at 0x4129cc
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x5655c9
call fcn.0053da79
and dword [ebp - 4], 0
and dword [ebp - 0x220], 0
mov dword [ebp - 0x224], esi
call fcn.00438647
push eax
mov ecx, esi
call fcn.0042a80d
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.0040235d
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00402337
push 0x599b60
mov ecx, esi
call fcn.0040b712
push 0x59a67c
mov ecx, esi
call fcn.0040b712
push str.Event_ManagerScanModule.ini
mov ecx, esi
call fcn.0040b712
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, esi
call fcn.0053dafc
ret
Function at 0x414e06
Capabilities:
Read .ini file

Disassembly:
push 0x644
mov eax, 0x567572
call fcn.0053da79
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 0x59b3cc
push str.Event_Launch_Win
call ebx
call fcn.00438647
push eax
lea ecx, [ebp - 0x634]
call fcn.0042a80d
and dword [ebp - 4], 0
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push 0x5996a0
push eax
call fcn.0040a7c3
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.00402431
pop ecx
mov ecx, dword [ebp - 0x62c]
add eax, 0x10
mov dword [ecx], eax
lea eax, [esi + 0x40]
push eax
call fcn.00436678
pop ecx
pop ecx
test eax, eax
jne 0x414fd3
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 0x414fd3
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x40]
call fcn.00402337
lea eax, [ebp - 0x218]
lea ecx, [esi + 0x44]
push eax
call fcn.00402337
lea ecx, [ebp - 0x650]
call fcn.0043a735
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x44]
push 0
push eax
lea ecx, [ebp - 0x650]
call fcn.0043a7dc
lea ecx, [ebp - 0x650]
test eax, eax
jne 0x414fb8
call fcn.0043a2a1
push edi
lea ecx, [esi + 0x44]
call fcn.00402337
cmp dword [esi + 0x38], 0x384
jne 0x414f3e
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.00539100
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.0040235d
mov ecx, esi
call fcn.004140d1
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0
call fcn.0043a767
xor esi, esi
mov ecx, dword [ebp - 0x630]
call fcn.00402722
mov eax, esi
call fcn.0053dafc
ret
call fcn.0043a2a1
lea ecx, [ebp - 0x650]
mov dword [esi + 0x54], 1
mov byte [ebp - 4], 0
call fcn.0043a767
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.0040a7c3
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402431
lea edi, [eax + 0x10]
add esp, 0x10
cmp dword [edi - 0xc], 0
mov dword [ebp - 0x62c], edi
je 0x41505b
push str._File
lea ecx, [ebp - 0x62c]
call fcn.00410e1f
test eax, eax
jne 0x41503e
mov dword [esi + 0x48], 1
jmp 0x41505b
push str._Folder
lea ecx, [ebp - 0x62c]
call fcn.00410e1f
neg eax
sbb eax, eax
and eax, 2
add eax, 2
mov dword [esi + 0x48], eax
lea ecx, [edi - 0x10]
call fcn.00402722
xor esi, esi
inc esi
jmp 0x414fa5
Function at 0x41506b
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
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push edi
cmp eax, 2
jne 0x41512f
push dword [esi + 8]
push 0xffffffffffffffff
push str.ActionID
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x38], eax
cmp eax, 0x384
jne 0x4150be
mov ecx, esi
call fcn.00414e06
test eax, eax
jne 0x4150cc
jmp 0x4151d2
cmp eax, 0xffffffff
je 0x4150cc
mov ecx, esi
call fcn.0041493e
jmp 0x4150b5
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 + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x5990a0
push str.ProjectAppName
push str.Event_Launch_Win
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esp
mov dword [ebp - 0x210], esp
push eax
call fcn.0040235d
mov ecx, esi
call fcn.004140d1
jmp 0x4151cf
cmp eax, 3
jl 0x4151cf
push dword [esi + 8]
push 0xffffffffffffffff
push str.ActionID
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x38], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00539100
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push dword [esi + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x5990a0
push str.ExtActionUid
mov ebx, str.Event_Launch_Win
push ebx
call edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x58]
call fcn.00402337
push dword [esi + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x5990a0
push str.ExtActionTypeId
push ebx
call edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x5c]
call fcn.00402337
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005384ff
leave
ret
Function at 0x416911
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x564e86
call fcn.0053da10
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x4169bc
lea eax, [ebp + 8]
lea ecx, [esi + 8]
push eax
call fcn.0040248f
push dword [ebp + 8]
call fcn.004364d0
test eax, eax
mov eax, dword [ebp + 8]
pop ecx
je 0x4169bc
cmp dword [eax - 0xc], ebx
je 0x4169bc
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push eax
call fcn.00402431
add eax, 0x10
mov dword [edi], eax
pop ecx
mov edi, esi
call fcn.00416a24
mov dword [esi + 0x10], eax
call fcn.004169ce
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push 0x416775
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov dword [esi + 0x14], eax
call fcn.00402722
xor eax, eax
inc eax
jmp 0x4169c6
lea ecx, [eax - 0x10]
call fcn.00402722
xor eax, eax
call fcn.0053dae8
ret 4
Function at 0x416a24
Capabilities:
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x5653e9
call fcn.0053da79
lea eax, [edi + 0xbc]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x26c], esi
cmp dword [ebp + 0xc], esi
je 0x416a58
lea ecx, [edi + 0x24]
call fcn.00439658
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp + 8]
call fcn.0040f0c6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x416a8b
cmp ecx, esi
jge 0x416a81
push 0x80070057
call fcn.00402708
cmp word [eax], 0x5c
jne 0x416a8b
xor bl, bl
jmp 0x416a8d
mov bl, 1
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402722
test bl, bl
je 0x416aa9
push 0x5c
lea ecx, [ebp + 8]
call fcn.004171f0
push 0x59b804
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0040193e
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402722
cmp esi, 0xffffffff
je 0x416bd6
test byte [ebp - 0x264], 0x12
jne 0x416bb9
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040235d
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00410e1f
test eax, eax
je 0x416ba7
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.00410e1f
test eax, eax
je 0x416ba7
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.00410e1f
test eax, eax
je 0x416ba7
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.00410e1f
test eax, eax
je 0x416ba7
push str..
lea ecx, [ebp - 0x268]
call fcn.00410e1f
test eax, eax
je 0x416ba7
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.0040f067
cmp eax, 0xffffffff
jne 0x416ba7
inc dword [ebp - 0x26c]
cmp dword [ebp + 0xc], 0
je 0x416ba7
lea eax, [ebp - 0x268]
push eax
lea ecx, [edi + 0x24]
call fcn.004397bb
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416aea
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, dword [ebp - 0x26c]
call fcn.0053dafc
ret 8
Function at 0x416bfa
Capabilities:
Enumerate files on windows

Disassembly:
push 0x470
mov eax, 0x5653ae
call fcn.0053da79
mov esi, ecx
push 1
lea eax, [ebp - 0x474]
xor ebx, ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0040f0c6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x416c45
cmp ecx, ebx
jge 0x416c39
push 0x80070057
call fcn.00402708
cmp word [eax], 0x5c
mov byte [ebp - 0x46d], bl
je 0x416c4c
mov byte [ebp - 0x46d], 1
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402722
cmp byte [ebp - 0x46d], bl
je 0x416c6c
push 0x5c
lea ecx, [ebp + 8]
call fcn.004171f0
push 0x59b804
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0040193e
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x468]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
mov dword [ebp - 0x478], eax
call fcn.00402722
cmp dword [ebp - 0x478], 0xffffffff
je 0x416e49
test byte [ebp - 0x468], 0x12
jne 0x416e22
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x46c]
call fcn.0040235d
push str.desktop.ini
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
call fcn.00410e1f
test eax, eax
je 0x416e11
push str.Thumbs.db
lea ecx, [ebp - 0x46c]
call fcn.00410e1f
test eax, eax
je 0x416e11
push str.__.___
lea ecx, [ebp - 0x46c]
call fcn.00410e1f
test eax, eax
je 0x416e11
push str.________.___
lea ecx, [ebp - 0x46c]
call fcn.00410e1f
test eax, eax
je 0x416e11
push str..
lea ecx, [ebp - 0x46c]
call fcn.00410e1f
test eax, eax
je 0x416e11
push ebx
push str.fio12_
lea ecx, [ebp - 0x46c]
call fcn.0040f067
cmp eax, 0xffffffff
jne 0x416e11
lea eax, [esi + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push dword [ebp - 0x46c]
lea ecx, [esi + 0x24]
call fcn.004395b1
test eax, eax
jne 0x416e06
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00539100
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
lea ecx, [esi + 0x24]
call fcn.004397bb
push dword [ebp - 0x46c]
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x59a4bc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x474]
call fcn.0040235d
lea edi, [ebp - 0x474]
mov byte [ebp - 4], 2
call fcn.00416e5e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402722
lea ecx, [esi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x46c]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416cb5
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
call fcn.0053dafc
ret 4
Function at 0x416e5e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x416eaa
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416eaa
push ebx
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
push 0
push eax
lea ecx, [esi + 0x40]
call fcn.004395b1
test eax, eax
jne 0x416e9a
push edi
lea ecx, [esi + 0x40]
call fcn.004397bb
lea ecx, [esi + 0x94]
mov eax, dword [ecx]
call dword [eax + 0x14]
xor eax, eax
inc eax
pop ebx
ret
xor eax, eax
ret

Function at 0x416ead
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0x5645ba
call fcn.0053da10
xor ebx, ebx
cmp dword [esi + 0x4c], ebx
jle 0x416fc1
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00438647
push eax
lea ecx, [ebp - 0x10]
call fcn.0042a80d
mov dword [ebp - 4], ebx
mov edi, dword [esi + 0x44]
lea ecx, [ebp - 0x24]
call fcn.00440234
mov byte [ebp - 4], 1
jmp 0x416f54
mov eax, edi
cmp edi, ebx
je 0x416fac
mov edi, dword [edi]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.0040248f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416f54
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.004406a4
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x416f4c
lea ecx, [esi + 0x5c]
call fcn.004397bb
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004397bb
lea ecx, [ebp - 0x24]
call fcn.004401cf
jmp 0x416f54
lea ecx, [esi + 0x78]
call fcn.004397bb
cmp edi, ebx
jne 0x416ef3
lea ecx, [esi + 0x40]
call fcn.00439658
cmp dword [esi + 0x84], ebx
jle 0x416f7d
lea ebx, [esi + 0x78]
push ebx
lea ecx, [esi + 0x40]
call fcn.004397f4
mov ecx, ebx
call fcn.00439658
xor ebx, ebx
lea ecx, [esi + 0x94]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
cmp dword [eax + 0xc], ebx
jle 0x416fb1
call fcn.00440364
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
inc eax
jmp 0x416fc3
call fcn.00439394
call fcn.00440364
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
call fcn.0053dae8
ret 4
Function at 0x417243
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x568d58
call fcn.0053da79
mov edi, ecx
mov dword [ebp - 0x230], edi
call fcn.00438647
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042a80d
and dword [ebp - 4], 0
push edi
push 0x59b8a0
lea eax, [ebp - 0x21c]
push str._s_d
push eax
call fcn.0040a7c3
lea ecx, [ebp - 0x228]
call fcn.004127e0
push str.EventSetting.ini
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 1
call fcn.0040193e
add esp, 0x1c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x224]
push 0x3c
push str.Time
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x224]
mov ebx, eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5990a0
push str.FolderPath
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.004364d0
pop ecx
test eax, eax
je 0x417414
cmp word [ebp - 0x218], 0
je 0x417414
push edi
mov eax, esi
call fcn.0041721d
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4173be
push 0xd4
call fcn.004385a6
pop ecx
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x417374
push edi
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x22c], esp
push eax
call fcn.0040235d
push dword [ebp - 0x220]
call fcn.004165c0
jmp 0x417376
xor eax, eax
mov byte [ebp - 4], 3
mov edi, dword [esi + 4]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
push dword [edi + 4]
push edi
call fcn.0041744a
mov ecx, dword [esi + 8]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x4173ac
push str.list_T__too_long
call fcn.00556905
inc ecx
mov dword [esi + 8], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x230]
mov dword [ecx], eax
mov eax, dword [esi]
imul ebx, ebx, 0x3e8
push 0
push ebx
push edi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x22c], esp
push eax
call fcn.0040235d
mov ecx, dword [ebp - 0x220]
call fcn.00416911
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
inc eax
jmp 0x417432
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
call fcn.0053dafc
ret