joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d443
Capabilities:
Get domain controller name
Get domain information
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp word [ebp + 0xc], 0x104
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
jae 0x100d464
mov eax, 0x84b
jmp 0x100d5e3
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp edi, ebx
mov word [eax], bx
je 0x100d486
cmp dword [ebp + 0x14], 0x10
jae 0x100d483
mov eax, 0x84b
jmp 0x100d5e1
mov word [edi], bx
cmp dword [0x101d220], ebx
je 0x100d4b5
mov eax, 0x101d220
mov esi, eax
push dword [eax]
push 0x101a884
call fcn.0101044d
test eax, eax
jl 0x100d4ac
mov dword [ebp - 0xc], 1
add esi, 4
cmp dword [esi], ebx
mov eax, esi
jne 0x100d495
lea eax, [ebp - 4]
push eax
push 1
push ebx
call sub.NETAPI32.dll_DsRoleGetPrimaryDomainInformation
cmp eax, ebx
je 0x100d4cb
push eax
call fcn.0100e881
cmp edi, ebx
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
je 0x100d4e0
mov eax, dword [ebp - 4]
push dword [eax + 8]
push edi
call esi
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
cmp ecx, 4
je 0x100d5cb
cmp ecx, 5
je 0x100d5cb
cmp dword [ebp - 0xc], ebx
jne 0x100d530
mov edi, 0x100153c
push edi
push dword [ebp + 8]
call esi
cmp dword [ebp + 0x10], ebx
pop ecx
pop ecx
je 0x100d5d7
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100d5d7
push edi
push dword [ebp + 0x10]
jmp 0x100d5d3
cmp dword [0x101e604], ebx
jne 0x100d55b
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
jne 0x100d544
mov eax, dword [eax + 8]
jmp 0x100d546
mov eax, ecx
push eax
push 0xe6d
call fcn.0100e852
mov dword [0x101e604], 1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x1000
add eax, 0x20
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.NETAPI32.dll_DsGetDcNameW]
cmp eax, ebx
je 0x100d583
push eax
call fcn.0100e881
push dword [ebp - 4]
call sub.NETAPI32.dll_DsRoleFreeMemory
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, ebx
jne 0x100d59c
mov eax, dword [ebp + 8]
mov word [eax], bx
jmp 0x100d5df
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
movzx ecx, word [ebp + 0xc]
cmp eax, ecx
jbe 0x100d5b3
mov ebx, 0x84b
jmp 0x100d5bf
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebp + 8]
call esi
pop ecx
pop ecx
push dword [ebp - 8]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, ebx
jmp 0x100d5e1
push 0x100153c
push dword [ebp + 8]
call esi
pop ecx
pop ecx
push dword [ebp - 4]
call sub.NETAPI32.dll_DsRoleFreeMemory
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100d99b
Capabilities:
Enumerate services
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov esi, 0xfa0
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call fcn.01010ab3
test eax, eax
je 0x100d9c9
push 8
call fcn.0100e881
mov eax, dword [0x101e608]
cmp eax, ebx
jne 0x100d9e8
push 0x80000000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [0x101e608], eax
je 0x100da0c
push 0xc
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0xc], edi
je 0x100da0c
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x100da16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100da8a
cmp dword [ebp - 0x2c], 1
jne 0x100da2e
push dword [ebp + 8]
mov edi, 0xdc1
call fcn.0100d691
mov dword [ebp - 0x10], eax
jmp 0x100da8a
test byte [ebp - 0x28], 1
jne 0x100da3b
mov edi, 0x88f
jmp 0x100da8a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
push 1
push edi
call esi
test eax, eax
jne 0x100dae3
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, eax
cmp edi, 0xea
jne 0x100da88
push dword [ebp - 4]
call fcn.01010acb
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
push edi
call fcn.01010ab3
test eax, eax
je 0x100dac4
push 8
pop edi
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x100da97
push dword [ebp - 4]
call fcn.01010acb
cmp dword [ebp - 0xc], ebx
je 0x100daa5
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, ebx
je 0x100db6b
cmp dword [ebp - 0x10], ebx
je 0x100db65
push dword [ebp - 0x10]
push edi
call fcn.0100e791
jmp 0x100db6b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
call esi
test eax, eax
jne 0x100dae1
call ebx
mov edi, eax
jmp 0x100da88
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x100db5e
push dword [ebp + 8]
call fcn.0100d691
push eax
push 0xdca
call fcn.0100e852
xor esi, esi
cmp dword [ebp - 8], ebx
jbe 0x100db25
xor edi, edi
mov eax, dword [ebp - 4]
push dword [edi + eax + 4]
push 0x100149c
call fcn.0100e4f5
pop ecx
pop ecx
call fcn.0100e806
inc esi
add edi, 0x24
cmp esi, dword [ebp - 8]
jb 0x100db04
call fcn.0100e806
push ebx
push 0x14a6
call fcn.0100e88f
test eax, eax
jne 0x100db40
push 2
call fcn.0100e405
xor edi, edi
cmp dword [ebp - 8], ebx
jbe 0x100db5e
xor esi, esi
mov eax, dword [ebp - 4]
push ebx
push dword [esi + eax]
call fcn.0100a1a1
inc edi
add esi, 0x24
cmp edi, dword [ebp - 8]
jb 0x100db49
xor edi, edi
jmp 0x100da8a
push edi
call fcn.0100e881
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100df89
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x1002040
call fcn.0100e138
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100dfc4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100dfc4
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100dfdc
cmp eax, 0x20b
je 0x100dfc9
mov dword [ebp - 0x1c], edi
jmp 0x100dff0
cmp dword [ecx + 0x84], 0xe
jbe 0x100dfc4
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100dfea
cmp dword [ecx + 0x74], 0xe
jbe 0x100dfc4
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1021d80], 0xffffffff
or dword [0x1021d84], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x101e634]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x101e630]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1021d88], eax
call fcn.0100e134
cmp dword [0x101a758], edi
jne 0x100e04b
push fcn.0100e134
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100e122
push 0x1001438
push 0x1001434
call sub.msvcrt.dll__initterm
mov eax, dword [0x101e62c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x101e628]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001430
push 0x100142c
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010048ba
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x100e0c2
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100e0f7
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100e171
ret
Function at 0x100ef00
Capabilities:
List domain servers

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push dword [ebp + 0x1c]
lea eax, [ebp + 0x18]
push dword [ebp + 0x18]
push eax
push esi
push 0xffffffffffffffff
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.NETAPI32.dll_NetServerEnum
cmp eax, ebx
mov dword [ebp + 0x1c], eax
je 0x100ef36
cmp eax, 0xea
jne 0x100ef8a
cmp dword [ebp + 0xc], 0x64
mov edi, dword [edi]
jne 0x100ef65
cmp dword [esi], ebx
jbe 0x100ef8a
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
push 4
push dword [ebp + 0xc]
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add dword [ebp + 0xc], 8
add esp, 0xc
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x100ef48
jmp 0x100ef8a
cmp dword [esi], ebx
jbe 0x100ef8a
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
push 0x14
push dword [ebp + 0xc]
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add dword [ebp + 0xc], 0x18
add esp, 0xc
inc ebx
add edi, 0x14
cmp ebx, dword [esi]
jb 0x100ef6f
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x100f453
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [0x101caf4], 0xffffffff
push edi
je 0x100f4a2
mov eax, 0x101caf4
mov dword [ebp + 0x10], eax
lea edi, [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [esi + eax]
test eax, eax
je 0x100f48e
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
inc eax
pop ecx
mov dword [edi], eax
lea ebx, [ebx + eax*2]
jmp 0x100f491
and dword [edi], 0
mov eax, dword [ebp + 0x10]
add eax, 8
add edi, 4
cmp dword [eax], 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x100f475
mov edi, dword [ebp + 0x14]
push edi
lea eax, [ebx + 0x34]
push eax
call sub.NETAPI32.dll_NetapipBufferAllocate
test eax, eax
jne 0x100f555
mov eax, dword [edi]
lea ecx, [eax + ebx + 0x34]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x101caf4
push eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.010135c7
mov ebx, dword [ebp + 0x18]
push ebx
push 0x1f6
push dword [ebp + 8]
call sub.NETAPI32.dll_NetServerGetInfo
test eax, eax
jne 0x100f555
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x18], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x1c], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x24], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x28], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x6c]
mov dword [eax], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x70]
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x78]
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x84]
mov dword [eax + 0xc], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100f7ec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_ftell]
test eax, eax
mov esi, dword [sym.imp.msvcrt.dll_fread]
pop ecx
jne 0x100f84d
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push 1
push 2
push eax
call esi
add esp, 0x10
cmp dword [ebp - 4], 0xfeff
je 0x100f84d
push 0x1002250
mov ebx, 0x1024440
push ebx
call dword [sym.imp.msvcrt.dll_swprintf]
pop ecx
pop ecx
push 0
push ebx
push dword [0x101f574]
call fcn.0101184d
push dword [ebp + 0x10]
push 1
push 2
pop ebx
jmp 0x100f87f
mov eax, dword [ebp - 4]
cmp eax, 0xd
je 0x100f87a
cmp eax, 0xa
je 0x100f893
cmp eax, 9
je 0x100f871
mov word [edi], ax
add edi, ebx
inc dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
dec ecx
cmp dword [ebp - 8], ecx
jge 0x100f89a
push dword [ebp + 0x10]
push 1
lea eax, [ebp - 4]
push ebx
push eax
call esi
add esp, 0x10
cmp eax, 1
jae 0x100f857
or eax, 0xffffffff
jmp 0x100f89a
mov word [edi], 0xa
add edi, ebx
and word [edi], 0
cmp eax, 0xffffffff
jne 0x100f8ac
cmp edi, dword [ebp + 8]
jne 0x100f8ac
xor eax, eax
jmp 0x100f8af
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10107e9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
mov bl, byte [ebp + 0x18]
test bl, 4
je 0x1010808
test bl, 0xa
je 0x1010808
push 0x57
pop eax
jmp 0x10108a4
xor eax, eax
mov al, bl
push edi
and eax, 8
mov dword [ebp - 8], eax
xor eax, eax
mov al, bl
and eax, 2
mov dword [ebp - 4], eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x408]
push 0x200
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01012478
mov edi, eax
test edi, edi
je 0x1010846
test bl, 4
jne 0x1010878
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0x408]
push eax
mov esi, 0x1024440
push esi
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp + 0x18]
and word [eax*2 + 0x1024440], 0
add esp, 0xc
push 0
push esi
push dword [ebp + 0x1c]
call fcn.0101184d
pop esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1010884
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
cmp word [ebp - 8], 0
je 0x1010892
test edi, edi
je 0x1010892
push edi
jmp 0x101089b
cmp word [ebp - 4], 0
je 0x10108a1
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
mov eax, edi
pop edi
pop ebx
leave
ret 0x18
Function at 0x10117d5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.010117bc
test eax, eax
je 0x10117fb
push 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1011849
mov eax, dword [ebp + 0x10]
push esi
push edi
add eax, eax
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
je 0x1011847
mov eax, dword [ebp + 0x10]
push esi
push esi
lea ecx, [eax + eax]
push ecx
push edi
push eax
push dword [ebp + 0xc]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x1011840
push esi
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x468350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00467f6d
push eax
push esi
push dword [ebp + 8]
call fcn.00467f22
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00467f6d
push eax
push esi
push dword [ebp + 8]
or al, ch
push ebp
sti
invalid
inc dword [ebx - 0x7a76cf3c]
dec eax
invalid
invalid
invalid
call fcn.00467f5d
cwde
mov cl, 0x18
ror byte [eax - 0x8363], 0xff
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
invalid
inc ebp
invalid

Function at 0x4687f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, 0x25fffffc
lea eax, [ebp - 0x354]
push eax
call fcn.00467f6d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00467f22
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
ror byte [ebp - 0x33243], 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
inc ebp
cld
invalid
inc dword [edx]
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00467f6d
pop ecx
push eax
push dword [ebp + 0x18]
sbb bh, bh
jne 0x468917
Function at 0x408130
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa1960b21
mov ecx, 0x18b71962
rorx edx, eax, 0xb
sarx ecx, ecx, ecx
mulx eax, edx, ecx
xor eax, edx
mov ecx, 0xf5f7ffbe
pext eax, eax, ecx
cmp eax, 0x22f270c
sete al
ret

Function at 0x408980
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x47c22e
call fcn.004569c5
mov esi, ecx
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], esi
push str.C:Program_FilesCCleaner
mov dword [ebp - 0x38], ebx
call fcn.0040933a
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsccleaner.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4089eb
lea eax, [ebp - 0x2c]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsccleaner.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x2c], 0
je 0x408a63
push ecx
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x34], ebx
call fcn.004092a3
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
push ebx
push str.Path
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], 0
je 0x408a58
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0040933a
mov byte [ebp - 4], 2
mov ecx, esi
push eax
call fcn.00409303
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040abc9
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.004095f6
mov eax, esi
call fcn.00456974
ret

Function at 0x409e4e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00409aa2
inc edi
mov dh, 0xdf
pop eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00409ab2
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.00409a67
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00409ab2
Function at 0x409edf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
dec ecx
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00409ab2
push eax
push esi
push dword [ebp + 8]
call fcn.00409a67
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00409aa2
les esp, [edi - 0x62778648]
jl 0x409f27
invalid
invalid

Function at 0x409f49
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00409aa2
les eax, [esi - 0x3e]
xchg esi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.00409ab2
push eax
push esi
push dword [ebp + 8]
call fcn.00409a67
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x40a29b
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00409a13
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x40a012
Function at 0x42b106
Capabilities:
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480baa
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4bf100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xc
lea ecx, [esi + 0x70]
call fcn.00433a87
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x68]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.0041bb5d
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x60]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0xa
call fcn.0040c353
mov byte [ebp - 4], 9
lea ecx, [esi + 0x58]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 9
call fcn.0041bb5d
mov byte [ebp - 4], 8
lea ecx, [esi + 0x50]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 8
call fcn.0040c8d9
mov byte [ebp - 4], 7
lea ecx, [esi + 0x48]
call fcn.00433a18
mov byte [ebp - 4], 6
lea ecx, [esi + 0x40]
call fcn.00433925
mov byte [ebp - 4], 5
lea ecx, [esi + 0x38]
call fcn.004338b6
mov byte [ebp - 4], 4
lea ecx, [esi + 0x30]
call fcn.00433650
mov byte [ebp - 4], 3
lea ecx, [esi + 0x28]
call fcn.004337e1
mov byte [ebp - 4], 2
lea ecx, [esi + 0x20]
call fcn.004336bf
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
call fcn.00433650
mov byte [ebp - 4], 0
lea ecx, [esi + 8]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040aacb
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
mov dword [ebp - 0x28], ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040aacb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret

Function at 0x4321d6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c257c]
push ebx
push esi
push edi
mov edi, ecx
or eax, 0x2001b
lea ecx, [ebp - 4]
xor ebx, ebx
push ecx
push eax
push ebx
push dword [0x4c2578]
mov dword [ebp - 4], ebx
push dword [0x4c2574]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x432265
mov edx, dword [edi + 0x20]
mov ecx, dword [edx]
jmp 0x43221a
cmp byte [ecx + 8], bl
jne 0x432220
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x432213
jmp 0x432265
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop edi
push edi
push 0x4c25cc
push edi
push ebx
push dword [0x4c25f4]
push dword [ebp - 4]
call esi
push edi
push 0x4c25d0
push edi
push ebx
push dword [0x4c25f8]
push dword [ebp - 4]
call esi
mov esi, eax
mov eax, dword [0x4c25cc]
mov dword [0x4c25e0], eax
mov eax, dword [0x4c25d0]
mov dword [0x4c25e4], eax
cmp dword [ebp - 4], ebx
je 0x432273
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret