joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48eea0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48f04b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48f02c
mov dl, 1
mov eax, dword [0x417bc0]
call fcn.0040337c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48f01b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047c7f4
test al, al
je 0x48f00e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x48f05c
lea eax, [ebp - 0x254]
call fcn.00409da8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48f00e
xor eax, eax
push ebp
push 0x48f007
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x48f094
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48eff0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x48eff0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f00e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48ef11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ccb4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f052
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

Function at 0x48f980
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x55ac18]
cmp byte [eax + 0xa5], 0
jne 0x48f9f1
cmp dword [0x55ac30], 0
jne 0x48f9b2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48f93c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55ac30], eax
cmp dword [0x55ac2c], 0
jne 0x48f9cd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x55ac2c], eax
cmp dword [0x55ac34], 0
jne 0x48f9f1
push esp
push 0
push 0
push 0x48f8e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55ac34], eax
pop edx
ret
Function at 0x48fb18
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48fb2f
add esp, 0xfffffff0
call fcn.00403710
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004233ac
mov eax, dword [0x559608]
cmp word [eax + 2], 0
jne 0x48fb57
mov eax, dword [0x559608]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00491298
mov eax, dword [0x559874]
cmp word [eax + 2], 0
jne 0x48fb71
mov eax, dword [0x559874]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00491490
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41755c]
call fcn.0040337c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41755c]
call fcn.0040337c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425f98]
call fcn.0042dad0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48fcf8
mov eax, dword [0x559384]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042dea0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x491a40
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x559384]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040db70
test eax, eax
je 0x48fc66
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409788
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040db98
test eax, eax
je 0x48fc7a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404450
mov eax, dword [0x558f60]
cmp byte [eax], 0
jne 0x48fcae
mov eax, ebx
call fcn.0048fe20
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00491c1c
mov eax, ebx
call fcn.004925e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48fcee
call fcn.00403768
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4900a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55ac18]
cmp dword [eax + 0x30], 0
je 0x49014a
cmp dword [ebx + 0x94], 0
jne 0x490144
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x490030
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x490144
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x49010a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x490144
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a024
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x490119
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x490cac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x490ce1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042d0
jmp 0x490cee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x491df8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x491e39
mov eax, esi
call fcn.00477d78
test al, al
je 0x491e39
mov eax, dword [ebx + 0x84]
call fcn.00477a74
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x491e39
push 0
mov eax, dword [ebx + 0x84]
call fcn.00477a74
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x496b00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x496b2e
mov eax, ebx
call fcn.004975b4
cmp dword [ebx + 0x40], 0
je 0x496b27
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x496b9f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x496b91
cmp dword [ebx + 8], 0
je 0x496b50
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x496b62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x496b91
cmp dword [ebx + 8], 0
je 0x496b43
cmp eax, 3
je 0x496b75
dec eax
jne 0x496b43
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x496b43
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x496b43
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x496bbd
cmp dword [ebx + 0x14], 0xcc
je 0x496bbd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00496bc8
pop ebx
ret
Function at 0x4a7860
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 - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a79c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404278
mov eax, dword [ebp - 0x10]
call fcn.004a7288
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4a78b2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404740
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a7efc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a7987
xor eax, eax
push ebp
push 0x4a7980
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004a74dc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004a79f8
test al, al
je 0x4a795e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004042d0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4a795e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004046a0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4a7958
mov eax, dword [ebp - 0x14]
call fcn.004046a0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004043d8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004a7860
dec ebx
cmp ebx, 0xffffffff
jne 0x4a7911
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7987
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a74dc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004046a0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004a74c8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a79d0
lea eax, [ebp - 0x3c]
call fcn.004041e0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404204
ret
Function at 0x4a7987
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a79c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404278
mov eax, dword [ebp - 0x10]
call fcn.004a7288
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4a78b2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404740
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a7efc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a7987
xor eax, eax
push ebp
push 0x4a7980
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004a74dc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004a79f8
test al, al
je 0x4a795e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004042d0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4a795e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004046a0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4a7958
mov eax, dword [ebp - 0x14]
call fcn.004046a0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004043d8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004a7860
dec ebx
cmp ebx, 0xffffffff
jne 0x4a7911
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7987
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a74dc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004046a0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004a74c8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a79d0
lea eax, [ebp - 0x3c]
call fcn.004041e0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404204
ret

Function at 0x4a79f8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402d20
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x559ce8]
cmp byte [edx + 0xc], 0
je 0x4a7a5c
mov edx, dword [0x559cbc]
cmp dword [edx], 2
jne 0x4a7a5c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x4a7a60
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 - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a7b18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004a79f8
test al, al
je 0x4a7afa
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004042d0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4a7afa
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004046a0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004046a0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004043d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4a7ab3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7b1f
lea eax, [ebp - 0x2c]
call fcn.004041e0
lea eax, [ebp - 0xc]
call fcn.004041e0
ret

Function at 0x4a7b28
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 - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a7be0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004a79f8
test al, al
je 0x4a7bc2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004042d0
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4a7bc2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004046a0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.004046a0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004043d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4a7b7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7be7
lea eax, [ebp - 0x2c]
call fcn.004041e0
lea eax, [ebp - 0xc]
call fcn.004041e0
ret
Function at 0x4a7e10
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
mov al, byte [ebp + 8]
call fcn.004a729c
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.004046a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4a7e6e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x559664]
mov dl, 1
mov eax, dword [0x4a7194]
call fcn.0040cd98
call fcn.00403b78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a7e78
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.004046a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a7ed0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x559cfc]
mov dl, 1
mov eax, dword [0x4a7194]
call fcn.0040cd98
call fcn.00403b78
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004a72cc
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 0x4ae848
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.0040733c
ret
Function at 0x4b7244
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4b724c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b743e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b7454
mov eax, esi
call fcn.004b4fc0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404234
lea ecx, [ebp - 0x10]
mov edx, 0x4b7468
mov eax, esi
call fcn.004b4fc0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404234
lea ecx, [ebp - 0x14]
mov edx, 0x4b7480
mov eax, esi
call fcn.004b4fc0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404234
lea ecx, [ebp - 0x18]
mov edx, 0x4b749c
mov eax, esi
call fcn.004b4fc0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404234
lea ecx, [ebp - 0x1c]
mov edx, 0x4b74b8
mov eax, esi
call fcn.004b4fc0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404234
lea ecx, [ebp - 0x24]
mov edx, 0x4b74d0
mov eax, esi
call fcn.004b4fc0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040888c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ef8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b74e8
mov eax, esi
call fcn.004b4fc0
mov eax, dword [ebp - 0x28]
call fcn.004ad83c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b74f8
mov eax, esi
call fcn.004b4fc0
mov eax, dword [ebp - 0x2c]
call fcn.004ad83c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b7510
mov eax, esi
call fcn.004b4fc0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ef8
inc eax
je 0x4b73e1
lea ecx, [ebp - 0x34]
mov edx, 0x4b7510
mov eax, esi
call fcn.004b4fc0
mov eax, dword [ebp - 0x34]
call fcn.00408ebc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040aa80
fstp qword [ebp - 0x3c]
wait
call fcn.0040ae80
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b73fc
lea ecx, [ebp - 0x40]
mov edx, 0x4b7510
mov eax, esi
call fcn.004b4fc0
mov eax, dword [ebp - 0x40]
call fcn.004ad83c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b7520
mov eax, esi
call fcn.004b4fc0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7445
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404204
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404204
ret
Function at 0x4c2170
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x5578fc]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x5578fc]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5578fc]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5578fc]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x557480]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x4c219b
add esp, 0xc
pop edi
pop esi
pop ebx
ret