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

Disassembly:
push edi
mov edi, ecx
test edi, edi
je 0x4061cf
push edi
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
test eax, eax
je 0x406109
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
cmp dword [edi + 0x18], 1
je 0x406121
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
test eax, eax
je 0x4061cf
jmp 0x406101
cmp dword [edi + 0x24], 0
mov dword [edi + 0x18], 2
jle 0x406147
lea eax, [edi + 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44306]
pop ecx
test eax, eax
je 0x406147
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
pop edi
ret
cmp dword [edi + 0x24], 0
push esi
jle 0x406164
lea esi, [edi + 4]
push edi
push esi
call dword [sym.imp.libav.dll_Ordinal_44311]
pop ecx
pop ecx
test eax, eax
jne 0x40617f
cmp dword [edi + 0x24], eax
jg 0x406151
mov ecx, edi
call fcn.00405c71
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
test eax, eax
je 0x406189
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
push edi
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
jmp 0x4061ce
push edi
call dword [sym.imp.libav.dll_Ordinal_44299]
mov esi, dword [sym.imp.libav.dll_Ordinal_44308]
lea eax, [edi + 0xc]
push eax
call esi
lea eax, [edi + 0x10]
push eax
call esi
lea eax, [edi + 0x14]
push eax
call esi
lea eax, [edi + 4]
push eax
call esi
lea eax, [edi + 8]
push eax
call dword [sym.imp.libav.dll_Ordinal_44314]
push dword [edi + 0x40]
mov esi, dword [sym.imp.MSVCR110.dll_free]
call esi
push dword [edi + 0x3c]
call esi
push edi
call esi
add esp, 0x24
pop esi
pop edi
ret
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x50e94d94
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x622d488c
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x44120d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x44123b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441259
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00441177
jmp 0x441259
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441259
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00441177
test edi, edi
mov eax, edi
jne 0x441243
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56b32c]
test ecx, ecx
je 0x44130c
jmp 0x44120c
ret 8

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019a4
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x4046d1]
lea edx, [fcn.00401a14]
sub eax, edx
push eax
push fcn.00401a14
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132e
push edi
call fcn.00401894
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.004018e3
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov esi, dword [ebp - 0x88]
mov ecx, esi
mov ebx, edi
sar ebx, cl
sub esi, ebx
push esi
lea esi, [0x4060e4]
xor esi, edi
push esi
call fcn.00401a14
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4019a4
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendA
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x448e04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x448e00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x448e00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x10395a24
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10395a2e
pushal
call 0x10395a34
add byte [eax], al
add byte [eax], al
pop ebp
sub ebp, 0x10
sub ebp, 0x395a24
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10395a58
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10395a61
mov eax, 0x395a24
add eax, ebp
add eax, 0x63
mov ecx, 0x602
mov edx, 0x4f3c4f2c
xor byte [eax], dl
inc eax
dec ecx
jne 0x10395a78
jmp 0x10395a8b
cmpsd dword [esi], dword es:[edi]
loope 0x10395a35
movsd dword es:[edi], dword [esi]
adc byte [esp + ebp], ch
sub al, 0xad
in eax, dx
aam 0x2c
sub al, 0x2c
das
loope 0x10395a30
sub ch, byte [esp + ebp]
sub al, 0x96
add al, 0x2c
sub al, 0x2c
fcmovne st(0), st(6)
das
in al, 0xa7
lodsd eax, dword [esi]
and byte [esp + ebp], ch
sub al, 0x2f
jmp 0xe041a356
Function at 0xb0b424b
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 0xb0beb8b
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 0xb0c06d2
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 0xb0c94f7
Capabilities:
Get common file path

Disassembly:
push 0x144
mov eax, 0xb1140c4
call fcn.0b0ef8ad
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x50]
cmp dword [esi], 0
je 0xb0c9697
lea ebx, [ecx + 0x2c]
cmp dword [ebx], 0
mov dword [ebp - 0x150], ebx
je 0xb0c9697
push 0xb0a61b8
lea ecx, [ebp - 0x12c]
call fcn.0b0be8a5
and dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push ecx
push eax
mov ecx, ebx
call fcn.0b0c9d2f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
mov bl, al
call fcn.0b0be6ce
test bl, bl
lea ecx, [ebp - 0x12c]
mov eax, 0x27c4
mov ebx, 0x1e0
push 0xb0a61cc
cmovne ebx, eax
call fcn.0b0be8a5
push ecx
push ebx
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0b0c9d8e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0b0be6ce
mov esi, 0x104
lea eax, [ebp - 0x114]
push esi
push 0
push eax
call fcn.0b0f0c50
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ecx
lea eax, [ebp - 0x144]
mov ecx, 0xa419da8
push eax
call fcn.0b0db296
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x148], eax
push ecx
push ecx
mov eax, esp
lea edx, [ebp - 0x148]
mov dword [eax], 0xb0a61e4
mov dword [eax + 4], 0xf
call fcn.0b0c9ded
mov dword [ebp - 0x14c], eax
mov eax, ebx
or eax, 0x1000000
cmp dword [edi + 0x14], 0x10
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
jb 0xb0c9629
mov edi, dword [edi]
cmp dword [ebp - 0x130], 0x10
lea esi, [ebp - 0x144]
push 0xb0a61f4
cmovae esi, dword [ebp - 0x144]
lea ecx, [ebp - 0x12c]
call fcn.0b0be8a5
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x114]
sub esp, 0xc
mov byte [ebp - 4], 3
push ebx
push edi
push 0xf8345749
push dword [ebp - 0x148]
push eax
push dword [ebp - 0x14c]
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.0b0c9ecb
lea ecx, [ebp - 0x12c]
call fcn.0b0be6ce
lea ecx, [ebp - 0x144]
call fcn.0b0be6ce
call fcn.0b0ef85c
ret 8

Function at 0xb0cb96d
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 [0xb0a6674]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb0cc09d
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 0xb0cc156
cmp dword [eax + 0x14], 0x10
jb 0xb0cc0b8
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0b0dac19
test al, al
je 0xb0cc156
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0b0cc15d
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
push edi
call fcn.0b0cc206
push ecx
push edi
call fcn.0b0cc456
lea eax, [ebp + 8]
mov ecx, edi
push eax
push 0x40
push 0x1000
call fcn.0b0dab39
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xc]
call fcn.0b0dab4f
mov ecx, edi
mov esi, eax
call fcn.0b0dab4f
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.0b0dab39
movzx ecx, word [eax + 6]
imul ecx, ecx, 0x28
add ecx, 0xf8
push ecx
push eax
mov ecx, edi
call fcn.0b0dab39
push eax
call fcn.0b0f06d0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.0b0dac00
add eax, dword [edi]
pop edi
jmp 0xb0cc158
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0xb0cc15d
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x24
mov eax, 0xb114365
call fcn.0b0ef87a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.0b0dab68
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
cmp esi, ebx
je 0xb0cc1da
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 0xb0cc1ea
cmp dword [edi + 0x10], 0
jbe 0xb0cc1d3
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.0b0f06d0
mov edx, dword [ebp + 0xc]
add esp, 0xc
add esi, 4
cmp esi, ebx
jne 0xb0cc186
lea ecx, [ebp - 0x24]
call fcn.0b0c6e2f
call fcn.0b0ef848
ret 8
push 0xb0a678c
lea ecx, [ebp - 0x30]
call fcn.0b0be50a
push 0xb0b1bf4
lea eax, [ebp - 0x30]
push eax
call fcn.0b0f065e
int3
Function at 0xb0cc456
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.0b0dab4f
cmp dword [eax + 0xac], 0
je 0xb0cc55b
push ebx
push edi
call fcn.0b0cc785
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0b0dab4f
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 0xb0cc512
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.0b0f06d0
push ebx
push esi
push dword [ebp - 8]
call fcn.0b0f06d0
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 0xb0cca95
Capabilities:
Set current directory

Disassembly:
push 0x28
mov eax, 0xb114459
call fcn.0b0ef8e3
push 0xb0cc82a
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 1
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call fcn.0b0cc9fc
push ebx
call fcn.0b0fcca5
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.0b0fcc93
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], 0xb0a6908
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0b0fcc75
add esp, 0xc
test eax, eax
jne 0xb0ccb39
cmp dword [ebp - 0x18], eax
je 0xb0ccb39
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.0b0f3f73
pop ecx
call fcn.0b0cbbf7
test al, al
jne 0xb0ccb4b
mov dword [ebp - 4], 2
jmp 0xb0ccb66
call fcn.0b0cc970
mov esi, eax
test esi, esi
je 0xb0ccbb9
call fcn.0b0cbc48
test al, al
jne 0xb0ccb75
mov dword [ebp - 4], 3
cmp byte [ebp - 0x11], 0
je 0xb0ccb71
call fcn.0b0cbc9e
xor eax, eax
jmp 0xb0ccbb3
mov byte [ebp - 0x11], bl
or dword [ebp - 4], 0xffffffff
call esi
jmp 0xb0ccbb3
call fcn.0b0ef848
ret
push 0xb0a6914
lea ecx, [ebp - 0x34]
call fcn.0b0be50a
push 0xb0b1bf4
lea eax, [ebp - 0x34]
push eax
call fcn.0b0f065e
int3
Function at 0xb0cdb08
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 [0xb065120]
cmp eax, dword [ecx + 0x98]
jg 0xb0cdc08
cmp dword [0xa4147f4], ebx
jne 0xb0cdbde
lea eax, [ebp - 0x118]
push eax
push 1
push ebx
push 0xb0a69d8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb0cdbde
mov edi, 0x104
lea eax, [ebp - 0x110]
push edi
push ebx
push eax
call fcn.0b0f0c50
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 0xb0a69f0
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 0xb0cdbc3
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, 0xa4147e4
call fcn.0b0be982
mov byte [ebp - 0x114], bl
mov edx, 0xa4147e4
push dword [ebp - 0x114]
mov ecx, esi
call fcn.0b0ce4b4
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0eeb38
leave
ret
mov edi, 0xb065120
push edi
call fcn.0b0ef1b9
cmp dword [0xb065120], 0xffffffff
pop ecx
jne 0xb0cdb47
push 0xb115783
call fcn.0b0ef128
pop ecx
push edi
call fcn.0b0ef168
pop ecx
jmp 0xb0cdb47

Function at 0xb0ce8b9
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.0b0fcca5
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.0b0efa80
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 0xb0ce916
movaps xmm0, xmmword [0xb0aba50]
pop edi
pop esi
mov dword [0xa419ed0], eax
mov eax, 0xa419eb0
movaps xmmword [0xa41b260], xmm0
pop ebx
ret 0x10

Function at 0xb0ceb17
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0xb114632
call fcn.0b0ef87a
mov esi, dword [0xb060bb8]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.0b0eeb54
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 0xb0cfc47
push edi
push edi
call fcn.0b0fc71e
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0xb0ceb76
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x5c]
call fcn.0b0c8e6e
cmp dword [ebp - 0x14], edi
jne 0xb0ceb71
call fcn.0b0ef848
ret
call fcn.0b0fc586
push 6
mov dword [ebp - 0x14], edi
call fcn.0b0ee10c
int3
Function at 0xb0cff7f
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, 0xb0a6ef0
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 0xb0cffeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0xb0cffd1
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0xb0d0018
inc ax
mov word [ebp - 0xa], ax
jmp 0xb0cffeb
cmp eax, 0xe7
jne 0xb0d0018
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0xb0d0018
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 0xb0cffb4
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0eeb38
leave
ret
xor al, al
jmp 0xb0d0009

Function at 0xb0d2bab
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 0xb0d2be0
cmp word [edx], di
je 0xb0d2be0
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 0xb0d2c09
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 0xb0d2c07
cmp ecx, esi
je 0xb0d2c07
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0xb0d64a7
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 + 0xb091450]
sub edx, 1
jne 0xb0d64aa
mov eax, ecx
ret