joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409096
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423960]
jne 0x4090a0
repz ret
jmp fcn.0040e3fe

Function at 0x417b85
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423960]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e504
and dword [ebp - 0x14], 0
cmp dword [0x537700], 0
mov dword [ebp - 0x18], eax
jne 0x417c38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417ce0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x417ce0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x537700], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x537704], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x537708], eax
call edi
push eax
call esi
mov dword [0x537710], eax
test eax, eax
je 0x417c38
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x53770c], eax
mov eax, dword [0x53770c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417c91
cmp dword [0x537710], ecx
je 0x417c91
push eax
call esi
push dword [0x537710]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417c91
test ebx, ebx
je 0x417c91
call edi
test eax, eax
je 0x417c88
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x417c88
test byte [ebp - 8], 1
jne 0x417c91
or dword [ebp + 0x10], 0x200000
jmp 0x417cc4
mov eax, dword [0x537704]
cmp eax, dword [ebp - 0x18]
je 0x417cc4
push eax
call esi
test eax, eax
je 0x417cc4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417cc4
mov eax, dword [0x537708]
cmp eax, dword [ebp - 0x18]
je 0x417cc4
push eax
call esi
test eax, eax
je 0x417cc4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x537700]
call esi
test eax, eax
je 0x417ce0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417ce2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409096
leave
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3c0b293c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6f552b9e
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6fcc4a91
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2b40177a
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0xb0b537b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [ebx], edi
push eax
push dword [ebp - 4]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
pop ebx
leave
ret

Function at 0xb0bfcbb
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
pushal
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [0xb08e04c]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb0c1802
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x40
push 1
push edi
mov bl, dl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
pop ebx
leave
ret
Function at 0xb0cdf0f
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
pushal
mov eax, dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [0xb0a65cc]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xb0ce63f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp dword [eax + 0x10], 0
je 0xb0ce6f8
cmp dword [eax + 0x14], 0x10
jb 0xb0ce65a
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0b0dd1af
test al, al
je 0xb0ce6f8
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0b0ce6ff
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
push edi
call fcn.0b0ce7a8
push ecx
push edi
call fcn.0b0ce9f8
lea eax, [ebp + 8]
mov ecx, edi
push eax
push 0x40
push 0x1000
call fcn.0b0dd0cf
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xc]
call fcn.0b0dd0e5
mov ecx, edi
mov esi, eax
call fcn.0b0dd0e5
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov dword [eax + 0x68], ecx
lea ecx, [ebp + 0xc]
mov dword [eax + 0x6c], edx
call fcn.0b0dd0cf
movzx ecx, word [eax + 6]
imul ecx, ecx, 0x28
add ecx, 0xf8
push ecx
push eax
mov ecx, edi
call fcn.0b0dd0cf
push eax
call fcn.0b0f2d70
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.0b0dd196
add eax, dword [edi]
pop edi
jmp 0xb0ce6fa
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0xb0ce6ff
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x24
mov eax, 0xb116ab1
call fcn.0b0f1f5b
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.0b0dd0fe
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
cmp esi, ebx
je 0xb0ce77c
mov edx, dword [ebp + 0xc]
mov edi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov eax, dword [eax]
add ecx, eax
mov dword [ebp - 0x10], ecx
add eax, 0xa000000
mov ecx, dword [edi + 0x14]
add ecx, dword [edx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jae 0xb0ce78c
cmp dword [edi + 0x10], 0
jbe 0xb0ce775
lea eax, [ebp - 0x18]
push eax
push 0x40
push dword [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [edi + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0b0f2d70
mov edx, dword [ebp + 0xc]
add esp, 0xc
add esi, 4
cmp esi, ebx
jne 0xb0ce728
lea ecx, [ebp - 0x24]
call fcn.0b0c7fe4
call fcn.0b0f1f38
ret 8
push 0xb0a66e4
lea ecx, [ebp - 0x30]
call fcn.0b0bf63a
push 0xb0b22b4
lea eax, [ebp - 0x30]
push eax
call fcn.0b0f2cfe
int3
Function at 0xb0ce9f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0b0dd0e5
cmp dword [eax + 0xac], 0
je 0xb0ceafd
push ebx
push edi
call fcn.0b0ced27
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0b0dd0e5
mov ecx, dword [eax + 0xa8]
add ecx, dword [esi]
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
sub ebx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 4]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0xc]
test esi, esi
je 0xb0ceab4
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
and dword [esi], 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push dword [ebp - 8]
call edi
mov eax, dword fs:[0x2c]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [eax + ecx*4]
call fcn.0b0f2d70
push ebx
push esi
push dword [ebp - 8]
call fcn.0b0f2d70
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
add esp, 0x18
push eax
push 4
push 0x18
push ebx
call edi
mov esi, dword [ebp - 0x18]
mov edi, ebx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0xb0cf037
Capabilities:
Set current directory

Disassembly:
push 0x28
mov eax, 0xb116ba5
call fcn.0b0f1fc4
push 0xb0cedcc
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 1
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call fcn.0b0cef9e
push ebx
call fcn.0b0ff345
pop ecx
mov edi, eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul esi, eax
not esi
xor esi, edi
push esi
call fcn.0b0ff333
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov dword [esp], 0xb0a6860
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0b0ff315
add esp, 0xc
test eax, eax
jne 0xb0cf0db
cmp dword [ebp - 0x18], eax
je 0xb0cf0db
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
push dword [ebp - 0x18]
call fcn.0b0f6613
pop ecx
call fcn.0b0ce199
test al, al
jne 0xb0cf0ed
mov dword [ebp - 4], 2
jmp 0xb0cf108
call fcn.0b0cef12
mov esi, eax
test esi, esi
je 0xb0cf15b
call fcn.0b0ce1ea
test al, al
jne 0xb0cf117
mov dword [ebp - 4], 3
cmp byte [ebp - 0x11], 0
je 0xb0cf113
call fcn.0b0ce240
xor eax, eax
jmp 0xb0cf155
mov byte [ebp - 0x11], bl
or dword [ebp - 4], 0xffffffff
call esi
jmp 0xb0cf155
call fcn.0b0f1f38
ret
push 0xb0a686c
lea ecx, [ebp - 0x34]
call fcn.0b0bf63a
push 0xb0b22b4
lea eax, [ebp - 0x34]
push eax
call fcn.0b0f2cfe
int3
Function at 0xb0d00aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0xa40106c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x114], esi
mov eax, dword fs:[0x2c]
push edi
mov ecx, dword [eax]
mov eax, dword [0xb065118]
cmp eax, dword [ecx + 0x98]
jg 0xb0d01aa
cmp dword [0xa4147f4], ebx
jne 0xb0d0180
lea eax, [ebp - 0x118]
push eax
push 1
push ebx
push 0xb0a6930
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb0d0180
mov edi, 0x104
lea eax, [ebp - 0x110]
push edi
push ebx
push eax
call fcn.0b0f32f0
add esp, 0xc
mov dword [ebp - 0x114], edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push 0xb0a6948
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xb0d0165
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, 0xa4147e4
call fcn.0b0bfab2
mov byte [ebp - 0x114], bl
mov edx, 0xa4147e4
push dword [ebp - 0x114]
mov ecx, esi
call fcn.0b0d0a56
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0f1228
leave
ret
mov edi, 0xb065118
push edi
call fcn.0b0f18a9
cmp dword [0xb065118], 0xffffffff
pop ecx
jne 0xb0d00e9
push 0xb117f16
call fcn.0b0f1818
pop ecx
push edi
call fcn.0b0f1858
pop ecx
jmp 0xb0d00e9

Function at 0xb0d0e5b
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0xa419eb8], 0xea60
push esi
mov eax, 0x1f4
mov dword [0xa419eb4], ebx
push edi
push ebx
mov dword [0xa419eb0], eax
mov dword [0xa419ebc], ebx
mov dword [0xa419ec0], eax
mov dword [0xa419ec4], ebx
mov dword [0xa419ec8], ebx
call fcn.0b0ff345
mov esi, eax
mov dword [0xa419edc], edx
mov eax, 0x55555555
mov dword [0xa419ed8], esi
xor edi, edi
mov dword [0xa41b258], eax
pop ecx
mov dword [0xa41b25c], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.0b0f2120
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0xa419ed8], esi
adc edx, ebx
mov dword [edi*8 + 0xa419edc], edx
inc edi
cmp edi, eax
jb 0xb0d0eb8
movaps xmm0, xmmword [0xb0ab9a0]
pop edi
pop esi
mov dword [0xa419ed0], eax
mov eax, 0xa419eb0
movaps xmmword [0xa41b260], xmm0
pop ebx
ret 0x10

Function at 0xb0d10b9
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0xb116db2
call fcn.0b0f1f5b
mov esi, dword [0xb060bb8]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.0b0f1244
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0xb0d21e9
push edi
push edi
call fcn.0b0fedbe
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0xb0d1118
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x5c]
call fcn.0b0ca0d1
cmp dword [ebp - 0x14], edi
jne 0xb0d1113
call fcn.0b0f1f38
ret
call fcn.0b0fec26
push 6
mov dword [ebp - 0x14], edi
call fcn.0b0f07fc
int3
Function at 0xb0d2521
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xa40106c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, 0xb0a6e48
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0xb0d258d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0xb0d2573
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0xb0d25ba
inc ax
mov word [ebp - 0xa], ax
jmp 0xb0d258d
cmp eax, 0xe7
jne 0xb0d25ba
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0xb0d25ba
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0xb0d2556
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0f1228
leave
ret
xor al, al
jmp 0xb0d25ab

Function at 0xb0d514d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0xb0d5182
cmp word [edx], di
je 0xb0d5182
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xb0d51ab
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0xb0d51a9
cmp ecx, esi
je 0xb0d51a9
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0xb0d8a49
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0xb091430]
sub edx, 1
jne 0xb0d8a4c
mov eax, ecx
ret
Function at 0xb0d8fdd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0b0ca066
cmp byte [ebx], 0
je 0xb0d9060
cmp byte [ebx + 1], 0
jne 0xb0d9060
mov eax, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx + 1], 1
add ebx, 0x18
push ebx
push 0x40
push 5
push dword [eax + 4]
call edi
mov edx, dword [ebp - 4]
push ebx
mov ecx, dword [edx + 4]
cmp byte [edx + 0x15], 0
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov al, byte [ecx + 4]
mov byte [edx + 0x14], al
setne al
add al, 0xe8
mov byte [ecx], al
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sub eax, 5
mov dword [ecx + 1], eax
push dword [ebx]
mov ebx, edx
push 5
push dword [ebx + 4]
call edi
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0b0ef975
pop ecx
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0xb0d906f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0b0ca066
cmp byte [ebx], 0
je 0xb0d90db
cmp byte [ebx + 1], 0
je 0xb0d90db
mov eax, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx + 1], 0
add ebx, 0x18
push ebx
push 0x40
push 5
push dword [eax + 4]
call edi
mov edx, dword [ebp - 4]
push ebx
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov al, byte [edx + 0x14]
mov byte [ecx + 4], al
push dword [ebx]
mov ebx, edx
push 5
push dword [ebx + 4]
call edi
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0b0ef975
pop ecx
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0xb0d90ea
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov edi, edx
push eax
push 0x40
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x90
push ebx
call fcn.0b0f32f0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
pop ebx
leave
ret
Function at 0xb0d9384
Capabilities:
Accept command line arguments

Disassembly:
push 0x64
mov eax, 0xb117077
call fcn.0b0f1f8e
lea eax, [ebp - 0x68]
xor esi, esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
je 0xb0d9542
xor ebx, ebx
cmp dword [ebp - 0x68], ebx
jle 0xb0d953b
push dword [edi + ebx*4]
lea ecx, [ebp - 0x28]
call fcn.0b0d9613
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
sbb cl, cl
inc cl
cmp dword [ebp - 0x14], 8
mov byte [ebp - 0x5d], cl
cmovae eax, edx
cmp word [eax], 0x2d
jne 0xb0d9525
lea eax, [ebp - 0x28]
test cl, cl
je 0xb0d93fc
mov eax, edx
mov ecx, edx
jmp 0xb0d93ff
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
xor ecx, ecx
mov dword [ebp - 0x5c], eax
inc ecx
mov eax, edi
sub eax, dword [ebp - 0x5c]
cmp eax, ecx
cmovb ecx, eax
cmp byte [ebp - 0x5d], 0
lea eax, [ebp - 0x28]
cmovne eax, edx
mov edx, dword [ebp - 0x5c]
sub edi, ecx
mov dword [ebp - 0x70], edi
lea edx, [eax + edx*2]
mov eax, edi
sub eax, dword [ebp - 0x5c]
lea ecx, [edx + ecx*2]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.0b0f2d70
add esp, 0xc
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 0x70]
xor eax, eax
stosd dword es:[edi], eax
or esi, 1
push 0xf
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x64], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x30], 0
pop eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x40], 0
cmp edx, eax
jbe 0xb0d9486
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x40]
push edx
call fcn.0b0bf6fd
and dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
sbb cl, cl
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
add cl, 1
cmovne eax, dword [ebp - 0x28]
lea edi, [eax + edx*2]
jmp 0xb0d94b5
movzx eax, byte [esi]
lea ecx, [ebp - 0x40]
push eax
call fcn.0b0dba6b
add esi, 2
cmp esi, edi
jne 0xb0d94a6
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0b0dcb1a
push eax
mov byte [ebp - 4], 2
call fcn.0b0d9652
lea ecx, [ebp - 0x58]
call fcn.0b0bf7fe
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x2c]
and esi, 0xfffffffe
cmp eax, 0x10
jb 0xb0d9513
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], ecx
cmp eax, 0x1000
jb 0xb0d950a
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0b0b541b
mov eax, dword [ebp - 0x5c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
push eax
push ecx
call fcn.0b0f1236
pop ecx
pop ecx
and dword [ebp - 0x30], 0
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0b0c30be
inc ebx
cmp ebx, dword [ebp - 0x68]
jl 0xb0d93be
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0b0f1f4c
ret