joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40db3e
Capabilities:
Delete directory

Disassembly:
mov eax, 0x429448
call fcn.00410ccc
push ecx
push ecx
mov eax, dword [0x436704]
push ebx
push esi
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0041ef25
xor esi, esi
cmp dword [ebp + 0xc], ebx
jle 0x40dc63
cmp dword [ebp + 0x10], ebx
je 0x40db8c
call fcn.004264e7
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
lea ecx, [eax + 0x2cc]
call fcn.004011ae
jmp 0x40db99
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x40dbdc
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041d702
cmp eax, 2
jle 0x40dc63
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d68a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0041eed5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0041ede8
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40db6f
jmp 0x40dc63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 5
je 0x40dc63
cmp esi, 0x91
je 0x40dc63
cmp esi, 2
je 0x40dc63
cmp esi, 3
je 0x40dc63
cmp esi, 0x7b
je 0x40dc63
push str.RemoveDirectory_
lea ecx, [ebp - 0x14]
call fcn.0041ee56
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0041ef8a
push 0x4342a8
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 3
push esi
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 2
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0041ede8
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0041ede8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ede8
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40dc7d
Capabilities:
Create directory

Disassembly:
mov eax, 0x42948c
call fcn.00410ccc
sub esp, 0x41c
mov eax, dword [0x436704]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0041ef25
mov eax, dword [ebp - 0x10]
push 0x5c
lea ecx, [ebp - 0x10]
xor esi, esi
mov eax, dword [eax - 8]
mov dword [ebp - 0x428], eax
call fcn.0041d702
mov edi, eax
cmp edi, ebx
jl 0x40dd23
lea eax, [ebp - 0x428]
mov dword [ebp - 0x14], eax
push ebx
push dword [ebp - 0x10]
call fcn.004064b3
pop ecx
test eax, eax
pop ecx
jne 0x40dd23
lea eax, [ebp - 0x18]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d68a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041eed5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0041ede8
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 0x5c
mov eax, dword [eax - 8]
inc esi
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041d702
mov edi, eax
cmp edi, ebx
jge 0x40dccf
lea edi, [esi - 1]
cmp edi, ebx
jl 0x40dd91
lea eax, [ebp + edi*4 - 0x428]
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0041ef25
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0041d68a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041eed5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0041ede8
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40ddb8
call fcn.004264e7
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
mov ecx, eax
call fcn.0040e830
sub dword [ebp - 0x14], 4
dec edi
cmp edi, ebx
jge 0x40dd34
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40dd9a
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ede8
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [0x436704]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.004085df
add esp, 0x1c
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0041eed5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0041ede8
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0xe001
push eax
call fcn.0041dabd
add esp, 0x14
push ebx
push 0x40000030
push dword [ebp + 8]
call fcn.00424b88
lea eax, [esi - 1]
cmp edi, eax
jge 0x40de5f
push dword [ebp + edi*4 - 0x424]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041d68a
mov eax, dword [eax]
sub esi, edi
dec esi
push ebx
push esi
push eax
mov byte [ebp - 4], 6
call fcn.0040db3e
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0041ede8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0041ede8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ede8
xor eax, eax
jmp 0x40dda9
Function at 0x40e99d
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
xor esi, esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
call fcn.0040ecf4
pop ecx
cmp eax, 3
pop ecx
jle 0x40e9c6
xor eax, eax
jmp 0x40eb2d
push edi
xor edi, edi
lea eax, [ebp - 4]
push eax
push 0x42db14
push 1
push esi
push 0x42db24
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jne 0x40eace
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x42db34
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, esi
jne 0x40ead5
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, esi
jne 0x40eadc
push esi
lea eax, [ebp - 0x210]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004117c1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00411110
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00411120
mov eax, dword [ebp - 4]
add esp, 0x24
lea edx, [ebp - 0x110]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
cmp eax, esi
jne 0x40eae3
cmp dword [ebp + 0xc], esi
je 0x40ea79
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, esi
jne 0x40eaea
lea eax, [ebp - 0x418]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x40eaf1
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x418]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp eax, esi
jne 0x40eafe
call fcn.004264e7
mov eax, dword [eax + 4]
push dword [ebp + 0x10]
mov ecx, eax
call fcn.0040e830
test eax, eax
je 0x40eb0b
inc edi
cmp edi, 1
jl 0x40e9c9
jmp 0x40eb0b
push str.CoCreateInstance
jmp 0x40eb03
push str.IShellLink::QueryInterface
jmp 0x40eb03
push str.IShellLink::SetPath
jmp 0x40eb03
push str.IShellLink::SetWorkingDirectory
jmp 0x40eb03
push str.IShellLink::SetArguments
jmp 0x40eb03
push str.MultiByteToWideChar
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40eb03
push str.IPersistFile::Save
push eax
call fcn.0040bc53
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x40eb18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x40eb25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp edi, esi
setne al
pop edi
pop esi
leave
ret
Function at 0x40eb30
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
mov eax, 0x42951c
call fcn.00410ccc
sub esp, 0x26c
push ebx
push esi
call fcn.004264e7
mov eax, dword [eax + 4]
push dword [eax + 0x354]
lea eax, [ebp - 0x278]
push dword [ebp + 8]
push eax
call fcn.00409542
add esp, 0xc
test eax, eax
jne 0x40eb78
lea eax, [ebp - 0x278]
push eax
call fcn.0040bd64
pop ecx
jmp 0x40ec2d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40eb8c
xor eax, eax
jmp 0x40ece6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 3
mov dword [ebp - 0x10], eax
jne 0x40eba9
push 2
jmp 0x40ece5
cmp esi, 2
je 0x40ece3
cmp esi, 0x7b
je 0x40ece3
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x40ec2d
cmp esi, 5
je 0x40ec34
cmp esi, 0x20
je 0x40ec34
push str.DeleteFile_
lea ecx, [ebp - 0x10]
call fcn.0041ee56
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041eff0
push 0x4342a8
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 2
push esi
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041ede8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ede8
push 5
jmp 0x40ece5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x1f4
jae 0x40ec4e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ecb5
mov eax, dword [0x436704]
mov dword [ebp + 0xc], eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 4], 3
call fcn.004085df
add esp, 0x1c
push dword [eax]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 4
push esi
push dword [ebp + 8]
push 0xe00a
push eax
call fcn.0041dabd
add esp, 0x14
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0041ede8
push ebx
push 0x40000035
push dword [ebp + 0xc]
call fcn.00424b88
cmp eax, 4
jne 0x40ecd3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041ede8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40eb85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x40ec34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041ede8
push 4
jmp 0x40ece5
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ecf4
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x429548
call fcn.00410ccc
sub esp, 0x148
mov eax, dword [0x436704]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
lea eax, [ebp - 0x154]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40ed40
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 3
sete cl
inc ecx
mov esi, ecx
jmp 0x40ee08
push 1
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push eax
call fcn.00406e36
add esp, 0xc
push 0x434124
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0041eff0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041eed5
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0041ede8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041ede8
lea eax, [ebp - 0x128]
push 0x434ae4
push eax
call fcn.00410cf0
pop ecx
test eax, eax
pop ecx
je 0x40edef
lea eax, [ebp - 0x128]
push 0x436580
push eax
call fcn.00410cf0
pop ecx
test eax, eax
pop ecx
je 0x40edef
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041eff0
push dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [ebp - 4], 3
push eax
call fcn.0040eb30
and byte [ebp - 4], 0
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp + 8]
call fcn.0041ede8
cmp esi, 3
jg 0x40ee01
lea eax, [ebp - 0x154]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ed89
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ede8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40f018
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x42960c
call fcn.00410ccc
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push ebx
push 0x80
push dword [ebp + 0x10]
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x40f0b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateFile_
lea ecx, [ebp - 0x10]
mov dword [ebp + 0xc], eax
call fcn.0041ee56
push esi
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
push eax
call fcn.0041eff0
push 0x4342a8
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp + 0x10]
call fcn.0041ede8
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
jmp 0x40f1bf
lea eax, [ebp - 0x20]
push ebx
push eax
push dword [ebp + 0xc]
call fcn.00411260
pop ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40f14b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WriteFile_
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ee56
push esi
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 3
push eax
call fcn.0041eff0
push 0x4342a8
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 4
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 5
push ebx
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 4
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0041ede8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ede8
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f1c4
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40f1c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CloseHandle_
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.0041ee56
push esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 6
push eax
call fcn.0041eff0
push 0x4342a8
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 8
push ebx
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041ede8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041ede8
xor eax, eax
jmp 0x40f1cb
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40f420
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
xor esi, esi
push str.Scheduler_semaphore_________HighCriteria_TotalRecorder_Mrqx1FQGyj4c1kycrBxP
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, esi
jne 0x40f44d
push str.CreateMutex_Sched_
call edi
push eax
call fcn.0040bc53
pop ecx
pop ecx
push esi
push esi
push esi
push 0x10
push esi
push str.Scheduler_work_window_class_HighCriteria_TotalRecorder_Mrqx1FQGyj4c1kycrBxP
call fcn.0040b581
add esp, 0x18
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
call edi
cmp esi, 0xffffffff
jne 0x40f47f
push str.WaitForSingleObject_Sched_
push eax
call fcn.0040bc53
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret

Function at 0x40ffad
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x4298bc
call fcn.00410ccc
sub esp, 0x2c8
push ebx
mov dword [ebp - 0x10], ecx
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.00405040
xor edi, edi
mov esi, 0x80000002
push edi
push 2
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004050b2
push edi
push str.TotalRecorderScheduler
lea ecx, [ebp - 0x24]
call fcn.0040589b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405079
push str.OldPreferredOnly
push str.RealDevice
mov ebx, str.SoftwareHighCriteriaTotalRecorder
push str.RealDevIn
mov edi, 0x80000001
push ebx
lea eax, [ebp - 0x78]
push edi
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040a09c
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040bd64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040a7e3
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040bd64
push str.SOFTWAREHigh_CriteriaTotal_Recorder
push esi
call fcn.004059b8
push str.SOFTWAREHigh_Criteria
push esi
call fcn.00405f18
push ebx
push esi
call fcn.004059b8
add esp, 0x44
push str.SOFTWAREHighCriteria
push esi
call fcn.00405f18
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsTotalRecorder.exe
push esi
call fcn.004059b8
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTotal_Recorder
push esi
call fcn.004059b8
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTotalRecorder
push esi
call fcn.004059b8
push ebx
push edi
call fcn.004059b8
push str.SoftwareHighCriteria
push edi
call fcn.00405f18
mov eax, dword [ebp - 0x10]
add esp, 0x30
mov ecx, dword [eax + 0x2e4]
push 1
call fcn.0040dace
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4171e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4392e0
cmp edx, dword [eax]
je 0x41720b
add eax, 8
inc ecx
cmp eax, 0x439370
jl 0x4171fc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4392e0]
jne 0x417339
mov eax, dword [0x43c0c4]
cmp eax, 1
je 0x417313
test eax, eax
jne 0x41723c
cmp dword [0x436cd4], 1
je 0x417313
cmp edx, 0xfc
je 0x417339
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417273
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00411110
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00411260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4172b6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00411260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x434b08
push edi
call fcn.004122a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00411110
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00411120
lea eax, [ebp - 0xa0]
push 0x42d9f8
push eax
call fcn.00411120
push dword [esi + 0x4392e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00411120
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00418790
add esp, 0x2c
pop edi
jmp 0x417339
lea eax, [ebp + 8]
lea esi, [esi + 0x4392e4]
push 0
push eax
push dword [esi]
call fcn.00411260
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x41cbb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00412b60
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41cc7b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41cc7b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41cc2e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41cc39
or bh, 8
and edi, 0x8000000
je 0x41cc54
mov eax, dword [0x43d89c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41cc7b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41d07b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41d09f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41d0ba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x420198
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4201d0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041f1ed
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041f1c5
jmp 0x4201dc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4