joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42064b
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
je 0x420753
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
add ecx, ebx
add eax, esi
push ecx
push eax
push ebx
push esi
mov dword [ebp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, 0xcc0020
push edi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 4]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x28], eax
add eax, esi
cmp eax, dword [ebp + 0x1c]
mov dword [ebp + 0x10], eax
jge 0x4206ff
jmp 0x4206d5
mov eax, dword [ebp + 0x10]
push edi
push ebx
push esi
push dword [ebp + 8]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x28]
add dword [ebp + 0x10], eax
add eax, eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x1c]
jl 0x4206d2
xor edi, edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp + 0xc], edi
je 0x420719
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 4], edi
je 0x4207e0
push dword [ebp - 4]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
test eax, eax
je 0x420740
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
je 0x4207e0
push dword [ebp - 4]
call esi
jmp 0x4207e0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x28]
lea esi, [ebx + eax]
add edx, ecx
push edx
lea edx, [esi + edi]
lea eax, [ebx + edi]
push edx
push ecx
push eax
mov dword [ebp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x1c], edi
cmp eax, esi
mov dword [ebp + 0x28], eax
jge 0x4207c6
mov edi, 0xcc0020
push edi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [ebp + 0x2c]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0x28]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x1c]
add dword [ebp + 0x28], eax
add eax, eax
cmp dword [ebp + 0x28], esi
mov dword [ebp + 0x1c], eax
jl 0x420799
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp + 0xc], 0
je 0x4207e0
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4207e5
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
je 0x4208ed
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
add eax, esi
mov dword [ebp + 0x1c], eax
push eax
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, 0xcc0020
push edi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 4]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x2c], eax
add eax, esi
cmp eax, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
jge 0x420899
jmp 0x42086f
mov eax, dword [ebp + 0xc]
push edi
push esi
push ebx
push dword [ebp + 8]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x2c]
add dword [ebp + 0xc], eax
add eax, eax
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x1c]
jl 0x42086c
xor edi, edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp + 0x10], edi
je 0x4208b3
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 4], edi
je 0x42096e
push dword [ebp - 4]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
test eax, eax
je 0x4208da
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
je 0x42096e
push dword [ebp - 4]
call esi
jmp 0x42096e
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
lea edi, [esi + eax]
mov eax, dword [ebp + 0xc]
add ecx, eax
push edi
push ecx
push esi
push eax
mov dword [ebp + 0x1c], edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x2c], eax
lea ebx, [esi + eax]
cmp ebx, edi
jge 0x420954
mov edi, 0xcc0020
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x2c]
add ebx, eax
add eax, eax
cmp ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x2c], eax
jl 0x42092a
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp + 0x10], 0
je 0x42096e
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427393
Capabilities:
Check os version

Disassembly:
mov eax, 0x46deaf
call fcn.0045b030
sub esp, 0x1e8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call fcn.00427dc7
xor ebx, ebx
lea ecx, [esi + 0x70]
mov dword [ebp - 4], ebx
call fcn.0042ef89
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 1
call fcn.00427577
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 2
call fcn.00427577
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 3
call fcn.00427577
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 4
call fcn.00427577
lea ecx, [esi + 0x1d8]
mov byte [ebp - 4], 5
call fcn.00427577
lea ecx, [esi + 0x22c]
mov byte [ebp - 4], 6
call fcn.00427577
push ebx
mov byte [ebp - 4], 7
mov dword [esi], 0x473bf8
mov dword [esi + 0x1c], 0x473bf4
mov dword [esi + 0x20], 0x473bf0
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x294], ebx
mov word [esi + 0x54], bx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1f4]
push eax
mov dword [ebp - 0x1f4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1f0], 6
jb 0x4274ab
push esi
push 0x4272f1
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_EnumFontFamiliesW]
jmp 0x4274af
or byte [esi + 0x55], 1
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0xde]
cmp dword [0x4800c8], 1
mov word [ebp - 0xe0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x4274d5
push 0x481d6c
jmp 0x4274da
push 0x480918
lea eax, [ebp - 0xe0]
push 0x32
push eax
call fcn.0040eadd
push 0x64
mov edi, 0x48bd90
push ebx
push edi
call sub.MSVCRT.dll_memset
mov ax, word [esi + 0x54]
add esp, 0xc
and ax, 0x100
cmp ax, 0x100
jne 0x427516
lea eax, [ebp - 0xe0]
push eax
push 0x32
push edi
call fcn.0040eadd
mov al, byte [esi + 0x54]
and al, 0x10
cmp al, 0x10
jne 0x42752c
push str.Tahoma
push 0x32
push edi
call fcn.0040eadd
mov al, byte [esi + 0x54]
and al, 1
cmp al, 1
jne 0x42755c
push 0xc3e3
lea ecx, [ebp - 0x14]
call fcn.004028d8
push dword [eax]
mov byte [ebp - 4], 8
push 0x32
push edi
call fcn.0040eadd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00403037
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429d66
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x429d88
cmp dword [esi + 8], ebx
je 0x429d88
cmp dword [esi + 0x10], ebx
jne 0x429e1c
cmp dword [esi + 4], ebx
push edi
jne 0x429dda
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push str.icmp.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x429e0c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCloseHandle
push eax
call edi
push str.IcmpCreateFile
mov dword [esi + 0x10], eax
push dword [esi + 4]
call edi
push str.IcmpSendEcho
mov dword [esi + 8], eax
push dword [esi + 4]
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], ebx
pop edi
je 0x429e21
cmp dword [esi + 8], ebx
je 0x429e21
cmp dword [esi + 0x10], ebx
je 0x429e21
push 1
pop eax
jmp 0x429e2a
mov ecx, esi
call fcn.00429e2e
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x42eb56
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x411
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x1cc]
call fcn.00444b38
mov ebx, 0x423
push ebx
push dword [esi + 4]
call edi
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push ebx
mov dword [esi + 0x94], eax
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x64]
call fcn.00440837
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ebp, 0xd00
push 0x2e3
push ebp
push dword [esi + 4]
call ebx
push 0x422
mov dword [esi + 0x90], eax
push dword [esi + 4]
call edi
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x422
mov dword [esi + 0xe8], eax
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0xb8]
call fcn.00440837
push 0
push 0x2e3
push ebp
push dword [esi + 4]
call ebx
push 0x3f3
mov dword [esi + 0xe4], eax
push dword [esi + 4]
call edi
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x3f3
mov dword [esi + 0x13c], eax
push dword [esi + 4]
mov dword [esp + 0x18], eax
call edi
push eax
lea ecx, [esi + 0x10c]
call fcn.00440837
push 0
push 0x2e3
push ebp
push dword [esi + 4]
call ebx
push 5
mov dword [esi + 0x138], eax
push dword [esi + 0x110]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
push 0x3f8
mov dword [esi + 0x190], eax
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x160]
call fcn.00440837
push 0
push 0x2e3
push ebp
push dword [esi + 4]
call ebx
push 0x3f4
mov dword [esi + 0x18c], eax
push dword [esi + 4]
call edi
lea ebx, [esi + 0x1e8]
push eax
mov ecx, ebx
call fcn.00442e07
push 0x3f6
push dword [esi + 4]
call edi
push eax
mov ecx, ebx
call fcn.00442e07
push 0x3f7
push dword [esi + 4]
call edi
push eax
mov ecx, ebx
call fcn.00442e07
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x42efe6
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
lea esi, [ebp + 4]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x42f002
xor eax, eax
jmp 0x42f00a
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jge 0x42f04d
push ebx
mov ecx, esi
call fcn.0042f0a2
mov ecx, dword [esp + 0x14]
push ebx
cmp ecx, dword [eax]
mov ecx, esi
jne 0x42f03a
call fcn.0042f0a2
mov eax, dword [eax]
push 5
add eax, 4
push dword [eax]
call edi
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x14], eax
jmp 0x42f04a
call fcn.0042f0a2
mov eax, dword [eax]
push 0
add eax, 4
push dword [eax]
call edi
inc ebx
jmp 0x42eff7
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42fd63
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
je 0x42fda8
mov edi, dword [ebp + 0xc]
push str.user32.dll
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x42fda8
push str.PrivateExtractIconsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
jne 0x42fdaf
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x42fe75
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
call ebx
cmp eax, esi
je 0x42fdfa
push esi
push 1
lea eax, [ebp - 4]
push esi
push eax
push 0x20
push 0x20
push esi
push dword [ebp + 8]
call ebx
cmp eax, 1
jne 0x42fde3
mov eax, dword [ebp - 4]
mov dword [edi], eax
jmp 0x42fe65
push 1
lea eax, [ebp - 4]
push esi
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x42fe65
jmp 0x42fdd9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x29
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x42fe62
lea eax, [ebp - 0x210]
push str.shell32.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x42fe62
push esi
push 1
lea eax, [ebp - 4]
push esi
push eax
push 0x20
push 0x20
lea eax, [ebp - 0x210]
push 2
push eax
call ebx
cmp eax, 1
jne 0x42fe62
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp dword [edi], esi
setne al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x432613
Capabilities:
Check if file exists
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x208]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4327c6
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.0040eadd
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call edi
and word [eax + 2], 0
pop ecx
pop ecx
lea eax, [ebp - 0x208]
push str.efiproc.dll
push esi
push eax
call fcn.0040eb1f
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
jne 0x4326d2
lea eax, [ebp - 0x208]
push 0x5c
push eax
call edi
and word [eax], 0
lea eax, [ebp - 0x208]
push 0x5c
push eax
call edi
and word [eax + 2], 0
add esp, 0x10
lea eax, [ebp - 0x208]
push str.efiproc.dll
push esi
push eax
call fcn.0040eb1f
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
je 0x4327c6
lea eax, [ebp - 0x618]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4327c6
push str.Driversefimon.sys
lea eax, [ebp - 0x618]
push esi
push eax
call fcn.0040eb1f
lea eax, [ebp - 0x410]
push 0x5c
push eax
call edi
and word [eax + 2], 0
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push str.efimon.sys
push esi
push eax
call fcn.0040eb1f
lea eax, [ebp - 0x410]
push eax
call ebx
test eax, eax
jne 0x43276c
lea eax, [ebp - 0x410]
push 0x5c
push eax
call edi
and word [eax], 0
lea eax, [ebp - 0x410]
push 0x5c
push eax
call edi
and word [eax + 2], 0
add esp, 0x10
lea eax, [ebp - 0x410]
push str.efimon.sys
push esi
push eax
call fcn.0040eb1f
lea eax, [ebp - 0x410]
push eax
call ebx
test eax, eax
je 0x4327c6
lea eax, [ebp - 0x618]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4327c6
push str.EfiLoadBitmap
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4327bf
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4327f0
Capabilities:
Check if file exists
Create service
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
xor esi, esi
push 1
push esi
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push str.SYSTEM
mov edi, ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43282e
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0x1c]
cmp dword [eax - 8], esi
je 0x4328e7
mov eax, dword [edi + 0x18]
cmp dword [eax - 8], esi
je 0x4328e7
mov eax, dword [edi + 0x20]
cmp dword [eax - 8], esi
je 0x4328e7
push dword [edi + 0x18]
lea eax, [ebp - 0x21c]
push str.SYSTEMCurrentControlSetServices_s
push 0x208
push eax
call fcn.00415be4
add esp, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
lea eax, [ebp - 0x21c]
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x4328c1
mov ebx, dword [ebp - 8]
push str.DeleteFlag
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 8]
push 4
push eax
push 4
push esi
push str.Start
push ebx
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, edi
call fcn.00432301
test eax, eax
jne 0x432944
push dword [edi + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4328ee
cmp dword [ebp - 4], esi
je 0x4328e7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
je 0x4328d9
mov edi, dword [edi + 0x18]
push esi
push esi
lea eax, [ebp - 0x10]
push esi
push eax
push str.Base
push str.SystemRoot_system32drivers360AntiARP.sys
push 1
push esi
push 1
push 0xf01ff
push edi
push edi
push ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, esi
jne 0x432938
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4328d9
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call edi
push ebx
call edi
cmp dword [ebp - 4], esi
je 0x432952
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x4328e9
Function at 0x432c8e
Capabilities:
Check if file exists
Hide graphical window
Query or enumerate registry value

Disassembly:
mov eax, 0x46e918
call fcn.0045b030
sub esp, 0x214
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push edi
mov edi, str.Q360SafeMainClass
push 0
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x432cea
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 8], 0
jbe 0x432da6
push 0x168
push dword [ebp + 8]
push 0x52c
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x432da6
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x104
and dword [ebp - 4], 0
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00432dcb
test eax, eax
jne 0x432dab
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432dab
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432dab
mov ebx, 0x3e8
xor eax, eax
push ebx
push eax
lea ecx, [ebp - 0x220]
push eax
push ecx
push eax
call fcn.00432e09
add esp, 0x14
and dword [ebp - 0x14], 0
push 0
push edi
call esi
inc dword [ebp - 0x14]
test eax, eax
jne 0x432d83
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x14], 0xa
jl 0x432d68
jmp 0x432d97
push 0x168
push dword [ebp + 8]
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x10], 0
je 0x432da6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x432dbc
cmp dword [ebp - 0x10], 0
je 0x432dba
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x432e09
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
xor edi, edi
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], eax
call fcn.00432e8a
neg eax
sbb eax, eax
mov dword [ebp - 0x20], 1
and eax, str.runas
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x432e85
push dword [ebp + 0x18]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop edi
mov eax, edi
pop edi
leave
ret
Function at 0x432ed2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x432f16
cmp dword [ebp - 0x104], 2
jne 0x432f16
cmp dword [ebp - 0x110], 5
jne 0x432f16
cmp dword [ebp - 0x10c], 0
jne 0x432f16
push 1
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x432f48
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x432f62
test byte [ebp - 4], 7
jne 0x432f66
xor eax, eax
leave
ret
push 1
pop eax
leave
ret