joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40345a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
call fcn.00402946
mov esi, eax
test esi, esi
je 0x40362e
push str.PdhOpenQueryW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PdhAddCounterW
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PdhCollectQueryData
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PdhGetFormattedCounterValue
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PdhRemoveCounter
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PdhCloseQuery
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x403627
test ebx, ebx
je 0x403627
test edi, edi
je 0x403627
cmp dword [esp + 0x14], 0
je 0x403627
cmp dword [esp + 0x20], 0
je 0x403627
test eax, eax
je 0x403627
movsd xmm0, qword [0x438628]
lea eax, [esp + 0xc]
xor edx, edx
movsd qword [esp + 0x28], xmm0
push eax
push edx
push edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call dword [0x4302b8]
call dword [esp + 0x24]
test eax, eax
jne 0x4035e6
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0
push str.Processor__Total___Processor_Time
push dword [esp + 0x18]
call dword [0x4302b8]
call ebx
test eax, eax
jne 0x4035e6
push dword [esp + 0xc]
mov ecx, edi
call dword [0x4302b8]
call edi
test eax, eax
jne 0x4035e6
xorps xmm0, xmm0
xor ebx, ebx
movsd qword [esp + 0x18], xmm0
push dword [esp + 0xc]
mov ecx, edi
call dword [0x4302b8]
call edi
test eax, eax
jne 0x4035e6
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push 0
push 0x8200
push dword [esp + 0x1c]
call dword [0x4302b8]
call dword [esp + 0x24]
test eax, eax
jne 0x4035e6
movsd xmm0, qword [esp + 0x38]
addsd xmm0, qword [esp + 0x18]
push 0x1f4
movsd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x40357b
movsd xmm0, qword [esp + 0x18]
divsd xmm0, qword [0x438620]
movsd qword [esp + 0x28], xmm0
cmp dword [esp + 0x10], 0
je 0x4035ff
push dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call dword [0x4302b8]
call ebx
cmp dword [esp + 0xc], 0
je 0x403618
push dword [esp + 0xc]
mov edi, dword [esp + 0x28]
mov ecx, edi
call dword [0x4302b8]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movsd xmm0, qword [esp + 0x28]
jmp 0x403631
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4037bb
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x10
mov eax, 0x42e07b
call fcn.0042c6c5
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4037da
mov eax, 0x80070057
jmp 0x403903
xor edi, edi
push edi
push edi
mov dword [eax], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
cmp ebx, 0x80010106
jne 0x4037fc
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
js 0x4038ea
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push 0x430808
xor esi, esi
inc esi
push esi
push edi
push 0x4307f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x4038ea
cmp dword [ebp - 0x14], edi
je 0x4038ea
push 0xc
call fcn.00412e0c
mov ebx, eax
pop ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
test ebx, ebx
je 0x403864
push str.ROOTCIMV2
mov dword [ebx + 4], edi
mov dword [ebx + 8], esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x403909
jmp 0x403866
mov ebx, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x403909
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
push ecx
push edi
push edi
mov esi, dword [eax]
push edi
push edi
push edi
mov ecx, dword [esi + 0xc]
push edi
push dword [ebx]
push eax
call dword [0x4302b8]
call dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov ebx, eax
call fcn.00402809
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4302b8]
call esi
mov dword [ebp - 0x14], edi
test ebx, ebx
js 0x4038ea
cmp dword [ebp - 0x10], 0
je 0x403901
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test ebx, ebx
js 0x4038ea
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov dword [ecx], eax
jmp 0x4038ed
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x403901
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4302b8]
call esi
mov eax, ebx
call fcn.0042c693
ret
push 0x8007000e
call fcn.00413d20
int3
Function at 0x4059b5
Capabilities:
Get process image filename

Disassembly:
push 0x21c
mov eax, 0x42e58b
call fcn.0042c6f8
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x220], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00401ccd
add eax, 0x10
mov dword [edi], eax
push esi
push ebx
mov dword [ebp - 4], ebx
push 0x410
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x405ac9
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x405ac2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403e7d
mov dword [ebp - 4], 1
push 0x5c
push dword [ebp - 0x21c]
call fcn.00414947
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x21c]
test ecx, ecx
je 0x405ab7
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x405ab7
mov eax, dword [eax - 0xc]
inc ecx
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403acf
mov dword [ebp - 0x224], 3
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00403de0
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00401592
mov eax, dword [ebp - 0x21c]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], bl
call fcn.00401592
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.0042c6a7
ret
Function at 0x4072b2
Capabilities:
Get file size

Disassembly:
push 0x1c
mov eax, 0x42e812
call fcn.0042c6c5
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
call fcn.004015b8
push eax
lea ecx, [ebp - 0x18]
call fcn.00401c55
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x407361
push 0
lea ecx, [eax + 0x18]
call fcn.00401bad
push eax
lea ecx, [ebp - 0x10]
call fcn.00403e7d
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40733f
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
test eax, eax
je 0x407339
add edi, dword [ebp - 0x28]
adc esi, dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401592
lea ecx, [ebp - 0x14]
call fcn.00401c8e
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x78]
jne 0x4072ed
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401592
mov eax, edi
mov edx, esi
call fcn.0042c693
ret 4

Function at 0x408950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x408964
push 0xd
pop eax
jmp 0x4089a8
push esi
xor eax, eax
push edi
mov dword [ebp - 4], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x408977
sub ecx, dword [ebp - 8]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40896f
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x408daf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x42ec44
call fcn.0042c764
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x408e2c
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x408e2c
call fcn.00408613
mov esi, eax
jmp 0x408f32
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x408e4f
call fcn.00408613
jmp 0x408f25
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x408e45
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x408e82
mov esi, 0x8007000e
jmp 0x408f27
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x408f55
jb 0x408e9d
cmp eax, 0xffffffff
ja 0x408f55
cmp eax, 0x400
jbe 0x408eb2
push eax
lea ecx, [ebp - 0x418]
call fcn.0040aad8
jmp 0x408ed4
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x408ed4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x408e78
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x408e45
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00409a16
mov esi, eax
test edi, edi
je 0x408f32
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408f4b
lea ecx, [ebp - 0x418]
call fcn.0040aacf
mov eax, esi
call fcn.0042c6b6
ret 0x10
push 0x80070216
call fcn.004013b9
int3
Function at 0x40a7a8
Capabilities:
Accept command line arguments

Disassembly:
push 0xc
mov eax, 0x42ed66
call fcn.0042c6c5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x10]
xor ebx, ebx
push ecx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x10], 2
mov esi, eax
je 0x40a7da
xor eax, eax
inc eax
jmp 0x40a8d1
mov eax, dword [esi + 4]
mov ecx, str._terminate
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a808
test dx, dx
je 0x40a804
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a808
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a7e2
mov eax, ebx
jmp 0x40a80d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a81b
call fcn.0040e0df
jmp 0x40a8d1
push dword [esi + 4]
lea ecx, [ebp - 0x14]
call fcn.00403e7d
mov dword [ebp - 4], ebx
mov edi, dword [0x43e9a4]
test edi, edi
jne 0x40a857
push 0x1c0
call fcn.00412e0c
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040ac91
mov edi, eax
mov byte [ebp - 4], bl
mov dword [0x43e9a4], edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401bad
push eax
mov ecx, edi
call fcn.0040afcf
test eax, eax
jne 0x40a872
test edi, edi
je 0x40a8c4
jmp 0x40a8b2
mov ecx, edi
cmp dword [edi + 0x5c], ebx
je 0x40a87d
push 0x10
jmp 0x40a8a0
call fcn.0040b335
cmp dword [edi + 0x48], ebx
je 0x40a8a5
push ecx
mov ecx, esp
push 0x436670
call fcn.00403e7d
push ecx
mov ecx, edi
call fcn.0040b2fc
push 0xe
mov ecx, edi
call fcn.0040b168
mov ecx, edi
call fcn.0040b335
mov ebx, dword [edi + 0x148]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x4302b8]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401592
mov eax, ebx
call fcn.0042c693
ret

Function at 0x40a8d7
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40a93e
push edi
lea eax, [ebp - 0x10]
xor edi, edi
push eax
push str.SeDebugPrivilege
inc edi
push esi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40a93d
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
cmovne esi, edi
pop edi
cmp dword [ebp - 0x18], 0
je 0x40a94d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00412c09
leave
ret
Function at 0x40afcf
Capabilities:
Check mutex on windows

Disassembly:
push 0x10
mov eax, 0x42edf8
call fcn.0042c6c5
mov ebx, ecx
lea esi, [ebx + 0x140]
push str.Unspecified_error___init.
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.00401b68
push dword [ebp + 8]
lea eax, [ebx + 8]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00405498
test eax, eax
je 0x40b049
mov ecx, dword [ebx + 0x13c]
sub ecx, 0x10
call fcn.00401ccd
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 4], edi
call fcn.00401bad
push eax
push str.Error_reading_crash_info:__s
push esi
call fcn.004041d6
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401592
xor eax, eax
jmp 0x40b10d
push dword [ebp + 8]
lea esi, [ebx + 0x1b4]
push 0x436930
push esi
call fcn.004041d6
add esp, 0xc
call fcn.004015b8
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c55
xor edi, edi
mov dword [ebp - 4], 1
push edi
mov ecx, esi
call fcn.00401bad
push eax
lea eax, [ebp - 0x10]
push str.LocalCrashRptEvent__s
push eax
call fcn.004041d6
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x14]
push str.RTLReading
push str.Settings
mov dword [ebx + 0x1b8], eax
call fcn.00402e3e
mov byte [ebp - 4], 2
push 0x437534
push dword [ebp - 0x14]
call fcn.0041bafd
add esp, 0x10
test eax, eax
jne 0x40b0d9
push 1
call dword [sym.imp.USER32.dll_SetProcessDefaultLayout]
cmp dword [ebx + 0x5c], edi
jne 0x40b115
push 1
mov ecx, ebx
call fcn.0040b168
xor edi, edi
mov eax, str.Success.
inc edi
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00401b68
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401592
lea ecx, [esi - 0x10]
call fcn.00401592
mov eax, edi
call fcn.0042c693
ret 4
push 0x437538
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b136
mov eax, str.Another_CrashSender.exe_already_tries_to_resend_recent_reports.
jmp 0x40b0ef
mov eax, dword [ebx + 0x100]
mov ecx, 0xa0
sub eax, dword [ebx + 0xfc]
cdq
idiv ecx
test eax, eax
jne 0x40b155
mov eax, str.There_are_no_reports_for_us_to_send.
jmp 0x40b0ef
mov ecx, dword [ebp - 0x18]
call fcn.004071bf
test eax, eax
jne 0x40b0e7
mov eax, str.Not_enough_time_elapsed_to_remind_user_about_recent_crash_reports.
jmp 0x40b0ef

Function at 0x40b168
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x19c], eax
xor eax, eax
push eax
push eax
push esi
push 0x40b1a0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x150], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x40d89c
Capabilities:
Enumerate files on windows

Disassembly:
push 0x28c
mov eax, 0x42f350
call fcn.0042c6f8
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], eax
call fcn.004015b8
push eax
lea ecx, [ebp - 0x274]
call fcn.00401c55
xor edi, edi
lea eax, [ebp - 0x274]
mov dword [ebp - 4], edi
push dword [ebx + 4]
push str.Looking_for_files_using_search_template:__s
push eax
call fcn.004041d6
mov eax, dword [ebp - 0x274]
add esp, 0xc
add eax, 0xfffffff0
push 1
push edi
push ecx
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x270], eax
call fcn.00401ccd
mov ecx, dword [ebp - 0x26c]
add eax, 0x10
add ecx, 0x158
mov dword [esi], eax
call fcn.004047b2
lea eax, [ebp - 0x264]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or esi, 0xffffffff
mov dword [ebp - 0x268], eax
cmp eax, esi
jne 0x40d96b
push 1
push edi
push ecx
mov ecx, esp
push str.Could_not_find_any_files_matching_the_search_template.
call fcn.00403e7d
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx + 0x158]
call fcn.004047b2
jmp 0x40dacd
push 0x5c
push dword [ebx + 4]
call fcn.00414947
pop ecx
pop ecx
test eax, eax
je 0x40d982
mov esi, eax
sub esi, dword [ebx + 4]
sar esi, 1
push esi
push edi
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 4]
call fcn.00403acf
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x268]
lea ecx, [edi + 0x158]
call fcn.00404867
test al, al
jne 0x40dab5
test byte [ebp - 0x264], 0x10
jne 0x40da9f
push 0x436638
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x268]
call fcn.004039c4
pop ecx
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x268]
call fcn.00403da5
lea ecx, [ebp - 0x298]
call fcn.00404be5
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x294]
call fcn.00403de0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x298]
call fcn.00401b68
mov ebx, dword [ebp - 0x280]
lea ecx, [ebp - 0x290]
lea eax, [ebx + 8]
push eax
call fcn.00403de0
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x27c]
mov dword [ebp - 0x288], eax
push ecx
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x40da6c
mov ecx, eax
call fcn.004084fd
add dword [ebx + 4], 0x18
jmp 0x40da74
push eax
mov ecx, ebx
call fcn.0040e286
lea eax, [ebp - 0x298]
mov ecx, edi
push eax
call fcn.0040d3b2
lea ecx, [ebp - 0x298]
call fcn.0040683b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.00401592
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40d9a3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.00401592
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x270]
call fcn.00401592
mov eax, edi
call fcn.0042c6a7
ret 8
Function at 0x40e0df
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x234
mov eax, 0x42f419
call fcn.0042c6f8
call fcn.004015b8
push eax
lea ecx, [ebp - 0x240]
call fcn.00401c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push 0x57b
push str.CrashSender_d.exe
push eax
call fcn.004041d6
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [ebp - 0x240]
cmp eax, 1
jne 0x40e1a3
jmp 0x40e190
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0041bafd
pop ecx
pop ecx
test eax, eax
jne 0x40e190
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
je 0x40e190
push dword [ebp - 0x234]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x40e14d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00401592
xor eax, eax
call fcn.0042c6a7
ret

Function at 0x410bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00410a90
mov edi, dword [ebp + 8]
push 0
push 0
push edi
call fcn.0041d9c0
add esp, 0xc
push edi
call fcn.0041da17
add esp, 4
cmp eax, 0xffffffff
jne 0x410c10
push edi
call fcn.0041d578
add esp, 4
test eax, eax
jne 0x410c96
push 2
push 0
push edi
call fcn.0041d9c0
add esp, 0xc
push edi
call fcn.0041d43a
add esp, 4
cdq
mov ebx, eax
mov dword [esp + 0xc], edx
push 0
push 0
push edi
call fcn.0041d9c0
mov edx, dword [esp + 0x18]
mov ecx, ebx
and ecx, edx
add esp, 0xc
cmp ecx, 0xffffffff
je 0x410c96
test edx, edx
jne 0x410c96
cmp ebx, 0xffffffff
jae 0x410c96
mov eax, ebx
or eax, edx
jne 0x410c5c
push eax
push eax
push 0xd
jmp 0x410c9c
lea eax, [ebx + 1]
push eax
call fcn.004132c5
add esp, 4
mov dword [esi + 0x50], eax
push edi
push ebx
push 1
push eax
call fcn.0041df87
add esp, 0x10
cmp eax, ebx
jne 0x410c96
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00410ea0
mov eax, dword [esi + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 5
push esi
call fcn.00410d60
mov eax, dword [esi + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4110ac
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
jle 0x411141
push ebx
push ebp
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4110bd
push eax
push 4
push 1
push 0x4385f8
call fcn.0041dd3e
add esp, 0x10
jmp 0x411136
mov eax, dword [esi + 0xec]
add eax, 4
cmp eax, dword [esi + 0xe8]
jle 0x411113
lea ebx, [eax + eax]
push ebx
call fcn.004132c5
push dword [esi + 0xec]
mov ebp, eax
push dword [esi + 0xd0]
push ebp
call fcn.00414f40
mov edx, dword [esi + 0xd0]
lea ecx, [esi + 0xd4]
add esp, 0x10
cmp edx, ecx
je 0x411107
push edx
call fcn.004130c3
add esp, 4
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xe8], ebx
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xd0]
add ecx, eax
add eax, 4
mov dword [esi + 0xec], eax
mov eax, dword [0x4385f8]
mov dword [ecx - 1], eax
mov byte [ecx + 3], 0
sub edi, 1
jne 0x4110a2
pop ebp
pop ebx
pop edi
pop esi
ret 4