joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bc18
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea ecx, [ebp - 0x1c]
push ebx
push esi
push edi
call fcn.00417833
push ecx
mov ecx, esp
push str.windows10master.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x1c]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x1c]
call fcn.00419083
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ebx
call fcn.0041934b
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49bda4
lea ecx, [ebp - 0x34]
call fcn.00417833
push str.SoftwareRuanMeiWindows10Master
lea ecx, [ebp + 8]
call fcn.004177e7
call fcn.004191ed
test eax, eax
je 0x49bc93
push str.SoftwareWow6432NodeRuanMeiWindows10Master
lea ecx, [ebp + 8]
call fcn.004195af
mov edi, dword [ebp + 8]
push 0
push ecx
add edi, 0xfffffff0
mov esi, esp
push edi
mov dword [ebp - 4], edi
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x34]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.004f7115
test eax, eax
je 0x49bd8a
push ecx
mov ecx, esp
mov esi, 0x6809b0
push esi
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004e6ef3
push eax
mov ecx, ebx
call fcn.00418bac
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x49bd8a
push ecx
mov ecx, esp
push esi
call fcn.004177e7
push ecx
mov ecx, esp
push str.ExeName
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004e6ef3
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
jne 0x49bd3c
mov ecx, ebx
call fcn.00418ee0
jmp 0x49bd82
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [edi], eax
mov edi, esp
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.0041934b
push eax
mov ecx, ebx
call fcn.00418bac
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov edi, dword [ebp - 4]
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, edi
call fcn.00419521
lea ecx, [ebp - 0x34]
call fcn.00418dd0
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x1c]
call fcn.00418dd0
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49bdc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x18]
push ebx
push esi
push edi
call fcn.00417833
push ecx
mov ecx, esp
push str.windows7master.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x18]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x18]
call fcn.00419083
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edi
call fcn.0041934b
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49beee
lea ecx, [ebp - 0x30]
call fcn.00417833
push str.Softwarewindows7master
lea ecx, [ebp + 8]
call fcn.004177e7
call fcn.004191ed
test eax, eax
je 0x49be3b
push str.SoftwareWow6432Nodewindows7master
lea ecx, [ebp + 8]
call fcn.004195af
mov ebx, dword [ebp + 8]
push 0
push ecx
add ebx, 0xfffffff0
mov esi, esp
push ebx
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.004f7115
test eax, eax
je 0x49bed4
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.004e6ef3
push eax
mov ecx, edi
call fcn.00418bac
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.windows7master.exe
call fcn.004177e7
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp + 8]
push eax
call fcn.0041934b
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, ebx
call fcn.00419521
lea ecx, [ebp - 0x30]
call fcn.00418dd0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x18]
call fcn.00418dd0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49bf0a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x18]
push ebx
push esi
push edi
call fcn.00417833
push ecx
mov ecx, esp
push str.win8master.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x18]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x18]
call fcn.00419083
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edi
call fcn.0041934b
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49c038
lea ecx, [ebp - 0x30]
call fcn.00417833
push str.SoftwareRuanMeiwin8master
lea ecx, [ebp + 8]
call fcn.004177e7
call fcn.004191ed
test eax, eax
je 0x49bf85
push str.SoftwareWow6432NodeRuanMeiwin8master
lea ecx, [ebp + 8]
call fcn.004195af
mov ebx, dword [ebp + 8]
push 0
push ecx
add ebx, 0xfffffff0
mov esi, esp
push ebx
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.004f7115
test eax, eax
je 0x49c01e
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.004e6ef3
push eax
mov ecx, edi
call fcn.00418bac
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.win8master.exe
call fcn.004177e7
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp + 8]
push eax
call fcn.0041934b
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, ebx
call fcn.00419521
lea ecx, [ebp - 0x30]
call fcn.00418dd0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x18]
call fcn.00418dd0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49eaae
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
mov ecx, 0x113
push edi
mov edi, dword [ebp + 0xc]
cmp edi, ecx
jne 0x49eaf0
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, ebx
call fcn.004d5746
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x49eb89
mov eax, esi
jmp 0x49eba3
cmp edi, 0x4a
jne 0x49eb0f
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
mov ecx, ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push edi
call fcn.004c1fa2
jmp 0x49eada
mov ecx, 0xa3
cmp edi, ecx
jne 0x49eb34
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.004cb46b
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x49eba3
cmp edi, 3
jne 0x49eb52
mov ecx, dword [ebx + 0x2dc]
test ecx, ecx
je 0x49eb48
call fcn.004b50f3
mov eax, dword [ebp + 0x18]
xor esi, esi
inc esi
mov dword [eax], esi
jmp 0x49eae9
cmp edi, 0x587
jne 0x49eb6c
push ebx
push 0
push 0x47367b
call fcn.006423a8
add esp, 0xc
jmp 0x49eb48
mov ecx, 0x588
cmp edi, ecx
jne 0x49eb89
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.004c61ba
jmp 0x49eb2a
push dword [ebp + 0x18]
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.0049fe74
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x4a0395
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
call fcn.005c254d
push 0x6809b0
push str._Pcmaster_LunarCalendar_RemindDel
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4a03bb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4a6de6
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov ebx, ecx
mov edi, ebx
neg edi
push 0
lea eax, [ebx - 0x364]
sbb edi, edi
and edi, eax
push 0x3a98
push 0x1f4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x36ee80
push 0x200
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0
push 0x498d0d
call fcn.006423a8
add esp, 0xc
pop edi
pop ebx
ret

Function at 0x4a6f7b
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x40
push esi
lea eax, [edi + 0x600]
push eax
call fcn.0060b7a0
push 0x40
lea eax, [edi + 0x640]
push esi
push eax
call fcn.0060b7a0
push 8
lea eax, [edi + 0x680]
push esi
push eax
call fcn.0060b7a0
push 8
lea eax, [edi + 0x688]
push esi
push eax
call fcn.0060b7a0
push 0x41
lea eax, [edi + 0x690]
push esi
push eax
call fcn.0060b7a0
push 0x11
lea eax, [edi + 0x6d1]
push esi
push eax
call fcn.0060b7a0
add esp, 0x48
lea eax, [edi + 0x6e2]
push 9
push esi
push eax
call fcn.0060b7a0
mov ebx, 0x1000
lea eax, [edi + 0x6eb]
push ebx
push esi
push eax
call fcn.0060b7a0
push ebx
lea eax, [edi + 0x16eb]
push esi
push eax
call fcn.0060b7a0
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0060b7a0
add esp, 0x30
lea eax, [ebp - 0x7c]
mov ecx, edi
push 0x40
push eax
push dword [ebp + 8]
call fcn.00456635
push 0x38
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.0060b7a0
add esp, 0xc
movsx eax, byte [esi + str.91__]
mov al, byte [ebp + eax - 0x7d]
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jl 0x4a704d
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00460161
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8
Function at 0x4a7083
Capabilities:
Create process on windows
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x20]
push edi
call fcn.00417833
mov ecx, esi
call fcn.0048c18c
xor ebx, ebx
mov dword [0x73562c], eax
push ebx
push ebx
push 0x470
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x4a7178
call fcn.004191ed
test eax, eax
je 0x4a7113
push ebx
push ebx
push 0x6809b0
push ecx
mov ecx, esp
push str.mytimeinj.exe
call fcn.004177e7
mov eax, dword [0x735a88]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 4]
push eax
call fcn.0041934b
push dword [eax]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x4a7181
push 0x6809b0
push str.Shell_TrayWnd
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ecx
mov ecx, esp
push str.mytime.dll
call fcn.004177e7
mov eax, dword [0x735a88]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 8]
push eax
call fcn.0041934b
push dword [eax]
push dword [ebp - 4]
call fcn.004241bb
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
xor ebx, ebx
inc ebx
cmp edi, ebx
je 0x4a7181
xor ebx, ebx
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a820a
Capabilities:
Create service
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4a8295
push 0xf01ff
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
xor ebx, ebx
mov esi, eax
inc ebx
test esi, esi
jne 0x4a82d7
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], esi
jne 0x4a824e
xor eax, eax
jmp 0x4a8261
cmp dword [eax - 4], ebx
jle 0x4a8261
push dword [eax - 0xc]
lea ecx, [ebp + 0x18]
call fcn.00418f15
mov eax, dword [ebp + 0x18]
push 0
push 0
push 0x6809b0
push 0
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0x14]
push 0x10
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x4a82d7
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [ebp + 0x14]
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x4a831f
mov eax, dword [ebp + 0x1c]
and dword [ebp - 4], 0
cmp dword [eax - 4], ebx
jle 0x4a830c
push dword [eax - 0xc]
lea ecx, [ebp + 0x1c]
call fcn.00418f15
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x4a8330
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x4a8295
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4a834c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x4a831f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x4a8297
Function at 0x4a94f4
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
mov esi, eax
call fcn.00418f81
push eax
lea ecx, [ebp - 0x234]
call fcn.0041775d
test esi, esi
je 0x4a9590
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004195af
push str.explorer.exe
lea ecx, [ebp - 0x234]
call fcn.004334a5
test eax, eax
jne 0x4a957f
push eax
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a9542
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00609802
mov esp, ebp
pop ebp
ret

Function at 0x4a95b5
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
mov esi, eax
call fcn.00418f81
push eax
lea ecx, [ebp - 0x234]
call fcn.0041775d
push str..exe
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.004227e4
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.004b2aeb
test esi, esi
mov esi, dword [ebp - 0x238]
je 0x4a9681
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004195af
lea ecx, [ebp - 0x234]
call fcn.004b2aeb
push esi
lea ecx, [ebp - 0x234]
call fcn.004229b4
test eax, eax
jne 0x4a9670
push eax
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a962c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x4ac94d
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0x18
mov eax, 0x664b0a
call fcn.006098b5
mov ebx, ecx
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebx + 0x10], 1
lea edi, [ebx + 8]
push 0x17
push esi
push 0x68b4b4
mov ecx, edi
call fcn.0045f3dd
test eax, eax
jns 0x4ac98e
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x4acb40
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4aca70
mov dword [ebp - 4], esi
push ecx
mov ecx, esp
push str.version1.0_encodingutf_8
call fcn.004474a7
push ecx
mov ecx, esp
push 0x68b504
call fcn.004474a7
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0044c797
mov ecx, eax
call fcn.0051086e
mov esi, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0044c797
mov ecx, eax
call fcn.0050f8d5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4ac9f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebx + 4]
call fcn.00479862
push ecx
mov ecx, esp
push eax
call fcn.004474a7
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0044c797
mov ecx, eax
call fcn.0051081e
mov edi, dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 8]
call fcn.0044c797
mov ecx, eax
call fcn.0050f8d5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4aca37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, ebx
call fcn.004eb1ac
mov ebx, eax
test edi, edi
je 0x4aca4a
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
test esi, esi
je 0x4aca54
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
jmp 0x4acb40
cmp dword [ebx + 0x14], esi
je 0x4acaf0
push esi
push esi
push 3
push esi
push 7
push SysReAllocString
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ac987
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x1c]
call fcn.00609926
mov esi, eax
push dword [ebp - 0x1c]
push 0
push esi
call fcn.0060b7a0
add esp, 0x10
and dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1c]
push esi
mov ecx, ebx
call fcn.004af99a
push esi
call fcn.0060992f
pop ecx
jmp 0x4ac987
push dword [ebx]
lea ecx, [ebp - 0x24]
call fcn.0044752b
mov ecx, dword [edi]
test ecx, ecx
jne 0x4acb0a
push 0x80004003
call fcn.006080a0
lea eax, [ebp - 0x24]
push eax
call fcn.00511959
test ax, ax
jns 0x4acb2d
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4ac987
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
inc eax
call fcn.00609813
ret
Function at 0x4b0697
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.00417833
push ecx
mov ecx, esp
push str.festival.json
call fcn.004177e7
mov eax, dword [0x735a84]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x38]
push eax
call fcn.0041934b
mov esi, dword [ebp - 0x38]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b0785
mov edi, 0xfde9
lea eax, [ebp - 0x34]
push edi
push esi
push eax
call fcn.00507e75
xor ebx, ebx
mov dword [ebp - 8], 0xf
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push edi
cmovae eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], ebx
push eax
mov byte [ebp - 0x1c], bl
call fcn.004b2a76
lea ecx, [ebp - 0x1c]
push ecx
push dword [eax]
call fcn.004e7186
mov ecx, dword [ebp - 0x38]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.00419521
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0041c7de
lea eax, [ebp - 0x44]
push eax
call fcn.004e32d1
add esp, 0x1c
mov ecx, 0x735d48
push eax
call fcn.00449c72
lea ecx, [ebp - 0x44]
call fcn.004197f2
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041f932
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041f932
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x5c]
call fcn.00418dd0
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x4b80a7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4b8187
mov eax, dword [ecx]
push edi
call dword [eax + 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.004177e7
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00418dea
mov edi, dword [ebp + 8]
pop ecx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], 0
jle 0x4b8176
push 0x699740
push edi
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x4b8109
push 0x685708
push esi
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
je 0x4b8176
push 0x6b8160
push edi
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x4b814a
push str.lclick
push esi
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x4b814a
push 0x4c353d
push eax
push 0x510921
call fcn.006423a8
add esp, 0xc
lea ecx, [ebx - 0x14]
push 1
call fcn.00501425
jmp 0x4b8176
push str.about_close
push edi
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x4b8176
push str.lclick
push esi
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x4b8176
push eax
push eax
lea ecx, [ebx - 0x14]
call fcn.005c254d
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
pop ebp
ret 4