joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3641
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.004a2dc4
test al, al
je 0x4a3625
cmp dword [0x53f6a0], 0x40047
jl 0x4a3625
cmp byte [0x526910], 0
jne 0x4a3625
call fcn.004a343c
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x526914]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x4a3688
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x4a367d
mov word [esp], 0
mov eax, dword [esi*4 + 0x526914]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret

Function at 0x4a95f4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a975a
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x4a9658
lea edx, [ebp - 8]
mov eax, dword [0x53d2c8]
call fcn.00405f40
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004a6ec0
cmp ebx, 1
jbe 0x4a968f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4a9770
call fcn.0040a48c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.0040424c
jmp 0x4a968f
lea eax, [ebp - 4]
mov edx, 0x4a9780
call fcn.00404044
cmp ebx, 1
jbe 0x4a968f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4a9790
call fcn.0040a48c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.0040424c
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.00404290
mov eax, dword [ebp - 8]
call fcn.00404408
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4a9722
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
jne 0x4a96c7
mov bl, 1
jmp 0x4a9732
push 0
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0040c0b0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x53d5d8]
call fcn.00405f40
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x18]
call fcn.004a6ec0
mov eax, dword [ebp - 0x18]
mov ecx, 1
pop edx
call fcn.004a4410
mov eax, dword [ebp - 8]
mov cx, word [0x4a9794]
xor edx, edx
call fcn.004678dc
mov bl, 2
jmp 0x4a9732
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.00404000
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9761
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403fd0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fd0
ret
Function at 0x4a9de8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4a9e82
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x4a9e34
lea edx, [ebp - 0x164]
mov eax, dword [0x53d5dc]
call fcn.00405f40
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.004a6ec0
jmp 0x4a9e69
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4a9e62
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.004041d8
jmp 0x4a9e69
mov eax, ebx
call fcn.00403fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9e89
lea eax, [ebp - 0x164]
call fcn.00403fac
ret

Function at 0x4aa808
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
mov ebx, ecx
test ebx, ebx
js 0x4aa82f
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4aa828
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004043f8
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x4010bc]
call fcn.00404a38
xor eax, eax
push ebp
push 0x4aa9bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4aa985
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x4aa9e4
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404304
mov eax, dword [ebp - 0x158]
call fcn.00404408
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4aa979
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x4aa95e
test al, 2
jne 0x4aa95e
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x4aa9e4
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004041d8
push dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404304
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x10]
call fcn.004a2f48
call fcn.0040eb10
test al, al
je 0x4aa91c
or edi, 0xffffffff
jmp 0x4aa92b
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004a30e4
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.004a2eac
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004041d8
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x38]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4aa8b1
push ebx
call sub.kernel32.dll_FindClose
add esi, 4
dec dword [ebp - 0x14]
jne 0x4aa874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa9c4
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.00403fd0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010bc]
call fcn.00404920
lea eax, [ebp - 4]
call fcn.00403fac
ret
Function at 0x4abb00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4abb97
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
mov eax, dword [0x53d550]
cmp dword [eax + 4], 0x60000
jl 0x4abb38
or dword [ebp - 4], 0x400000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004abc2c
mov eax, dword [ebp - 8]
call fcn.004a999c
test al, al
je 0x4abb68
mov eax, dword [ebp - 8]
call fcn.00404408
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4abb68
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x340]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abb9e
lea eax, [ebp - 8]
call fcn.00403fac
ret

Function at 0x4af848
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404408
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x4af889
dec eax
je 0x4af86a
sub eax, 2
je 0x4af889
jmp 0x4af89a
mov al, byte [ebx]
call fcn.004a48b4
test al, al
je 0x4af89a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov bx, 0xffa5
call fcn.004034f4
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov bx, 0xffa5
call fcn.004034f4
pop ebx
pop ebp
ret

Function at 0x4af8a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4af963
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x35c], 0
jne 0x4af8ee
push 0x465
mov eax, dword [ebp - 4]
call fcn.00439adc
mov ecx, eax
mov dl, 1
mov eax, dword [0x4abdc8]
call fcn.004abe34
mov edx, dword [ebp - 4]
mov dword [edx + 0x35c], eax
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x36c]
je 0x4af94d
mov eax, dword [ebp - 4]
mov dword [eax + 0x36c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
call fcn.004ac2fc
lea eax, [ebp - 8]
mov edx, 0x4af978
call fcn.00404044
xor esi, esi
test ebx, ebx
je 0x4af94d
test bl, 1
je 0x4af946
lea eax, [ebp - 8]
call fcn.00404414
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.004af848
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x4af92a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af96a
lea eax, [ebp - 8]
call fcn.00403fac
ret
Function at 0x4b0528
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004043f8
xor eax, eax
push ebp
push 0x4b0646
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b0619
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404408
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b05f6
test byte [ebp - 0x14c], 0x10
jne 0x4b05d9
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004041d8
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0040929c
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4b059c
push ebx
call sub.kernel32.dll_FindClose
mov byte [ebp - 5], 1
jmp 0x4b0602
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0620
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4b555c
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x4b556a
je 0x4b556f
jmp 0x4b5594
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x4b558f
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x53d55c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x4b6190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404408
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x4b7770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004043f8
xor eax, eax
push ebp
push 0x4b7805
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53d6c8]
mov dword [eax], 0x18f13e8
mov eax, dword [ebp - 4]
call fcn.00404244
test al, al
jbe 0x4b77e5
mov byte [ebp - 5], al
mov bl, 1
mov eax, 0x80
call fcn.00402fe0
or eax, 0x80
mov esi, ebx
and esi, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor eax, edx
push eax
lea eax, [ebp - 4]
call fcn.00404414
pop edx
mov byte [eax + esi - 1], dl
inc ebx
dec byte [ebp - 5]
jne 0x4b77b0
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b780c
lea eax, [ebp - 4]
call fcn.00403fac
ret
Function at 0x4b8ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x418], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b8d0e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x526c2c]
call fcn.00404408
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b8ce4
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b8cdb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x411]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.004041d8
cmp dword [ebp - 0x418], 0
je 0x4b8c52
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.004041d8
lea eax, [ebp - 0x418]
mov edx, 0x4b8d24
call fcn.0040424c
mov eax, dword [ebp - 0x418]
call fcn.00404408
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b8c52
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b8c49
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x411]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.004041d8
cmp dword [ebp - 0x418], 0
je 0x4b8c49
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov edx, esi
lea eax, [ebp - 0x411]
call fcn.00409f44
jmp 0x4b8cf5
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4b8d38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b8cdb
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b8cdb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x411]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.004041d8
cmp dword [ebp - 0x418], 0
je 0x4b8cdb
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov edx, esi
lea eax, [ebp - 0x411]
call fcn.00409f44
jmp 0x4b8cf5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
inc ebx
cmp bl, 4
jne 0x4b8b05
mov eax, esi
call fcn.00403fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8d15
lea eax, [ebp - 0x418]
call fcn.00403fac
ret
Function at 0x4b8f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b9087
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x5c], 0
je 0x4b906c
xor eax, eax
push ebp
push 0x4b9032
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004b8d4c
cmp dword [ebp - 8], 0
je 0x4b9023
mov al, byte [ebx + 0x6c]
call fcn.004b8f68
push eax
push 0
push dword [0x53f7a4]
push 0x4b90a0
push dword [ebx + 0x5c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404304
mov eax, dword [ebp - 0xc]
call fcn.00404408
push eax
mov eax, dword [ebp - 8]
call fcn.00404408
push eax
push 0
mov eax, dword [0x53d55c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x21
jae 0x4b901a
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b9028
mov dword [ebp - 4], 0xffffffff
jmp 0x4b9028
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b906c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b908e
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403fd0
ret

Function at 0x4b912c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b9227
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00403fac
cmp dword [ebx + 0x60], 0
je 0x4b9207
xor eax, eax
push ebp
push 0x4b91cb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b9240
push dword [ebx + 0x60]
push 0x4b9250
push dword [ebx + 0x64]
push 0x4b9264
push dword [ebx + 0x68]
push 0x4b9274
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 8
call fcn.00404304
push 0xa
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404408
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x21
jae 0x4b91ba
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b91c1
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b920c
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b922e
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403fd0
ret
Function at 0x4b92f8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4b9319
cmp ecx, 0x100
jle 0x4b932f
mov ecx, 0x4b93bc
mov dl, 1
mov eax, dword [0x4085b4]
call fcn.0040c89c
call fcn.00403a04
xor ebx, ebx
mov esi, dword [ebp - 4]
lea edi, [ebp - 0x109]
mov byte [esi], bl
mov eax, ebx
cdq
idiv ecx
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [edi], al
inc ebx
inc edi
inc esi
cmp ebx, 0x100
jne 0x4b933a
xor esi, esi
mov ebx, pe_nt_image_headers32
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
xor ecx, ecx
mov cl, byte [eax]
add esi, ecx
xor ecx, ecx
mov cl, byte [edx]
add esi, ecx
and esi, 0xff
mov cl, byte [eax]
mov byte [ebp - 9], cl
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + esi]
mov byte [eax], cl
mov ecx, dword [ebp - 4]
lea edi, [ecx + esi]
mov cl, byte [ebp - 9]
mov byte [edi], cl
inc edx
inc eax
dec ebx
jne 0x4b9363
mov edx, dword [ebp - 4]
add edx, 0x100
mov eax, dword [ebp - 4]
mov ecx, pe_nt_image_headers32
call fcn.00402c48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
xor ecx, ecx
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x4b9475
inc ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0
inc eax
and al, 0xff
xor ebx, ebx
mov bl, al
add cl, byte [edx + ebx]
and cl, 0xff
xor ebx, ebx
mov bl, al
mov bl, byte [edx + ebx]
mov byte [ebp - 5], bl
mov esi, ecx
and esi, 0xff
xor ebx, ebx
mov bl, al
lea edi, [edx + ebx]
mov bl, byte [edx + esi]
mov byte [edi], bl
mov bl, byte [ebp - 5]
mov byte [edx + esi], bl
xor ebx, ebx
mov bl, al
mov bl, byte [edx + ebx]
mov esi, ecx
and esi, 0xff
add bl, byte [edx + esi]
and bl, 0xff
mov byte [ebp - 5], bl
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov bl, byte [ebx + esi]
movzx esi, byte [ebp - 5]
xor bl, byte [edx + esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
mov byte [esi + edi], bl
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4b940b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b9a10
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402fc0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4bb2d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebp, eax
mov eax, ebp
call fcn.00404244
mov edx, eax
mov eax, dword [esp]
call fcn.00404574
mov eax, ebp
call fcn.00404244
test al, al
jbe 0x4bb33b
mov byte [esp + 4], al
mov bl, 1
mov eax, dword [esp]
call fcn.00404414
mov edi, ebx
and edi, 0xff
mov dl, byte [ebp + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
xor eax, eax
mov al, byte [ebp + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec byte [esp + 4]
jne 0x4bb300
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bc880
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test ebx, ebx
je 0x4bc8a6
mov eax, ebx
mov edx, dword [0x4bbc54]
call fcn.00403490
test al, al
je 0x4bc959
mov eax, esi
call fcn.004bc698
test ebx, ebx
jne 0x4bc8b3
xor ebx, ebx
test ebx, ebx
je 0x4bca83
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x4bca83
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x4bca83
mov al, byte [ebx + 0x28]
push eax
lea eax, [ebx + 0x451]
push eax
mov eax, ebx
call fcn.004bd698
push eax
mov eax, ebx
call fcn.004bd6bc
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, esi
pop ecx
mov edi, dword [eax]
call dword [edi + 0x70]
mov eax, ebx
call fcn.004bd698
mov edx, eax
mov eax, esi
call fcn.004bd6e0
mov eax, ebx
call fcn.004bd6bc
mov edx, eax
mov eax, esi
call fcn.004bd710
mov eax, dword [ebx + 0x866]
mov dword [esi + 0x866], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
imul ecx, dword [ebx + 0x855]
mov edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x20]
call fcn.00402c48
jmp 0x4bca83
mov eax, ebx
mov edx, dword [0x42e958]
call fcn.00403490
test al, al
je 0x4bc9c5
call fcn.0042ee98
call fcn.0042ea6c
xor eax, eax
push ebp
push 0x4bc9be
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov edi, eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
mov dx, 2
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bca83
call fcn.0042ee98
call fcn.0042ea40
ret
mov eax, ebx
mov edx, dword [0x41a8d8]
call fcn.00403490
test al, al
je 0x4bca09
mov edi, ebx
mov eax, edi
call fcn.00421928
cmp al, 8
jne 0x4bc9ee
mov dl, 1
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp 0x4bc9f7
xor edx, edx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x60]
mov edx, eax
mov eax, esi
call fcn.004bcff8
jmp 0x4bca83
mov eax, ebx
mov edx, dword [0x41a4b0]
call fcn.00403490
test al, al
je 0x4bca7a
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
mov dword [ebp - 8], edi
push 5
push 0
push 0
push 0
mov ecx, edi
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x70]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
imul edx, dword [esi + 0x855]
mov eax, dword [esi + 0x20]
xor ecx, ecx
call fcn.00402fc0
lea ecx, [ebp - 0x14]
mov edx, dword [esi + 0x859]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x4bca83
mov edx, ebx
mov eax, esi
call fcn.004123c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret