joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbe3f20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 4], ebp
je 0xbe3fd7
mov eax, dword [esp + 0xc]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0xbe3fcf
push ebx
push edi
push 0xc07770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0xbe3fae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xc07770
push esi
call ebx
test eax, eax
je 0xbe3fae
mov ebp, 3
cmp dword [0xc07774], ebp
jne 0xbe3faa
push 0x3e8
call edi
push 0xc07770
push esi
call ebx
test eax, eax
jne 0xbe3f8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0xbe3fc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0xbe3fbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ecx
ret
Function at 0xbe7e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xbfd8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0xbe7ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00be47a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xbe7e61
mov edx, dword [eax]
jmp 0xbe7e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00be6050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xbe7ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xbe7ebf
cmp esi, edi
je 0xbe7ebf
mov ecx, esi
call fcn.00bdfa00
push esi
call fcn.00bed1c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00be4990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xbe7ef5
mov eax, dword [eax]
jmp 0xbe7ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00be3640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0xbe7f25
mov eax, dword [eax]
jmp 0xbe7f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0xbe7f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xbe7f76
cmp esi, edi
je 0xbe7f76
mov eax, dword [esi]
cmp eax, edi
je 0xbe7f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xbe7f6d
push eax
call fcn.00bed1c8
add esp, 4
push esi
call fcn.00bed1c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xbe7f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xbe7ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xbe8035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00be7e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xbe7fc5
mov edi, 0xc028b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xbe8035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00be7e00
add edi, 4
add esp, 0xc
cmp edi, 0xc028c0
jb 0xbe8000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xbe8070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00bee082
mov esi, eax
add esp, 8
test esi, esi
je 0xbe8107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xbe8102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00bed946
add esp, 8
test eax, eax
je 0xbe80e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xbe80e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00bed946
add esp, 8
test eax, eax
jne 0xbe80c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xbe8102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xbe8f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xbfd9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xbe9002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00becdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xbe9002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00be46e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00bed20b
push 0x10
call fcn.00bed1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xbe8fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00bd91c0
jmp 0xbe8fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00be8b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xbe8ff0
mov ecx, edi
call fcn.00bd92c0
push edi
call fcn.00bed1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xbe9021
inc ebx
cmp ebx, 0x20
jb 0xbe8f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xbea250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xbfe808
push 0xbee288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xbea329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xbea329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00bed1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xbea329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xbea329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xbea32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00bea351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbead20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xbead58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xbead60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xbead94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xbead94
push eax
push esi
call fcn.00bed20b
add esp, 8
pop esi
ret 0x10

Function at 0xbeada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xbeae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xbeae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xc03320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00becdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xbeadda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xbeae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xbeaec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xbeaeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xc03320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00becdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xbeaeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xbeae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xbeb000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xbeb131
push esi
call fcn.00bee145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00bdd080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xbeb131
push 0
push ebp
call fcn.00bdd3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00bdd260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xbeb08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00bdd2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xbeb121
push 0xc03918
push edi
call fcn.00bec3f0
push eax
push ebx
push esi
call fcn.00beaf60
push 0xc038f8
push edi
call fcn.00bec3f0
push eax
push ebx
push esi
call fcn.00beaf60
push 0xc038d8
push edi
call fcn.00bec3f0
push eax
push ebx
push esi
call fcn.00beaf60
push 0xc038c0
push edi
call fcn.00bec3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00beaf60
push 0xc038a0
push edi
call fcn.00bec3f0
push eax
push ebx
push esi
call fcn.00beaf60
push 0xc03888
push edi
call fcn.00bec3f0
push eax
push ebx
push esi
call fcn.00beaf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xbec1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00bec140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00bec140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00bec140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00bec140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xbecbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xbecc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xbfe87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xbecc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xbecc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x40896a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408983
add ebx, edi
xor dword [eax], edx
or edi, edi
inc eax
mov edi, edi
dec edi
cmp eax, esi
jne fcn.0040896a
ret
Function at 0x401497
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a463c], 1
mov ecx, 0x9f83
jne 0x40151e
or dword [0x4a463c], 1
lea eax, [ecx + 0x23]
mov edx, eax
add eax, 0x39
mov word [0x49e9b4], ax
mov word [0x49e9a8], dx
add edx, 0x31
lea eax, [ecx + 0x64]
mov word [0x49e9b6], ax
add eax, 0xf
mov word [0x49e9b8], ax
mov word [0x49e9aa], dx
lea edx, [ecx + 0x43]
lea eax, [ecx + 0x6b]
mov word [0x49e9ba], ax
mov word [0x49e9ac], dx
add edx, 8
add eax, 5
mov word [0x49e9bc], ax
lea eax, [ecx + 0x59]
mov word [0x49e9be], ax
mov eax, ecx
mov word [0x49e9ae], dx
mov dword [0x49e9b0], 0x9fa69fd3
mov word [0x49e9c0], ax
xor eax, eax
mov edx, ecx
xor dx, word [eax + 0x49e9a8]
add eax, 2
mov word [eax + 0x49efd6], dx
cmp eax, 0x1a
jb 0x401520
mov eax, 0x49efd8
ret

Function at 0x40153e
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a4634], 1
jne 0x40156c
or dword [0x4a4634], 1
mov dword [0x49e9d0], 0xe7eceebf
mov dword [0x49e9d4], 0xbce6eff6
mov dword [0x49e9d8], 0x83bdbcbc
xor eax, eax
mov cl, byte [eax + 0x49e9d0]
xor cl, 0x83
mov byte [eax + 0x49f000], cl
inc eax
cmp eax, 0xc
jb 0x40156e
mov eax, 0x49f000
ret

Function at 0x401589
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a4630], 1
mov edx, 0x9f83
jne 0x401649
push esi
lea ecx, [edx + 0x1e]
mov eax, ecx
mov word [0x49e9dc], ax
add eax, 2
or dword [0x4a4630], 1
mov word [0x49e9de], ax
lea eax, [edx + 0x2b]
mov esi, eax
mov word [0x49e9e0], si
mov word [0x49e9e2], ax
add eax, 0x32
mov word [0x49e9e4], ax
lea eax, [edx + 0x6e]
mov esi, eax
mov word [0x49e9e6], si
add esi, 0xfffffff1
mov word [0x49e9e8], si
lea esi, [edx + 0x6d]
mov word [0x49e9ea], si
add esi, 0xfffffffb
mov word [0x49e9ec], si
lea esi, [edx + 0x59]
mov word [0x49e9ee], si
mov esi, eax
mov word [0x49e9f0], si
add esi, 0xfffffff5
add eax, 6
mov word [0x49e9f2], si
lea esi, [edx + 0x70]
mov word [0x49e9fa], ax
mov eax, edx
mov word [0x49e9f4], si
mov dword [0x49e9f6], 0x9ff19fec
mov dword [0x49e9fc], 0x9fa19fbe
mov word [0x49ea00], ax
pop esi
xor eax, eax
mov ecx, edx
xor cx, word [eax + 0x49e9dc]
add eax, 2
mov word [eax + 0x49f00a], cx
cmp eax, 0x26
jb 0x40164b
mov eax, 0x49f00c
ret
Function at 0x40171f
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x499520]
xor eax, esp
mov dword [esp + 0x78], eax
test byte [0x4a462c], 1
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov ecx, 0x9f83
jne 0x401769
or dword [0x4a462c], 1
lea eax, [ecx + 0x71]
mov word [0x49ea04], ax
add eax, 0xffffffed
mov word [0x49ea06], ax
mov eax, ecx
mov word [0x49ea08], ax
xor esi, esi
xor eax, eax
mov edx, ecx
xor dx, word [eax + 0x49ea04]
add eax, 2
mov word [eax + 0x49f032], dx
cmp eax, 6
jb 0x40176d
lea eax, [ebx + 0xc]
cmp dword [eax + 0x14], 8
jb 0x401790
mov eax, dword [eax]
push 0x49f034
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044c59b
add esp, 0xc
test eax, eax
jne 0x401859
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.0040246b
push dword [esp + 0xc]
call fcn.0040186e
push eax
call fcn.0044cad1
push dword [esp + 0x14]
call fcn.0044d05c
add esp, 0xc
push 0x44
pop edi
push edi
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0044fbd0
mov dword [esp + 0x2c], edi
xor eax, eax
mov ebx, dword [ebx + 0x28]
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x6c]
call fcn.0042783a
cmp dword [eax + 0x14], 0x10
pop ecx
jb 0x40182b
mov eax, dword [eax]
push eax
call fcn.004018ae
push eax
call fcn.0044cda0
pop ecx
pop ecx
push esi
push 1
lea ecx, [esp + 0x70]
call fcn.00403b18
jmp 0x401859
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044c4ce
mov esp, ebp
pop ebp
ret

Function at 0x40186e
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a4628], 1
jne 0x401891
or dword [0x4a4628], 1
mov dword [0x49ea0c], 0xcdc6898e
mov word [0x49ea10], 0x83c7
xor eax, eax
mov cl, byte [eax + 0x49ea0c]
xor cl, 0x83
mov byte [eax + 0x49f03c], cl
inc eax
cmp eax, 6
jb 0x401893
mov eax, 0x49f03c
ret

Function at 0x4018ae
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a4624], 1
jne 0x401933
or dword [0x4a4624], 1
mov dword [0x49ea14], 0xefeae2c5
mov dword [0x49ea18], 0xf7a3e7e6
mov dword [0x49ea1c], 0xf1e0a3ec
mov dword [0x49ea20], 0xe6f7e2e6
mov dword [0x49ea24], 0xe2f1e0a3
mov dword [0x49ea28], 0xf1a3ebf0
mov dword [0x49ea2c], 0xf1ecf3e6
mov dword [0x49ea30], 0xa3f1e6f7
mov dword [0x49ea34], 0xe0ecf1f3
mov dword [0x49ea38], 0xb9f0f0e6
mov dword [0x49ea3c], 0x89f0a6a3
mov byte [0x49ea40], 0x83
xor eax, eax
mov cl, byte [eax + 0x49ea14]
xor cl, 0x83
mov byte [eax + 0x49f044], cl
inc eax
cmp eax, 0x2d
jb 0x401935
mov eax, 0x49f044
ret
Function at 0x4029a4
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a45c8], 1
jne 0x4029d9
or dword [0x4a45c8], 1
mov dword [0x49eca0], 0xf6e7ecce
mov dword [0x49eca4], 0xa3b9e6ef
mov dword [0x49eca8], 0x898ef0a6
mov byte [0x49ecac], 0x83
xor eax, eax
mov cl, byte [eax + 0x49eca0]
xor cl, 0x83
mov byte [eax + 0x49f2d0], cl
inc eax
cmp eax, 0xd
jb 0x4029db
mov eax, 0x49f2d0
ret

Function at 0x4029f6
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a45c4], 1
jne 0x402a35
or dword [0x4a45c4], 1
mov dword [0x49ecb0], 0xe6f1ebd7
mov dword [0x49ecb4], 0xa3b9e7e2
mov dword [0x49ecb8], 0xfba6fbb3
mov dword [0x49ecbc], 0x898e898e
mov byte [0x49ecc0], 0x83
xor eax, eax
mov cl, byte [eax + 0x49ecb0]
xor cl, 0x83
mov byte [eax + 0x49f2e0], cl
inc eax
cmp eax, 0x11
jb 0x402a37
mov eax, 0x49f2e0
ret

Function at 0x402a52
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a45c0], 1
jne 0x402a90
or dword [0x4a45c0], 1
mov dword [0x49ecc4], 0xe6e0fbc6
mov dword [0x49ecc8], 0xeceaf7f3
mov dword [0x49eccc], 0xe7a6a3ed
mov word [0x49ecd0], 0x898e
mov byte [0x49ecd2], 0x83
xor eax, eax
mov cl, byte [eax + 0x49ecc4]
xor cl, 0x83
mov byte [eax + 0x49f2f4], cl
inc eax
cmp eax, 0xf
jb 0x402a92
mov eax, 0x49f2f4
ret

Function at 0x402aad
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a45bc], 1
jne 0x402aeb
or dword [0x4a45bc], 1
mov dword [0x49ecd4], 0xe2e0eccf
mov dword [0x49ecd8], 0xedeceaf7
mov dword [0x49ecdc], 0xf3a6a3b9
mov word [0x49ece0], 0x898e
mov byte [0x49ece2], 0x83
xor eax, eax
mov cl, byte [eax + 0x49ecd4]
xor cl, 0x83
mov byte [eax + 0x49f304], cl
inc eax
cmp eax, 0xf
jb 0x402aed
mov eax, 0x49f304
ret

Function at 0x402b08
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a45b8], 1
jne 0x402b49
or dword [0x4a45b8], 1
mov dword [0x49ece4], 0xe6f3fad7
mov dword [0x49ece8], 0xf0a6a3b9
mov dword [0x49ecec], 0xfbb3aba3
mov dword [0x49ecf0], 0x8eaafba6
mov word [0x49ecf4], 0x8389
xor eax, eax
mov cl, byte [eax + 0x49ece4]
xor cl, 0x83
mov byte [eax + 0x49f314], cl
inc eax
cmp eax, 0x12
jb 0x402b4b
mov eax, 0x49f314
ret

Function at 0x402b66
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a45b4], 1
jne 0x402bee
or dword [0x4a45b4], 1
mov dword [0x49ecf8], 0xe2f7e6c7
mov dword [0x49ecfc], 0xb9f0efea
mov dword [0x49ed00], 0xeaf1d7a3
mov dword [0x49ed04], 0xf7a3e7e6
mov dword [0x49ed08], 0xe6f1a3ec
mov dword [0x49ed0c], 0xe5a3e7e2
mov dword [0x49ed10], 0xa3eeecf1
mov dword [0x49ed14], 0xeceee6ee
mov dword [0x49ed18], 0xe2a3faf1
mov dword [0x49ed1c], 0xe6f1e7e7
mov dword [0x49ed20], 0xa6a3f0f0
mov dword [0x49ed24], 0x83898ef3
xor eax, eax
mov cl, byte [eax + 0x49ecf8]
xor cl, 0x83
mov byte [eax + 0x49f328], cl
inc eax
cmp eax, 0x30
jb 0x402bf0
mov eax, 0x49f328
ret