joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cbbf0
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 0x4cbd15
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004cb9f8
mov esi, eax
mov eax, dword [0xad56c4]
cmp byte [eax], 0
je 0x4cbcbd
mov eax, dword [0xad56e0]
call fcn.004a925c
call fcn.004a8864
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 [0x4cbbc0]
call fcn.004addd4
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 0x4cbd30
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4cbcf9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0xad5868]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0xad69c0]
call fcn.004ae20c
push eax
call fcn.0081d670
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call fcn.0081d69a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbd1c
lea eax, [ebp - 4]
mov edx, dword [0x4cbbc0]
call fcn.004adef8
ret

Function at 0x4cce94
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 0x4ccf6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004abb14
lea eax, [ebp - 4]
call fcn.004abc7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004ac3f4
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4ccf54
mov eax, ebx
call fcn.004a8680
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ccf4d
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.004ac3f4
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x4ccf37
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4ccf7c
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x4ccf37
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 0x4ccf54
mov eax, dword [ebp - 0x10]
call fcn.004a869c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccf71
lea eax, [ebp - 4]
call fcn.004ab6ec
ret
Function at 0x4ccf80
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 0x4cd080
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004abb14
lea eax, [ebp - 4]
call fcn.004abc7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004ac3f4
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4cd06a
mov eax, ebx
call fcn.004a8680
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4cd063
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.004ac3f4
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x4cd04d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4cd094
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x4cd04d
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 0x4cd06a
mov eax, dword [ebp - 0x10]
call fcn.004a869c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd087
lea eax, [ebp - 4]
call fcn.004ab6ec
ret

Function at 0x4ce194
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.004abbbc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004b1058
mov edi, eax
cmp edi, 0x104
jbe 0x4ce13f
mov eax, edi
add eax, eax
call fcn.004a8680
mov esi, eax
jmp 0x4ce141
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004b1058
push esi
call fcn.0081d2c8
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4ce17a
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 0x4ce164
mov eax, esp
cmp esi, eax
je 0x4ce187
mov eax, esi
call fcn.004a869c
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 0x4ce1c0
cmp bl, 0
je 0x4ce1bc
cmp bl, 0x41
jl 0x4ce1b7
cmp bl, 0x5a
jg 0x4ce1b7
or bl, 0x20
xor al, bl
inc esi
jmp 0x4ce19b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4ce100

Function at 0x4cead0
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.004ac4ac
add esp, 0x800
pop ebx
ret
Function at 0x4cf0d4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004ab6ec
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.004ac3f4
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x4cf119
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.004ab874
jmp 0x4cf132
mov edx, ebx
dec edx
mov eax, esi
call fcn.004ac584
push ebx
mov eax, dword [esi]
call fcn.004ac3f4
push eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52a7e4
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 0x52a7ec
mov eax, edx
pop esi
pop ebx
ret

Function at 0x56ca50
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 0x56ca9e
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.0056c044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56cab7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x56cac0
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.0056c044
dec esi
jne 0x56cae2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x56f6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0xb7a13c
cmp dword [edi], 0
jne 0x56f74c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0xb7a138]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0xacb80c
mov ecx, 2
call fcn.004a8930
mov edx, 0x56f6a8
lea eax, [esi + 5]
call fcn.0056f6c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0056f6c8
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 0x56f721
mov dword [0xb7a138], 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 0x5cc57c
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 0x5cc737
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004abb14
mov eax, dword [ebp - 4]
call fcn.005cbe5c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x5cc5ce
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004ac874
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.005cd1c8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5cc6ad
xor eax, eax
push ebp
push 0x5cc6a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005cc16c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.005cc76c
test al, al
je 0x5cc684
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004ab874
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x5cc684
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.004ac3f4
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.005cc0cc
test al, al
je 0x5cc67e
mov eax, dword [ebp - 8]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004ac458
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.005cc57c
dec ebx
cmp ebx, 0xffffffff
jne 0x5cc62d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cc6ad
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005cc16c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
cmp byte [0xb7a210], 0
je 0x5cc6ed
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.004ac3f4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005cc158
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.005cc0cc
mov ebx, eax
jmp 0x5cc714
mov eax, dword [ebp - 4]
call fcn.004ac3f4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005cc158
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.005cc0cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cc73e
lea eax, [ebp - 0x3c]
call fcn.004ab6ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004ab74c
ret
Function at 0x5cc7dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5cc894
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.005cc76c
test al, al
je 0x5cc876
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004ab874
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x5cc876
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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.004ac3f4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004ac458
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x5cc82f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cc89b
lea eax, [ebp - 0x2c]
call fcn.004ab6ec
lea eax, [ebp - 4]
call fcn.004ab6ec
ret

Function at 0x5cca50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5ccb08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.005cc76c
test al, al
je 0x5ccaea
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004ab874
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x5ccaea
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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.004ac3f4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004ac458
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x5ccaa3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ccb0f
lea eax, [ebp - 0x2c]
call fcn.004ab6ec
lea eax, [ebp - 4]
call fcn.004ab6ec
ret
Function at 0x5cd0a4
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.005cbe74
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.004ac3f4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.005cc0cc
test al, al
jne 0x5cd10c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xad59e4]
mov dl, 1
mov eax, dword [0x5cac40]
call fcn.004cbf64
call fcn.004aaebc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5cd118
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.004ac3f4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.005cc0cc
test al, al
jne 0x5cd179
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xad59dc]
mov dl, 1
mov eax, dword [0x5cac40]
call fcn.004cbf64
call fcn.004aaebc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005cbea4
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 0x5cd788
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 0x5cd8b0
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.005cc16c
xor eax, eax
push ebp
push 0x5cd88b
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.005cc76c
test al, al
je 0x5cd86f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005cd668
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004ab874
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x5cd86f
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.004ac3f4
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.005cc0cc
test al, al
je 0x5cd86b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004ac458
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005cd668
pop ecx
inc edi
dec ebx
jne 0x5cd813
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cd892
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.005cc16c
ret
Function at 0x5cd8c0
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 0x5cdb0e
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.005cc16c
xor eax, eax
push ebp
push 0x5cdae4
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.005cc76c
test al, al
je 0x5cdac8
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004ab874
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x5cdac8
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.004ac3f4
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.005cc0cc
test al, al
je 0x5cdabc
mov eax, dword [ebp - 4]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004ac458
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005cd1c8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5cdabc
xor eax, eax
push ebp
push 0x5cdab5
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.005cc16c
xor eax, eax
push ebp
push 0x5cda97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004ac458
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005cc170
mov eax, dword [ebp - 4]
call fcn.004ac3f4
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004ac458
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005cd1c8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5cda74
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.005cd788
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005cd8c0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cda7b
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x5cd94b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cdaeb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.005cc16c
ret
Function at 0x5d1d9c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4df760]
call fcn.004acc0c
xor eax, eax
push ebp
push 0x5d1f21
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xacbf8c], 0
jne 0x5d1df1
mov ecx, dword [0xad6150]
mov dl, 1
mov eax, dword [0x4bd7c4]
call fcn.004cbe94
call fcn.004aaebc
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004a92c0
mov eax, ebx
call fcn.004ac2b0
mov dword [ebp - 0x24], eax
mov esi, 0x5d1f30
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004af6f4
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x5d1e36
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x5d1e8b
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x5d1e84
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.004ac4e8
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x58]
mov ecx, 0x10
call fcn.004ac4ac
mov eax, dword [ebp - 0x60]
pop edx
call fcn.004c45b4
test eax, eax
jne 0x5d1e84
mov ebx, 0x15
jmp 0x5d1e90
mov ebx, 0x10
jmp 0x5d1e90
mov ebx, 0x15
xor eax, eax
push ebp
push 0x5d1ede
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0xad5bc0]
movzx eax, word [eax]
or ax, 8
call fcn.004a8c38
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [0xacbf8c]
call fcn.005d1bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1ee5
call fcn.004a8c28
ret

Function at 0x5dbcdc
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 0x5dbce2
ret