joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e460
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov word [ebp - 0x12], dx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
mov dword [ebp - 8], eax
movzx edx, word [ebp - 0x12]
mov eax, dword [ebp - 0x10]
call fcn.0041d69c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42e54a
mov ax, word [ebp - 0x12]
and ax, 0xf
cmp ax, 2
jne 0x42e4b5
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x20], 1
jmp 0x42e4c3
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], 4
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42e4ea
push ebp
call fcn.0042e400
pop ecx
jmp 0x42e54a
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42e50f
push ebp
call fcn.0042e400
pop ecx
jmp 0x42e54a
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x42e52c
push ebp
call fcn.0042e400
pop ecx
jmp 0x42e54a
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x42e1bc]
call fcn.0042e9b0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x42efa0
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 0x42f109
lea eax, [ebp - 0x248]
mov edx, 0x228
call fcn.0042b000
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 0x42f110
mov eax, dword [0x5e0168]
mov eax, dword [eax]
push eax
call fcn.0040b470
mov dword [ebp - 0x232], eax
push 0x42f12c
mov eax, dword [0x5e0168]
mov eax, dword [eax]
push eax
call fcn.0040b470
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 0x42f08c
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 0x42f109
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 0x42f109
xor eax, eax
push ebp
push 0x42f102
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 0x42f109
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 0x42f150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x42f1ec
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 0x42f1ec
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 0x42f1ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x42f1ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x18], 0x10b
jne 0x42f1ec
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 0x430130
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 0x430198
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x430198
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x430198
mov eax, dword [ebp - 4]
call fcn.0042e310
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e330
mov dword [ebp - 8], eax
push 0xf8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430193
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x430198
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4301a0
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 0x430208
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x430208
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x430208
mov eax, dword [ebp - 4]
call fcn.0042e310
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e330
mov dword [ebp - 8], eax
push 0x108
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430203
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x430208
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x43fbf0
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 0x43fc13
mov eax, dword [ebp - 8]
call fcn.00407214
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret
Function at 0x43fe60
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 0x43fe95
cmp dword [ebp - 0x108], 2
jne 0x43fe95
cmp dword [ebp - 0x114], 6
jae 0x43fe99
xor eax, eax
jmp 0x43fe9b
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x43feb0
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 - 0x4c]
mov edx, 0x3c
call fcn.0042b000
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], pe_nt_image_headers32
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
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 + 8]
call fcn.00407214
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 4]
call fcn.00407214
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
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 0x440a80
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 - 0x4c]
mov edx, 0x3c
call fcn.0042b000
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x500
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
cmp dword [ebp - 0xc], 0
je 0x440ad1
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0xc], 0
je 0x440ae2
mov eax, dword [ebp + 0xc]
call fcn.00407214
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x440b00
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 - 0x4c]
mov edx, 0x3c
call fcn.0042b000
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x540
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
cmp dword [ebp - 0xc], 0
je 0x440b51
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
je 0x440b62
mov eax, dword [ebp + 0x10]
call fcn.00407214
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 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 0x440b86
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x440b8e
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 0x440cd0
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 0x440d4e
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.004257c0
test al, al
je 0x440d30
push ebp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00440c80
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004069d4
push ebp
lea eax, [ebp - 0xc]
call fcn.00440be0
pop ecx
jmp 0x440d38
mov eax, dword [ebp - 8]
call fcn.00406610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440d55
lea eax, [ebp - 0x10]
call fcn.00406610
ret
Function at 0x444430
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 0x44446e
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 0x44459b
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445800
test al, al
je 0x44459b
cmp byte [ebp - 6], 0x80
jae 0x44449e
movzx eax, byte [ebp - 6]
mov edx, dword [ebp - 4]
mov word [edx], ax
mov byte [ebp - 5], 1
jmp 0x44459b
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 0x44459b
jmp 0x44453a
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445800
test al, al
jne 0x4444ea
mov edx, 0x4445b4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44459b
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0x80
je 0x444505
mov edx, 0x4445b4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44459b
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 0x444533
mov edx, 0x4445b4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44459b
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [ebp - 7], bl
jne 0x4444c6
mov eax, dword [edi*4 + 0x5dd598]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x44456e
mov eax, dword [edi*4 + 0x5dd594]
cmp eax, dword [esi + 0x40034]
jb 0x44456e
mov edx, 0x4445b4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44459b
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44458a
shr eax, 0xa
add ax, 0xd7c0
mov edx, dword [ebp - 4]
mov word [edx], ax
jmp 0x444597
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 0x446cb0
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 0x44bbf0
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 0x44bc1a
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 0x44bc87
xor eax, eax
push ebp
push 0x44bc80
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 0x44bc87
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 0x44c1e0
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 0x44c20d
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.0044c290
test al, al
jne 0x44c20d
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.0044c3e0
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 0x44c243
mov eax, esi
call fcn.0040534c
pop esi
pop ebx
pop ebp
ret

Function at 0x44c3e0
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 0x44c42d
cmp byte [esi + 0x18], 0
jne 0x44c42d
mov eax, esi
call fcn.0044c560
cmp byte [esi + 0xc], 0
je 0x44c426
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.0044c650
dec edi
jne 0x44c426
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.0044c570
mov eax, dword [esi + 4]
test eax, eax
je 0x44c43f
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 0x44c45d
mov eax, esi
call fcn.0040534c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44c470
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c508
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44c4cc
cmp byte [ebx + 0x18], 0
jne 0x44c4cc
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 0x44c4ed
lea edx, [ebp - 4]
mov eax, dword [0x5e00dc]
call fcn.00409f60
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x426e3c]
call fcn.00422ae8
call fcn.00405d08
jmp 0x44c4ed
lea edx, [ebp - 8]
mov eax, dword [0x5e00dc]
call fcn.00409f60
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x426e3c]
call fcn.00422ae8
call fcn.00405d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c50f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret
Function at 0x44d930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x5dd69c], 0
jne 0x44d9e5
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 [0x5dd698]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x5dd6c8
mov ecx, 2
call fcn.00404860
mov edx, 0x44d8e0
mov eax, dword [ebp - 4]
add eax, 5
call fcn.0044d900
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.0044d900
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5dd69c]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x5dd69c], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x44d99e
mov eax, dword [ebp - 4]
mov dword [0x5dd698], eax
mov eax, dword [0x5dd69c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5dd69c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x5dd69c], 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 0x44e0a0
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 0x44e26d
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 0x44e0e3
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x44e0e3
xor eax, eax
jmp 0x44e0e5
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44e100
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.0044e440
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44e1e0
xor edx, edx
push ebp
push 0x44e1d9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044ec70
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044e4f0
test al, al
je 0x44e1b7
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 0x44e1b7
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 0x44e1b1
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.0044e0a0
dec ebx
cmp ebx, 0xffffffff
jne 0x44e15f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e1e0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044ec70
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x5dd6cc], 0
je 0x44e222
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.0044e2e0
push eax
call dword [0x5dd6cc]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x44e24a
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.0044e2e0
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 0x44e274
lea eax, [ebp - 0x3c]
call fcn.00406610
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret