joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c06c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x49c081
add esp, 0xfffffff0
call fcn.00404560
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.004041b8
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.0040518c
mov eax, esi
call fcn.004055f8
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA_1
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x49c0d6
mov ecx, dword [0x57e478]
mov dl, 1
mov eax, dword [0x49be54]
call fcn.00495c84
call fcn.00404a8c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49c0fd
call fcn.004045b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49d5e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.0049d58c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49d658
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x585984], eax
mov dword [ebp - 4], 0x49d518
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x49d658
xor eax, eax
push ebp
push 0x49d651
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d658
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov esp, ebp
pop ebp
ret

Function at 0x49d65c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.0049d58c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49d6cb
mov eax, dword [0x585984]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x49d6cb
xor eax, eax
push ebp
push 0x49d6c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d6cb
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov esp, ebp
pop ebp
ret
Function at 0x4a3844
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a3872
mov eax, ebx
call fcn.004a42f8
cmp dword [ebx + 0x40], 0
je 0x4a386b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a38e3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a38d5
cmp dword [ebx + 8], 0
je 0x4a3894
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 0x4a38a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a38d5
cmp dword [ebx + 8], 0
je 0x4a3887
cmp eax, 3
je 0x4a38b9
dec eax
jne 0x4a3887
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 0x4a3887
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a3887
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a3901
cmp dword [ebx + 0x14], 0xcc
je 0x4a3901
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.004a390c
pop ebx
ret

Function at 0x4b6bdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
mov edx, dword [0x4b6a9c]
call fcn.00405c28
xor eax, eax
push ebp
push 0x4b6d02
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b6d10
test al, al
je 0x4b6cde
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405228
mov esi, dword [ebp - 0x24]
dec esi
test esi, esi
jl 0x4b6cde
inc esi
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004055f8
push eax
push edi
push ebx
call sub.advapi32.dll_RegEnumValueA
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405658
mov eax, dword [ebp - 0x3c]
call fcn.0040c7ec
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x40], 4
jne 0x4b6cab
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x44]
call fcn.004055f8
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
jmp 0x4b6cc8
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x44]
call fcn.004055f8
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004b6e0c
inc edi
dec esi
jne 0x4b6c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6d09
lea eax, [ebp - 0x48]
mov edx, dword [0x4b6a9c]
call fcn.00405cf8
lea eax, [ebp - 0xc]
call fcn.00405138
ret
Function at 0x4b6d10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004039fc
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
push esi
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x57e6d8]
cmp byte [edx + 0xc], 0
je 0x4b6d71
mov edx, dword [0x57e6b4]
cmp dword [edx], 2
jne 0x4b6d71
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 0x4b70a4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b71f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004b73b4
xor eax, eax
push ebp
push 0x4b71c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004b6d74
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004b6bdc
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004b6d10
test al, al
je 0x4b71ac
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00405228
mov esi, dword [ebp - 0x34]
dec esi
test esi, esi
jl 0x4b71ac
inc esi
xor edi, edi
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004055f8
push eax
push edi
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegEnumKeyExA
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004b7020
push dword [ebp - 0x38]
push 0x4b7210
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00405658
push dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004054b8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004b70a4
inc edi
dec esi
jne 0x4b7138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b71ca
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x4b7214
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b732e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
push ebp
push 0x4b7306
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.004b73b4
xor eax, eax
push ebp
push 0x4b72f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004b6d10
test al, al
je 0x4b72de
mov ecx, dword [ebp - 0x28]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405228
mov ebx, dword [ebp - 0x2c]
dec ebx
test ebx, ebx
jl 0x4b72de
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x28]
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.004055f8
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405658
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4b7296
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b72fc
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret

Function at 0x4b7c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004055e8
mov eax, dword [ebp - 8]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4b7d05
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
push ebp
push 0x4b7ce3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.004b7bb8
test al, al
je 0x4b7cc8
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4b7ccc
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7cea
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x4b7d18
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004055e8
mov eax, dword [ebp - 8]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4b7dcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
push ebp
push 0x4b7dad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.004b7bb8
test al, al
je 0x4b7d92
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push 3
push 0
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4b7d96
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7db4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret

Function at 0x4b7de0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004055e8
mov eax, dword [ebp - 8]
call fcn.004055e8
mov eax, dword [ebp + 0x10]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4b7eb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
push ebp
push 0x4b7e87
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.004b7bb8
test al, al
je 0x4b7e6c
mov eax, dword [ebp + 0x10]
call fcn.004053f8
push eax
mov eax, dword [ebp + 0x10]
call fcn.004055f8
push eax
push 7
push 0
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4b7e70
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7e8e
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x4b7f6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004055e8
mov eax, dword [ebp - 8]
call fcn.004055e8
mov eax, dword [ebp + 0x10]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4b803e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
push ebp
push 0x4b8014
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.004b7bb8
test al, al
je 0x4b7ff9
mov eax, dword [ebp + 0x10]
call fcn.004053f8
inc eax
push eax
mov eax, dword [ebp + 0x10]
call fcn.004055f8
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4b7ffd
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b801b
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret

Function at 0x4b9994
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4b9a07
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x100]
call fcn.0040c7d8
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.00410a48
mov edx, dword [ebp - 0x104]
mov eax, ebx
call fcn.0040518c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9a0e
lea eax, [ebp - 0x104]
call fcn.00405138
ret
Function at 0x4b9a14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4b9b40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.004053f8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b9b2a
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov byte [ebp - 9], bl
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0x4b9b04
mov dword [ebp - 4], eax
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jle 0x4b9a9f
mov ebx, 1
mov eax, esi
call fcn.00405650
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xa]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x4b9a80
mov eax, esi
call fcn.00405650
mov edx, dword [ebp - 8]
mov ecx, dword [esi]
mov ebx, dword [ebp - 8]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0xc]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 8]
cmp ebx, 2
jl 0x4b9ae5
mov eax, esi
call fcn.00405650
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 9]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x4b9ac3
mov eax, esi
call fcn.00405650
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xb]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x4b9a73
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi]
call fcn.004053f8
mov ecx, eax
sub ecx, 0x14
mov eax, dword [esi]
mov edx, 0xa
call fcn.0043d8a0
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.0040518c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9b47
lea eax, [ebp - 0x10]
call fcn.00405138
ret
Function at 0x4b9b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push 0x4b9c5c
push dword [esi]
push 0x4b9c70
mov eax, esi
mov edx, 3
call fcn.004054b8
mov eax, dword [esi]
call fcn.004053f8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b9c4a
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov byte [ebp - 9], bl
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0x4b9c4a
mov dword [ebp - 4], eax
mov eax, esi
call fcn.00405650
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xb]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 8]
sub edi, 2
jl 0x4b9bf6
inc edi
mov ebx, 2
mov eax, esi
call fcn.00405650
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 9]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x4b9bd4
mov eax, esi
call fcn.00405650
mov edx, dword [ebp - 8]
mov ecx, dword [esi]
mov ebx, dword [ebp - 8]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0xc]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 8]
dec ebx
cmp ebx, 1
jl 0x4b9c3d
mov eax, esi
call fcn.00405650
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xa]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x4b9c1b
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x4b9bb4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4db784
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4db7a9
cmp dword [esp + 4], 5
jb 0x4db7a9
mov al, 1
jmp 0x4db7ab
xor eax, eax
add esp, 0x94
ret
Function at 0x4ed298
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4ed2fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0047cca8
mov esi, 0xb
mov ebx, dword [0x57e348]
lea eax, [ebp - 8]
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
call fcn.00405444
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
call sub.kernel32.dll_DeleteFileA
add ebx, 4
dec esi
jne 0x4ed2c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed305
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040515c
ret

Function at 0x4ed6ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4ed70b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x57e214]
mov eax, dword [eax]
call fcn.00478ae8
push 1
push ebx
push 0x4ed720
push esi
lea eax, [ebp - 4]
mov edx, 3
call fcn.004054b8
mov eax, dword [ebp - 4]
call fcn.004055f8
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed712
lea eax, [ebp - 4]
call fcn.00405138
ret

Function at 0x4ed724
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push 0
push 0
mov eax, esi
call fcn.004055f8
push eax
mov eax, ebx
call fcn.004055f8
push eax
push 0x4ed75c
mov eax, dword [0x57e214]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0045de94
push eax
call sub.shell32.dll_ShellExecuteA
pop esi
pop ebx
ret
Function at 0x4edca0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055e8
mov eax, dword [ebp - 8]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4eddac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00408898
mov dword [ebp - 0x50], 0x44
mov ax, word [ebp + 8]
mov word [ebp - 0x20], ax
mov dword [ebp - 0x24], 0x101
mov dword [ebp - 0x28], 0x18
xor eax, eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 8
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
mov eax, dword [ebp - 4]
call fcn.004055f8
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4edd87
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [0x57e214]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004755bc
xor eax, eax
push ebp
push 0x4edd80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4edd63
call fcn.00404b38
jmp 0x4edd91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edd91
mov eax, dword [0x57e214]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004755c4
ret
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.0041147c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eddb3
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040515c
ret

Function at 0x4ee33c
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055e8
mov eax, dword [ebp - 8]
call fcn.004055e8
mov eax, dword [ebp + 8]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4ee42f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ee40c
xor eax, eax
push ebp
push 0x4ee403
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.004055f8
push eax
push 0
push 2
push 0x10
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
mov eax, dword [ebp - 4]
call fcn.004055f8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CreateServiceA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_StartServiceA
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee40a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee436
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040515c
lea eax, [ebp + 8]
call fcn.00405138
ret
Function at 0x4ee440
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x298], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ee508
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4ee4e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x294]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004053a8
cmp dword [ebp - 0x298], 0
jne 0x4ee4c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee4ef
lea eax, [ebx + 4]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004053a8
mov dword [ebx + 0xc], 0xf003f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee4ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee50f
lea eax, [ebp - 0x298]
call fcn.00405138
ret