joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf20630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0xf20689
test eax, edx
je 0xf2068c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0xf20647
movzx eax, word [eax]
sub eax, ecx
jmp 0xf2066e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0xf2066f
add ecx, 4
js 0xf2065f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0xf2066c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0xf2066e
xor eax, eax
ret
test eax, eax
je 0xf20698
test edx, edx
jne 0xf20638
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0xf2191c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0xf21949
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0xf25928
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0xf25961
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00f098dc
jmp 0xf2596a
mov eax, ebx
mov edx, esi
call fcn.00f09b34
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0xf25974
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0xf25996
movzx eax, word [esp]
jmp 0xf25998
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xf26c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0xf26db5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00f26a98
mov esi, eax
mov eax, dword [0x159609c]
cmp byte [eax], 0
je 0xf26d5d
mov eax, dword [0x1595d0c]
call fcn.00f07348
call fcn.00f06bc0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0xf26c60]
call fcn.00f0b980
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0xf26dd0
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0xf26d99
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x1595c78]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x1599c54]
call fcn.00f0bda0
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf26dbc
lea eax, [ebp - 4]
mov edx, dword [0xf26c60]
call fcn.00f0baa4
ret

Function at 0xf27e4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xf27f22
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00f09b7c
lea eax, [ebp - 4]
call fcn.00f09ce4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0xf27f0c
mov eax, ebx
call fcn.00f06a4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0xf27f05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0xf27eef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xf27f34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xf27eef
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf27f0c
mov eax, dword [ebp - 0x10]
call fcn.00f06a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf27f29
lea eax, [ebp - 4]
call fcn.00f09754
ret
Function at 0xf27f38
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xf28038
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00f09b7c
lea eax, [ebp - 4]
call fcn.00f09ce4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0xf28022
mov eax, ebx
call fcn.00f06a4c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0xf2801b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0xf28005
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xf2804c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0xf28005
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf28022
mov eax, dword [ebp - 0x10]
call fcn.00f06a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf2803f
lea eax, [ebp - 4]
call fcn.00f09754
ret

Function at 0xf289e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00f09c2c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00f0d800
mov edi, eax
cmp edi, 0x104
jbe 0xf28993
mov eax, edi
add eax, eax
call fcn.00f06a4c
mov esi, eax
jmp 0xf28995
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00f0d800
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0xf289ce
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0xf289b8
mov eax, esp
cmp esi, eax
je 0xf289db
mov eax, esi
call fcn.00f06a68
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0xf28a14
cmp bl, 0
je 0xf28a10
cmp bl, 0x41
jl 0xf28a0b
cmp bl, 0x5a
jg 0xf28a0b
or bl, 0x20
xor al, bl
inc esi
jmp 0xf289ef
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0xf28954

Function at 0xf29280
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00f0a4d0
add esp, 0x800
pop ebx
ret
Function at 0xf82d24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0xf82d2c
mov eax, edx
pop esi
pop ebx
ret

Function at 0xfbd2f8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0xfbd396
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0xfbd35a
cmp byte [ebx + 0x11], 0
jne 0xfbd35a
cmp byte [ebx + 0x3c], 0
jne 0xfbd35a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0xfbd37b
lea edx, [ebp - 4]
mov eax, dword [0x1596010]
call fcn.00f0d76c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0xf916d8]
call fcn.00f26de0
call fcn.00f08e50
jmp 0xfbd37b
lea edx, [ebp - 8]
mov eax, dword [0x1596010]
call fcn.00f0d76c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0xf916d8]
call fcn.00f26de0
call fcn.00f08e50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfbd39d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00f097b4
ret

Function at 0xfbdd34
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0xfbdd82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00fbd178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xfbdd9b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0xfbdda4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00fbd178
dec esi
jne 0xfbddc6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0xfc094c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x159c3fc
cmp dword [edi], 0
jne 0xfc09c8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x159c3f8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x115c754
mov ecx, 2
call fcn.00f06c10
mov edx, 0xfc0924
lea eax, [esi + 5]
call fcn.00fc0944
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00fc0944
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0xfc099d
mov dword [0x159c3f8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0xfe9530
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xfe96eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00f09b7c
mov eax, dword [ebp - 4]
call fcn.00fe8e80
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0xfe9582
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00f0a838
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00fea178
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0xfe9661
xor eax, eax
push ebp
push 0xfe965a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00fe9120
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00fe9720
test al, al
je 0xfe9638
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00f098dc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0xfe9638
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00f0a42c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00fe9080
test al, al
je 0xfe9632
mov eax, dword [ebp - 8]
call fcn.00f0a42c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00f0a494
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00fe9530
dec ebx
cmp ebx, 0xffffffff
jne 0xfe95e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfe9661
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00fe9120
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x159c44c], 0
je 0xfe96a1
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00fe910c
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00fe9080
mov ebx, eax
jmp 0xfe96c8
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00fe910c
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00fe9080
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfe96f2
lea eax, [ebp - 0x3c]
call fcn.00f09754
lea eax, [ebp - 8]
mov edx, 2
call fcn.00f097b4
ret
Function at 0xfea054
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00fe8e98
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00f0a42c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00fe9080
test al, al
jne 0xfea0bc
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x1595ef8]
mov dl, 1
mov eax, dword [0xfe7c64]
call fcn.00f26fe4
call fcn.00f08e50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0xfea0c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00f0a42c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00fe9080
test al, al
jne 0xfea129
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x15962c4]
mov dl, 1
mov eax, dword [0xfe7c64]
call fcn.00f26fe4
call fcn.00f08e50
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00fe8ec8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xfea728
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0xfea850
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00fe9120
xor eax, eax
push ebp
push 0xfea82b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fe9720
test al, al
je 0xfea80f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00fea608
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00f098dc
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0xfea80f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fe9080
test al, al
je 0xfea80b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00f0a494
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00fea608
pop ecx
inc edi
dec ebx
jne 0xfea7b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfea832
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00fe9120
ret
Function at 0xfea860
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xfeaaae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00fe9120
xor eax, eax
push ebp
push 0xfeaa84
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fe9720
test al, al
je 0xfeaa68
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00f098dc
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0xfeaa68
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00f0a42c
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fe9080
test al, al
je 0xfeaa5c
mov eax, dword [ebp - 4]
call fcn.00f0a42c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00f0a494
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fea178
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0xfeaa5c
xor eax, eax
push ebp
push 0xfeaa55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.00fe9120
xor eax, eax
push ebp
push 0xfeaa37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00f0a42c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00f0a494
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fe9124
mov eax, dword [ebp - 4]
call fcn.00f0a42c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00f0a494
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00fea178
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0xfeaa14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00fea728
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00fea860
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfeaa1b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0xfea8eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfeaa8b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00fe9120
ret
Function at 0xff385c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0xff3862
ret
Function at 0x1008c5c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0xf39720]
call fcn.00f0ac5c
xor eax, eax
push ebp
push 0x1008ddf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x115d170], 0
jne 0x1008cb0
mov ecx, dword [0x1595b20]
mov dl, 1
mov eax, dword [0xf19dd4]
call fcn.00f26f14
call fcn.00f08e50
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00f073ac
mov eax, ebx
call fcn.00f0a164
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x1008df0
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00f0d260
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x1008cf7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x1008d4c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x1008d45
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00f0a50c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00f0a4d0
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00f208e4
test eax, eax
jne 0x1008d45
mov ebx, 0x15
jmp 0x1008d51
mov ebx, 0x10
jmp 0x1008d51
mov ebx, 0x15
xor eax, eax
push ebp
push 0x1008d9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x1596244]
movzx eax, word [eax]
or ax, 8
call fcn.00f06e80
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x115d170]
call fcn.01008a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1008da3
call fcn.00f06e70
ret