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

Disassembly:
push 0x21c
mov eax, 0x5681c6
call fcn.0053d749
mov edi, edx
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], esi
call fcn.00410892
test al, al
je 0x410d88
lea edi, [ebp - 0x220]
call fcn.00410740
mov edi, eax
lea eax, [ebp - 0x224]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.00410a05
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.00402a50
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
cmp esi, 1
jne 0x410d81
push str.MFP09
call fcn.0040f341
mov eax, dword [ebp - 0x21c]
jmp 0x410dd8
push str.MFP16
jmp 0x410d74
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00538860
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x599168
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.0040266d
mov eax, edi
call fcn.0053d7cc
ret

Function at 0x410dde
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x5681a0
call fcn.0053d6e0
mov ebx, ecx
call fcn.00410892
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test al, al
je 0x410e4f
mov eax, ebx
call fcn.004109e0
test al, al
je 0x410e0b
push 0x10
pop eax
jmp 0x410e60
lea edi, [ebp - 0x14]
call fcn.00410740
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
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 esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402a50
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
cmp edi, 4
je 0x410e06
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push eax
push 0
push str.ModifiedEvent
push ebx
call esi
call fcn.0053d7b8
ret

Function at 0x410e66
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x5681a0
call fcn.0053d6e0
mov ebx, ecx
call fcn.00410892
test al, al
je 0x410ee7
mov eax, dword [ebx + 4]
cmp eax, 0x196
je 0x410ee2
cmp eax, 0x20d
je 0x410ee2
cmp eax, 0x216
je 0x410ee2
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.adfOrigin
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
sete al
jmp 0x410efc
xor eax, eax
inc eax
jmp 0x410efc
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.0053d7b8
ret
Function at 0x412841
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x214
mov eax, 0x563ee9
call fcn.0053d749
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.0040266d
mov dword [ebp - 4], esi
push str.Epson_SoftwareCommon_
mov ecx, edi
mov dword [ebp - 0x21c], 1
call fcn.0040ba53
mov eax, edi
call fcn.0053d7cc
ret

Function at 0x4128a1
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.0040266d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005381db
leave
ret

Function at 0x4128e9
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x565345
call fcn.0053d749
xor esi, esi
mov dword [ebp - 0x21c], esi
call fcn.0041281b
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], esi
jne 0x412973
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.0040266d
mov dword [ebp - 4], esi
mov esi, str.EPSONEvent_ManagerMappingTable.ini
push esi
call fcn.0053894e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040ba79
call fcn.0041281b
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 4]
call fcn.0040279f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0041281b
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00402741
add eax, 0x10
mov dword [edi], eax
pop ecx
mov eax, edi
call fcn.0053d7cc
ret
Function at 0x412a52
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x214
mov eax, 0x565312
call fcn.0053d749
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ebx
call fcn.0041281b
mov eax, dword [eax + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x412b1f
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.0040266d
mov esi, str.Epson
push esi
mov dword [ebp - 4], ebx
call fcn.0053894e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040ba79
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.0053894e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040ba79
push ebx
push dword [ebp - 0x21c]
call esi
call fcn.0041281b
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 0xc]
call fcn.0040279f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
mov esi, dword [ebp - 0x220]
call fcn.0041281b
mov eax, dword [eax + 0xc]
sub eax, 0x10
push eax
call fcn.00402741
add eax, 0x10
mov dword [esi], eax
pop ecx
mov eax, esi
call fcn.0053d7cc
ret

Function at 0x412c3e
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x5652df
call fcn.0053d749
and dword [ebp - 4], 0
and dword [ebp - 0x220], 0
mov dword [ebp - 0x224], esi
call fcn.00438329
push eax
mov ecx, esi
call fcn.00402a28
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.0040266d
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00402647
push 0x599c28
mov ecx, esi
call fcn.0040ba53
push 0x59a77c
mov ecx, esi
call fcn.0040ba53
push str.Event_ManagerScanModule.ini
mov ecx, esi
call fcn.0040ba53
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, esi
call fcn.0053d7cc
ret
Function at 0x415013
Capabilities:
Read .ini file

Disassembly:
push 0x644
mov eax, 0x567156
call fcn.0053d749
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, 0x599168
push edi
push 0x59b4dc
push str.Event_Launch_Win
call ebx
call fcn.00438329
push eax
lea ecx, [ebp - 0x634]
call fcn.00402a28
and dword [ebp - 4], 0
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push 0x599768
push eax
call fcn.0040ab0a
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.00402741
pop ecx
mov ecx, dword [ebp - 0x62c]
add eax, 0x10
mov dword [ecx], eax
lea eax, [esi + 0x40]
push eax
call fcn.00436358
pop ecx
pop ecx
test eax, eax
jne 0x4151e0
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 0x4151e0
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x40]
call fcn.00402647
lea eax, [ebp - 0x218]
lea ecx, [esi + 0x44]
push eax
call fcn.00402647
lea ecx, [ebp - 0x650]
call fcn.0043a3f5
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x44]
push 0
push eax
lea ecx, [ebp - 0x650]
call fcn.0043a49c
lea ecx, [ebp - 0x650]
test eax, eax
jne 0x4151c5
call fcn.00439f61
push edi
lea ecx, [esi + 0x44]
call fcn.00402647
cmp dword [esi + 0x38], 0x384
jne 0x41514b
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.00538860
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.0040266d
mov ecx, esi
call fcn.00414367
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0
call fcn.0043a427
xor esi, esi
mov ecx, dword [ebp - 0x630]
call fcn.00402a50
mov eax, esi
call fcn.0053d7cc
ret
call fcn.00439f61
lea ecx, [ebp - 0x650]
mov dword [esi + 0x54], 1
mov byte [ebp - 4], 0
call fcn.0043a427
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 0x599768
push edi
call fcn.0040ab0a
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402741
lea edi, [eax + 0x10]
add esp, 0x10
cmp dword [edi - 0xc], 0
mov dword [ebp - 0x62c], edi
je 0x415268
push str._File
lea ecx, [ebp - 0x62c]
call fcn.0041107e
test eax, eax
jne 0x41524b
mov dword [esi + 0x48], 1
jmp 0x415268
push str._Folder
lea ecx, [ebp - 0x62c]
call fcn.0041107e
neg eax
sbb eax, eax
and eax, 2
add eax, 2
mov dword [esi + 0x48], eax
lea ecx, [edi - 0x10]
call fcn.00402a50
xor esi, esi
inc esi
jmp 0x4151b2
Function at 0x415278
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 0x41533c
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 0x4152cb
mov ecx, esi
call fcn.00415013
test eax, eax
jne 0x4152d9
jmp 0x4153df
cmp eax, 0xffffffff
je 0x4152d9
mov ecx, esi
call fcn.00414b4b
jmp 0x4152c2
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 + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x599168
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.0040266d
mov ecx, esi
call fcn.00414367
jmp 0x4153dc
cmp eax, 3
jl 0x4153dc
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.00538860
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push dword [esi + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x599168
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.00402647
push dword [esi + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x599168
push str.ExtActionTypeId
push ebx
call edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x5c]
call fcn.00402647
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005381db
leave
ret
Function at 0x416b1b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x560a4e
call fcn.0053d6e0
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x416bc6
lea eax, [ebp + 8]
lea ecx, [esi + 8]
push eax
call fcn.0040279f
push dword [ebp + 8]
call fcn.004361b0
test eax, eax
mov eax, dword [ebp + 8]
pop ecx
je 0x416bc6
cmp dword [eax - 0xc], ebx
je 0x416bc6
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push eax
call fcn.00402741
add eax, 0x10
mov dword [edi], eax
pop ecx
mov edi, esi
call fcn.00416c2e
mov dword [esi + 0x10], eax
call fcn.00416bd8
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 0x41697f
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.00402a50
xor eax, eax
inc eax
jmp 0x416bd0
lea ecx, [eax - 0x10]
call fcn.00402a50
xor eax, eax
call fcn.0053d7b8
ret 4
Function at 0x416c2e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x5650ff
call fcn.0053d749
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 0x416c62
lea ecx, [edi + 0x24]
call fcn.00439318
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp + 8]
call fcn.0040f28d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x416c95
cmp ecx, esi
jge 0x416c8b
push 0x80070057
call fcn.00402a0e
cmp word [eax], 0x5c
jne 0x416c95
xor bl, bl
jmp 0x416c97
mov bl, 1
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402a50
test bl, bl
je 0x416cb3
push 0x5c
lea ecx, [ebp + 8]
call fcn.004173fa
push 0x59b914
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00401c58
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.00402a50
cmp esi, 0xffffffff
je 0x416de0
test byte [ebp - 0x264], 0x12
jne 0x416dc3
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040266d
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.0041107e
test eax, eax
je 0x416db1
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x416db1
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x416db1
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x416db1
push str..
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x416db1
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.0040f22e
cmp eax, 0xffffffff
jne 0x416db1
inc dword [ebp - 0x26c]
cmp dword [ebp + 0xc], 0
je 0x416db1
lea eax, [ebp - 0x268]
push eax
lea ecx, [edi + 0x24]
call fcn.0043947b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416cf4
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.00402a50
mov eax, dword [ebp - 0x26c]
call fcn.0053d7cc
ret 8
Function at 0x416e04
Capabilities:
Enumerate files on windows

Disassembly:
push 0x470
mov eax, 0x5650c4
call fcn.0053d749
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.0040f28d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x416e4f
cmp ecx, ebx
jge 0x416e43
push 0x80070057
call fcn.00402a0e
cmp word [eax], 0x5c
mov byte [ebp - 0x46d], bl
je 0x416e56
mov byte [ebp - 0x46d], 1
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402a50
cmp byte [ebp - 0x46d], bl
je 0x416e76
push 0x5c
lea ecx, [ebp + 8]
call fcn.004173fa
push 0x59b914
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.00401c58
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.00402a50
cmp dword [ebp - 0x478], 0xffffffff
je 0x417053
test byte [ebp - 0x468], 0x12
jne 0x41702c
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x46c]
call fcn.0040266d
push str.desktop.ini
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
call fcn.0041107e
test eax, eax
je 0x41701b
push str.Thumbs.db
lea ecx, [ebp - 0x46c]
call fcn.0041107e
test eax, eax
je 0x41701b
push str.__.___
lea ecx, [ebp - 0x46c]
call fcn.0041107e
test eax, eax
je 0x41701b
push str.________.___
lea ecx, [ebp - 0x46c]
call fcn.0041107e
test eax, eax
je 0x41701b
push str..
lea ecx, [ebp - 0x46c]
call fcn.0041107e
test eax, eax
je 0x41701b
push ebx
push str.fio12_
lea ecx, [ebp - 0x46c]
call fcn.0040f22e
cmp eax, 0xffffffff
jne 0x41701b
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.00439271
test eax, eax
jne 0x417010
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538860
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
lea ecx, [esi + 0x24]
call fcn.0043947b
push dword [ebp - 0x46c]
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x59a5a4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x474]
call fcn.0040266d
lea edi, [ebp - 0x474]
mov byte [ebp - 4], 2
call fcn.00417068
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402a50
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.00402a50
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416ebf
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
call fcn.0053d7cc
ret 4
Function at 0x417068
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4170b4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4170b4
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.00439271
test eax, eax
jne 0x4170a4
push edi
lea ecx, [esi + 0x40]
call fcn.0043947b
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 0x4170b7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0x56433d
call fcn.0053d6e0
xor ebx, ebx
cmp dword [esi + 0x4c], ebx
jle 0x4171cb
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00438329
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a28
mov dword [ebp - 4], ebx
mov edi, dword [esi + 0x44]
lea ecx, [ebp - 0x24]
call fcn.0043ff99
mov byte [ebp - 4], 1
jmp 0x41715e
mov eax, edi
cmp edi, ebx
je 0x4171b6
mov edi, dword [edi]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.0040279f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41715e
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00440409
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x417156
lea ecx, [esi + 0x5c]
call fcn.0043947b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0043947b
lea ecx, [ebp - 0x24]
call fcn.0043ff34
jmp 0x41715e
lea ecx, [esi + 0x78]
call fcn.0043947b
cmp edi, ebx
jne 0x4170fd
lea ecx, [esi + 0x40]
call fcn.00439318
cmp dword [esi + 0x84], ebx
jle 0x417187
lea ebx, [esi + 0x78]
push ebx
lea ecx, [esi + 0x40]
call fcn.004394b4
mov ecx, ebx
call fcn.00439318
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 0x4171bb
call fcn.004400c9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
inc eax
jmp 0x4171cd
call fcn.00439076
call fcn.004400c9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
call fcn.0053d7b8
ret 4
Function at 0x41744d
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x568917
call fcn.0053d749
mov edi, ecx
mov dword [ebp - 0x230], edi
call fcn.00438329
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402a28
and dword [ebp - 4], 0
push edi
push 0x59b9b0
lea eax, [ebp - 0x21c]
push str._s_d
push eax
call fcn.0040ab0a
lea ecx, [ebp - 0x228]
call fcn.00412a52
push str.EventSetting.ini
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 1
call fcn.00401c58
add esp, 0x1c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402a50
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 0x599168
push str.FolderPath
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.004361b0
pop ecx
test eax, eax
je 0x41761e
cmp word [ebp - 0x218], 0
je 0x41761e
push edi
mov eax, esi
call fcn.00417427
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4175c8
push 0xd4
call fcn.00438288
pop ecx
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x41757e
push edi
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x22c], esp
push eax
call fcn.0040266d
push dword [ebp - 0x220]
call fcn.004167ca
jmp 0x417580
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.00417642
mov ecx, dword [esi + 8]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x4175b6
push str.list_T__too_long
call fcn.005565da
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.0040266d
mov ecx, dword [ebp - 0x220]
call fcn.00416b1b
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
inc eax
jmp 0x41763c
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
call fcn.0053d7cc
ret