joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446790
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4c4348
call fcn.00424e40
mov dword [ebp - 4], 0
call fcn.0042c660
test eax, eax
je 0x446869
lea esi, [ebp - 0x1c]
call fcn.00446640
lea ecx, [ebp - 0x18]
push 0x4cd224
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00411170
push str.360Tray.exe___start
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 2
call fcn.00411090
add esp, 0x14
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004146d0
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 0x44683a
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 0x44685d
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 0x4468f4
lea esi, [ebp - 0x14]
call fcn.00446640
lea ecx, [ebp - 0x18]
push 0x4cd224
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00411170
push str.QHSafeTray.exe___start
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 5
call fcn.00411090
add esp, 0x14
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004146d0
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 0x4468ca
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 0x4468ed
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 0x446910
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 0x44692b
mov ecx, esi
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00424f50
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 0x44696d
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 0x446980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e9688]
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 0x4469c8
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4469e0
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.00491281
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
push 0x4cdf84
push ecx
call fcn.00491c26
add esp, 8
test eax, eax
je 0x446a0b
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4469e0
jmp 0x446a11
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.00491281
mov esp, ebp
pop ebp
ret
Function at 0x448550
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 0x4486cc
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4486cc
push edi
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], edi
call fcn.00448450
add esp, 0xc
test eax, eax
je 0x4486c2
cmp dword [ebp - 4], edi
je 0x4486c2
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 0x448618
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 0x448611
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x448611
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 0x44863b
mov ebx, dword [ebp - 8]
mov esi, 0x400
jmp 0x448640
xor ebx, ebx
mov dword [ebp - 8], ebx
push 0x44
lea ecx, [ebp - 0x70]
push edi
push ecx
call fcn.00497780
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 0x448688
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 0x44869b
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 0x4486c2
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 0x448890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e9688]
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.004486e0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x4488e8
cmp dword [ebp - 0x14], 8
jb 0x448987
mov eax, dword [ebp - 0x28]
push eax
jmp 0x44897f
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x4488f8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44892c
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x44890e
lea eax, [ebp - 0x28]
call fcn.00424110
test eax, eax
je 0x44892c
cmp dword [ebp - 0x14], esi
jb 0x448928
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00491276
add esp, 4
mov al, 1
jmp 0x448989
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 0x448952
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
jmp 0x448958
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x38]
push eax
push 0
push 0x4a
push ecx
call fcn.004349a0
add esp, 4
push eax
xor edx, edx
mov ecx, str.Q360SafeMonClass
call fcn.004370f0
cmp dword [ebp - 0x14], esi
jb 0x448987
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00491276
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.00491281
mov esp, ebp
pop ebp
ret
Function at 0x448d70
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 0x448d9b
mov esi, 0x400
jmp 0x448d9e
mov dword [ebp - 4], esi
push 0x44
lea ecx, [ebp - 0x58]
push 0
push ecx
call fcn.00497780
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 0x448e00
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
je 0x448e16
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 0x448e20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbf88
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
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 0x448e69
mov esi, 0x400
jmp 0x448e6c
mov dword [ebp - 0x14], ebx
cmp dword [0x4f1654], ebx
je 0x448f5e
lea ecx, [ebp - 0x10]
push ecx
mov ecx, str.S_1_16_
call fcn.00424e40
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp - 4], ebx
cmp eax, 3
ja case.default.0x448e92
jmp dword [eax*4 + 0x448fe8]
push 5
push str.16384
lea edx, [ebp - 0x10]
push edx
jmp 0x448ed4
push 5
push str.12288
jmp 0x448ed0
push 4
push str.8192
lea ecx, [ebp - 0x10]
push ecx
jmp 0x448ed4
push 4
push str.4096
lea edx, [ebp - 0x10]
push edx
jmp 0x448ed4
push 5
push str.16384
lea eax, [ebp - 0x10]
push eax
call fcn.00414740
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 0x448f38
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 0x448f38
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 0x448f52
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 0x448f5e
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.00497780
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 0x448fbc
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, ebx
je 0x448fd2
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 0x44ac50
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 0x44acaa
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44aca7
push esi
call ebx
push 0x3e8
xor esi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 1
ja 0x44aca7
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 0x44ac70
mov eax, esi
pop ebx
pop edi
pop esi
ret
Function at 0x44c320
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 0x44c403
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 0x44c402
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x44c402
mov eax, dword [esi + 0x414]
test eax, eax
jne 0x44c3b4
cmp word [esi + 0x20c], 0
lea eax, [esi + 0x20c]
jne 0x44c39c
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 0x44c3c4
push eax
lea edx, [esi + 0x418]
push edx
push eax
jmp 0x44c3e8
cmp eax, 0xb
jne 0x44c3d6
push 8
lea eax, [esi + 0x418]
push eax
push 0xb
jmp 0x44c3e8
cmp eax, 1
jne 0x44c3f8
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 0x44c410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbf51
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e9688]
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.00497780
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x44c494
mov edx, dword [0x4ef36c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ef36c
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.00424ef0
jmp 0x44c564
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00424e40
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.00410eb0
mov eax, dword [eax]
push 0x4cd228
push eax
call fcn.00491c26
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 0x44c505
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44c517
lea ecx, [ebp - 0x21c]
push ecx
mov edx, 0x4cb8e4
jmp 0x44c523
lea edx, [ebp - 0x21c]
push edx
mov edx, str.explorer.exe
call fcn.00411310
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00425150
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 0x44c564
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.00491281
mov esp, ebp
pop ebp
ret
Function at 0x44c650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd818
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
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 0x44c81e
cmp ebx, edi
jne 0x44c695
cmp word [ebx], di
jne 0x44c81e
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 0x44c805
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x44c805
push 1
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x14], edi
call fcn.00448450
add esp, 0xc
test eax, eax
je 0x44c7e0
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x44c7e0
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 0x44c700
mov esi, 0x400
jmp 0x44c703
mov dword [ebp + 8], edi
push 0x44
lea ecx, [ebp - 0x7c]
push edi
push ecx
call fcn.00497780
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.00424e40
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.00424bb0
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 0x44c772
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x44c7b3
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.00406270
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.00406270
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 0x44c8c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bde30
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4e9688]
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 0x44c840
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44c922
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
Function at 0x44d230
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bbf08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x4e4]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], 0
call fcn.00424e40
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
add esi, 0x4fc
push edx
call fcn.004123f0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d2c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x44d2d3
cmp ebx, esi
je 0x44d2d8
call fcn.00492f40
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x18]
je 0x44d31a
test ebx, ebx
jne 0x44d316
call fcn.00492f40
cmp esi, dword [ebx + 0x18]
jne 0x44d2f5
call fcn.00492f40
mov esi, dword [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebx]
jmp 0x44d2eb
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44f390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 0x4c474c
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x44f3b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.00491d08
mov edi, eax
add esp, 4
test edi, edi
jne 0x44f3cb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0
push 0x4c474c
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44f405
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4cd228
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push edi
call fcn.00491ec3
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret