joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44000f
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.0048a3a0
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 SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44009b
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, 0x4de92c
call fcn.0044aa61
add esp, 0xc
jmp 0x440113
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 0x4400ce
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x4400f6
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 0x440105
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, 0x4de92c
call fcn.0044aa61
add esp, 0xc
jmp 0x44010c
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 0x440b80
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.00440c51
test eax, eax
je 0x440b93
xor eax, eax
leave
ret
push esi
push edi
push 6
pop ecx
xor esi, esi
push 1
push esi
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x440bc2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
jmp 0x440c4b
push ebx
push 0x14
push str.kxescore
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
je 0x440c20
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x440c20
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 4], eax
jmp 0x440c15
cmp dword [ebp - 0x20], 4
je 0x440c2a
cmp dword [ebp - 0x20], 2
jne 0x440c2e
call edi
sub eax, dword [ebp - 4]
cmp eax, 0x64
jae 0x440c33
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
test eax, eax
jne 0x440bf7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
jmp 0x440c38
xor edi, edi
jmp 0x440c38
push 0xfffffffffffffffd
pop edi
jmp 0x440c38
mov edi, 0x5b4
test ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x440c45
push ebx
call esi
push dword [ebp - 8]
call esi
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x440c51
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
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 ebx, eax
cmp ebx, esi
je 0x440cb7
push 0x14
push str.kxescore
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x440cb4
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x440cb1
xor eax, eax
cmp dword [ebp - 0x1c], 4
sete al
mov dword [ebp - 4], eax
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441adb
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x4de8f0], esi
mov dword [ebp - 4], esi
je 0x441af7
xor eax, eax
inc eax
jmp 0x441bb7
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 [0x4de5a0], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x4de5a4], eax
call fcn.00441720
test eax, eax
jge 0x441b32
xor eax, eax
jmp 0x441bb6
cmp dword [ebp - 4], esi
je 0x441bb4
mov eax, dword [0x4de8e8]
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 0x441bb0
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 0x44243b
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 0x44247f
call fcn.00443943
mov esi, eax
jmp 0x44255e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x44249c
call fcn.00443943
jmp 0x442553
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x442492
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4424df
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x4424d5
lea eax, [ebp - 0x40c]
call fcn.00442580
mov eax, 0x8007000e
jmp 0x442579
push 2
push eax
call fcn.00438293
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x4424ff
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.004433e1
jmp 0x44250b
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x44251c
mov esi, 0x8007000e
jmp 0x442555
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 0x442492
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.00442589
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x442577
lea eax, [ebp - 0x40c]
call fcn.00442580
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x443397
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4433aa
push 0x80004005
call fcn.00401970
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 0x4433b1
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 0x443916
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 0x443a19
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 0x443ac9
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, 0x4b9434
push edi
push eax
mov dword [ebp - 4], 0x40
call esi
xor ecx, ecx
inc ecx
cmp dword [ebp - 0xc], ecx
jne 0x443ac6
test eax, eax
jne 0x443a6d
and word [ebx + 0x3e], ax
mov dword [ebp - 8], ecx
jmp 0x443ac6
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.0048b609
mov ebx, eax
test ebx, ebx
pop ecx
je 0x443ac6
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 0x443abf
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.0048fd47
add esp, 0x10
and word [esi + 0x3e], 0
mov dword [ebp - 8], 1
push ebx
call fcn.0048b29e
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 8]
leave
ret 8

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

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x444327
push 0x98
call fcn.0046e35a
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x44431a
call fcn.00443ad0
mov eax, ebx
jmp 0x44431c
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x444327
xor eax, eax
jmp 0x44439d
push ebp
push 0x4c2120
push dword [esp + 0x14]
call fcn.00491593
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x444342
xor eax, eax
jmp 0x44439c
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x444356
push ebx
call fcn.0048930f
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004913c4
add esp, 0x10
cmp eax, esi
je 0x444387
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00443b08
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004913c4
add esp, 0x10
test eax, eax
jne 0x444369
push ebp
call fcn.00491451
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.00443b9f
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x4443c5
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 0x44444c
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push str.ProgramPath
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 0x44444c
cmp dword [ebp - 8], 1
jne 0x44444c
cmp dword [ebp - 0xc], 6
jb 0x44444c
push esi
call fcn.0048a6a1
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x444449
cmp ax, 0x2f
je 0x444449
push 0x4bbae0
push esi
call fcn.004915a6
pop ecx
pop ecx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
je 0x44445a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x444787
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 0x4447a0
or eax, edi
jmp 0x444858
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.004443a2
test eax, eax
pop ecx
je 0x44484a
mov edi, 0x4b8f40
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 0x44480c
lea ecx, [ebp - 0x34]
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x444818
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 0x44485c
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 0x444872
or eax, 0xffffffff
jmp 0x4448d6
push dword [ebp + 8]
call fcn.00444787
cmp eax, esi
pop ecx
je 0x4448d6
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.0048a3a0
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 0x4448d3
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.004448d9
pop ecx
jmp 0x4448d6
push 0xfffffffffffffffa
pop eax
pop esi
leave
ret
Function at 0x444dc2
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 0x444e3d
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 0x444e36
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 0x444e1c
cmp dword [ebp - 0x2c], 3
je 0x444e33
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 0x444e77
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4dd4b4]
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push esi
push edi
mov ecx, 0x4dd4b4
call dword [eax + 0xc]
and word [ebp - 0x218], 0
add eax, 0x10
push 0x206
mov dword [ebp - 4], eax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.0048a3a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401af8
lea eax, [ebp - 4]
push eax
call fcn.00486db7
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
mov dword [esp], str.ntoskrnl.exe
call fcn.0041e2e0
push dword [eax]
lea esi, [ebp - 0xc]
lea edi, [ebp - 8]
call fcn.004247db
mov esi, eax
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
test esi, esi
pop esi
je 0x444f54
mov eax, dword [ebp - 8]
movzx ecx, word [ebp - 8]
shr eax, 0x10
cmp eax, 6
jne 0x444f4b
cmp ecx, 2
je 0x444f54
cmp ecx, 3
jne 0x444f42
push 0xb
jmp 0x444f56
cmp ecx, 4
jne 0x444f54
push 0xc
jmp 0x444f56
cmp eax, 0xa
jne 0x444f54
test ecx, ecx
jmp 0x444f45
push 0xa
pop eax
leave
ret
Function at 0x444f59
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.0048a3a0
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 0x444fb2
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x445063
mov eax, dword [ebp - 0x94]
dec eax
je 0x44504f
dec eax
jne 0x445063
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
inc ecx
cmp eax, 6
jne 0x444fff
cmp dword [ebp - 0x9c], ecx
jne 0x444fe9
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
add eax, 8
jmp 0x44504b
cmp dword [ebp - 0x9c], edi
jne 0x445038
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
lea eax, [eax + eax + 7]
jmp 0x44504b
cmp eax, 5
jne 0x445029
cmp dword [ebp - 0x9c], 2
jne 0x445010
push eax
jmp 0x445030
cmp dword [ebp - 0x9c], 1
jne 0x44501d
push 6
jmp 0x445030
cmp dword [ebp - 0x9c], edi
jne 0x445063
push 3
jmp 0x445030
cmp eax, 4
ja 0x445033
push 4
pop edi
jmp 0x445063
cmp eax, 6
jb 0x445063
cmp dword [ebp - 0x9c], 2
jb 0x445063
cmp byte [ebp + 0x76], cl
jne 0x445063
call fcn.00444e77
mov edi, eax
jmp 0x445063
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 0x4450de
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 0x44516c
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 0x445115
cmp dword [ebp - 8], 2
jne 0x44516b
push esi
mov esi, dword [ebp + 0xc]
call fcn.004015cc
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00401871
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 0x445153
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 0x445163
push eax
call fcn.0048a6a1
pop ecx
mov edx, esi
call fcn.0040160c
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x445693
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.00401e42
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 0x445740
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x44573f
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00401ea1
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 0x44573f
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x44573f
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x4456f0
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x44572a
xor eax, eax
jmp 0x445731
push eax
call fcn.0048c010
pop ecx
mov edx, esi
call fcn.00401e81
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x445750
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x445bfb
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 0x445c14
mov eax, dword [ebp - 4]
jmp 0x445cee
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 0x445cc9
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 + 0x4bc310]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4bc310]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bc310]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4bc310]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bc310]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4bc310]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4bc310]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4bc310]
dec ebp
jne 0x445c33
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x445ce5
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4bc310]
dec ecx
jne 0x445cd3
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446656
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 0x446673
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.004478e9
xor al, al
jmp 0x4466ec
call fcn.004460a3
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
push ebx
call fcn.00491ff7
push ebx
call fcn.00491aa1
push ebp
push ebp
push ebx
mov edi, eax
call fcn.00491ff7
add esp, 0x1c
cmp edi, ebp
jne 0x4466a8
push ebp
push ebp
push 0xd
mov edi, esi
jmp 0x446667
lea eax, [edi + 1]
push eax
call fcn.0048930f
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.004913c4
add esp, 0x14
cmp eax, 1
je 0x4466d8
push ebp
call fcn.0048a41a
pop ecx
push 0
push 0
push 2
jmp 0x4466a4
mov eax, ebp
mov ecx, esi
call fcn.004466f0
push ebp
mov bl, al
call fcn.0048a41a
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret

Function at 0x448c72
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 0x448d35
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x448d35
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 0x448d0f
cmp dword [ebp - 4], ebx
je 0x448cc8
push dword [ebp - 4]
call fcn.0048b29e
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x448cd9
push dword [ebp - 8]
call fcn.0048b29e
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x448d1a
push dword [ebp - 0x10]
call fcn.0048b609
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.0048b609
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 0x448cb7
push dword [ebp - 8]
call fcn.0048b29e
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x448d37
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x448d37
xor eax, eax
pop esi
pop ebx
leave
ret