joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441c31
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.00497490
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x441cbd
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x52a8fc
call fcn.0044cbdd
add esp, 0xc
jmp 0x441d35
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x441cf0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x441d18
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x441d27
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x52a8fc
call fcn.0044cbdd
add esp, 0xc
jmp 0x441d2e
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441eeb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.00489c1e
test eax, eax
je 0x441efd
or dword [ebx], 1
call fcn.00489aba
test eax, eax
je 0x441f09
or dword [ebx], 2
call fcn.0048a498
test eax, eax
je 0x441f15
or dword [ebx], 4
call fcn.0048a3e0
test eax, eax
je 0x441f21
or dword [ebx], 8
call fcn.0048a212
test eax, eax
je 0x441f2d
or dword [ebx], 0x10
call fcn.00489d48
test eax, eax
je 0x441f39
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.00489dcb
mov edi, dword [ebp - 8]
cmp dword [edi - 0xc], esi
pop ecx
jne 0x441f67
lea eax, [edi - 0x10]
call fcn.0040151c
jmp 0x441fa0
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x441f5d
push dword [ebp + esi*4 - 0xc]
call fcn.0048a5bf
test eax, eax
pop ecx
jne 0x441f88
inc esi
cmp esi, 1
jb 0x441f72
jmp 0x441f8f
mov dword [ebp - 4], 1
lea eax, [edi - 0x10]
call fcn.0040151c
cmp dword [ebp - 4], 0
je 0x441fa0
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.00403684
test eax, eax
pop ecx
pop ecx
je 0x441fd0
or dword [ebx], 0x80
and dword [ebp - 0x10], 0
push 0x4f9788
push str.SOFTWARE2345PCSafe
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], str.2345SafeTray.exe
mov dword [ebp - 0x14], str.2345Service.exe
call fcn.00403684
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
je 0x442002
or dword [ebx], 0x100
mov byte [ebx + 4], 1
mov eax, dword [ebx]
leave
ret

Function at 0x4427fd
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 0x442867
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 0x442863
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x442860
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 0x442f3b
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 0x442fc4
push ebx
call fcn.004963f3
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 0x442fb5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4fcd98
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 0x442fb5
cmp dword [ebp - 0xc], ebx
je 0x442fb5
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 0x442fc4
push dword [ebp - 4]
call fcn.0049750a
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x443041
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov ecx, 0x5289f4
call fcn.004016a6
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.00497490
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.00401b57
push esi
call fcn.00442fca
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x44316c
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.00497490
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 0x4431c5
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x443276
mov eax, dword [ebp - 0x94]
dec eax
je 0x443262
dec eax
jne 0x443276
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
inc ecx
cmp eax, 6
jne 0x443212
cmp dword [ebp - 0x9c], ecx
jne 0x4431fc
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
add eax, 8
jmp 0x44325e
cmp dword [ebp - 0x9c], edi
jne 0x44324b
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
lea eax, [eax + eax + 7]
jmp 0x44325e
cmp eax, 5
jne 0x44323c
cmp dword [ebp - 0x9c], 2
jne 0x443223
push eax
jmp 0x443243
cmp dword [ebp - 0x9c], 1
jne 0x443230
push 6
jmp 0x443243
cmp dword [ebp - 0x9c], edi
jne 0x443276
push 3
jmp 0x443243
cmp eax, 4
ja 0x443246
push 4
pop edi
jmp 0x443276
cmp eax, 6
jb 0x443276
cmp dword [ebp - 0x9c], 2
jb 0x443276
cmp byte [ebp + 0x76], cl
jne 0x443276
call fcn.004430a0
mov edi, eax
jmp 0x443276
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 0x443344
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 0x4433d2
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 0x44337b
cmp dword [ebp - 8], 2
jne 0x4433d1
push esi
mov esi, dword [ebp + 0xc]
call fcn.004015cc
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004018a2
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 0x4433b9
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 0x4433c9
push eax
call fcn.00497791
pop ecx
mov edx, esi
call fcn.0040160c
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x443c10
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.00497490
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x443c66
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 0x443c75
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x52a8b0], esi
mov dword [ebp - 4], esi
je 0x443c91
xor eax, eax
inc eax
jmp 0x443d51
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 [0x529d24], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x529d28], eax
call fcn.0044376b
test eax, eax
jge 0x443ccc
xor eax, eax
jmp 0x443d50
cmp dword [ebp - 4], esi
je 0x443d4e
mov eax, dword [0x52a8a8]
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 0x443d4a
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 0x444583
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 0x4445c7
call fcn.00445a03
mov esi, eax
jmp 0x4446a6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x4445e4
call fcn.00445a03
jmp 0x44469b
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x4445da
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x444627
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44461d
lea eax, [ebp - 0x40c]
call fcn.0044542a
mov eax, 0x8007000e
jmp 0x4446c1
push 2
push eax
call fcn.00438de7
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x444647
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0044547d
jmp 0x444653
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x444664
mov esi, 0x8007000e
jmp 0x44469d
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 0x4445da
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.004446c8
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x4446bf
lea eax, [ebp - 0x40c]
call fcn.0044542a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x445433
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x445446
push 0x80004005
call fcn.004019a1
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 0x44544d
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 0x4459b2
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 0x445ae2
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 0x445b92
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, 0x4fa5b4
push edi
push eax
mov dword [ebp - 4], 0x40
call esi
xor ecx, ecx
inc ecx
cmp dword [ebp - 0xc], ecx
jne 0x445b8f
test eax, eax
jne 0x445b36
and word [ebx + 0x3e], ax
mov dword [ebp - 8], ecx
jmp 0x445b8f
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.00498fc5
mov ebx, eax
test ebx, ebx
pop ecx
je 0x445b8f
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 0x445b88
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.0049aba1
add esp, 0x10
and word [esi + 0x3e], 0
mov dword [ebp - 8], 1
push ebx
call fcn.00497b0f
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x445b99
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.00497490
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x4463f1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x446421
push 0x98
call fcn.00470fd7
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x446414
call fcn.00445b99
mov eax, ebx
jmp 0x446416
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x446421
xor eax, eax
jmp 0x446497
push ebp
push 0x508f70
push dword [esp + 0x14]
call fcn.0049e449
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x44643c
xor eax, eax
jmp 0x446496
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x446450
push ebx
call fcn.004963f3
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049e6f8
add esp, 0x10
cmp eax, esi
je 0x446481
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00445bd1
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049e6f8
add esp, 0x10
test eax, eax
jne 0x446463
push ebp
call fcn.0049e785
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.00445c68
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x4464bf
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 0x446546
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x4fc624
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 0x446546
cmp dword [ebp - 8], 1
jne 0x446546
cmp dword [ebp - 0xc], 6
jb 0x446546
push esi
call fcn.00497791
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x446543
cmp ax, 0x2f
je 0x446543
push 0x4fcd98
push esi
call fcn.0049e801
pop ecx
pop ecx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
je 0x446554
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4468b4
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 0x4468cd
or eax, edi
jmp 0x446985
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.0044649c
test eax, eax
pop ecx
je 0x446977
mov edi, 0x4fa090
mov eax, edi
lea ecx, [ebp - 0x1c]
call fcn.00401000
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
lea esi, [ebp - 0x1c]
call fcn.004012ff
push edi
mov eax, esi
push eax
call fcn.0040103b
mov eax, str._aurl:
lea ecx, [ebp - 0x38]
call fcn.00401000
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.0040103b
cmp dword [ebp - 0x20], 8
mov ecx, dword [ebp - 0x34]
jae 0x446939
lea ecx, [ebp - 0x34]
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x446945
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.0040114b
push ebx
push 1
lea esi, [ebp - 0x1c]
call fcn.0040114b
push ebx
push 1
lea esi, [ebp - 0x54]
call fcn.0040114b
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x446989
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 0x44699f
or eax, 0xffffffff
jmp 0x446a03
push dword [ebp + 8]
call fcn.004468b4
cmp eax, esi
pop ecx
je 0x446a03
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.00497490
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 0x446a00
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.00446a06
pop ecx
jmp 0x446a03
push 0xfffffffffffffffa
pop eax
pop esi
leave
ret
Function at 0x446eb2
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 0x446f2d
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 0x446f26
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 0x446f0c
cmp dword [ebp - 0x2c], 3
je 0x446f23
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 0x447628
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.00401e68
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4476d5
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x4476d4
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00401ec7
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 0x4476d4
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4476d4
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x447685
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x4476bf
xor eax, eax
jmp 0x4476c6
push eax
call fcn.00499a10
pop ecx
mov edx, esi
call fcn.00401ea7
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x4476e5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x447b28
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 0x447b41
mov eax, dword [ebp - 4]
jmp 0x447c1b
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 0x447bf6
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 + 0x503078]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x503078]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x503078]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x503078]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x503078]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x503078]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x503078]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x503078]
dec ebp
jne 0x447b60
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x447c12
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x503078]
dec ecx
jne 0x447c00
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x448583
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 0x4485a0
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.00449816
xor al, al
jmp 0x448619
call fcn.00447fd0
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
push ebx
call fcn.0049f3a4
push ebx
call fcn.0049ee3b
push ebp
push ebp
push ebx
mov edi, eax
call fcn.0049f3a4
add esp, 0x1c
cmp edi, ebp
jne 0x4485d5
push ebp
push ebp
push 0xd
mov edi, esi
jmp 0x448594
lea eax, [edi + 1]
push eax
call fcn.004963f3
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0049e6f8
add esp, 0x14
cmp eax, 1
je 0x448605
push ebp
call fcn.0049750a
pop ecx
push 0
push 0
push 2
jmp 0x4485d1
mov eax, ebp
mov ecx, esi
call fcn.0044861d
push ebp
mov bl, al
call fcn.0049750a
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret