joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fb90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x108]
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x45fbfe
push esi
xor esi, esi
call fcn.0045f560
cmp dword [0x4fd47c], esi
je 0x45fbe8
mov edx, str.group2
call fcn.0045f760
mov esi, eax
call fcn.0045f610
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
mov edx, str.group2
call fcn.0045f760
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x45fc20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x108]
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x45fc8f
call fcn.0045f560
cmp dword [0x4fd47c], 0
je 0x45fc7b
push esi
mov edx, str.group3
call fcn.0045f940
add esp, 4
call fcn.0045f610
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push esi
mov edx, str.group3
call fcn.0045f940
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x45fcb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x108]
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x45fd1e
push esi
xor esi, esi
call fcn.0045f560
cmp dword [0x4fd47c], esi
je 0x45fd08
mov edx, str.group3
call fcn.0045f760
mov esi, eax
call fcn.0045f610
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
mov edx, str.group3
call fcn.0045f760
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x45fd40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x108]
mov esi, 1
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, esi
jne 0x45fdb5
call fcn.0045f560
cmp dword [0x4fd47c], 0
je 0x45fd9f
push esi
mov edx, str.locdom1
call fcn.0045f690
add esp, 4
mov esi, eax
call fcn.0045f610
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push 1
mov edx, str.locdom1
call fcn.0045f690
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x45fde0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x108]
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x45fe4f
call fcn.0045f560
cmp dword [0x4fd47c], 0
je 0x45fe3b
push esi
mov edx, str.locdom1
call fcn.0045f890
add esp, 4
call fcn.0045f610
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push esi
mov edx, str.locdom1
call fcn.0045f890
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x45fe70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x108]
xor esi, esi
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push esi
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x45fee1
call fcn.0045f560
cmp dword [0x4fd47c], esi
je 0x45fecb
push esi
mov edx, str.locdom2
call fcn.0045f690
add esp, 4
mov esi, eax
call fcn.0045f610
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push 0
mov edx, str.locdom2
call fcn.0045f690
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x45ff00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x108]
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x45ff6f
call fcn.0045f560
cmp dword [0x4fd47c], 0
je 0x45ff5b
push esi
mov edx, str.locdom2
call fcn.0045f890
add esp, 4
call fcn.0045f610
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push esi
mov edx, str.locdom2
call fcn.0045f890
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x45ff90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x108]
xor esi, esi
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push esi
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x460001
call fcn.0045f560
cmp dword [0x4fd47c], esi
je 0x45ffeb
push esi
mov edx, str.locdom3
call fcn.0045f690
add esp, 4
mov esi, eax
call fcn.0045f610
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push 0
mov edx, str.locdom3
call fcn.0045f690
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x460020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x108]
call fcn.0041e390
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x46008f
call fcn.0045f560
cmp dword [0x4fd47c], 0
je 0x46007b
push esi
mov edx, str.locdom3
call fcn.0045f890
add esp, 4
call fcn.0045f610
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push esi
mov edx, str.locdom3
call fcn.0045f890
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x4618c0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], 4
mov dword [ebp - 0x110], 4
call fcn.0041e390
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x108]
push eax
push 0
push str.UseRegistry
push str.admin
call esi
cmp eax, 1
jne 0x4619b9
lea eax, [ebp - 0x10c]
push eax
push 1
push 0
push str.SoftwareORLWinVNC3
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4619a6
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.NewMSLogon
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4619a6
cmp dword [ebp - 0x114], 4
jne 0x4619a6
cmp dword [ebp - 0x110], 4
jne 0x4619a6
mov eax, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x118]
test eax, eax
je 0x4619a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
xor esi, esi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
push 0
push str.NewMSLogon
push str.admin
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x4619e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
mov dword [0x503c90], 0x4e8184
push eax
mov dword [0x503c99], 0
mov dword [0x503ca4], 0
mov dword [0x503ca8], 0
mov dword [0x503ca0], 0
mov dword [0x503c94], 0
mov byte [0x503c98], 0
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x88]
dec eax
je 0x461ac3
dec eax
jne 0x461aca
mov eax, dword [ebp - 0x94]
cmp eax, 6
jne 0x461a91
mov eax, dword [ebp - 0x90]
cmp eax, 2
jb 0x461a78
mov byte [0x503c94], 1
jmp 0x461aca
cmp eax, 1
jne 0x461a84
mov byte [0x503c95], al
jmp 0x461aca
test eax, eax
jne 0x461ac3
mov byte [0x503c96], 1
jmp 0x461aca
cmp eax, 5
jne 0x461ac3
mov eax, dword [ebp - 0x90]
cmp eax, 2
jne 0x461aaa
mov byte [0x503c97], 1
jmp 0x461aca
cmp eax, 1
jne 0x461ab6
mov byte [0x503c97], al
jmp 0x461aca
test eax, eax
jne 0x461ac3
mov byte [0x503c98], 1
jmp 0x461aca
mov byte [0x503c9b], 1
cmp dword [0x503ca0], 0
jne 0x461b0e
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x503ca0], eax
test eax, eax
je 0x461b0e
push str.DwmIsCompositionEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmEnableComposition
push dword [0x503ca0]
mov dword [0x503ca4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x503ca8], eax
mov ecx, dword [ebp - 4]
mov eax, 0x503c90
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x461dd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf39b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x10c], eax
lea eax, [esi + 8]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
mov ecx, esi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
je 0x461e34
push 1
call fcn.00464770
jmp 0x461e39
call fcn.00466b70
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x12c]
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncpasswd.h_:_PASSWD_:_ToText_called_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
push 9
call fcn.004ae57a
add esp, 4
mov edx, 1
mov ecx, 0x4f6498
mov edi, eax
call fcn.00415e60
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.004160e0
mov byte [edi + 8], 0
mov dword [ebp - 0x128], edi
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461ea0
sub ecx, edx
jne 0x461f99
cmp dword [esi + 0x114], ecx
je 0x461f6b
call fcn.004213c0
test al, al
je 0x461f6b
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x18c]
test eax, eax
je 0x461f99
lea ecx, [ebp - 0x124]
call fcn.0046fff0
test eax, eax
jne 0x461eff
lea ecx, [ebp - 0x128]
call fcn.0042d460
xor eax, eax
jmp 0x461fc6
mov ecx, 0x4d9f42
lea eax, [ebp - 0x124]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x461f30
test dl, dl
je 0x461f2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x461f30
add eax, 2
add ecx, 2
test dl, dl
jne 0x461f10
xor eax, eax
jmp 0x461f35
sbb eax, eax
or eax, 1
test eax, eax
jne 0x461f5f
push 0x30
push 0x502668
mov edx, 0x5029f8
mov byte [esi], 1
call fcn.0041b520
add esp, 8
push 0
push ecx
mov ecx, esi
call fcn.00461ff0
mov byte [esi], 0
jmp 0x461f99
push 1
push ecx
mov ecx, esi
call fcn.00461ff0
jmp 0x461f99
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x18c]
test eax, eax
je 0x461f99
push 0x10
push 0x502668
mov edx, 0x502a90
call fcn.0041b520
add esp, 8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461fa0
sub ecx, edx
push ecx
push 0
push edi
call fcn.004b67a0
add esp, 0xc
push edi
call fcn.004ae337
add esp, 4
mov byte [esi], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret 4
Function at 0x4644f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x464528
xor eax, eax
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 4], 1
jne 0x464520
push esi
push dword [ebp - 8]
call fcn.004aca50
mov esi, eax
add esp, 4
test esi, esi
je 0x46456a
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x464561
cmp dword [ebp - 4], 1
je 0x464573
push esi
call fcn.004ad334
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x468090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea ecx, [ebp - 0x110]
call fcn.0046fff0
test eax, eax
jne 0x4680d8
push str.vncproperties.cpp_:__DBG___NO_current_user_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
mov ecx, 0x4d9f42
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x468103
test dl, dl
je 0x4680ff
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x468103
add eax, 2
add ecx, 2
test dl, dl
jne 0x4680e3
xor eax, eax
jmp 0x468108
sbb eax, eax
or eax, 1
test eax, eax
jne 0x468143
push str.vncproperties.cpp_:__DBG___Force_USER_SYSTEM_2_n
push 9
push 0x4f6c50
call fcn.00414f90
mov eax, dword [str.SYSTEM]
add esp, 0xc
mov dword [ebp - 0x110], eax
mov ax, word [0x4e0918]
mov word [ebp - 0x10c], ax
mov al, byte [0x4e091a]
mov byte [ebp - 0x10a], al
add edi, 8
push edi
push 0
push str.DebugMode
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
call fcn.0045b8b0
push edi
push 0
push str.DebugLevel
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x4f6c60], eax
pop edi
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x468190
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x21c], 0
call fcn.0046fbd0
test eax, eax
je 0x46835d
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46835d
lea eax, [ebp - 0x21c]
push eax
push 0x201eb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x468206
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
lea esp, [esp]
mov al, byte [ebp + ecx - 0x218]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x111], al
test al, al
jne 0x468220
lea eax, [ebp - 0x110]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x468240
mov ecx, dword [str.__dsmpluginhelper]
mov edx, ebx
mov dword [eax], ecx
mov esi, edx
mov ecx, dword [0x4e8a34]
mov dword [eax + 4], ecx
mov ecx, dword [0x4e8a38]
mov dword [eax + 8], ecx
mov ecx, dword [0x4e8a3c]
mov dword [eax + 0xc], ecx
mov cx, word [0x4e8a40]
mov word [eax + 0x10], cx
mov cl, byte [0x4e8a42]
mov byte [eax + 0x12], cl
mov al, byte [edx]
inc edx
test al, al
jne 0x468285
lea edi, [ebp - 0x110]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x468295
mov ecx, edx
lea eax, [ebp - 0x278]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x44
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004b67a0
add esp, 0xc
mov dword [ebp - 0x270], str.Winsta0Default
mov eax, 5
mov dword [ebp - 0x278], 0x44
mov word [ebp - 0x248], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 8
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebp - 0x21c]
movdqu xmmword [ebp - 0x22c], xmm0
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x46833d
mov ecx, ebx
call fcn.00468470
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x22c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x468350
push eax
call esi
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x46835d
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x468370
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.__dsmplugininstance]
mov eax, ecx
mov ecx, dword [0x4e8a54]
push esi
mov dword [ebp - 0xf8], ecx
mov esi, eax
mov cl, byte [0x4e8a58]
push edi
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xf4], cl
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4683b1
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4683c1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x20c]
push 0x104
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x46ca90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf978
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f5568]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
lea eax, [ebx + 8]
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
cmp dword [ebx + 0x11c], 0
je 0x46cc1d
lea ecx, [ecx]
push dword [0x54eb20]
mov ebx, dword [ebx + 0x33c]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x46cb81
push 0x503cac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x503bac]
test esi, esi
je 0x46cb29
mov eax, dword [esi + 0x60]
mov dword [0x503bac], eax
jmp 0x46cb74
push 0x64
call fcn.004ad3ab
mov esi, eax
add esp, 4
test esi, esi
je 0x46cb72
lea ecx, [esi + 4]
mov dword [esi], vtable.omni_thread.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
sub esp, 8
mov ecx, esi
call fcn.004a6b70
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], vtable._internal_omni_thread_dummy.0
mov dword [esi + 0x60], 0
jmp 0x46cb74
xor esi, esi
push 0x503cac
mov edi, esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x54], 0
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x58], eax
cmp dword [ebx + 0x1c], 0
jne 0x46cba3
mov dword [ebx + 0x1c], edi
jmp 0x46cba9
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x54], edi
lea eax, [ebx + 4]
mov dword [ebx + 0x20], edi
push eax
mov dword [edi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, eax
call ebx
test edi, edi
je 0x46cbe8
cmp edi, 0x102
jne 0x46cc42
test esi, esi
je 0x46cc0c
push 0x503cac
call ebx
mov eax, dword [0x503bac]
push 0x503cac
mov dword [esi + 0x60], eax
mov dword [0x503bac], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x11c], 0
jne 0x46caf0
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 0x4f1d54
push eax
call fcn.004b6aeb
int3
Function at 0x46cc60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f5568]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
lea eax, [ebx + 8]
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x1c], 0x21
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
cmp dword [ebx + 0x114], 0
je 0x46cded
lea ecx, [ecx]
push dword [0x54eb20]
mov ebx, dword [ebx + 0x33c]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x46cd51
push 0x503cac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x503bac]
test esi, esi
je 0x46ccf9
mov eax, dword [esi + 0x60]
mov dword [0x503bac], eax
jmp 0x46cd44
push 0x64
call fcn.004ad3ab
mov esi, eax
add esp, 4
test esi, esi
je 0x46cd42
lea ecx, [esi + 4]
mov dword [esi], vtable.omni_thread.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
sub esp, 8
mov ecx, esi
call fcn.004a6b70
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], vtable._internal_omni_thread_dummy.0
mov dword [esi + 0x60], 0
jmp 0x46cd44
xor esi, esi
push 0x503cac
mov edi, esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x54], 0
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x58], eax
cmp dword [ebx + 0x1c], 0
jne 0x46cd73
mov dword [ebx + 0x1c], edi
jmp 0x46cd79
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x54], edi
lea eax, [ebx + 4]
mov dword [ebx + 0x20], edi
push eax
mov dword [edi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, eax
call ebx
test edi, edi
je 0x46cdb8
cmp edi, 0x102
jne 0x46ce12
test esi, esi
je 0x46cddc
push 0x503cac
call ebx
mov eax, dword [0x503bac]
push 0x503cac
mov dword [esi + 0x60], eax
mov dword [0x503bac], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x114], 0
jne 0x46ccc0
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 0x4f1d54
push eax
call fcn.004b6aeb
int3