joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fb0
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420958
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x11
lea eax, [ebp - 0x40]
xor bl, bl
push eax
call fcn.0040d1a0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x411126
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.Launching_system_service:__s
push str.stealth_manager
call fcn.00402620
add esp, 0xc
push 0xf0001
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x41110b
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0xa0000012
cmovae eax, dword [ebp - 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x4110e7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
push 2
push esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], 0x15180
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 3
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
cmp eax, 1
sete bl
test bl, bl
jne 0x4110d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_start_the_service__error_code:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x411126
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_service__error_code:__d
push str.stealth_manager
call fcn.00402590
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0xc
push edi
call esi
jmp 0x411126
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_OpenSCManager_error_code__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
mov bl, 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x411138
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.00404770
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x411b20
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420958
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
lea eax, [ebp - 0x40]
push eax
call fcn.0040d1a0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x411c96
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.Launching_process_monitor_service:__s
push str.stealth_manager
call fcn.00402620
add esp, 0xc
push 0xf0001
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x411c7d
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push 0xa0000012
cmovae ecx, dword [ebp - 0x40]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x411c59
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
push 2
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], 0x15180
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 3
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
test ebx, ebx
jne 0x411c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_start_the_service__error_code:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp ebx, 1
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x411c98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_service__error_code:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
xor bl, bl
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x411c98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_OpenSCManager_error_code__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
xor bl, bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x411caa
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.00404770
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x411cd0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4202e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xe
lea eax, [ebp - 0x28]
push eax
call fcn.0040d1a0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x411de9
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Launching_Update_service:__s
push str.stealth_manager
call fcn.00402620
add esp, 0xc
push 0xf0001
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x411dd0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0xa0000000
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x411daa
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
test ebx, ebx
jne 0x411d96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_start_the_service__error_code:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
cmp ebx, 1
push esi
sete bl
call edi
jmp 0x411deb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_service__error_code:__d
push str.stealth_manager
call fcn.00402590
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0xc
xor bl, bl
push esi
call edi
jmp 0x411deb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_OpenSCManager_error_code__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x411dfd
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.00404770
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x412100
Capabilities:
Delete service
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420a48
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CStealthManager::deleteService
push str._s_enter_
push str.stealth_manager
mov dword [ebp - 4], 0
call fcn.00402620
add esp, 0xc
xor edi, edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x41226d
cmp dword [ebp + 0x18], edi
je 0x412250
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x10002
cmovae eax, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x412220
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x3c], 0x15180
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 3
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
test edi, edi
je 0x412202
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push str.Successfully_delete__or_pending_delete__Service__s
push str.stealth_manager
call fcn.00402620
add esp, 0xc
push ebx
call esi
jmp 0x412286
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cant_delete_the_service__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push ebx
call esi
jmp 0x412286
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Error_cant_open_service__s_for_deleting:__d
push str.stealth_manager
call fcn.00402590
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x10
push ebx
call esi
jmp 0x412286
push str.Cant_find_service
push str.stealth_manager
call fcn.00402590
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 8
push ebx
call esi
jmp 0x412286
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d_
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push str.CStealthManager::deleteService
push str._s_exit_
push str.stealth_manager
call fcn.00402620
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, 0x10
jb 0x4122af
inc eax
push eax
push dword [ebp + 8]
call fcn.00404770
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x417120
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421188
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.00416a90
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
cmp esi, edx
je 0x417223
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
nop dword [eax + eax]
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00406f70
push 0xb
push str.extensions
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00404490
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
cmp eax, 0xffffffff
je 0x4171fc
test al, 0x10
je 0x4171fc
push 1
push 0x423638
lea ecx, [ebp - 0x28]
call fcn.00404490
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.004045b0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4171fc
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040a430
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x417212
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00404770
mov edx, dword [ebp - 0x60]
add esi, 0x18
cmp esi, edx
jne 0x417180
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x41726a
push dword [ebp - 0x68]
push ecx
mov ecx, esi
call fcn.00407e40
mov ecx, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x64]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00407840
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x41727c
inc eax
push eax
push dword [ebp + 8]
call fcn.00404770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x418900
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 8], ecx
cmp dword [ebx + 0x14], 8
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x41892c
mov esi, dword [ebx]
jmp 0x41892e
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x418951
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x418940
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
cmp edx, edi
jne 0x418979
mov eax, edi
jmp 0x41897d
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4189ea
push ebx
lea eax, [esi + 8]
push eax
call fcn.00418b40
test al, al
jne 0x418999
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
jmp 0x418971
mov eax, esi
mov dword [ebp - 0x14], eax
nop
cmp dword [ebp - 0xc], edi
jne 0x4189a9
mov eax, edi
jmp 0x4189b0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4189c6
lea eax, [esi + 8]
push eax
push ebx
call fcn.00418b40
test al, al
je 0x4189c6
mov esi, dword [esi]
jmp 0x4189a0
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x4189ea
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx + 4], esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
call fcn.0041e02b
mov esp, ebp
pop ebp
ret 8
Function at 0x419250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421438
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x42e024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x24]
push 0
push 0x4234f6
mov dword [ebp - 0x10], 0xf
mov dword [eax + 0x24], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
call fcn.00404270
mov ecx, dword [edi + 4]
add ecx, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
cmp ecx, eax
je 0x4192c2
push 0xffffffffffffffff
push 0
push eax
call fcn.00404370
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x4192db
inc eax
push eax
push dword [ebp - 0x24]
call fcn.00404770
mov esi, dword [edi + 4]
push dword [esi + 4]
mov dword [esi + 0x2c], 0
call fcn.0041e03c
mov dword [esi + 4], 0
add esp, 4
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [eax + 8], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00419600
cmp dword [eax + 0x14], 0x10
jb 0x419314
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov eax, dword [ebp - 0x28]
add esp, 4
cmp eax, 0x10
jb 0x419330
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.00404770
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
test ecx, ecx
je 0x419350
mov eax, dword [ecx]
push dword [edi + 4]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419f80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42160f
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2bc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x228
lea eax, [ebp - 0x294]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x2a0], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x298], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a1d8
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41a1d1
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], ax
cmp word [ebp - 0x274], ax
je 0x41a07f
lea eax, [ebp - 0x274]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a070
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004040e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x68], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x2b8]
push eax
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
call fcn.00404810
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x41a11b
inc eax
push eax
push dword [ebp - 0x2b8]
call fcn.00404710
xor eax, eax
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], ax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 2
cmp eax, dword [esi + 4]
jae 0x41a187
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
cmp eax, ecx
ja 0x41a187
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
mov eax, dword [esi + 4]
add edx, ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp eax, dword [esi + 8]
jne 0x41a175
push ecx
mov ecx, esi
call fcn.0041a5d0
mov ecx, dword [esi + 4]
imul eax, edi, 0x5c
add eax, dword [esi]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x41a1ab
jmp 0x41a1a5
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x41a197
push ecx
mov ecx, esi
call fcn.0041a5d0
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41a1ab
lea eax, [ebp - 0x6c]
push eax
call fcn.0041ab90
add dword [esi + 4], 0x5c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.00419ee0
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a040
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x41ada0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x42e024]
xor eax, esp
mov dword [esp + 0x1c], eax
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]
test eax, eax
je 0x41ae51
lea eax, [esp + 4]
mov dword [esp + 0xc], 0
push eax
push 0x429150
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
push 0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41ae48
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421960
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x42e024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x41bd47
mov esi, dword [eax]
jmp 0x41bd49
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x41bd65
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x41bd54
mov eax, dword [ebx + 0x18]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], ecx
mov edi, dword [eax + ecx]
cmp edi, dword [ebx + 4]
jne 0x41bd84
mov esi, dword [ebx + 4]
jmp 0x41bd8a
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x41bda7
nop
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.00418b40
test al, al
jne 0x41bdf1
cmp esi, edi
jne 0x41bd90
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x41bdd4
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x41be61
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x41be83
mov edx, dword [ebp + 0x10]
lea edi, [edx + 8]
mov dword [ebp + 0xc], edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x41be20
inc eax
push eax
push dword [edi]
call fcn.00404710
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x41be36
mov edi, dword [edi]
xor eax, eax
push edx
mov word [edi], ax
call fcn.0041e074
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x41be69
mov dword [ecx], edi
jmp 0x41be83
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x41be83
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0041bf00
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc