joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40518b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x42bfe0], 0x44
push eax
xor eax, eax
push 0x42bfe0
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x4051c6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405250
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004054ff
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405284
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42ebe8], eax
jmp 0x405418
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4052a2
test eax, eax
je 0x4053c3
test byte [ebp + 0xc], 2
je 0x4053c3
mov esi, 0x42afe0
push edi
push esi
call fcn.0040592b
test ebx, ebx
je 0x4052bf
push str..
push esi
call sub.KERNEL32.DLL_lstrcatA
jmp 0x4052c5
push edi
call fcn.00405465
cmp byte [edi], 0
jne 0x4052d3
cmp byte [0x42afe0], 0x5c
jne 0x4052de
push 0x40900c
push edi
call sub.KERNEL32.DLL_lstrcatA
push edi
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4053b9
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405449
cmp byte [eax], 0
je 0x405324
cmp byte [ebp - 0x18], 0
je 0x405324
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x40533a
mov al, byte [esi + 1]
test al, al
je 0x405398
cmp al, 0x2e
jne 0x40533a
cmp byte [esi + 2], 0
je 0x405398
push esi
push ebx
call fcn.0040592b
test byte [ebp - 0x148], 0x10
je 0x40535f
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405398
push dword [ebp + 0xc]
push edi
call fcn.00405250
jmp 0x405398
push edi
call fcn.004055e3
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x405390
test byte [ebp + 0xc], 4
je 0x405388
push edi
push 0xfffffffffffffff1
call fcn.00404cc9
push 0
push edi
call fcn.00405679
jmp 0x405398
inc dword [0x42ebe8]
jmp 0x405398
push edi
push 0xfffffffffffffff2
call fcn.00404cc9
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x405302
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [ebp - 4], 0
je 0x4053c3
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405418
cmp dword [ebp - 8], esi
jne 0x4053d8
inc dword [0x42ebe8]
jmp 0x405418
push edi
call fcn.00405c22
test eax, eax
je 0x405418
push edi
call fcn.0040541e
push edi
call fcn.004055e3
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
jne 0x405410
test byte [ebp + 0xc], 4
je 0x4053d0
push edi
push 0xfffffffffffffff1
call fcn.00404cc9
push esi
push edi
call fcn.00405679
jmp 0x405418
push edi
push 0xffffffffffffffe5
call fcn.00404cc9
pop edi
pop esi
leave
ret 8
Function at 0x4054ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42b3e0
push esi
call fcn.0040592b
push esi
call fcn.004054b2
mov edi, eax
test edi, edi
jne 0x405520
xor eax, eax
jmp 0x405572
push edi
call fcn.00405b89
test byte [0x42eb78], 0x80
je 0x405539
mov al, byte [edi]
test al, al
je 0x40551c
cmp al, 0x5c
je 0x40551c
sub edi, esi
jmp 0x405551
call fcn.00405c22
test eax, eax
je 0x40554b
test byte [eax], 0x10
je 0x40551c
push esi
call fcn.00405465
push esi
call sub.KERNEL32.DLL_lstrlenA
cmp eax, edi
push esi
jg 0x40553d
call fcn.0040541e
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4055e3
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4055ff
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
ret 4

Function at 0x405602
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
ret 0xc

Function at 0x405631
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
test eax, eax
jne 0x405675
test edi, edi
jne 0x40563c
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x40566f
Function at 0x405679
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405c49
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40569d
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4057d6
mov ebx, dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
mov dword [0x42c168], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x42c168
je 0x4056e1
push 1
push 0
push esi
call fcn.00405602
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4057dc
cmp eax, edi
jg 0x4057dc
mov esi, 0x42bbe0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4057dc
cmp eax, edi
jg 0x4057dc
push esi
push ebp
push str._s_s_r_n
push 0x42b7e0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42eb70]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040594d
push 4
push 0xc0000000
push esi
call fcn.00405602
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4057d6
push 0
push ebp
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4057cf
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4057cf
cmp edi, dword [esp + 0x18]
jne 0x4057cf
push str._Rename__r_n
push esi
call fcn.00405577
test eax, eax
jne 0x4057e3
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.0040592b
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x42b7e0
push eax
call fcn.004055c3
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc dword [0x42ebf0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409328
push eax
call fcn.00405577
test eax, eax
je 0x40579a
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x40580a
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4057ff
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40579c
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xd25036f
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5f904f04
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1002a5bb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0xd
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.1002fb2f
add esp, 0xc
nop
jp 0x1002a5d7
test ecx, edi
jnp 0x1002a5f6
pushf
rol ebx, 6
ror ebx, 6
not ebx
not ebx
xchg ebx, edx
xchg ebx, edx
mov edx, edx
popf
jp 0x1002a5f1
je 0x1002a5f3
jp 0x1002a5f6
add esi, 0xc644e845
inc ebp
jmp 0x1002a660
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x15], 0x62
mov byte [ebp - 0x12], 0x4e
mov byte [ebp - 0xf], 0x66
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x11], 0x76
mov byte [ebp - 0xe], 0x79
mov byte [ebp - 0x16], 0x66
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xd], 0x42
mov byte [ebp - 0xc], 0
clc
test edx, ecx
jnp 0x1002a640
pushf
jmp 0x1002a633
ror esi, 0x1d
ror esi, 3
popf
mov edx, edx
jp 0x1002a640
or dword [edx - 0x167f17b3], 0xe84d8801
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0x15]
sub dl, 1
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x12]
sub al, 1
mov byte [ebp - 0x12], al
mov cl, byte [ebp - 0xf]
sub cl, 1
mov byte [ebp - 0xf], cl
mov dl, byte [ebp - 0x17]
sub dl, 1
mov byte [ebp - 0x17], dl
mov al, byte [ebp - 0x14]
sub al, 1
mov byte [ebp - 0x14], al
mov cl, byte [ebp - 0x11]
sub cl, 1
mov byte [ebp - 0x11], cl
mov dl, byte [ebp - 0xe]
sub dl, 1
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0x16]
sub al, 1
mov byte [ebp - 0x16], al
mov cl, byte [ebp - 0x13]
sub cl, 1
mov byte [ebp - 0x13], cl
mov dl, byte [ebp - 0x10]
sub dl, 1
mov byte [ebp - 0x10], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
ja 0x1002a6aa
lea eax, [eax]
jae 0x1002a6b3
mov ebx, ebx
jb 0x1002a6b3
lcall 0x8900, 0x4e4e8
inc ebp
clc
call fcn.1002ab9c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1002a6c8
xor eax, eax
jmp 0x1002a8fc
ror ebx, 0
lea edx, [edx + 0x472d]
lea edx, [edx - 0x472d]
jge 0x1002a6d9
add esi, dword [esp]
sub esi, dword [esp]
jb 0x1002a6ef
pushf
jp 0x1002a6e5
test dword [esp], edi
popf
jp 0x1002a6ec
jae 0x1002a6ef
mov ebp, 0x51e84d8d
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1004edc3
mov dword [ebp - 4], eax
push 0xd
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.1002fb2f
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x1002a71c
xor eax, eax
jmp 0x1002a8fc
xor ecx, 0
cmp edx, ecx
call fcn.1002a726
Function at 0x1002a9a5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x13
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.1002fb2f
add esp, 0xc
ror ecx, 5
ror ecx, 0x1b
nop
test dword [esp], esi
cmp eax, 0x627
je 0x1002a9e4
pushf
jo 0x1002a9d3
mov esp, esp
jmp 0x1002a9d7
popf
mov esp, esp
xchg edx, edi
xchg edx, edi
jge 0x1002a9e1
jne 0x1002a9e4
call 0x54eaefae
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x13], 0x54
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 9], 0x65
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x12], 0x66
mov byte [ebp - 0xd], 0x66
mov byte [ebp - 8], 0x6d
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 7], 0x66
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x10], 0x77
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 6], 0
mov byte [ebp - 0x14], 0x66
mov byte [ebp - 0xf], 0x6a
mov byte [ebp - 0xa], 0x6f
jo 0x1002aa32
cld
jne 0x1002aa40
jb 0x1002aa37
jg 0x1002aa39
lea esi, [esi]
je 0x1002aa40
mov ebx, 0x4d8a9878
call 0x980493c7
dec ebp
call 0x90efffd7
ljmp 0x458a
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0xe]
sub al, 1
mov byte [ebp - 0xe], al
mov cl, byte [ebp - 9]
sub cl, 1
mov byte [ebp - 9], cl
mov dl, byte [ebp - 0x17]
sub dl, 1
mov byte [ebp - 0x17], dl
mov al, byte [ebp - 0x12]
sub al, 1
mov byte [ebp - 0x12], al
mov cl, byte [ebp - 0xd]
sub cl, 1
mov byte [ebp - 0xd], cl
mov dl, byte [ebp - 8]
sub dl, 1
mov byte [ebp - 8], dl
mov al, byte [ebp - 0x16]
sub al, 1
mov byte [ebp - 0x16], al
mov cl, byte [ebp - 0x11]
sub cl, 1
mov byte [ebp - 0x11], cl
mov dl, byte [ebp - 0xc]
sub dl, 1
mov byte [ebp - 0xc], dl
mov al, byte [ebp - 7]
sub al, 1
mov byte [ebp - 7], al
mov cl, byte [ebp - 0x15]
sub cl, 1
mov byte [ebp - 0x15], cl
mov dl, byte [ebp - 0x10]
sub dl, 1
mov byte [ebp - 0x10], dl
mov al, byte [ebp - 0xb]
sub al, 1
mov byte [ebp - 0xb], al
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
mov al, byte [ebp - 0xa]
sub al, 1
mov byte [ebp - 0xa], al
nop
js 0x1002aadf
jb 0x1002aae1
lea esp, [esp]
jne 0x1002aaeb
xchg esi, esi
je 0x1002aaeb
mov ecx, 0x26475e8
add byte [ecx + 0x7d83fc45], cl
cld
add byte [ebp + 7], dh
call fcn.10050f65
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1002ab00
xor eax, eax
jmp 0x1002ab93
cmc
push ecx
pop ecx
xor esp, 0
jne 0x1002ab08
jno 0x1002ab22
pushf
call fcn.1002ab11
Function at 0x1002b600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
cmp dword [0x10021d34], 1
jne 0x1002b75b
push 0xc
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.1002fb2f
add esp, 0xc
cmp esp, 0x26a0
jns 0x1002b63a
jmp 0x1002b630
mov esp, esp
jne 0x1002b634
jg 0x1002b636
js 0x1002b63a
lcall 0xc648, 0xe845c66f
inc ebp
in eax, dx
insd dword es:[edi], dx
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x12], 0x42
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0x14], 0x62
mov byte [ebp - 0xf], 0x70
xor eax, dword [esp]
xor eax, dword [esp]
jo 0x1002b672
lea eax, [eax + 0x6c7d]
lea eax, [eax - 0x6c7d]
jo 0x1002b68d
lea esp, [esp]
jae 0x1002b685
mov ebx, ebx
jle 0x1002b689
jno 0x1002b68d
call 0xf8504146
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0xe]
sub al, 1
mov byte [ebp - 0xe], al
mov cl, byte [ebp - 0x17]
sub cl, 1
mov byte [ebp - 0x17], cl
mov dl, byte [ebp - 0x12]
sub dl, 1
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x16]
sub al, 1
mov byte [ebp - 0x16], al
mov cl, byte [ebp - 0x11]
sub cl, 1
mov byte [ebp - 0x11], cl
mov dl, byte [ebp - 0x15]
sub dl, 1
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x10]
sub al, 1
mov byte [ebp - 0x10], al
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
call fcn.1002ab9c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1002b702
xor eax, eax
jmp 0x1002b7a7
ror eax, 7
rol eax, 7
je 0x1002b714
nop
xchg ecx, edi
xchg ecx, edi
nop
jne 0x1002b714
mov eax, 0xe8458df1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1004edc3
mov dword [ebp - 8], eax
push 0xc
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.1002fb2f
add esp, 0xc
jae 0x1002b736
jne 0x1002b745
pushf
cmp esi, edi
popf
jns 0x1002b740
jp 0x1002b742
je 0x1002b745
mov eax, 0xf87d83
cmp dword [ebp - 8], 0
je 0x1002b755
mov eax, dword [ebp - 8]
mov dword [0x10021d34], eax
jmp 0x1002b759
xor eax, eax
jmp 0x1002b7a7
jmp 0x1002b764
mov ecx, dword [0x10021d34]
mov dword [ebp - 8], ecx
xor esp, 0
mov esp, esp
cmp ebx, dword [esp + 0xc]
xchg esp, esp
jbe 0x1002b77c
jl 0x1002b773
jns 0x1002b775
jmp 0x1002b777
lea esi, [esi]
ja 0x1002b77c
mov edi, 0x89f8558b
push ebp
cld
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
xchg edi, edi
and esp, 0xffffffff
jno 0x1002b790
je 0x1002b78b
jne 0x1002b78d
jo 0x1002b790
jmp 0x60fefd1f
mov eax, dword [ebp - 4]
push eax
call fcn.100389b2
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b806
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push 0x22
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.1002fb2f
add esp, 0xc
push 0x21
push 0x10022e28
lea ecx, [ebp - 0x138]
push ecx
call fcn.10030abf
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
push 1
push 0
lea eax, [ebp - 0x138]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1002b90e
push 0x22
push 0
lea ecx, [ebp - 0x138]
push ecx
call fcn.1002fb2f
add esp, 0xc
push 0xb
push 0x10022e4c
lea edx, [ebp - 0x138]
push edx
call fcn.10030abf
add esp, 0xc
mov dword [ebp - 0x13c], 0x105
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1002b901
push 0x105
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10030abf
add esp, 0xc
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1002b910
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1002bc22
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xf
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.1002fb2f
add esp, 0xc
std
cld
jno 0x1002bc50
pushf
rol esp, 0
jo 0x1002bc46
clc
popf
ja 0x1002bc4b
jbe 0x1002bc4d
jo 0x1002bc50
add eax, 0x53ec45c6
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 8], 0x70
mov byte [ebp - 0xb], 0x71
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xf], 0x46
mov byte [ebp - 7], 0x6f
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x66
mov byte [ebp - 0x12], 0x6a
mov byte [ebp - 0xe], 0x79
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x6a
mov byte [ebp - 0x13], 0x62
mov byte [ebp - 6], 0
add esp, 0
jnp 0x1002bcb2
pushf
call fcn.1002bc98
Function at 0x1003ace2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x12
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1002fb2f
add esp, 0xc
mov esp, esp
add edi, dword [esp]
sub edi, dword [esp]
lea esi, [esi]
jns 0x1003ad07
jb 0x1003ad1a
lea ebx, [ebx + 0x16b8]
lea ebx, [ebx - 0x16b8]
nop
jae 0x1003ad1a
add eax, 0xe445c66f
push ebx
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x14], 0x66
mov byte [ebp - 0x1b], 0x66
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x18], 0x51
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0x1a], 0x62
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xb], 0
shl edi, 0
jbe 0x1003ad6f
jo 0x1003ad69
lea edi, [edi]
ja 0x1003ad6f
mov esp, 0xe44d8a5b
mov cl, byte [ebp - 0x1c]
sub cl, 1
mov byte [ebp - 0x1c], cl
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0x1a]
sub al, 1
mov byte [ebp - 0x1a], al
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0x10]
sub dl, 1
mov byte [ebp - 0x10], dl
mov al, byte [ebp - 0xc]
sub al, 1
mov byte [ebp - 0xc], al
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0x16]
sub dl, 1
mov byte [ebp - 0x16], dl
mov al, byte [ebp - 0x13]
sub al, 1
mov byte [ebp - 0x13], al
mov cl, byte [ebp - 0x12]
sub cl, 1
mov byte [ebp - 0x12], cl
mov dl, byte [ebp - 0x1b]
sub dl, 1
mov byte [ebp - 0x1b], dl
mov al, byte [ebp - 0xf]
sub al, 1
mov byte [ebp - 0xf], al
mov cl, byte [ebp - 0x15]
sub cl, 1
mov byte [ebp - 0x15], cl
mov dl, byte [ebp - 0xe]
sub dl, 1
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 0x19]
sub cl, 1
mov byte [ebp - 0x19], cl
mov dl, byte [ebp - 0x17]
sub dl, 1
mov byte [ebp - 0x17], dl
mov al, byte [ebp - 0xb]
sub al, 1
mov byte [ebp - 0xb], al
call fcn.1002ab9c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1003ae1d
xor eax, eax
jmp 0x1003ae89
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1004edc3
mov dword [ebp - 4], eax
push 0x12
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1002fb2f
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x1003ae87
add edi, dword [esp]
sub edi, dword [esp]
jmp 0x1003ae4b
je 0x1003ae57
jge 0x1003ae4f
xchg edi, edi
mov edi, edi
jne 0x1003ae57
call 0xc5139b7
mov ecx, dword [ebp - 4]
push ecx
call fcn.100389b2
add esp, 4
rol esp, 0
jnp 0x1003ae6e
jno 0x1003ae6a
jp 0x1003ae6e
mov ebp, 0x18558b3d
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
jmp 0x1003ae89
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14