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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427999
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [esi], eax
test ebx, ebx
je 0x42797e
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004069b8
mov eax, dword [ebp - 4]
cmp word [eax], 0x22
je 0x4278a2
push 0x4279b8
push dword [ebp - 4]
push 0x4279b8
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407478
lea eax, [ebp - 8]
push eax
mov ecx, 0x4279c8
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0042add0
mov eax, dword [ebp - 8]
call fcn.00407200
mov ebx, eax
lea eax, [ebp - 0x58]
mov edx, 0x44
call fcn.0042a4b0
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x68]
mov edx, 0x10
call fcn.0042a4b0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42797e
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427977
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x42793a
call fcn.00405d98
jmp 0x42797e
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x427957
call fcn.00405d98
jmp 0x42797e
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42797e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4279a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret

Function at 0x427c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x427c2c
test al, 0x10
sete al
pop ebx
ret
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00407200
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x427cb4
push edi
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x427cb4
test edi, 1
je 0x427cb4
and edi, 0xfffffffe
push edi
mov eax, esi
call fcn.00407200
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x427cc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x427ce0
test eax, 0x10
seta al
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x428b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x428b9e
push ebp
call fcn.00428ac0
pop ecx
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_LoadResource
mov edi, eax
mov dword [ebx + 0x14], edi
test edi, edi
jne 0x428bb8
push ebp
call fcn.00428ac0
pop ecx
mov edi, ebx
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_SizeofResource
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x42a4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
add esp, 0xffffffc8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov edi, dword [esp + 4]
test edi, edi
jle 0x42a63b
mov eax, 0x42a648
mov dword [esp + 8], eax
movzx eax, word [esi]
mov edx, dword [esp + 8]
cmp ax, 0xff
ja 0x42a4f6
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0xc], al
cmp byte [esp + 0xc], 0
je 0x42a508
mov al, 1
jmp 0x42a530
mov eax, 0x42a668
mov dword [esp + 0x10], eax
movzx eax, word [esi]
mov edx, dword [esp + 0x10]
cmp ax, 0xff
ja 0x42a524
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0x14]
test al, al
je 0x42a538
mov dl, 1
jmp 0x42a59c
mov eax, 0x42a648
mov dword [esp + 0x18], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x18]
cmp ax, 0xff
ja 0x42a555
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x1c], al
cmp byte [esp + 0x1c], 0
je 0x42a56a
mov byte [esp + 0x25], 1
jmp 0x42a597
mov eax, 0x42a668
mov dword [esp + 0x20], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x20]
cmp ax, 0xff
ja 0x42a587
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x25], al
movzx edx, byte [esp + 0x25]
test dl, dl
jne 0x42a63b
mov eax, 0x42a688
mov dword [esp + 0x28], eax
movzx eax, word [esi]
mov edx, dword [esp + 0x28]
cmp ax, 0xff
ja 0x42a5c0
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x2c], al
cmp byte [esp + 0x2c], 0
jne 0x42a5d5
mov byte [esp + 0x35], 1
jmp 0x42a604
mov eax, 0x42a688
mov dword [esp + 0x30], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x30]
cmp ax, 0xff
ja 0x42a5f2
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x34], al
movzx eax, byte [esp + 0x34]
xor al, 1
mov byte [esp + 0x35], al
cmp byte [esp + 0x35], 0
jne 0x42a63b
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x59dee0]
shl eax, 4
movzx edx, byte [esi + 2]
movzx edx, word [edx*2 + 0x59dee0]
add al, dl
mov edx, dword [esp]
mov byte [edx], al
inc dword [esp]
add esi, 4
dec edi
test edi, edi
jg 0x42a4da
mov eax, dword [esp + 4]
sub eax, edi
add esp, 0x38
pop edi
pop esi
ret

Function at 0x436a90
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 0x436ab3
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret

Function at 0x436cf0
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 0x436d25
cmp dword [ebp - 0x108], 2
jne 0x436d25
cmp dword [ebp - 0x114], 6
jae 0x436d29
xor eax, eax
jmp 0x436d2b
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x436d40
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.0042a4b0
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.00407200
mov dword [ebp - 0x39], eax
mov eax, dword [ebp + 0xc]
call fcn.00407200
mov dword [ebp - 0x35], eax
mov eax, dword [ebp + 8]
call fcn.00407200
mov dword [ebp - 0x31], eax
mov dword [ebp - 0x2d], 1
mov eax, dword [ebp - 4]
call fcn.00407200
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 0x437970
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], 0x40
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.00407200
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00407200
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
call fcn.00407200
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
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x437a10
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.00437900
push eax
mov eax, dword [ebp + 0x10]
call fcn.00437900
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
mov eax, dword [ebp - 8]
call fcn.00407200
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 0x437b90
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 0x437c0e
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.004251d8
test al, al
je 0x437bf0
push ebp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00437b40
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00406970
push ebp
lea eax, [ebp - 0xc]
call fcn.00437aa0
pop ecx
jmp 0x437bf8
mov eax, dword [ebp - 8]
call fcn.004065ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437c15
lea eax, [ebp - 0x10]
call fcn.004065ac
ret

Function at 0x43adb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov esi, eax
mov byte [esp], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x43ade7
and ax, 0x3ff
xor ax, 0xdc00
mov word [ebp], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [esp], 1
jmp 0x43af19
lea edx, [esp + 1]
mov ecx, 1
mov eax, esi
call fcn.0043c4d0
test al, al
je 0x43af19
cmp byte [esp + 1], 0x80
jae 0x43ae18
movzx eax, byte [esp + 1]
mov word [ebp], ax
mov byte [esp], 1
jmp 0x43af19
mov edi, 1
movzx eax, byte [esp + 1]
mov dword [esi + 0x40034], eax
movzx eax, byte [esp + 1]
mov byte [esp + 2], al
mov bl, 0x40
movzx eax, byte [esp + 1]
and al, 0xc0
cmp al, 0xc0
jne 0x43af19
jmp 0x43aebb
lea edx, [esp + 1]
mov ecx, 1
mov eax, esi
call fcn.0043c4d0
test al, al
jne 0x43ae69
mov edx, 0x43af30
mov eax, esi
call fcn.0043c5b0
jmp 0x43af19
movzx eax, byte [esp + 1]
and al, 0xc0
cmp al, 0x80
je 0x43ae85
mov edx, 0x43af30
mov eax, esi
call fcn.0043c5b0
jmp 0x43af19
movzx eax, byte [esp + 1]
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 0x43aeb4
mov edx, 0x43af30
mov eax, esi
call fcn.0043c5b0
jmp 0x43af19
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [esp + 2], bl
jne 0x43ae44
mov eax, dword [edi*4 + 0x59e5e8]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x43aef0
mov eax, dword [edi*4 + 0x59e5e4]
cmp eax, dword [esi + 0x40034]
jb 0x43aef0
mov edx, 0x43af30
mov eax, esi
call fcn.0043c5b0
jmp 0x43af19
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x43af0a
shr eax, 0xa
add ax, 0xd7c0
mov word [ebp], ax
jmp 0x43af15
movzx eax, word [esi + 0x40034]
mov word [ebp], ax
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43d490
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x18]
xor ecx, ecx
mov edx, 0x40
call fcn.00404c5c
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
ret
Function at 0x442390
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 0x4423ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407200
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.00407200
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x442427
xor eax, eax
push ebp
push 0x442420
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407200
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 0x442427
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 0x442980
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
call fcn.00405340
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x4429aa
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.00442a30
test al, al
jne 0x4429aa
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.00442b80
lea eax, [esi + 0x1c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404fd4
lea eax, [esi + 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404fd4
test bl, bl
jle 0x4429e0
mov eax, esi
call fcn.004052e8
pop esi
pop ebx
ret

Function at 0x442b80
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
call fcn.00405340
mov ebx, edx
mov esi, eax
cmp dword [esi + 8], 0
je 0x442bca
cmp byte [esi + 0x18], 0
jne 0x442bca
mov eax, esi
call fcn.00442cf0
cmp byte [esi + 0xc], 0
je 0x442bc3
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.00442dc0
dec edi
jne 0x442bc3
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.00442d00
mov eax, dword [esi + 4]
test eax, eax
je 0x442bdc
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.00404fc4
mov eax, dword [esi + 0x14]
call fcn.00404fd4
test bl, bl
jle 0x442bfa
mov eax, esi
call fcn.004052e8
pop edi
pop esi
pop ebx
ret

Function at 0x442c00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x442c98
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x442c5c
cmp byte [ebx + 0x18], 0
jne 0x442c5c
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 0x442c7d
lea edx, [ebp - 4]
mov eax, dword [0x59fe80]
call fcn.00409f80
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x426778]
call fcn.00422810
call fcn.00405ca4
jmp 0x442c7d
lea edx, [ebp - 8]
mov eax, dword [0x59fe80]
call fcn.00409f80
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x426778]
call fcn.00422810
call fcn.00405ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442c9f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x444080
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x59e6ec], 0
jne 0x444135
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 [0x59e6e8]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x59e718
mov ecx, 2
call fcn.00404860
mov edx, 0x444030
mov eax, dword [ebp - 4]
add eax, 5
call fcn.00444050
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.00444050
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x59e6ec]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x59e6ec], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x4440ee
mov eax, dword [ebp - 4]
mov dword [0x59e6e8], eax
mov eax, dword [0x59e6ec]
mov dword [ebp - 0x10], eax
mov eax, dword [0x59e6ec]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x59e6ec], 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 0x4447e0
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 0x4449ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004069b8
cmp dword [ebp - 4], 0
je 0x444823
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x444823
xor eax, eax
jmp 0x444825
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x444840
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407608
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.00444c30
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x444920
xor edx, edx
push ebp
push 0x444919
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00445400
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00444ce0
test al, al
je 0x4448f7
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406718
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4448f7
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.00407200
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 0x4448f1
mov eax, dword [ebp - 8]
call fcn.00407200
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407258
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004447e0
dec ebx
cmp ebx, 0xffffffff
jne 0x44489f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444920
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00445400
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x59e71c], 0
je 0x444962
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.00407200
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444a20
push eax
call dword [0x59e71c]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x44498a
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444a20
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 0x4449b4
lea eax, [ebp - 0x3c]
call fcn.004065ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x444a40
Capabilities:
Query or enumerate 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 - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x444b0a
push dword fs:[eax]
mov dword fs:[eax], esp
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.00407200
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 0x444ac2
lea eax, [ebp - 0xc]
mov ecx, edi
mov edx, 0x444b28
call fcn.004073f0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, 0x444b58
call fcn.004365f0
xor eax, eax
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 8], 1
jne 0x444acf
mov al, 1
jmp 0x444aef
cmp dword [ebp - 8], 2
jne 0x444ad9
mov al, 2
jmp 0x444aef
cmp dword [ebp - 8], 4
jne 0x444ae3
mov al, 3
jmp 0x444aef
cmp dword [ebp - 8], 3
jne 0x444aed
mov al, 4
jmp 0x444aef
xor eax, eax
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b11
lea eax, [ebp - 0xc]
call fcn.004065ac
ret

Function at 0x444b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
xor ecx, ecx
mov edx, 8
call fcn.00404c5c
mov ebp, ebx
lea eax, [esi + 4]
push eax
push 0
lea eax, [esp + 8]
push eax
push 0
mov eax, edi
call fcn.00407200
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp + 0x1c], eax
test eax, eax
sete al
mov edx, eax
cmp dword [esp], 1
jne 0x444bcd
mov al, 1
jmp 0x444bed
cmp dword [esp], 2
jne 0x444bd7
mov al, 2
jmp 0x444bed
cmp dword [esp], 4
jne 0x444be1
mov al, 3
jmp 0x444bed
cmp dword [esp], 3
jne 0x444beb
mov al, 4
jmp 0x444bed
xor eax, eax
mov byte [esi], al
mov eax, edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret