joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0448
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a04ea
cmp dword [ebx + 0x94], 0
jne 0x4a04e4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a0394
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a04e4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a04aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a04e4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004303d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a04b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a0708
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x511284]
cmp dword [eax + 0x170], 0
je 0x4a086d
test bl, bl
jne 0x4a07bb
cmp dword [esi + 0x9c], 0
jne 0x4a07b0
mov eax, esi
call fcn.004a34a0
push eax
push 0x4a0614
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a0781
mov eax, dword [0x511284]
cmp byte [eax + 0xd3], 0
je 0x4a0781
mov eax, dword [esi + 0xd8]
call fcn.004084b0
mov edi, eax
cmp edi, 0
jl 0x4a0781
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a076a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a07b0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004303d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a0790
inc dword [esi + 0x9c]
jmp 0x4a086d
cmp dword [esi + 0x9c], 0
jle 0x4a086d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a086d
cmp dword [esi + 0x44], 0
je 0x4a0818
mov eax, dword [0x511284]
cmp byte [eax + 0xd3], 0
je 0x4a0818
mov eax, dword [esi + 0xd8]
call fcn.004084b0
mov edi, eax
cmp edi, 0
jl 0x4a0818
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a0801
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a0847
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004303d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a0827
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x493f14]
call fcn.00408670
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a1488
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a14f3
cmp byte [ebx + 0xd3], 0
jne 0x4a14f3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407050
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a14e0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a1500
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406f14
jmp 0x4a1500
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406f14
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a2c04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a2c72
mov eax, esi
call fcn.0047d78c
test al, al
je 0x4a2c72
mov eax, dword [ebx + 0x84]
call fcn.0047d3e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a2c72
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a2c66
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047d3e0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004747e4
jmp 0x4a2c72
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a2a3c
pop esi
pop ebx
ret

Function at 0x4a5784
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf0
mov ebx, eax
mov dword [esp], 0x104
lea eax, [esp + 4]
call fcn.004a49d8
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00406af8
add esp, 0x210
pop ebx
ret

Function at 0x4a5e04
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
xor edx, edx
call fcn.00406d48
je 0x4a5e65
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a5e5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406b40
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5e65
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a5e70
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push esi
mov eax, ebx
call fcn.00406b40
push eax
call sub.kernel32.dll_SetFileAttributesW
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret

Function at 0x4a5fa8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
mov eax, esp
call fcn.004a49d8
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00406af8
add esp, 0x20c
pop ebx
ret
Function at 0x4a68d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6955
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x4a6930
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406af8
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.004a6a90
jmp 0x4a693c
mov eax, ebx
mov edx, 0x4a6968
call fcn.0040697c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a695c
lea eax, [ebp - 0x210]
call fcn.00406940
ret

Function at 0x4a6970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a6a05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
call fcn.004a49d8
lea eax, [ebp - 0x20a]
push eax
push 0
mov eax, esi
call fcn.00406b40
push eax
lea eax, [ebp - 0x210]
call fcn.004a68d4
mov eax, dword [ebp - 0x210]
call fcn.00406b40
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
jbe 0x4a69e5
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406af8
jmp 0x4a69ec
mov eax, ebx
call fcn.00406940
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a0c
lea eax, [ebp - 0x210]
call fcn.00406940
ret

Function at 0x4a6e74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
test ecx, ecx
jne 0x4a6e8f
mov ecx, 0x50aaac
test edx, edx
jbe 0x4a6eb1
mov esi, eax
shr esi, 0x18
and esi, 0xff
movzx edi, byte [ebx]
xor esi, edi
mov esi, dword [ecx + esi*4]
shl eax, 8
xor esi, eax
mov eax, esi
inc ebx
dec edx
jne 0x4a6e93
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4aac6c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0043b20c
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
pop ebx
ret
Function at 0x4ad080
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
call fcn.004ada10
test al, al
jne 0x4ad1db
mov eax, dword [ebp + 8]
call fcn.004ada10
test al, al
jne 0x4ad1db
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x4ad1d4
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
sub eax, dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
sub eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004ad540
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx]
mov edx, dword [ebp - 0x18]
call fcn.004ac274
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + 4]
mov edx, dword [ebp - 0x1c]
call fcn.004ac274
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_IntersectClipRect
mov esi, ebx
test esi, esi
jle 0x4ad1b9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
jle 0x4ad1a7
mov eax, dword [ebp + 8]
push 0xcc0020
mov ecx, dword [eax + 4]
push ecx
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
sub eax, edi
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub eax, edx
push eax
push edi
push edx
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
dec ebx
jne 0x4ad165
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
dec esi
jne 0x4ad14d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad1db
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b69fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b6a7b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push esi
lea eax, [ebp - 0x20a]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x4b6a5b
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406af8
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.004a6a90
jmp 0x4b6a62
mov eax, ebx
call fcn.004a68d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6a82
lea eax, [ebp - 0x210]
call fcn.00406940
ret

Function at 0x4b6c5c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 5
push 0x4b6c90
mov eax, esi
call fcn.00406b40
push eax
mov eax, ebx
call fcn.00406b40
push eax
push 0x4b6c94
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setae al
pop esi
pop ebx
ret

Function at 0x4b6d70
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b6e0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b6def
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00407080
lea eax, [ebp - 0x14]
mov edx, 0x4b6e2c
call fcn.00407328
mov eax, dword [ebp - 0x14]
call fcn.00406fa0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6df6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4be7e4
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test edx, edx
jle 0x4be7f2
xor cl, byte [eax]
dec edx
inc eax
test edx, edx
jg 0x4be7ea
mov eax, ecx
ret

Function at 0x4be8f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
test ecx, ecx
jle 0x4be90c
mov bl, 0xff
sub bl, byte [edx]
xor bl, byte [eax + 4]
mov byte [edx], bl
dec ecx
inc edx
test ecx, ecx
jg 0x4be8fd
pop ebx
ret
Function at 0x4e3fe0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor ecx, ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e411b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406d48
setne bl
test bl, bl
je 0x4e4102
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e42a8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x4e4102
xor edx, edx
push ebp
push 0x4e40ee
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryInfoKeyW
call fcn.004e3f58
test al, al
je 0x4e40d8
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 0
jl 0x4e40d8
mov dword [ebp - 0x10], 0x40
lea eax, [ebp - 0x94]
xor ecx, ecx
mov edx, 0x80
call fcn.004047a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x4e40d2
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x94]
mov ecx, 0x40
call fcn.00406af8
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x14]
call fcn.004e3fe0
dec ebx
cmp ebx, 0xffffffff
jne 0x4e4074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e40f5
mov eax, dword [ebp - 0x14]
call fcn.004e41bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4122
lea eax, [ebp - 0x98]
call fcn.00406940
ret

Function at 0x4e4164
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
test ebx, ebx
je 0x4e41b2
mov dword [esp + 8], 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
mov eax, esi
call fcn.00406b40
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
call fcn.004e3f58
test al, al
je 0x4e41ad
cmp dword [esp + 4], 4
je 0x4e41b2
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x4e41c8
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov ebp, edx
mov esi, eax
test esi, esi
setne al
test al, al
je 0x4e420f
mov ebx, edi
test ebx, ebx
je 0x4e41ea
sub ebx, 4
mov eax, dword [ebx]
shr eax, 1
mov ebx, eax
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, edi
call fcn.00406b40
push eax
push 1
push 0
mov eax, ebp
call fcn.00406b40
push eax
push esi
call sub.advapi32.dll_RegSetValueExW
call fcn.004e3f58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e4928
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e49e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xff
lea eax, [ebp - 8]
push eax
push 2
push 0xa
push 0
call sub.NetApi32.dll_NetUserEnum
test eax, eax
jne 0x4e49cd
xor edx, edx
push ebp
push 0x4e49c6
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004a7f94
mov ebx, dword [ebp - 0xc]
dec ebx
test ebx, ebx
jl 0x4e49af
inc ebx
lea eax, [ebp - 0x14]
mov edx, dword [esi]
call fcn.00406abc
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, edi
call fcn.004a74dc
add esi, 0x10
dec ebx
jne 0x4e4993
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e49cd
mov eax, dword [ebp - 8]
push eax
call sub.NetApi32.dll_NetApiBufferFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e49ea
lea eax, [ebp - 0x14]
call fcn.00406940
ret

Function at 0x4e50b0
Capabilities:
Delete file
Move file

Disassembly:
push ebx
mov ebx, eax
push 4
push 0
mov eax, ebx
call fcn.00406b40
push eax
call sub.kernel32.dll_MoveFileExW
pop ebx
ret

Function at 0x4e5124
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffac
mov ebx, eax
lea eax, [esp + 0x10]
xor ecx, ecx
mov edx, 0x44
call fcn.004047a0
mov dword [esp + 0x10], 0x44
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], 0
push esp
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, ebx
call fcn.00406b40
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4e5182
push 0xffffffffffffffff
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
add esp, 0x54
pop ebx
ret

Function at 0x4ea400
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffd4c
mov eax, esp
xor ecx, ecx
mov edx, 0x2b4
call fcn.004047a0
push 0x4011
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x4ea438
call sub.shell32.dll_SHGetFileInfoW
add esp, 0x2b4
ret

Function at 0x4ea423
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffd4c
mov eax, esp
xor ecx, ecx
mov edx, 0x2b4
call fcn.004047a0
push 0x4011
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x4ea438
call sub.shell32.dll_SHGetFileInfoW
add esp, 0x2b4
ret

Function at 0x4ec928
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffd4c
push 0x4009
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push edx
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
ret
Function at 0x4f9e2c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f9f03
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, esi
mov ecx, 0
call fcn.004063d8
mov eax, dword [ebp - 4]
call fcn.00406650
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4f9ee0
cmp dword [0x5213ac], 0
jne 0x4f9e86
mov dl, 1
mov eax, dword [0x4a4174]
call fcn.00404da4
mov dword [0x5213ac], eax
mov edx, esi
mov eax, dword [0x5213ac]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, eax
test edi, edi
jl 0x4f9ea8
mov edx, edi
mov eax, dword [0x5213ac]
call fcn.004a7ec0
mov dword [ebx], eax
jmp 0x4f9ee0
lea eax, [ebp - 8]
mov edx, esi
mov ecx, 0
call fcn.004063d8
mov eax, dword [ebp - 8]
call fcn.00406650
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4f9ee0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx], eax
mov ecx, dword [ebx]
mov edx, esi
mov eax, dword [0x5213ac]
call fcn.004a750c
cmp dword [ebx], 0xffffffff
setne al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9f0a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406094
ret

Function at 0x4fa398
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebp, eax
mov eax, ebp
call fcn.004fa464
mov ebx, eax
test bl, bl
je 0x4fa3fe
xor esi, esi
cmp esi, dword [esp + 4]
jge 0x4fa3fe
push 0
mov eax, dword [esp + 8]
sub eax, esi
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
je 0x4fa3df
test edi, edi
jne 0x4fa3e3
xor ebx, ebx
jmp 0x4fa3e5
mov bl, 1
test bl, bl
jne 0x4fa3f3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp + 4], eax
jmp 0x4fa3fe
add esi, edi
add dword [esp], edi
cmp esi, dword [esp + 4]
jl 0x4fa3bd
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x505030
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, 0x4fd964
call fcn.0040a620
xor eax, eax
push ebp
push 0x505160
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004f73a8
test al, al
jne 0x50507a
push 0x10
push 0x50516c
push 0x505178
push 0
call sub.user32.dll_MessageBoxW
jmp 0x505145
mov eax, dword [0x50bbec]
mov eax, dword [eax]
cmp byte [eax + 0x38], 0
je 0x5050f0
mov eax, dword [0x50bb70]
call fcn.00406940
push eax
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00406abc
mov eax, dword [ebp - 0x14]
mov edx, 0x5051b4
pop ecx
call fcn.004a961c
test al, al
jne 0x5050f0
lea eax, [ebp - 0x18]
call fcn.004a6720
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
call fcn.004a68d4
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.004a5a6c
test al, al
je 0x5050e9
push 0x10
push 0x50516c
push 0x505178
push 0
call sub.user32.dll_MessageBoxW
jmp 0x505145
call fcn.004e4b1c
jmp 0x505145
push 0xa
call fcn.004b2020
mov ecx, 0x5051c4
mov edx, dword [0x50ec40]
call fcn.004b3a94
mov eax, dword [0x50ba68]
mov eax, dword [eax]
call fcn.004a1b4c
mov eax, dword [0x50ba68]
mov eax, dword [eax]
mov dl, 1
call fcn.004a3764
mov ecx, dword [0x50b760]
mov eax, dword [0x50ba68]
mov eax, dword [eax]
mov edx, dword [0x4fc708]
call fcn.004a1b64
mov eax, dword [0x50ba68]
mov eax, dword [eax]
call fcn.004a1cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505167
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00406958
ret
Function at 0x1004e860
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10138e98]
xor edx, edx
cmp eax, edx
jne 0x1004e886
xor eax, eax
mov byte [eax + 0x10138d98], al
inc eax
cmp eax, 0x100
jl 0x1004e86e
mov dword [0x10138e98], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10138d98
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1004e917
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1004e8ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1004e8b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1004e990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1004e9e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1004e9ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret