joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42efd0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
push 0x40
push 0x1000
push 0x228
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f139
lea eax, [ebp - 0x248]
mov edx, 0x228
call fcn.0042b030
mov byte [ebp - 0x248], 0x68
mov eax, dword [ebp - 4]
add eax, 0x1e
mov dword [ebp - 0x247], eax
mov word [ebp - 0x243], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x16
mov dword [ebp - 0x241], eax
mov byte [ebp - 0x23d], 0x68
xor eax, eax
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x1a
mov dword [ebp - 0x236], eax
push 0x42f140
mov eax, dword [0x5de26c]
mov eax, dword [eax]
push eax
call fcn.0040b48c
mov dword [ebp - 0x232], eax
push 0x42f15c
mov eax, dword [0x5de26c]
mov eax, dword [eax]
push eax
call fcn.0040b48c
mov dword [ebp - 0x22e], eax
mov eax, dword [ebp - 0xc]
call fcn.00406ae4
add eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x42f0bc
mov eax, dword [ebp - 0xc]
call fcn.00407214
lea edx, [ebp - 0x22a]
mov ecx, dword [ebp - 0x14]
call fcn.00404860
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x228
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x42f139
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42f139
xor eax, eax
push ebp
push 0x42f132
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f139
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x42f180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x42f21c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
jne 0x42f21c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3c]
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0x4550
jne 0x42f21c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x42f21c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x18], 0x10b
jne 0x42f21c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 4], eax
pop ecx
pop ebp
ret

Function at 0x430160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4301c8
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x4301c8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4301c8
mov eax, dword [ebp - 4]
call fcn.0042e340
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e360
mov dword [ebp - 8], eax
push 0xf8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4301c3
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x4301c8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4301d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430238
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x430238
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x430238
mov eax, dword [ebp - 4]
call fcn.0042e340
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e360
mov dword [ebp - 8], eax
push 0x108
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430233
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x430238
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x43ffc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x11], 0
je 0x43ffe3
mov eax, dword [ebp - 8]
call fcn.00407214
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret
Function at 0x440230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x440265
cmp dword [ebp - 0x108], 2
jne 0x440265
cmp dword [ebp - 0x114], 6
jae 0x440269
xor eax, eax
jmp 0x44026b
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x440280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x49]
mov edx, 0x3c
call fcn.0042b030
mov dword [ebp - 0x49], 0x3c
xor eax, eax
mov dword [ebp - 0x45], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x41], eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x39], eax
mov eax, dword [ebp + 0xc]
call fcn.00407214
mov dword [ebp - 0x35], eax
mov eax, dword [ebp + 8]
call fcn.00407214
mov dword [ebp - 0x31], eax
mov dword [ebp - 0x2d], 1
mov eax, dword [ebp - 4]
call fcn.00407214
mov dword [ebp - 0x3d], eax
lea eax, [ebp - 0x49]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x440ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x440
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.00407214
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00407214
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
call fcn.00407214
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
cmp dword [ebp - 0x2c], 0x20
jbe 0x440f53
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x440f5b
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x440f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00440e50
push eax
mov eax, dword [ebp + 0x10]
call fcn.00440e50
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
push eax
mov eax, dword [ebp - 8]
call fcn.00407214
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4410f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44116e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004257f0
test al, al
je 0x441150
push ebp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004410a0
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004069d4
push ebp
lea eax, [ebp - 0xc]
call fcn.00441000
pop ecx
jmp 0x441158
mov eax, dword [ebp - 8]
call fcn.00406610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441175
lea eax, [ebp - 0x10]
call fcn.00406610
ret

Function at 0x444850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44488e
and ax, 0x3ff
xor ax, 0xdc00
mov edx, dword [ebp - 4]
mov word [edx], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [ebp - 5], 1
jmp 0x4449bb
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445c20
test al, al
je 0x4449bb
cmp byte [ebp - 6], 0x80
jae 0x4448be
movzx eax, byte [ebp - 6]
mov edx, dword [ebp - 4]
mov word [edx], ax
mov byte [ebp - 5], 1
jmp 0x4449bb
mov edi, 1
movzx eax, byte [ebp - 6]
mov dword [esi + 0x40034], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 7], al
mov bl, 0x40
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0xc0
jne 0x4449bb
jmp 0x44495a
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445c20
test al, al
jne 0x44490a
mov edx, 0x4449d4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4449bb
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0x80
je 0x444925
mov edx, 0x4449d4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4449bb
movzx eax, byte [ebp - 6]
and al, 0x3f
movzx eax, al
mov edx, dword [esi + 0x40034]
shl edx, 6
or eax, edx
mov dword [esi + 0x40034], eax
inc edi
cmp edi, 6
jle 0x444953
mov edx, 0x4449d4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4449bb
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [ebp - 7], bl
jne 0x4448e6
mov eax, dword [edi*4 + 0x5db6a0]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x44498e
mov eax, dword [edi*4 + 0x5db69c]
cmp eax, dword [esi + 0x40034]
jb 0x44498e
mov edx, 0x4449d4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4449bb
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x4449aa
shr eax, 0xa
add ax, 0xd7c0
mov edx, dword [ebp - 4]
mov word [edx], ax
jmp 0x4449b7
mov eax, dword [ebp - 4]
movzx edx, word [esi + 0x40034]
mov word [eax], dx
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4470d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x18]
xor ecx, ecx
mov edx, 0x40
call fcn.00404cb8
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret

Function at 0x44bff0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x44c01a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407214
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegDeleteKeyW
pop ecx
pop ebp
ret
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407214
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x44c087
xor eax, eax
push ebp
push 0x44c080
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407214
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c087
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop ecx
pop ebp
ret
Function at 0x44c5e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
call fcn.004053a4
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x44c60d
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.0044c690
test al, al
jne 0x44c60d
push 1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.0044c7e0
lea eax, [esi + 0x1c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405038
lea eax, [esi + 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405038
test bl, bl
jle 0x44c643
mov eax, esi
call fcn.0040534c
pop esi
pop ebx
pop ebp
ret

Function at 0x44c7e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.004053a4
mov ebx, edx
mov esi, eax
cmp dword [esi + 8], 0
je 0x44c82d
cmp byte [esi + 0x18], 0
jne 0x44c82d
mov eax, esi
call fcn.0044c960
cmp byte [esi + 0xc], 0
je 0x44c826
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov edi, eax
test edi, edi
setge dl
mov eax, esi
call fcn.0044ca50
dec edi
jne 0x44c826
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.0044c970
mov eax, dword [esi + 4]
test eax, eax
je 0x44c83f
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 4], eax
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.00405028
mov eax, dword [esi + 0x14]
call fcn.00405038
test bl, bl
jle 0x44c85d
mov eax, esi
call fcn.0040534c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44c870
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c908
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44c8cc
cmp byte [ebx + 0x18], 0
jne 0x44c8cc
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x44c8ed
lea edx, [ebp - 4]
mov eax, dword [0x5de1dc]
call fcn.00409fac
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x426e6c]
call fcn.00422b08
call fcn.00405d08
jmp 0x44c8ed
lea edx, [ebp - 8]
mov eax, dword [0x5de1dc]
call fcn.00409fac
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x426e6c]
call fcn.00422b08
call fcn.00405d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c90f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret
Function at 0x44dd20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x5db7a4], 0
jne 0x44ddd5
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x5db7a0]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x5db7d0
mov ecx, 2
call fcn.00404860
mov edx, 0x44dcd0
mov eax, dword [ebp - 4]
add eax, 5
call fcn.0044dcf0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 6], edx
mov eax, dword [ebp - 4]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe8
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0044dcf0
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5db7a4]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x5db7a4], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x44dd8e
mov eax, dword [ebp - 4]
mov dword [0x5db7a0], eax
mov eax, dword [0x5db7a4]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5db7a4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x5db7a4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x44e490
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x44e65d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406a1c
cmp dword [ebp - 4], 0
je 0x44e4d3
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x44e4d3
xor eax, eax
jmp 0x44e4d5
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44e4f0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040761c
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.0044e830
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44e5d0
xor edx, edx
push ebp
push 0x44e5c9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044f060
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044e8e0
test al, al
je 0x44e5a7
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040677c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44e5a7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407214
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
je 0x44e5a1
mov eax, dword [ebp - 8]
call fcn.00407214
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040726c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044e490
dec ebx
cmp ebx, 0xffffffff
jne 0x44e54f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e5d0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044f060
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x5db7d4], 0
je 0x44e612
mov ebx, dword [ebp - 0xc]
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00407214
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044e6d0
push eax
call dword [0x5db7d4]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x44e63a
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00407214
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044e6d0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e664
lea eax, [ebp - 0x3c]
call fcn.00406610
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret
Function at 0x44e6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov esi, ebx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.00407214
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
jne 0x44e73c
xor eax, eax
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 8], 1
jne 0x44e749
mov al, 1
jmp 0x44e769
cmp dword [ebp - 8], 2
jne 0x44e753
mov al, 2
jmp 0x44e769
cmp dword [ebp - 8], 4
jne 0x44e75d
mov al, 3
jmp 0x44e769
cmp dword [ebp - 8], 3
jne 0x44e767
mov al, 4
jmp 0x44e769
xor eax, eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov eax, edx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44e780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, esi
xor ecx, ecx
mov edx, 8
call fcn.00404cb8
mov edi, ebx
lea eax, [esi + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407214
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov edx, eax
cmp dword [ebp - 8], 1
jne 0x44e7d2
mov al, 1
jmp 0x44e7f2
cmp dword [ebp - 8], 2
jne 0x44e7dc
mov al, 2
jmp 0x44e7f2
cmp dword [ebp - 8], 4
jne 0x44e7e6
mov al, 3
jmp 0x44e7f2
cmp dword [ebp - 8], 3
jne 0x44e7f0
mov al, 4
jmp 0x44e7f2
xor eax, eax
mov byte [esi], al
mov eax, edx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44ee00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44eec1
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x44ee3a
dec al
je 0x44ee41
dec al
je 0x44ee48
dec al
je 0x44ee4f
jmp 0x44ee56
mov eax, 1
jmp 0x44ee58
mov eax, 2
jmp 0x44ee58
mov eax, 4
jmp 0x44ee58
mov eax, 3
jmp 0x44ee58
xor eax, eax
mov esi, eax
mov edi, ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00407214
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
test bl, bl
jne 0x44eeab
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x44eee0
call fcn.00407404
mov edx, dword [ebp - 0xc]
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
mov ecx, 0x44ef00
call fcn.0043fb20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eec8
lea eax, [ebp - 0xc]
call fcn.00406610
ret