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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.00489a84
test eax, eax
je 0x4423cf
or dword [ebx], 1
call fcn.00489920
test eax, eax
je 0x4423db
or dword [ebx], 2
call fcn.0048a31b
test eax, eax
je 0x4423e7
or dword [ebx], 4
call fcn.0048a263
test eax, eax
je 0x4423f3
or dword [ebx], 8
call fcn.0048a078
test eax, eax
je 0x4423ff
or dword [ebx], 0x10
call fcn.00489bae
test eax, eax
je 0x44240b
or dword [ebx], 0x20
push esi
push edi
xor esi, esi
push str.SOFTWAREBaiduBaiduAn
lea edi, [ebp - 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], str.BDMRTP
call fcn.00489c31
mov edi, dword [ebp - 8]
cmp dword [edi - 0xc], esi
pop ecx
jne 0x442439
lea eax, [edi - 0x10]
call fcn.0040153b
jmp 0x442472
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44242f
push dword [ebp + esi*4 - 0xc]
call fcn.0048a442
test eax, eax
pop ecx
jne 0x44245a
inc esi
cmp esi, 1
jb 0x442444
jmp 0x442461
mov dword [ebp - 4], 1
lea eax, [edi - 0x10]
call fcn.0040153b
cmp dword [ebp - 4], 0
je 0x442472
or dword [ebx], 0x40
and dword [ebp - 0x10], 0
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallBaiduBrowser
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], str.uninst.exe
mov dword [ebp - 0x14], str.baidubrowser.exe
call fcn.004036c5
test eax, eax
pop ecx
pop ecx
je 0x4424a2
or dword [ebx], 0x80
and dword [ebp - 0x10], 0
push 0x4ec788
push str.SOFTWARE2345PCSafe
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], str.2345SafeTray.exe
mov dword [ebp - 0x14], str.2345Service.exe
call fcn.004036c5
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
je 0x4424d4
or dword [ebx], 0x100
mov byte [ebx + 4], 1
mov eax, dword [ebx]
leave
ret

Function at 0x442cbc
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 6
pop ecx
xor esi, esi
push 1
push esi
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
push esi
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
je 0x442d26
push ebx
push 0x14
push str.kxescore
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x442d22
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x442d1f
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov dword [ebp - 4], 1
push ebx
call esi
push edi
call esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4433fa
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x443483
push ebx
call fcn.0049130d
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443474
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4efd98
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443474
cmp dword [ebp - 0xc], ebx
je 0x443474
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x443483
push dword [ebp - 4]
call fcn.0049242a
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x443500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov ecx, 0x519a54
call fcn.004016bf
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.004923b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00401b70
push esi
call fcn.00443489
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x44362b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x443684
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x443735
mov eax, dword [ebp - 0x94]
dec eax
je 0x443721
dec eax
jne 0x443735
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
inc ecx
cmp eax, 6
jne 0x4436d1
cmp dword [ebp - 0x9c], ecx
jne 0x4436bb
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
add eax, 8
jmp 0x44371d
cmp dword [ebp - 0x9c], edi
jne 0x44370a
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
lea eax, [eax + eax + 7]
jmp 0x44371d
cmp eax, 5
jne 0x4436fb
cmp dword [ebp - 0x9c], 2
jne 0x4436e2
push eax
jmp 0x443702
cmp dword [ebp - 0x9c], 1
jne 0x4436ef
push 6
jmp 0x443702
cmp dword [ebp - 0x9c], edi
jne 0x443735
push 3
jmp 0x443702
cmp eax, 4
ja 0x443705
push 4
pop edi
jmp 0x443735
cmp eax, 6
jb 0x443735
cmp dword [ebp - 0x9c], 2
jb 0x443735
cmp byte [ebp + 0x76], cl
jne 0x443735
call fcn.0044355f
mov edi, eax
jmp 0x443735
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x443803
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x443891
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x44383a
cmp dword [ebp - 8], 2
jne 0x443890
push esi
mov esi, dword [ebp + 0xc]
call fcn.004015eb
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004018bb
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x443878
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x443888
push eax
call fcn.004926b1
pop ecx
mov edx, esi
call fcn.0040162b
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x4440d5
Capabilities:
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
and word [esp], 0
push 0x18e
lea eax, [esp + 6]
push 0
push eax
call fcn.004923b0
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44412b
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push str.localhost
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x44415e
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x51b910], esi
mov dword [ebp - 4], esi
je 0x44417a
xor eax, eax
inc eax
jmp 0x44423a
push edi
push str.C16A0C4F_108B_4580_A7A0_8DEF25D2E9EF
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push str.GlobalE02A6D98_80B3_4a54_89E3_116EB96D0664_EXIST
push esi
push 1
push esi
mov dword [0x51ad84], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x51ad88], eax
call fcn.00443c33
test eax, eax
jge 0x4441b5
xor eax, eax
jmp 0x444239
cmp dword [ebp - 4], esi
je 0x444237
mov eax, dword [0x51b908]
push ebx
mov ebx, dword [eax]
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x444233
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
call ebx
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
xor esi, esi
inc esi
pop ebx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x444a6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
call dword [section..data]
mov eax, dword [ebp + 8]
xor edi, edi
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x40c], edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp + 0xc], ebx
jne 0x444ab0
call fcn.00445ea7
mov esi, eax
jmp 0x444b8f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x444acd
call fcn.00445ea7
jmp 0x444b84
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x444ac3
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x444b10
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x444b06
lea eax, [ebp - 0x40c]
call fcn.00445913
mov eax, 0x8007000e
jmp 0x444baa
push 2
push eax
call fcn.0043902d
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x444b30
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.004361c0
jmp 0x444b3c
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x444b4d
mov esi, 0x8007000e
jmp 0x444b86
call dword [section..data]
push esi
push ebx
push esi
push dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, edi
je 0x444ac3
mov ecx, dword [ebp - 0x40c]
push dword [ebp + 0x18]
mov word [ecx + eax*2], di
push dword [ebp - 0x40c]
lea ecx, [ebp - 8]
call fcn.00444bb1
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x444ba8
lea eax, [ebp - 0x40c]
call fcn.00445913
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x44591c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x44592f
push 0x80004005
call fcn.004019ba
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x445936
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x445e7a
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x445f86
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
and dword [ebp - 8], 0
test eax, eax
je 0x446036
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edi, 0x4ed5b4
push edi
push eax
mov dword [ebp - 4], 0x40
call esi
xor ecx, ecx
inc ecx
cmp dword [ebp - 0xc], ecx
jne 0x446033
test eax, eax
jne 0x445fda
and word [ebx + 0x3e], ax
mov dword [ebp - 8], ecx
jmp 0x446033
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.00493ee2
mov ebx, eax
test ebx, ebx
pop ecx
je 0x446033
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push edi
push dword [eax + 4]
call esi
test eax, eax
jne 0x44602c
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
push 0x1f
push ebx
shr eax, 1
and word [ebx + eax*2], 0
push 0x20
push esi
call fcn.00495af1
add esp, 0x10
and word [esi + 0x3e], 0
mov dword [ebp - 8], 1
push ebx
call fcn.00492a2f
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x44603d
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.004923b0
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x446864
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x446894
push 0x98
call fcn.00470e64
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x446887
call fcn.0044603d
mov eax, ebx
jmp 0x446889
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x446894
xor eax, eax
jmp 0x44690a
push ebp
push 0x4fb4f8
push dword [esp + 0x14]
call fcn.004994db
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x4468af
xor eax, eax
jmp 0x446909
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x4468c3
push ebx
call fcn.0049130d
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049978a
add esp, 0x10
cmp eax, esi
je 0x4468f4
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00446075
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049978a
add esp, 0x10
test eax, eax
jne 0x4468d6
push ebp
call fcn.00499817
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0044610c
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x446932
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4469b9
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x4ef624
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4469b9
cmp dword [ebp - 8], 1
jne 0x4469b9
cmp dword [ebp - 0xc], 6
jb 0x4469b9
push esi
call fcn.004926b1
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x4469b6
cmp ax, 0x2f
je 0x4469b6
push 0x4efd98
push esi
call fcn.00499893
pop ecx
pop ecx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
je 0x4469c7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x446d30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
xor ebx, ebx
or edi, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x446d49
or eax, edi
jmp 0x446e00
lea eax, [ebp - 0x54]
push esi
push eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], bx
call fcn.0044690f
test eax, eax
pop ecx
je 0x446df2
mov edi, 0x4ed090
push edi
lea eax, [ebp - 0x1c]
call fcn.00401000
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
lea esi, [ebp - 0x1c]
call fcn.0040131e
push edi
mov eax, esi
push eax
call fcn.00401061
push str._aurl:
lea eax, [ebp - 0x38]
call fcn.00401000
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.00401061
cmp dword [ebp - 0x20], 8
mov ecx, dword [ebp - 0x34]
jae 0x446db4
lea ecx, [ebp - 0x34]
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x446dc0
lea eax, [ebp - 0x18]
push 1
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
push ebx
push 1
lea esi, [ebp - 0x38]
dec ecx
mov edi, ecx
call fcn.00401105
push ebx
push 1
lea esi, [ebp - 0x1c]
call fcn.00401105
push ebx
push 1
lea esi, [ebp - 0x54]
call fcn.00401105
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x446e04
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x446e1a
or eax, 0xffffffff
jmp 0x446e7e
push dword [ebp + 8]
call fcn.00446d30
cmp eax, esi
pop ecx
je 0x446e7e
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.004923b0
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x446e7b
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
call fcn.00446e81
pop ecx
jmp 0x446e7e
push 0xfffffffffffffffa
pop eax
pop esi
leave
ret
Function at 0x447336
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x4473b1
push ebx
push edi
push 2
push str.seclogon
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x4473aa
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x447390
cmp dword [ebp - 0x2c], 3
je 0x4473a7
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 0xc]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x4478b8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00401e81
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x447965
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x447964
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00401ee0
mov esi, eax
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x447964
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x447964
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x447915
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x44794f
xor eax, eax
jmp 0x447956
push eax
call fcn.00494970
pop ecx
mov edx, esi
call fcn.00401ec0
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x447975
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x447d8f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x447da8
mov eax, dword [ebp - 4]
jmp 0x447e82
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x447e5d
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f54f0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4f54f0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f54f0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4f54f0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f54f0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4f54f0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4f54f0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4f54f0]
dec ebp
jne 0x447dc7
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x447e79
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4f54f0]
dec ecx
jne 0x447e67
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4487ea
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
push edi
mov edi, esi
jne 0x448807
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.00449a7d
xor al, al
jmp 0x448880
call fcn.00448237
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
push ebx
call fcn.00499d3f
push ebx
call fcn.0049a09b
push ebp
push ebp
push ebx
mov edi, eax
call fcn.00499d3f
add esp, 0x1c
cmp edi, ebp
jne 0x44883c
push ebp
push ebp
push 0xd
mov edi, esi
jmp 0x4487fb
lea eax, [edi + 1]
push eax
call fcn.0049130d
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0049978a
add esp, 0x14
cmp eax, 1
je 0x44886c
push ebp
call fcn.0049242a
pop ecx
push 0
push 0
push 2
jmp 0x448838
mov eax, ebp
mov ecx, esi
call fcn.00448884
push ebp
mov bl, al
call fcn.0049242a
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret
Function at 0x44ae04
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
mov esi, str.Administrators
cmp eax, esi
je 0x44aec7
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x44aec7
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
push ebx
jmp 0x44aea1
cmp dword [ebp - 4], ebx
je 0x44ae5a
push dword [ebp - 4]
call fcn.00492a2f
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x44ae6b
push dword [ebp - 8]
call fcn.00492a2f
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x44aeac
push dword [ebp - 0x10]
call fcn.00493ee2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.00493ee2
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push esi
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x44ae49
push dword [ebp - 8]
call fcn.00492a2f
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x44aec9
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x44aec9
xor eax, eax
pop esi
pop ebx
leave
ret