joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4255b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x208], eax
test edi, edi
je 0x425698
mov eax, 0x5c
cmp ax, word [edi + 2]
je 0x42567c
mov ecx, eax
cmp cx, word [edi + 4]
je 0x42567c
push ebx
push esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x12]
push eax
mov word [esp + 0x14], dx
call fcn.0047c020
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.system32
lea edx, [esp + 0xc]
push edx
call esi
push edi
lea eax, [esp + 0xc]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 8]
push ecx
call ebx
test eax, eax
jne 0x425665
push 0x4a8e14
lea edx, [esp + 0xc]
push edx
call esi
push 0x4a8e14
lea eax, [esp + 0xc]
push eax
call esi
push edi
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 8]
push edx
call ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00476dfd
add esp, 0x20c
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00476dfd
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.00476dfd
add esp, 0x20c
ret
Function at 0x427a30
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x49a0d1
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x65c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x66c]
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push ebx
push str.Software360safe360krnlsvc
mov dword [esp + 0x674], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x427af1
mov esi, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
push esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x427afb
cmp esi, ebx
je 0x427ae7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x427c18
mov eax, 0x80004005
jmp 0x427c18
xor edi, edi
mov dword [esp + 0x24], edi
cmp eax, ebx
jbe 0x427c0b
lea esp, [esp]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
push edi
push esi
mov dword [esp + 0x40], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x427bfc
mov ecx, dword [esp + 0x20]
xor eax, eax
mov word [esp + ecx*2 + 0x44], ax
xor ebp, ebp
lea edx, [esp + 0x14]
push edx
push 0xf003f
push ebx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x674], 1
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x427bde
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edi, [esp + 0x18]
lea esi, [esp + 0x248]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 0x208
call fcn.004285c0
test eax, eax
jne 0x427bda
mov eax, dword [esp + 0x14]
mov ecx, esi
xor edx, edx
push ecx
mov word [esp + eax*2 + 0x248], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x30], esi
cmp esi, ebx
je 0x427c42
mov edi, dword [esp + 0x3c]
lea ebx, [esp + 0x30]
mov byte [esp + 0x664], 2
call fcn.00427cc0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
mov esi, dword [esp + 0x18]
mov byte [esp + 0x664], bl
cmp ebp, ebx
je 0x427bf4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
inc edi
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x1c]
jb 0x427b10
cmp esi, ebx
je 0x427c16
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x65c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.00476dfd
add esp, 0x654
ret 4
push 0x8007000e
call fcn.004037d0
int3
Function at 0x4285c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
test edi, edi
jne 0x4285cf
push 0x80004005
call fcn.004037d0
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push edi
push esi
lea eax, [esp + 8]
push eax
push 0
push str.ImagePath
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x428655
mov ecx, dword [edi]
test ecx, ecx
jbe 0x428650
mov edx, dword [esp]
test edx, edx
jbe 0x428659
cmp edx, 2
jbe 0x42863c
cmp edx, 7
jne 0x428659
test cl, 1
jne 0x42862e
shr ecx, 1
cmp ecx, 1
jb 0x42862e
cmp word [esi + ecx*2 - 2], 0
jne 0x42862e
cmp ecx, 1
jbe 0x428655
cmp word [esi + ecx*2 - 4], 0
je 0x428655
xor eax, eax
mov word [esi], ax
mov eax, 0xd
pop ecx
ret 4
test cl, 1
jne 0x42864b
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x428655
mov eax, 0xd
xor ecx, ecx
mov word [esi], cx
pop ecx
ret 4
xor edx, edx
mov word [esi], dx
lea eax, [edx + 0xd]
pop ecx
ret 4

Function at 0x429940
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x49a04b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0xa60]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa70]
mov ebp, dword [esp + 0xa74]
mov esi, ecx
mov dword [esp + 0x14], eax
test esi, esi
je 0x429a82
xor ecx, ecx
mov word [esp + 0x444], cx
xor edx, edx
push ebp
push str.___s__
mov ecx, 0x104
lea ebx, [esp + 0x654]
mov word [esp + 0x3c], dx
call fcn.00402360
add esp, 8
push 0x104
lea eax, [esp + 0x448]
push eax
mov ecx, ebx
push ecx
push esi
call dword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
test eax, eax
je 0x429a82
lea edi, [esp + 0x34]
lea esi, [esp + 0x444]
call fcn.00429730
push 0x104
lea edx, [esp + 0x858]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x23c]
lea esi, [esp + 0x854]
call fcn.00429730
lea eax, [esp + 0x34]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, ebp
lea ecx, [esp + 0x18]
call fcn.00429b80
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x2c
mov dword [esp + 0xa6c], 0
call fcn.00429bc0
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429a52
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x240]
call fcn.004225d0
cmp dword [esp + 0x30], 8
jb 0x429a82
mov edx, dword [esp + 0x1c]
push edx
call fcn.00476df2
add esp, 4
mov ecx, dword [esp + 0xa60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa48]
xor ecx, esp
call fcn.00476dfd
add esp, 0xa58
ret 8
Function at 0x429ab0
Capabilities:
Set environment variable

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0x44]
push esi
mov esi, dword [ebp + 0x2c]
push edi
mov edi, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
jmp 0x429ad0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x2c]
test esi, esi
je 0x429ade
cmp esi, eax
je 0x429ae3
call fcn.00477ad6
cmp edi, ebx
je 0x429b4e
test esi, esi
jne 0x429b07
call fcn.00477ad6
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x429afc
call fcn.00477ad6
cmp dword [edi + 0x40], 8
jb 0x429b0b
mov ebx, dword [edi + 0x2c]
jmp 0x429b0e
mov eax, dword [esi]
jmp 0x429af2
lea ebx, [edi + 0x2c]
test esi, esi
jne 0x429b2c
call fcn.00477ad6
cmp edi, dword [esi + 0x18]
jne 0x429b21
call fcn.00477ad6
cmp dword [edi + 0x24], 8
jb 0x429b30
mov edi, dword [edi + 0x10]
jmp 0x429b33
mov esi, dword [esi]
jmp 0x429b17
add edi, 0x10
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea esi, [esp + 0x10]
call fcn.0042aae0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x429ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x42b6a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42b6aa
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x42b6c8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42b726
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42b70d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42b716
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42b720
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x42b702
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42b68c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x42b773
dec eax
je 0x42b76a
sub eax, 3
je 0x42b761
mov dword [ebp - 4], 0x40
jmp 0x42b790
mov dword [ebp - 4], 4
jmp 0x42b776
mov dword [ebp - 4], 0x20
jmp 0x42b776
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x42b7c2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x42b742
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0042afd3
dec dword [ebx - 0xa55e30]
jne 0x42b7cd
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x42b800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0042afe3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0042af98
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0042afe3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0042af98
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0042afe3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0042af98
add esp, 0xc
mov dword [ebp - 0x340], eax
invalid
xchg edx, eax
cmc
invalid
Function at 0x42bbf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x5125b], al
inc dword [eax]
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0042afe3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0042af98
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0042afd3
lea ebp, [esi + 0x79]
in al, dx
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x42bcc7
cmp dword [ebp - 0x398], 0
je 0x42be91
cmp dword [ebp + 0xc], 1
je 0x42be91
cmp dword [ebp + 0xc], 8
jne 0x42be59
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0042afe3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0042af98
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0042afd3
xor eax, 0x80ddea2a
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.0042afd3
invalid
invalid
invalid
Function at 0x42d730
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x74
mov ecx, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
push eax
push 0xf00ff
xor ebp, ebp
push ecx
xor bl, bl
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42d8e1
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x42d8e1
lea edi, [esp + 0x10]
mov dword [esp + 0x10], ebp
call fcn.0042d6c0
test eax, eax
je 0x42d8d6
cmp dword [esp + 0x10], ebp
je 0x42d8d6
mov edx, dword [esp + 0x90]
push edx
push ebp
push 0x400
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x42d808
lea eax, [esp + 0x18]
push eax
push 0xf00ff
push esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42d801
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x42d801
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push 0xc
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x24]
push eax
push 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebp
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42d82f
mov edi, dword [esp + 0x14]
mov esi, 0x400
jmp 0x42d835
xor edi, edi
mov dword [esp + 0x14], edi
push 0x44
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.0047c020
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
add esp, 0xc
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x40], str.winsta0default
cmp word [eax], bp
jne 0x42d893
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push ebp
push edi
push esi
push ebp
push ebp
push ebp
push edx
push ebp
push eax
jmp 0x42d8b1
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x18]
push ebp
push edi
push esi
push ebp
push ebp
push ebp
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
mov eax, dword [esp + 0x10]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42d8d6
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x74
ret
Function at 0x42dad0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49de58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.0042d900
add esp, 4
mov dword [esp + 0x44], 0
cmp dword [esp + 0x30], 0
jne 0x42db2a
cmp dword [esp + 0x34], 8
jmp 0x42dbc4
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x42db3d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42db7b
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x42db56
lea edi, [esp + 0x20]
push 0x4ca858
call fcn.0043d020
test eax, eax
je 0x42db7b
cmp dword [esp + 0x34], esi
jb 0x42db77
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00476df2
add esp, 4
mov al, 1
jmp 0x42dbd5
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [edx + edx + 2]
mov dword [esp + 0x10], 0x53434641
mov dword [esp + 0x14], eax
cmp dword [esp + 0x34], esi
jb 0x42dba9
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
jmp 0x42dbb1
lea edx, [esp + 0x20]
mov dword [esp + 0x18], edx
call fcn.004171f0
push eax
lea ecx, [esp + 0x14]
call fcn.00419970
cmp dword [esp + 0x34], esi
jb 0x42dbd3
mov eax, dword [esp + 0x20]
push eax
call fcn.00476df2
add esp, 4
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00476dfd
add esp, 0x3c
ret
Function at 0x42df90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push esi
push edi
mov edi, eax
push 1
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42dfba
mov esi, 0x400
jmp 0x42dfbe
mov dword [esp + 8], esi
push 0x44
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.0047c020
mov ecx, dword [esp + 0x78]
add esp, 0xc
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push esi
push 0
push 0
push 0
push eax
push ecx
push edi
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x50], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x42e02e
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
je 0x42e046
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
pop edi
mov eax, esi
pop esi
add esp, 0x58
ret
Function at 0x42e050
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49d778
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
push 1
push edi
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
xor esi, esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42e099
mov esi, 0x400
jmp 0x42e09d
mov dword [esp + 0x14], ebx
cmp dword [0x4c940c], ebx
je 0x42e1af
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.S_1_16_
call fcn.004038d0
mov eax, dword [esp + 0x94]
dec eax
mov dword [esp + 0x80], ebx
cmp eax, 3
ja case.default.0x42e0cc
jmp dword [eax*4 + 0x42e254]
push 5
push str.16384
lea edx, [esp + 0x18]
push edx
jmp 0x42e112
push 5
push str.12288
jmp 0x42e10d
push 4
push str.8192
lea ecx, [esp + 0x18]
push ecx
jmp 0x42e112
push 4
push str.4096
lea edx, [esp + 0x18]
push edx
jmp 0x42e112
push 5
push str.16384
lea eax, [esp + 0x18]
push eax
call fcn.00403260
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x42e184
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x19
push edi
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x42e184
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42e1a3
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e1af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.0047c020
mov ecx, dword [esp + 0x9c]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
push esi
push ebx
push ebx
push ebx
push eax
push ecx
push edi
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x68], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x42e224
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, ebx
je 0x42e23c
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x24]
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x74
ret