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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
push 0x5bbfec
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5bbfe2
xor eax, eax
push ebp
push 0x5bbfdb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x5bbff8
call sub.SHELL32.dll_SHGetFileInfo
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x5bbff8
call sub.SHELL32.dll_SHGetFileInfo
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.USER32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.0042fd9c
push eax
push esi
call sub.COMCTL32.dll_ImageList_SetOverlayImage
push ebx
call sub.USER32.dll_DestroyCursor
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.USER32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.0042fd9c
push eax
push edi
call sub.COMCTL32.dll_ImageList_SetOverlayImage
push ebx
call sub.USER32.dll_DestroyCursor
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.USER32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.0042fd9c
push eax
push esi
call sub.COMCTL32.dll_ImageList_SetOverlayImage
push ebx
call sub.USER32.dll_DestroyCursor
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.USER32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.0042fd9c
push eax
push edi
call sub.COMCTL32.dll_ImageList_SetOverlayImage
push ebx
call sub.USER32.dll_DestroyCursor
mov byte [0x64d6fc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bbfe2
cmp dword [ebp - 4], 0
je 0x5bbfda
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5bbffc
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.005bb870
test al, al
je 0x5bc028
cmp dword [0x655aac], 0x40047
jl 0x5bc028
cmp byte [0x64d6fc], 0
jne 0x5bc028
call fcn.005bbe88
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x64d700]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x5bc058
call sub.SHELL32.dll_SHGetFileInfo
add esp, 0x160
pop ebx
ret

Function at 0x5bc043
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.005bb870
test al, al
je 0x5bc028
cmp dword [0x655aac], 0x40047
jl 0x5bc028
cmp byte [0x64d6fc], 0
jne 0x5bc028
call fcn.005bbe88
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x64d700]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x5bc058
call sub.SHELL32.dll_SHGetFileInfo
add esp, 0x160
pop ebx
ret
Function at 0x5c1f90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5c1f98
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c20fb
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x5c1ff9
lea edx, [ebp - 8]
mov eax, dword [0x64ec30]
call fcn.00406cac
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.005bf768
cmp ebx, 1
jbe 0x5c2030
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x5c2114
call fcn.0040a5a0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404b1c
jmp 0x5c2030
lea eax, [ebp - 4]
mov edx, 0x5c2124
call fcn.004048f4
cmp ebx, 1
jbe 0x5c2030
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x5c2134
call fcn.0040a5a0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404b1c
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
call fcn.00404b60
mov eax, dword [ebp - 0x1c]
call fcn.00404d0c
push eax
call sub.KERNEL32.dll_CreateDirectoryA
test eax, eax
jne 0x5c20c3
call sub.KERNEL32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
jne 0x5c2068
mov bl, 1
jmp 0x5c20d3
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040c578
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x64f014]
call fcn.00406cac
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005bf768
mov eax, dword [ebp - 0x28]
mov ecx, 1
pop edx
call fcn.005bcde4
mov eax, dword [ebp - 0x20]
mov cx, word [0x5c2138]
xor edx, edx
call fcn.00442068
mov bl, 2
jmp 0x5c20d3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.004048b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c2102
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404880
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404880
ret

Function at 0x5c2764
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 0x5c27fe
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x5c27b0
lea edx, [ebp - 0x164]
mov eax, dword [0x64f010]
call fcn.00406cac
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.005bf768
jmp 0x5c27e5
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.SHELL32.dll_SHGetFileInfo
test eax, eax
je 0x5c27de
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.00404ac4
jmp 0x5c27e5
mov eax, ebx
call fcn.0040485c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c2805
lea eax, [ebp - 0x164]
call fcn.0040485c
ret
Function at 0x5c3210
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x5c3243
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5c323c
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.00404cfc
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x4010ac]
call fcn.00405510
xor eax, eax
push ebp
push 0x5c33d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x5c3399
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x5c33f8
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404bd4
mov eax, dword [ebp - 0x158]
call fcn.00404d0c
push eax
call sub.KERNEL32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5c338d
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x5c3372
test al, 2
jne 0x5c3372
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x5c33f8
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404ac4
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404bd4
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.005bb9f4
call fcn.00418d10
test al, al
je 0x5c3330
or edi, 0xffffffff
jmp 0x5c333f
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.005bbb90
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.005bb958
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404ac4
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x5c32c5
push ebx
call sub.KERNEL32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x5c3288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c33d8
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404880
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010ac]
call fcn.004053e8
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x5c4528
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 0x5c45aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
lea edx, [ebp - 8]
mov eax, ebx
call fcn.005c4630
mov eax, dword [ebp - 8]
call fcn.005c2308
test al, al
je 0x5c457b
mov eax, dword [ebp - 8]
call fcn.00404d0c
push eax
call sub.KERNEL32.dll_GetDriveTypeA
cmp eax, 2
jne 0x5c457b
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 + 0x3c0]
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 0x5c45b1
lea eax, [ebp - 8]
call fcn.0040485c
ret
Function at 0x5c45d0
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x14], 0
jne 0x5c461b
push 0x208
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.005c4504
push eax
call sub.SHELL32.dll_SHGetFileInfo
test eax, eax
je 0x5c461b
lea eax, [esp + 0xc]
call fcn.00409e00
mov ecx, eax
lea edx, [esp + 0xc]
lea eax, [ebx + 0x14]
call fcn.0040494c
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.004048b0
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x5c8130
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404d0c
push eax
call sub.KERNEL32.dll_GetDriveTypeA
sub eax, 3
je 0x5c8171
dec eax
je 0x5c8153
sub eax, 2
je 0x5c8171
jmp 0x5c8182
mov al, byte [ebx]
call fcn.005bd288
test al, al
je 0x5c8182
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9f
call fcn.00403c68
jmp 0x5c8182
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9f
call fcn.00403c68
pop esi
pop ebx
pop ebp
ret

Function at 0x5c8188
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 0x5c8237
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c8], 0
jne 0x5c81d6
push 0x465
mov eax, dword [ebp - 4]
call fcn.0044fc28
mov ecx, eax
mov dl, 1
mov eax, dword [0x5c47c4]
call fcn.005c4830
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.005c4cf8
lea eax, [ebp - 8]
mov edx, 0x5c824c
call fcn.004048f4
call sub.KERNEL32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x5c8221
test bl, 1
je 0x5c821a
lea eax, [ebp - 8]
call fcn.00404d64
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.005c8130
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x5c81fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c823e
lea eax, [ebp - 8]
call fcn.0040485c
ret
Function at 0x5c8dcc
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.00404cfc
xor eax, eax
push ebp
push 0x5c8eea
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 0x5c8ebd
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.00404d0c
push eax
call sub.KERNEL32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5c8e9a
test byte [ebp - 0x14c], 0x10
jne 0x5c8e7d
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004091f8
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x5c8e40
push ebx
call sub.KERNEL32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x5c8ea6
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 0x5c8ec4
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_SetErrorMode
ret

Function at 0x5cdca8
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x5cdcb6
je 0x5cdcbb
jmp 0x5cdce0
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x5cdcdb
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x64ef58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.SHELL32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x5d875c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d89bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x5d87bf
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.005d8224
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d6c8
cmp al, 1
jne 0x5d87bf
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.005d853c
test al, al
je 0x5d894b
cmp dword [ebp - 8], 0
jge 0x5d87dd
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.005d8224
mov eax, dword [ebp - 0x210]
call fcn.00404b14
cmp ebx, eax
jge 0x5d8827
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.005d8224
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x64f1d8]
and eax, 0xff
bt dword [edx], eax
jae 0x5d8827
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5d883b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d8738
cmp ebx, dword [ebp - 8]
je 0x5d893d
lea eax, [ebp - 0x108]
push eax
call sub.USER32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x5d8867
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c68
and eax, 0x7f
movzx eax, word [eax*2 + 0x64d82c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.USER32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x5d892a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c68
and eax, 0x7f
movzx eax, word [eax*2 + 0x64d82c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044fc28
push eax
call sub.USER32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c68
and eax, 0x7f
movzx eax, word [eax*2 + 0x64d82c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044fc28
push eax
call sub.USER32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8931
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x5d899e
cmp dword [ebp - 8], 0
jge 0x5d8956
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.005d8224
mov eax, dword [ebp - 0x218]
call fcn.00404b14
cmp eax, dword [ebp - 8]
jg 0x5d8990
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.005d8224
mov eax, dword [ebp - 0x21c]
call fcn.00404b14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005d8738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d89c3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404880
ret
Function at 0x5d9e60
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x5d9efe
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x64d830]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x64d830]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x64d830]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x64d830]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x5d9e7f
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x5d9f14
dec edx
je 0x5d9f49
jmp 0x5d9f9a
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x64d830]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x64d830]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x5d9f9a
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x64d830]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x64d830]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x64d830]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5dad64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5dad84
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5dad72
pop edi
pop esi
pop ebx
ret
Function at 0x612098
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push ebp
push 0x61210f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc]
mov ax, word [eax*2 + 0x64e9dc]
mov edx, dword [ebp + 8]
movzx edx, byte [edx + 0x14]
or ax, word [edx*2 + 0x64e9d8]
or ax, 1
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
sete dl
and edx, 0x7f
or ax, word [edx*2 + 0x64e9e0]
movzx eax, ax
push eax
push 0
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x38]
mov eax, dword [0x64ef58]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
xor eax, eax
call fcn.004965c8
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x612116
ret

Function at 0x6241f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x624340
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x64ed14]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
cmp byte [eax + 0x173], 0
je 0x624325
xor eax, eax
push ebp
push 0x62431e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00468944
mov eax, dword [0x64ed14]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
cmp dword [eax + 0x174], 0
je 0x624302
cmp dword [ebp - 4], 0
je 0x624302
mov eax, dword [0x64ed14]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
mov eax, dword [eax + 0x174]
call fcn.0040987c
test al, al
je 0x624302
mov eax, dword [ebp - 4]
call fcn.0040987c
test al, al
je 0x624302
lea eax, [ebp - 8]
mov edx, dword [0x64ed14]
mov edx, dword [edx]
mov edx, dword [edx + 0x4b8]
mov edx, dword [edx + 0x174]
call fcn.004048f4
push 0x624354
push dword [ebp - 4]
push 0x624354
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004048f4
push 1
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404d0c
push eax
mov eax, dword [ebp - 8]
call fcn.00404d0c
push eax
push 0x624358
mov eax, dword [0x64ef58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.SHELL32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x624325
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
xor edx, edx
call fcn.00468944
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x624347
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404880
ret
Function at 0x62a2dc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x62a414
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.USER32.dll_IsIconic
test eax, eax
je 0x62a307
push 9
push ebx
call sub.USER32.dll_ShowWindow
call sub.USER32.dll_GetForegroundWindow
cmp ebx, eax
jne 0x62a319
mov byte [ebp - 1], 1
jmp 0x62a40a
mov eax, dword [0x64f1e8]
cmp dword [eax], 2
jne 0x62a32d
mov eax, dword [0x64ed4c]
cmp dword [eax], 4
jg 0x62a361
mov eax, dword [0x64f1e8]
cmp dword [eax], 1
jne 0x62a3f3
mov eax, dword [0x64ed4c]
cmp dword [eax], 4
jg 0x62a361
mov eax, dword [0x64ed4c]
cmp dword [eax], 4
jne 0x62a3f3
mov eax, dword [0x64efdc]
cmp dword [eax], 0
jle 0x62a3f3
mov byte [ebp - 1], 0
push 0
call sub.USER32.dll_GetForegroundWindow
push eax
call sub.USER32.dll_GetWindowThreadProcessId
mov esi, eax
push 0
push ebx
call sub.USER32.dll_GetWindowThreadProcessId
mov edi, eax
push 0xffffffffffffffff
push esi
push edi
call sub.USER32.dll_AttachThreadInput
test eax, eax
je 0x62a3ab
push ebx
call sub.USER32.dll_BringWindowToTop
push ebx
call sub.USER32.dll_SetForegroundWindow
push 0
push esi
push edi
call sub.USER32.dll_AttachThreadInput
call sub.USER32.dll_GetForegroundWindow
cmp ebx, eax
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
jne 0x62a3ff
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
call sub.USER32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.USER32.dll_SystemParametersInfoA
push ebx
call sub.USER32.dll_BringWindowToTop
push ebx
call sub.USER32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2001
call sub.USER32.dll_SystemParametersInfoA
jmp 0x62a3ff
push ebx
call sub.USER32.dll_BringWindowToTop
push ebx
call sub.USER32.dll_SetForegroundWindow
call sub.USER32.dll_GetForegroundWindow
cmp ebx, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62a41e
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret