joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c680
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2a
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0
push eax
mov esi, ecx
push 0
mov dword [ebp - 0x10c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x40c6d7
xor ecx, ecx
jmp 0x40c6e9
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c6e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00404420
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00419532
mov esp, ebp
pop ebp
ret

Function at 0x40d190
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b808
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x17
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403fe0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00404320
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40d21e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
Function at 0x40de60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b930
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x58]
mov dword [ebp - 4], 0
push 0x42192c
lea ecx, [ebp - 0x40]
call fcn.00404af0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 0
jbe 0x40debe
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004029f0
jmp 0x40defa
push 0x42192c
mov edx, 0x428880
lea ecx, [ebp - 0x58]
call fcn.00404af0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004029f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40defa
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402b40
push str.logs
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00404af0
add esp, 4
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x40df42
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40df42
test al, 0x10
je 0x40df42
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040aae0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40df54
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402b40
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x40df78
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402b40
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x40df9c
inc eax
push eax
push dword [ebp + 0xc]
call fcn.00402b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40f940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov eax, esp
push 0x11
push eax
call fcn.0040c3c0
call fcn.0040fae0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x40f994
mov eax, dword [ecx]
jmp 0x40f996
mov eax, ecx
push 0xc
push str.de_netfilter
mov byte [eax], 0
call fcn.00404420
call fcn.0040fcb0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x40f9c4
mov eax, dword [ecx]
jmp 0x40f9c6
mov eax, ecx
push 0xc
push str.de_netfilter
mov byte [eax], 0
call fcn.00404420
call fcn.0040fae0
lea ecx, [ebp - 0x58]
call fcn.0040c230
push 0x42192c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040b110
push str.nfdrive
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040b110
add esp, 0x20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40fa20
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402b40
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40fa48
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402b40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0xf
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40fab0
test al, 0x10
je 0x40fab0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040aae0
test eax, eax
jne 0x40fa9d
push str.Successfully_deleted_nf_driver_folder
push str.stealth_manager
call fcn.00402320
add esp, 8
jmp 0x40fab0
push eax
push str.Delete_nf_driver_failed_:__d
push str.stealth_manager
call fcn.0040bc30
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40fac2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
Function at 0x40fae0
Capabilities:
Delete service
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bc08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x428024]
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.00402320
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 0x40fc4d
cmp dword [ebp + 0x18], edi
je 0x40fc30
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 0x40fc00
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 0x40fbe2
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.00402320
add esp, 0xc
push ebx
call esi
jmp 0x40fc66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cant_delete_the_service__d
push str.stealth_manager
call fcn.0040bc30
add esp, 0xc
push ebx
call esi
jmp 0x40fc66
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.0040bc30
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x10
push ebx
call esi
jmp 0x40fc66
push str.Cant_find_service
push str.stealth_manager
call fcn.0040bc30
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 8
push ebx
call esi
jmp 0x40fc66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d_
push str.stealth_manager
call fcn.0040bc30
add esp, 0xc
push str.CStealthManager::deleteService
push str._s_exit_
push str.stealth_manager
call fcn.00402320
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, 0x10
jb 0x40fc8f
inc eax
push eax
push dword [ebp + 8]
call fcn.00402b40
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.00419532
mov esp, ebp
pop ebp
ret
Function at 0x412980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x428024]
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 0x4129ac
mov esi, dword [ebx]
jmp 0x4129ae
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x4129d1
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4129c0
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 0x4129f9
mov eax, edi
jmp 0x4129fd
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x412a6b
push ebx
lea ecx, [esi + 8]
call fcn.00405dd0
test eax, eax
je 0x412a18
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
jmp 0x4129f1
mov eax, esi
mov dword [ebp - 0x14], eax
nop dword [eax]
cmp dword [ebp - 0xc], edi
jne 0x412a29
mov eax, edi
jmp 0x412a30
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x412a47
lea eax, [esi + 8]
mov ecx, ebx
push eax
call fcn.00405dd0
test eax, eax
jne 0x412a47
mov esi, dword [esi]
jmp 0x412a20
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x412a6b
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.00419532
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.00419532
mov esp, ebp
pop ebp
ret 8
Function at 0x414190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x41423b
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x414250
xor edx, edx
div dword [esi + 0x3cc]
test edx, edx
jne 0x414250
xor ecx, ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x414234
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x3f4]
cmp byte [esi + 4], 0
mov eax, ebx
je 0x41423b
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x4141fc
mov edi, dword [ebp + 8]
sub edi, ebx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x4141e7
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov ecx, esi
call fcn.00413c40
push dword [esi + 0x3cc]
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
add edi, ecx
div ecx
inc dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ecx
mov dword [ebp + 0xc], edi
cmp dword [ebp - 4], eax
jb 0x4141d0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x426498
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Object_not_Initialized
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x426498
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Data_not_multiple_of_Block_Size
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x414270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
cmp byte [edi + 4], 0
movups xmm0, xmmword [edi + 0x3f4]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [edi + 0x404]
movups xmmword [ebp - 0x14], xmm0
je 0x414345
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x414360
xor edx, edx
div dword [edi + 0x3cc]
test edx, edx
jne 0x414360
mov dword [ebp - 0x28], edx
test eax, eax
je 0x414333
push esi
push ebx
push ecx
mov ecx, edi
call fcn.00413ee0
cmp byte [edi + 4], 0
mov edx, ebx
je 0x414345
xor eax, eax
cmp dword [edi + 0x3cc], eax
jle 0x414303
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x24]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, dword [edi + 0x3cc]
jl 0x4142f0
mov esi, dword [edi + 0x3cc]
lea eax, [ebp - 0x24]
push esi
push dword [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
xor edx, edx
div esi
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
inc dword [ebp - 0x28]
add ecx, esi
add ebx, esi
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x28], eax
jb 0x4142d0
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00419532
mov esp, ebp
pop ebp
ret 0x10
push 0x426498
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], str.Object_not_Initialized
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop word [eax + eax]
push 0x426498
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], str.Data_not_multiple_of_Block_Size
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x414550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bec8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x428024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.0040c230
push 0x42192c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040b110
push str.gutype.dat
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040b110
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4145be
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402b40
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4145e6
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402b40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0xf
cmovae eax, dword [ebp - 0x28]
push eax
push str.Remove_GU_PATH_:__s
push str.LicenseInfo
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00402320
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 0x10
test eax, eax
je 0x414631
call fcn.00414660
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x414643
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
Function at 0x415030
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c09f
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x428024]
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 0x415288
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x415281
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 0x41512f
lea eax, [ebp - 0x274]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415120
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00403fe0
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.004040e0
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 0x4151cb
inc eax
push eax
push dword [ebp - 0x2b8]
call fcn.00402ae0
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 0x415237
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
cmp eax, ecx
ja 0x415237
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 0x415225
push ecx
mov ecx, esi
call fcn.00415680
mov ecx, dword [esi + 4]
imul eax, edi, 0x5c
add eax, dword [esi]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x41525b
jmp 0x415255
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x415247
push ecx
mov ecx, esi
call fcn.00415680
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41525b
lea eax, [ebp - 0x6c]
push eax
call fcn.00415bf0
add dword [esi + 4], 0x5c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.00414f90
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4150f0
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.00419532
mov esp, ebp
pop ebp
ret
Function at 0x415e00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x428024]
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 0x415eb1
lea eax, [esp + 4]
mov dword [esp + 0xc], 0
push eax
push 0x42308c
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 0x415ea8
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.00419532
mov esp, ebp
pop ebp
ret
Function at 0x416d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c3f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x428024]
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 0x416da7
mov esi, dword [eax]
jmp 0x416da9
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x416dc5
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x416db4
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 0x416de4
mov esi, dword [ebx + 4]
jmp 0x416dea
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x416e0c
nop
mov esi, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
call fcn.00405dd0
test eax, eax
sete al
test al, al
jne 0x416e56
cmp esi, edi
jne 0x416df0
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x416e39
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 0x416ec6
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x416ee8
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 0x416e85
inc eax
push eax
push dword [edi]
call fcn.00402ae0
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x416e9b
mov edi, dword [edi]
xor eax, eax
push edx
mov word [edi], ax
call fcn.0041957b
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 0x416ece
mov dword [ecx], edi
jmp 0x416ee8
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x416ee8
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.00416f60
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
Function at 0x417000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x41701b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x417037
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x417026
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x41706d
cmp dword [ecx], edi
jne 0x417065
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x417075
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x417075
cmp dword [ecx], edi
jne 0x417078
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ebx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [edx + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x41709e
inc eax
push eax
push dword [ebx]
call fcn.00402ae0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x4170b4
mov ebx, dword [ebx]
xor eax, eax
push edi
mov word [ebx], ax
call fcn.0041957b
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8