joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476980
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x16], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ConnectNamedPipe
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0x15], 0
je 0x4769f3
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, 0x476a9c
mov edx, 0x476ac0
call fcn.004361b0
push 0x476a9c
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00436350
mov eax, dword [ebp - 0x14]
sub eax, 0x217
je 0x476a06
sub eax, 0x1ce
je 0x476a4c
jmp 0x476a52
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_SetEvent
test eax, eax
jne 0x476a80
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, 0x476a9c
mov edx, 0x476b04
call fcn.004361b0
push 0x476a9c
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00436350
jmp 0x476a86
mov byte [ebp - 0x16], 1
jmp 0x476a80
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, 0x476a9c
mov edx, 0x476ac0
call fcn.004361b0
push 0x476a9c
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00436350
jmp 0x476a86
mov al, byte [ebp - 0x16]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x476d60
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476e3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
push 0x1388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
push 0xff
push 6
push 0x40000003
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00407200
push eax
call sub.kernel32.dll_CreateNamedPipeW
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x476e12
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x40]
mov edx, 0x476e58
call fcn.004073f0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, 0x476e9c
call fcn.004361b0
push 0x476e9c
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00436350
jmp 0x476e25
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00476980
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476e42
lea eax, [ebp - 0x18]
call fcn.004065ac
ret
Function at 0x478370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4786f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4783b7
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00407200
push eax
call sub.kernel32.dll_LoadLibraryExW_1
mov dword [ebp - 0x28], eax
jmp 0x4783c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4786db
xor eax, eax
push ebp
push 0x4784f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
push eax
push 1
push 0x10
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_FindResourceExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x478400
call fcn.00405d98
jmp 0x4786db
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x478420
call fcn.00405d98
jmp 0x4786db
xor eax, eax
push ebp
push 0x4784c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x10
xor ecx, ecx
call fcn.00407020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406a8c
test eax, eax
jle 0x4784b2
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4784ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406a8c
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406b50
mov edx, eax
mov eax, dword [ebp - 0x34]
pop ecx
call fcn.00404860
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4784b2
mov eax, dword [ebp - 0x30]
call fcn.0040bbb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4784d0
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478700
lea eax, [ebp - 0x14]
call fcn.004065ac
lea eax, [ebp - 0xc]
call fcn.004065ac
ret
Function at 0x479880
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
push 0x40
push 0x1000
push 0x228
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4799e9
lea eax, [ebp - 0x248]
mov edx, 0x228
call fcn.0042a4b0
mov byte [ebp - 0x248], 0x68
mov eax, dword [ebp - 4]
add eax, 0x1e
mov dword [ebp - 0x247], eax
mov word [ebp - 0x243], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x16
mov dword [ebp - 0x241], eax
mov byte [ebp - 0x23d], 0x68
xor eax, eax
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x1a
mov dword [ebp - 0x236], eax
push 0x4799f0
mov eax, dword [0x59ff0c]
mov eax, dword [eax]
push eax
call fcn.0040b434
mov dword [ebp - 0x232], eax
push 0x479a0c
mov eax, dword [0x59ff0c]
mov eax, dword [eax]
push eax
call fcn.0040b434
mov dword [ebp - 0x22e], eax
mov eax, dword [ebp - 0xc]
call fcn.00406a80
add eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x47996c
mov eax, dword [ebp - 0xc]
call fcn.00407200
lea edx, [ebp - 0x22a]
mov ecx, dword [ebp - 0x14]
call fcn.00404860
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x228
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4799e9
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4799e9
xor eax, eax
push ebp
push 0x4799e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4799e9
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x479a30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x479acc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
jne 0x479acc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3c]
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0x4550
jne 0x479acc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x479acc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x18], 0x10b
jne 0x479acc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 4], eax
pop ecx
pop ebp
ret

Function at 0x4903b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
mov edx, 0x158
call fcn.0042a4b0
lea eax, [ebp - 0x46]
mov edx, 0x40
call fcn.0042a4b0
cmp dword [ebp - 4], 0
je 0x49046e
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x49042a
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00490360
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00404860
jmp 0x49043a
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00404860
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x490454
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x49044b
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 4]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x490490
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x490511
movzx edx, word [eax]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 8]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x4904ce
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x4904c7
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 4]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0xc]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 2]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 8]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4905b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push esi
push edi
push ebx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [esi], eax
add esi, 4
add edx, 4
dec ecx
jne 0x4905ca
mov ecx, 0x30
mov edi, dword [esi - 0x1c]
mov eax, dword [esi - 8]
mov ebx, eax
mov edx, eax
ror eax, 0x11
ror edx, 0x13
shr ebx, 0xa
xor eax, edx
xor eax, ebx
add edi, eax
mov eax, dword [esi - 0x3c]
mov ebx, eax
mov edx, eax
ror eax, 7
ror edx, 0x12
shr ebx, 3
xor eax, edx
xor eax, ebx
add eax, edi
add eax, dword [esi - 0x40]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x4905e3
pop ebx
pop edi
pop esi
pop ecx
pop ecx
pop ebp
ret
Function at 0x499d40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x499e56
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0042b490
mov eax, dword [ebp - 0x1c]
call fcn.0042b640
push 9
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
call sub.kernel32.dll_MoveFileWithProgressW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
cmp byte [ebp - 0xa], 0
je 0x499dd3
cmp word [ebp + 0xa], 0
je 0x499e3b
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0049a320
test al, al
je 0x499e3b
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
jmp 0x499e3b
cmp byte [ebp - 9], 0
je 0x499dfc
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00499b70
test al, al
je 0x499dfc
mov eax, dword [ebp - 4]
call fcn.00427c60
mov byte [ebp - 0xa], 1
jmp 0x499e3b
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x10], eax
push 0x499e74
push dword [ebp - 4]
push 0x499ea4
push dword [ebp - 8]
push 0x499ec0
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00407478
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dl, 2
call fcn.00436350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499e5d
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040660c
ret
Function at 0x49c6e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49c807
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
mov edx, 0x24
call fcn.0042a4b0
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetSystemInfo_1
xor eax, eax
push ebp
push 0x49c7db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59f7a4]
cmp dword [eax], 0
je 0x49c7d1
push 1
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x49c6b8]
call fcn.004084e4
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x59f7a4]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xc]
mov ecx, 0x18
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x49c6b8]
call fcn.004084e4
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x59f7a4]
mov eax, dword [eax]
call eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jb 0x49c7cb
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*8 + 4]
sub eax, 1
jae 0x49c7c3
inc dword [ebp - 0x18]
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x49c7ae
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c7e5
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c80e
lea eax, [ebp - 8]
mov edx, dword [0x49c6b8]
call fcn.004084f0
ret
Function at 0x49dbf0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49dd60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00446c10
mov eax, dword [ebp - 8]
call fcn.00408338
test eax, eax
jl 0x49dd3c
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + ecx*4]
call fcn.004069b8
cmp dword [ebp - 0xc], 0
je 0x49dd30
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x49dd30
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x49dd30
mov eax, dword [0x5aa9fc]
call fcn.00408330
inc eax
push eax
mov eax, 0x5aa9fc
mov ecx, 1
mov edx, dword [0x49a8e8]
call fcn.004084e4
add esp, 4
mov eax, dword [0x5aa9fc]
call fcn.00408338
lea eax, [eax + eax*2]
mov edx, dword [0x5aa9fc]
mov ecx, dword [ebp - 0xc]
mov cx, word [ecx]
mov word [edx + eax*8], cx
mov eax, dword [0x5aa9fc]
call fcn.00408338
lea eax, [eax + eax*2]
mov edx, dword [0x5aa9fc]
mov ecx, dword [ebp - 0x18]
mov dword [edx + eax*8 + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8 + 0x14], ecx
mov eax, dword [0x5aa9fc]
call fcn.00408338
lea eax, [eax + eax*2]
mov edx, dword [0x5aa9fc]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*8 + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + eax*8 + 0xc], ecx
inc dword [ebp - 4]
dec dword [ebp - 0x2c]
jne 0x49dc2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dd67
lea eax, [ebp - 0xc]
call fcn.004065ac
lea eax, [ebp - 8]
mov edx, dword [0x427388]
call fcn.004084f0
ret
Function at 0x4a9c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.0042a4b0
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.0042a4b0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407200
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4a9cd7
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4a9ce0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4a9e25
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x4a9d1c
mov eax, dword [0x59faac]
mov eax, dword [eax]
cmp byte [eax + 0x1b4], 0
jne 0x4a9e0a
mov al, byte [ebp - 1]
mov byte [ebp - 9], al
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x444420]
call fcn.00444790
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a9e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00445410
mov cl, 1
mov edx, 0x4a9e3c
mov eax, dword [ebp - 8]
call fcn.00444dd0
test al, al
jne 0x4a9d6e
call fcn.00405d98
jmp 0x4a9e0a
mov edx, 0x4a9ea4
mov eax, dword [ebp - 8]
call fcn.004449c0
mov edx, 0x4a9ecc
mov eax, dword [ebp - 8]
call fcn.004449c0
cmp byte [ebp - 9], 0
je 0x4a9dcf
lea ecx, [ebp - 0x10]
mov edx, 0x4a9efc
mov eax, dword [ebp - 8]
call fcn.00445350
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.004a9bd0
mov edx, dword [ebp - 0x14]
pop eax
call fcn.00407588
je 0x4a9ded
lea eax, [ebp - 0x18]
call fcn.004a9bd0
mov ecx, dword [ebp - 0x18]
mov edx, 0x4a9efc
mov eax, dword [ebp - 8]
call fcn.00445470
jmp 0x4a9ded
mov edx, 0x4a9efc
mov eax, dword [ebp - 8]
call fcn.00445440
test al, al
je 0x4a9ded
mov edx, 0x4a9efc
mov eax, dword [ebp - 8]
call fcn.004449c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9e0a
mov eax, dword [ebp - 8]
call fcn.00404fd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9e2c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040660c
ret
Function at 0x4b3fa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b40e2
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xb], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x1f
ja 0x4b3fd8
bt dword [ebp - 0xb], eax
jae case.0x4b4035.0
mov ax, word [ebp - 4]
add ax, 0x41
mov word [ebp - 6], ax
lea eax, [ebp - 0x18]
mov dx, word [ebp - 6]
call fcn.00407218
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 0x4b40fc
call fcn.004073f0
lea eax, [ebp - 0x10]
mov ecx, 0x4b410c
mov edx, dword [ebp - 0x14]
call fcn.004073f0
mov eax, dword [ebp - 0x10]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDriveTypeW
mov byte [ebp - 7], al
xor eax, eax
mov al, byte [ebp - 7]
cmp eax, 6
ja case.0x4b4035.0
jmp dword [eax*4 + 0x4b403c]
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3ef0
pop ecx
jmp case.0x4b4035.0
mov eax, dword [ebp + 8]
push eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004b3ef0
pop ecx
jmp case.0x4b4035.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3ef0
pop ecx
jmp case.0x4b4035.0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x20]
test byte [eax + 0x28], 1
jne case.0x4b4035.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3ef0
pop ecx
jmp case.0x4b4035.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3ef0
pop ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jne 0x4b3fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b40e9
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040660c
ret
Function at 0x4bb7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb957
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov edx, 0x4bb970
mov eax, dword [ebp - 8]
call fcn.00439d90
call fcn.00439f90
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409d98
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x4bb984
mov eax, dword [ebp - 8]
call fcn.00439d90
pop edx
call fcn.00439ec0
mov edx, 0x4bb998
mov eax, dword [ebp - 8]
call fcn.00439d90
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00439f40
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00409d98
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x4bb9b4
mov eax, dword [ebp - 8]
call fcn.00439d90
pop edx
call fcn.00439ec0
mov eax, dword [ebp - 4]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov edx, 0x4bb9d4
mov eax, dword [ebp - 8]
call fcn.00439d90
call fcn.00439f90
mov edx, 0x4bba04
mov eax, dword [ebp - 8]
call fcn.00439d90
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
call fcn.00439ec0
mov edx, 0x4bba20
mov eax, dword [ebp - 8]
call fcn.00439d90
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c]
call fcn.00439ec0
mov edx, 0x4bba38
mov eax, dword [ebp - 8]
call fcn.00439d90
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.00439ec0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00409d98
mov eax, dword [ebp - 0x14]
push eax
mov edx, 0x4bba60
mov eax, dword [ebp - 8]
call fcn.00439d90
pop edx
call fcn.00439ec0
mov edx, 0x4bba7c
mov eax, dword [ebp - 8]
call fcn.00439d90
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
call fcn.00439ec0
mov eax, dword [ebp - 4]
push dword [eax + 0x44]
push dword [eax + 0x40]
mov edx, 0x4bbaa0
mov eax, dword [ebp - 8]
call fcn.00439d90
call fcn.00439f90
mov eax, dword [ebp - 4]
push dword [eax + 0x4c]
push dword [eax + 0x48]
mov edx, 0x4bbad4
mov eax, dword [ebp - 8]
call fcn.00439d90
call fcn.00439f90
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov edx, 0x4bbb28
mov eax, dword [ebp - 8]
call fcn.00439d90
call fcn.00439f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb95e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040660c
ret