joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445e90
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x414]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x824]
push str.__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x445eff
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
push esi
push 2
push str.QHActiveDefense
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x445f32
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x824]
push eax
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x445f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop esi
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret

Function at 0x445f90
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00445d60
test al, al
jne 0x445fa4
call fcn.00445df0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push str.Start
push str.SYSTEMCurrentControlSet_servicesQHActiveDefense
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, 2
cmp dword [ebp - 4], eax
jne 0x445fea
xor eax, eax
mov esp, ebp
pop ebp
ret
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push str.Start
push str.SYSTEMCurrentControlSet_servicesQHActiveDefense
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00445e90
mov esp, ebp
pop ebp
ret
Function at 0x447430
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4c561c
call fcn.00425750
mov dword [ebp - 4], 0
call fcn.0042d0f0
test eax, eax
je 0x447509
lea esi, [ebp - 0x1c]
call fcn.004550a0
lea ecx, [ebp - 0x18]
push 0x4ce6ac
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00411a40
push str.360Tray.exe___start
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 2
call fcn.00411960
add esp, 0x14
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00414fb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4474da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4474fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
jmp 0x447594
lea esi, [ebp - 0x14]
call fcn.004550a0
lea ecx, [ebp - 0x18]
push 0x4ce6ac
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00411a40
push str.QHSafeTray.exe___start
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 5
call fcn.00411960
add esp, 0x14
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00414fb0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44756a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44758d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4475b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x4475cb
mov ecx, esi
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00425860
mov eax, dword [ebp - 0x10]
lea ecx, [esi + esi]
push ecx
push eax
push 1
push str.QHSafeTray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44760d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447620
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x447668
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x447680
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
push 0x4cf3d4
push ecx
call fcn.00492756
add esp, 8
test eax, eax
je 0x4476ab
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x447680
jmp 0x4476b1
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x4491f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push 0xf00ff
xor edi, edi
push ecx
xor bl, bl
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44936c
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44936c
push edi
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], edi
call fcn.004490f0
add esp, 0xc
test eax, eax
je 0x449362
cmp dword [ebp - 4], edi
je 0x449362
mov eax, dword [ebp + 0x10]
push eax
push edi
push 0x400
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x4492b8
lea ecx, [ebp - 0xc]
push ecx
push 0xf00ff
push esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4492b1
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x4492b1
lea edx, [ebp - 0x18]
push edx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 0x14]
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push 1
push edx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], edi
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x4492db
mov ebx, dword [ebp - 8]
mov esi, 0x400
jmp 0x4492e0
xor ebx, ebx
mov dword [ebp - 8], ebx
push 0x44
lea ecx, [ebp - 0x70]
push edi
push ecx
call fcn.004982c0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x68], str.winsta0default
cmp word [eax], di
jne 0x449328
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x70]
push eax
push edi
push ebx
push esi
push edi
push edi
push edi
push ecx
push edi
jmp 0x44933b
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x70]
push edx
push edi
push ebx
push esi
push edi
push edi
push edi
push ecx
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
mov eax, dword [ebp - 4]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x449362
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449530
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bed98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00449380
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x449588
cmp dword [ebp - 0x14], 8
jb 0x449627
mov eax, dword [ebp - 0x28]
push eax
jmp 0x44961f
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x449598
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4495cc
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x4495ae
lea eax, [ebp - 0x28]
call fcn.00424a20
test eax, eax
je 0x4495cc
cmp dword [ebp - 0x14], esi
jb 0x4495c8
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00491da6
add esp, 4
mov al, 1
jmp 0x449629
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [edx + edx + 2]
mov dword [ebp - 0x38], 0x53434641
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x14], esi
jb 0x4495f2
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
jmp 0x4495f8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x38]
push eax
push 0
push 0x4a
push ecx
call fcn.00435460
add esp, 4
push eax
xor edx, edx
mov ecx, str.Q360SafeMonClass
call fcn.00437bb0
cmp dword [ebp - 0x14], esi
jb 0x449627
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00491da6
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x449a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
mov edi, eax
push 1
push edi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x449a3b
mov esi, 0x400
jmp 0x449a3e
mov dword [ebp - 4], esi
push 0x44
lea ecx, [ebp - 0x58]
push 0
push ecx
call fcn.004982c0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
push 0
push 0
push 0
push eax
push ecx
push edi
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x50], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x449aa0
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
je 0x449ab6
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x14]
push eax
call edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x449ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
push edi
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x449b09
mov esi, 0x400
jmp 0x449b0c
mov dword [ebp - 0x14], ebx
cmp dword [0x4f26b4], ebx
je 0x449bfe
lea ecx, [ebp - 0x10]
push ecx
mov ecx, str.S_1_16_
call fcn.00425750
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp - 4], ebx
cmp eax, 3
ja case.default.0x449b32
jmp dword [eax*4 + 0x449c88]
push 5
push str.16384
lea edx, [ebp - 0x10]
push edx
jmp 0x449b74
push 5
push str.12288
jmp 0x449b70
push 4
push str.8192
lea ecx, [ebp - 0x10]
push ecx
jmp 0x449b74
push 4
push str.4096
lea edx, [ebp - 0x10]
push edx
jmp 0x449b74
push 5
push str.16384
lea eax, [ebp - 0x10]
push eax
call fcn.00415020
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x449bd8
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x20], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x19
push edi
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x449bd8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x449bf2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449bfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44
lea ecx, [ebp - 0x74]
push ebx
push ecx
call fcn.004982c0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
push ebx
push ebx
push ebx
push eax
push ecx
push edi
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x6c], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x449c5c
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, ebx
je 0x449c72
mov edx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x30]
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b900
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push str.Global0FB40CC1_AFF9_441d_8D9B_9F285AD8F637__
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
xor edi, edi
test esi, esi
je 0x44b95a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b957
push esi
call ebx
push 0x3e8
xor esi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 1
ja 0x44b957
push str.Global0FB40CC1_AFF9_441d_8D9B_9F285AD8F637__
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x44b920
mov eax, esi
pop ebx
pop edi
pop esi
ret
Function at 0x44cfd0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [eax + 8]
test esi, esi
je 0x44d0b3
push edi
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 2
push 0
push 0
push 0
mov dword [ebp - 4], 0
mov edx, dword [esi]
lea edi, [esi + 4]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44d0b2
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x44d0b2
mov eax, dword [esi + 0x414]
test eax, eax
jne 0x44d064
cmp word [esi + 0x20c], 0
lea eax, [esi + 0x20c]
jne 0x44d04c
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x44d074
push eax
lea edx, [esi + 0x418]
push edx
push eax
jmp 0x44d098
cmp eax, 0xb
jne 0x44d086
push 8
lea eax, [esi + 0x418]
push eax
push 0xb
jmp 0x44d098
cmp eax, 1
jne 0x44d0a8
push 0x208
lea edx, [esi + 0x418]
push edx
push eax
push 0
add esi, 0x20c
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44d0c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcba1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x220], 0
call fcn.004982c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x44d144
mov edx, dword [0x4f03cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f03cc
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.00425800
jmp 0x44d214
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00425750
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
call fcn.00411780
mov eax, dword [eax]
push 0x4ce6b0
push eax
call fcn.00492756
add esp, 8
test eax, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d1b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44d1c7
lea ecx, [ebp - 0x21c]
push ecx
mov edx, 0x4ccd44
jmp 0x44d1d3
lea edx, [ebp - 0x21c]
push edx
mov edx, str.explorer.exe
call fcn.00411be0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00425a60
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d214
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x44d300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be498
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x44d4ce
cmp ebx, edi
jne 0x44d345
cmp word [ebx], di
jne 0x44d4ce
lea ecx, [ebp - 0x18]
push ecx
push 0xf00ff
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44d4b5
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x44d4b5
push 1
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x14], edi
call fcn.004490f0
add esp, 0xc
test eax, eax
je 0x44d490
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x44d490
push 1
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x44d3b0
mov esi, 0x400
jmp 0x44d3b3
mov dword [ebp + 8], edi
push 0x44
lea ecx, [ebp - 0x7c]
push edi
push ecx
call fcn.004982c0
mov ecx, dword [ebp + 0x10]
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x74], str.winsta0default
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
call fcn.00425750
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push edi
mov dword [ebp - 4], edi
mov edx, dword [ebp + 8]
push edx
push esi
push edi
push edi
push edi
lea esi, [ebp - 0x1c]
call fcn.004254c0
push eax
mov eax, dword [ebp - 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x44d422
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x44d463
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
mov edx, dword [ebp - 0x30]
push edx
call esi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
push eax
call esi
lea ecx, [ebp - 0x1c]
call fcn.004064a0
mov ecx, dword [ebp - 0x18]
push ecx
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
mov edi, 0x8000f00a
call esi
lea ecx, [ebp - 0x1c]
call fcn.004064a0
mov ecx, dword [ebp - 0x18]
push ecx
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov edi, 0x8000f009
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x8000f008
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd0a0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x44d4f0
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44d5d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret