joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c24f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x4e8418
call fcn.0049c448
mov word [ebp - 0x18], 8
push 0x28
call fcn.0049b6f8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4c253c
mov word [ebp - 0x18], 0x20
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004126a0
add esp, 8
mov word [ebp - 0x18], 0x14
mov ecx, dword [ebp - 4]
jmp 0x4c253f
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 4], ecx
mov edx, dword [ebx]
xor eax, eax
mov dword [edx], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 8], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xc], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x14], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x18], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x1c], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x20], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x24], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x28], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x2c], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x30], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x34], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x3c], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x40], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x44], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x48], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x4c], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x50], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x54], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x58], eax
mov edx, dword [ebx]
mov dword [edx + 0x5c], 0x280
mov ecx, dword [ebx]
mov dword [ecx + 0x60], 0x1f4
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c2e28
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
lea eax, [ebp - 4]
push eax
push 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.ADVAPI32.DLL_OpenProcessToken
test eax, eax
je 0x4c2e7f
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x10]
push edx
push str.SeDebugPrivilege
push 0
call sub.ADVAPI32.DLL_LookupPrivilegeValueA
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_CloseHandle
mov esp, ebp
pop ebp
ret
Function at 0x4c31c8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
mov eax, 0x4e8514
push ebx
push esi
push edi
call fcn.0049c448
xor edx, edx
lea ecx, [ebp - 0x2d]
mov dword [ebp - 0x2c], edx
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004c2e84
add esp, 8
test al, al
jne 0x4c3209
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4c33a0
mov ecx, dword [ebp + 0xc]
push ecx
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4c3393
mov dword [ebp - 0x254], 0x224
lea eax, [ebp - 0x254]
push eax
push esi
call sub.KERNEL32.DLL_Module32First
test eax, eax
setne al
and eax, 1
test al, al
je 0x4c3294
push 0xc
call fcn.0049b6f8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4c326c
mov word [ebp - 0x18], 0x14
mov edx, dword [ebp - 4]
push edx
call fcn.004129a8
pop ecx
mov word [ebp - 0x18], 8
mov ecx, dword [ebp - 4]
jmp 0x4c326f
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x254]
push eax
push esi
call sub.KERNEL32.DLL_Module32Next
test eax, eax
setne al
and eax, 1
cmp dword [ebp + 0x10], 0
je 0x4c3294
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [edx], ecx
test al, al
je 0x4c338d
push 0x228
call fcn.0049b6f8
pop ecx
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004129e8
mov edx, dword [ebp - 0x254]
add esp, 8
mov dword [ebx], edx
lea edi, [ebp - 0x234]
mov ecx, dword [ebp - 0x250]
mov dword [ebx + 4], ecx
mov eax, dword [ebp - 0x24c]
mov dword [ebx + 8], eax
mov edx, dword [ebp - 0x248]
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 0x244]
mov dword [ebx + 0x10], ecx
mov eax, dword [ebp - 0x240]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x23c]
mov dword [ebx + 0x18], edx
mov ecx, dword [ebp - 0x238]
mov dword [ebx + 0x1c], ecx
push esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea edi, [ebx + 0x120]
push esi
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x134]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp + 0x10]
push eax
push edi
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
call fcn.00492878
add esp, 0xc
mov dword [ebx + 0x224], eax
lea eax, [ebp - 0x254]
push eax
push esi
call sub.KERNEL32.DLL_Module32Next
test eax, eax
setne al
and eax, 1
test al, al
jne 0x4c329c
push esi
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c343c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x4e8544
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
call fcn.0049c448
test esi, esi
je 0x4c3543
push 0xc
call fcn.0049b6f8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4c3484
mov word [ebp - 0x18], 0x14
mov edx, dword [ebp - 4]
push edx
call fcn.004a8d94
pop ecx
mov word [ebp - 0x18], 8
mov ecx, dword [ebp - 4]
jmp 0x4c3487
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
push esi
call fcn.004a8ee0
pop ecx
mov dword [ebp - 0x30], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x30]
jge 0x4c34f6
lea eax, [ebp - 0x34]
push eax
push ebx
push esi
call fcn.004a8e74
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov edi, eax
test edi, edi
je 0x4c34e0
push 0xfffffffffffffff7
push edi
call sub.KERNEL32.DLL_TerminateProcess
test eax, eax
je 0x4c34d8
mov eax, dword [ebp - 0x34]
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a8df0
add esp, 8
push edi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4c34f0
mov ecx, dword [ebp - 0x34]
push ecx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004a8df0
add esp, 8
inc ebx
cmp ebx, dword [ebp - 0x30]
jl 0x4c349b
push esi
call fcn.004a8ea8
pop ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a8ee0
pop ecx
mov dword [ebp - 0x30], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x30]
jge 0x4c3535
lea eax, [ebp - 0x34]
push eax
push ebx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a8e74
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
push esi
call fcn.004a8df0
add esp, 8
inc ebx
cmp ebx, dword [ebp - 0x30]
jl 0x4c3511
push 3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004a8f40
add esp, 8
mov eax, esi
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c4e6c
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
call fcn.004c4540
pop ecx
test eax, eax
je 0x4c4ed5
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov esi, eax
test esi, esi
je 0x4c4ed5
push 0x24
mov eax, dword [ebp + 0xc]
push eax
push esi
call sub.ADVAPI32.DLL_OpenServiceA
mov edi, eax
test edi, edi
je 0x4c4ecf
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.ADVAPI32.DLL_QueryServiceStatus
cmp dword [ebp - 0x18], 4
jne 0x4c4ec9
lea edx, [ebp - 0x1c]
push edx
push 1
push edi
call sub.ADVAPI32.DLL_ControlService
mov ebx, eax
push edi
call sub.ADVAPI32.DLL_CloseServiceHandle
push esi
call sub.ADVAPI32.DLL_CloseServiceHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4ee0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
call fcn.004c4540
pop ecx
test eax, eax
je 0x4c4f4f
push 1
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov esi, eax
test esi, esi
je 0x4c4f4f
push 0xf01ff
mov eax, dword [ebp + 0xc]
push eax
push esi
call sub.ADVAPI32.DLL_OpenServiceA
mov edi, eax
test edi, edi
je 0x4c4f49
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.ADVAPI32.DLL_QueryServiceStatus
cmp dword [ebp - 0x18], 4
jne 0x4c4f3b
lea edx, [ebp - 0x1c]
push edx
push 1
push edi
call sub.ADVAPI32.DLL_ControlService
push edi
call sub.ADVAPI32.DLL_DeleteService
mov ebx, eax
push edi
call sub.ADVAPI32.DLL_CloseServiceHandle
push esi
call sub.ADVAPI32.DLL_CloseServiceHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4f58
Capabilities:
Modify service
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
call fcn.004c4540
pop ecx
test eax, eax
je 0x4c4ff0
push 1
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov esi, eax
test esi, esi
je 0x4c4ff0
push 0xf01ff
mov eax, dword [ebp + 0xc]
push eax
push esi
call sub.ADVAPI32.DLL_OpenServiceA
mov edi, eax
test edi, edi
je 0x4c4fea
xor eax, eax
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
push edx
push 0
push 0
push edi
call sub.ADVAPI32.DLL_QueryServiceConfigA
mov ecx, dword [ebp - 8]
push ecx
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
push edi
call sub.ADVAPI32.DLL_ChangeServiceConfigA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LocalFree
push edi
call sub.ADVAPI32.DLL_CloseServiceHandle
push esi
call sub.ADVAPI32.DLL_CloseServiceHandle
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4c5ff8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
test edi, edi
je 0x4c6084
push edi
mov eax, dword [esi + 4]
push eax
call fcn.004137fc
add esp, 8
mov dword [ebp - 8], eax
push edi
mov edx, dword [esi + 4]
push edx
call fcn.004138cc
add esp, 8
mov edi, eax
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp - 8]
push eax
push esi
call fcn.004c5e3c
add esp, 0xc
test al, al
je 0x4c6073
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
push eax
push 0
push edi
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
lea eax, [ebp - 4]
sete bl
push eax
push esi
and ebx, 1
call fcn.004c5f24
add esp, 8
mov edx, dword [ebp - 8]
push edx
call fcn.0049b6d4
pop ecx
push edi
call fcn.0049b6d4
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c6090
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
xor edx, edx
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
mov byte [ebp - 0xd], 0
push ecx
push edi
push esi
call fcn.004c5e3c
add esp, 0xc
test al, al
je 0x4c6164
push edi
call fcn.0049c15c
pop ecx
mov dword [ebp - 8], eax
jmp 0x4c6140
lea eax, [ebp - 0x114]
push eax
call fcn.0049c15c
pop ecx
add eax, dword [ebp - 8]
add eax, 2
push eax
call fcn.0049b898
mov ebx, eax
pop ecx
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, ebx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4e8c20
push ebx
call fcn.0049c120
add esp, 8
lea eax, [ebp - 0x114]
push eax
push ebx
call fcn.0049c120
add esp, 8
push ebx
push esi
call fcn.004c6090
add esp, 8
push ebx
call fcn.0049b6d4
pop ecx
push 0x104
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyA
cmp eax, 0x103
jne 0x4c60d2
lea edx, [ebp - 4]
push edx
push esi
call fcn.004c5f24
add esp, 8
push edi
mov ecx, dword [esi + 4]
push ecx
call fcn.004137fc
add esp, 8
mov ebx, eax
push edi
mov eax, dword [esi + 4]
push eax
call fcn.004138cc
add esp, 8
mov edi, eax
lea edx, [ebp - 4]
push edx
push ebx
push esi
call fcn.004c5e3c
add esp, 0xc
test al, al
je 0x4c61b6
push edi
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
sete al
and eax, 1
mov byte [ebp - 0xd], al
lea edx, [ebp - 4]
push edx
push esi
call fcn.004c5f24
add esp, 8
push ebx
call fcn.0049b6d4
pop ecx
push edi
call fcn.0049b6d4
pop ecx
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c61dc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.004c5e3c
add esp, 0xc
test al, al
je 0x4c6214
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegDeleteValueA
test eax, eax
sete bl
and ebx, 1
lea eax, [ebp - 4]
push eax
push esi
call fcn.004c5f24
add esp, 8
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4c6228
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 9], 0
push edi
mov ecx, dword [ebx + 4]
push ecx
call fcn.004137fc
add esp, 8
mov esi, eax
push edi
mov eax, dword [ebx + 4]
push eax
call fcn.004138cc
add esp, 8
mov edi, eax
lea edx, [ebp - 4]
push edx
push esi
push ebx
call fcn.004c5e3c
add esp, 0xc
test al, al
je 0x4c629a
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 8]
push ecx
push edi
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
sete dl
and edx, 1
mov byte [ebp - 9], dl
lea ecx, [ebp - 4]
push ecx
push ebx
call fcn.004c5f24
add esp, 8
push esi
call fcn.0049b6d4
pop ecx
push edi
call fcn.0049b6d4
pop ecx
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c6970
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4c69b6
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyA
cmp eax, 0x103
setne bl
and ebx, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret

Function at 0x4c6a40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00414b04
cmp dword [edi + 0x10], 0
pop ecx
je 0x4c6ac0
jmp 0x4c6aa3
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [edi + 0x10]
push ecx
push edi
call fcn.004c6970
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
call fcn.0049c15c
pop ecx
mov byte [ebp + eax - 0x104], bl
inc eax
lea edx, [ebp - 0x104]
push eax
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004147a4
add esp, 0xc
inc esi
push 0x104
lea eax, [ebp - 0x104]
push eax
push esi
mov edx, dword [edi + 0x10]
push edx
call sub.ADVAPI32.DLL_RegEnumKeyA
cmp eax, 0x103
jne 0x4c6a63
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c6acc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4c6ad5
mov eax, dword [ebp - 4]
add esp, 0xfffffef0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call fcn.00414b04
pop ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push 1
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004c6508
add esp, 0x1c
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
push 0
push esi
call fcn.00414828
add esp, 0x10
xor edi, edi
mov dword [ebp - 4], 0x104
mov dword [ebp - 8], 0xffff
jmp 0x4c6b9f
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10114]
push eax
push edx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x114]
push ecx
push eax
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push edx
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004c6508
add esp, 0x1c
mov ebx, eax
cmp dword [ebp - 4], 0
jne 0x4c6b82
push 0
push esi
call fcn.00414a70
add esp, 8
push ebx
mov eax, dword [ebp - 0x10]
push eax
push 0
push esi
call fcn.00414828
add esp, 0x10
jmp 0x4c6b90
push ebx
mov edx, dword [ebp - 0x10]
push edx
push esi
call fcn.0041474c
add esp, 0xc
mov dword [ebp - 4], 0x104
mov dword [ebp - 8], 0xffff
inc edi
lea ecx, [ebp - 8]
lea eax, [ebp - 0x10114]
push ecx
push eax
lea edx, [ebp - 0xc]
lea ecx, [ebp - 4]
push edx
push 0
push ecx
lea eax, [ebp - 0x114]
push eax
push edi
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
push ecx
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
je 0x4c6b33
push esi
call fcn.00414b4c
pop ecx
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40596d
pop dword [ebp - 0x34]
mov eax, 0x40596d
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xefefab06
sub dword [ebp - 0x44], 0xa19d65bb
mov dword [ebp - 0x40], 0xa0048093
sub dword [ebp - 0x40], 0x6dd1344e
mov dword [ebp - 0x3c], 0xf762f94a
sub dword [ebp - 0x3c], 0xab16b51c
mov dword [ebp - 0x38], 0xc62a11e
add dword [ebp - 0x38], 0xf39d5ee2
lea eax, [ebp - 0x44]
push eax
mov eax, 0x69e7413c
sub eax, 0x69a6d0dc
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xbba93def
add dword [ebp - 0x44], 0xb8c92b67
mov dword [ebp - 0x40], 0xf3a3db37
add dword [ebp - 0x40], 0x4dc8863e
mov dword [ebp - 0x3c], 0xba4cdc7b
add dword [ebp - 0x3c], 0xa9228ff1
mov dword [ebp - 0x38], 0xa65e9b8
sub dword [ebp - 0x38], 0xa65e9b8
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x1c35101b
sub eax, 0x1bf49f1b
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3a12f
push 0
call eax
mov ecx, 0x556e
xor ebx, ebx
add ebx, eax
mov edx, 0x72d476ea
add edx, 0x8d6c8916
add edx, dword [ebp - 0x34]
mov edi, 0x241f8b94
add edi, 0x44b1866a
add dword [ebp - 0xc], ebx
mov esi, dword [edx]
xor dword [ebp - 0x30], eax
add esi, edi
xor dword [ebp - 0x20], 0xcfcd5920
mov dword [ebx], esi
xor dword [ebp - 0x30], esi
add ebx, 4
add edx, 0x2a15ce21
sub edx, 0x2a15ce1d
loop 0x405a86
add eax, 0xb3efb774
sub eax, 0xb3ee6ee9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x438618]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43861c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x438620]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x438624]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1a291c4], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x1a291c4]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1a291c0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ed
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x1a29114], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a291bc], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a291c4], 0xc
mov dword [ebp - 4], eax
jne 0x40114f
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4