joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d4a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d4d8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d4b9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d4c8
or bl, 4
test esi, 0x20000000
je 0x45d4d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463b9c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463bae
add esp, 0xfffffff0
call fcn.00404830
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424204
mov eax, dword [0x51895c]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f40
mov eax, dword [0x51896c]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f4c
mov eax, ebx
call fcn.00463f58
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41abd4]
call fcn.004044c8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41abd4]
call fcn.004044c8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41abd4]
call fcn.004044c8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41abd4]
call fcn.004044c8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41abd4]
call fcn.004044c8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x460370
push eax
push 0
push 0
mov eax, dword [0x518c28]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425c9c]
call fcn.00427434
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425c9c]
call fcn.00427434
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425c9c]
call fcn.00427434
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004643a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464270
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464270
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464270
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463ceb
call fcn.00404888
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x464054
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4641ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4641e0
mov dl, 1
mov eax, dword [0x41b238]
call fcn.004044c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004053cc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4641cf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00451f94
test al, al
je 0x4641c2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x464210
lea eax, [ebp - 0x254]
call fcn.0040d078
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4641c2
xor eax, eax
push ebp
push 0x4641bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x464248
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4641a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040564c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4641a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040564c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4641c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4640c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fc0c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464206
lea eax, [ebp - 0x260]
call fcn.004053cc
ret

Function at 0x464b48
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x51ce18]
cmp byte [eax + 0xa5], 0
jne 0x464bb9
cmp dword [0x51ce30], 0
jne 0x464b7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464b04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51ce30], eax
cmp dword [0x51ce2c], 0
jne 0x464b95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51ce2c], eax
cmp dword [0x51ce34], 0
jne 0x464bb9
push esp
push 0
push 0
push 0x464aa8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51ce34], eax
pop edx
ret
Function at 0x46524c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51ce18]
cmp dword [eax + 0x30], 0
je 0x4652f6
cmp dword [ebx + 0x94], 0
jne 0x4652f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4651dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4652f0
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_GetWindowLongA
test al, 8
je 0x4652b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4652f0
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.0041d34c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4652c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465e54
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x465e89
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004054bc
jmp 0x465e96
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405420
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x466fc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467001
mov eax, esi
call fcn.0044d57c
test al, al
je 0x467001
mov eax, dword [ebx + 0x84]
call fcn.0044d278
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467001
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d278
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46b174
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46b1a2
mov eax, ebx
call fcn.0046bc28
cmp dword [ebx + 0x40], 0
je 0x46b19b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46b213
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46b205
cmp dword [ebx + 8], 0
je 0x46b1c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46b1d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46b205
cmp dword [ebx + 8], 0
je 0x46b1b7
cmp eax, 3
je 0x46b1e9
dec eax
jne 0x46b1b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46b1b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46b1b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46b231
cmp dword [ebx + 0x14], 0xcc
je 0x46b231
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046b23c
pop ebx
ret
Function at 0x47c8e8
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
xor edx, edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040588c
xor eax, eax
push ebp
push 0x47cb01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047cc34
test al, al
jne 0x47c933
mov byte [ebp - 5], 1
jmp 0x47cace
mov byte [ebp - 0x15], 1
lea eax, [ebp - 0x14]
call fcn.0040c988
mov eax, dword [ebp - 0x14]
call fcn.0040569c
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405a2c
mov eax, dword [ebp - 4]
call fcn.004030d4
call fcn.00403098
lea eax, [ebp - 0x158]
push eax
push 0x47cb10
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47ca87
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.0040564c
mov eax, dword [ebp - 0x10]
mov edx, 0x47cb1c
call fcn.004057e8
je 0x47c9ad
mov eax, dword [ebp - 0x10]
mov edx, 0x47cb28
call fcn.004057e8
jne 0x47c9c1
cmp byte [ebp - 0x15], 0
jne 0x47c9b7
xor eax, eax
jmp 0x47c9b9
mov al, 1
mov byte [ebp - 0x15], al
jmp 0x47ca5e
mov byte [ebp - 0x15], 0
cmp dword [ebp - 0x158], 0x10
jne 0x47ca42
mov eax, dword [ebp - 4]
call fcn.0040569c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x47ca08
push dword [ebp - 4]
push 0x47cb34
push dword [ebp - 0x10]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x15c]
call fcn.0047c8e8
jmp 0x47ca24
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004056e8
mov eax, dword [ebp - 0x160]
call fcn.0047c8e8
mov eax, dword [ebp - 0x10]
call fcn.0040589c
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
jne 0x47ca3c
mov byte [ebp - 5], 0
jmp 0x47ca5e
mov byte [ebp - 5], 1
jmp 0x47ca5e
mov eax, dword [ebp - 0x10]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x47ca5a
mov byte [ebp - 5], 0
jmp 0x47ca5e
mov byte [ebp - 5], 1
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47c97c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x47ca9a
mov eax, dword [ebp - 0x14]
call fcn.004030d4
call fcn.00403098
mov byte [ebp - 5], 0
jmp 0x47cace
cmp byte [ebp - 0x15], 0
je 0x47cabd
mov eax, 0x47cb38
call fcn.004030e8
call fcn.00403098
mov eax, dword [ebp - 4]
call fcn.0040589c
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov eax, dword [ebp - 0x14]
call fcn.004030d4
call fcn.00403098
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cb08
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.004053f0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004053f0
lea eax, [ebp - 4]
call fcn.004053cc
ret
Function at 0x47cc34
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040589c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47cc5a
test byte [ebp - 0xc], 0x10
jne 0x47cc5e
xor eax, eax
jmp 0x47cc60
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x47cea0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47cf8c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040c6a0
mov eax, dword [ebp - 0x10]
call fcn.0047cc6c
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41b45c]
call fcn.00420188
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47cf6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47cf4f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x47cf1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404e08
jmp 0x47cf76
mov eax, dword [ebp - 8]
call fcn.0040569c
push eax
mov eax, dword [ebp - 8]
call fcn.0040589c
mov edx, eax
mov eax, dword [ebp - 0xc]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetEndOfFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47cf59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cf76
mov eax, dword [ebp - 0xc]
call fcn.004044f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cf93
lea eax, [ebp - 0x10]
call fcn.004053cc
ret

Function at 0x47d3d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
push 0x101
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x105]
mov ecx, 0x101
call fcn.0040564c
mov esp, ebp
pop ebp
ret
Function at 0x486370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x486378
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48656a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x486580
mov eax, esi
call fcn.00484100
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00405420
lea ecx, [ebp - 0x10]
mov edx, 0x486594
mov eax, esi
call fcn.00484100
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00405420
lea ecx, [ebp - 0x14]
mov edx, 0x4865ac
mov eax, esi
call fcn.00484100
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00405420
lea ecx, [ebp - 0x18]
mov edx, 0x4865c8
mov eax, esi
call fcn.00484100
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00405420
lea ecx, [ebp - 0x1c]
mov edx, 0x4865e4
mov eax, esi
call fcn.00484100
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00405420
lea ecx, [ebp - 0x24]
mov edx, 0x4865fc
mov eax, esi
call fcn.00484100
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040b764
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040bef4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x486614
mov eax, esi
call fcn.00484100
mov eax, dword [ebp - 0x28]
call fcn.00483218
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x486624
mov eax, esi
call fcn.00484100
mov eax, dword [ebp - 0x2c]
call fcn.00483218
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48663c
mov eax, esi
call fcn.00484100
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040bef4
inc eax
je 0x48650d
lea ecx, [ebp - 0x34]
mov edx, 0x48663c
mov eax, esi
call fcn.00484100
mov eax, dword [ebp - 0x34]
call fcn.0040beb8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040dfa0
fstp qword [ebp - 0x3c]
wait
call fcn.0040e3c0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x486528
lea ecx, [ebp - 0x40]
mov edx, 0x48663c
mov eax, esi
call fcn.00484100
mov eax, dword [ebp - 0x40]
call fcn.00483218
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48664c
mov eax, esi
call fcn.00484100
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00405420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486571
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004053f0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004053f0
ret
Function at 0x49ffb0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
xor edx, edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040588c
xor eax, eax
push ebp
push 0x4a01b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 1
lea eax, [ebp - 0x14]
call fcn.0040c988
mov eax, dword [ebp - 0x14]
call fcn.0040569c
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405a2c
mov eax, dword [ebp - 4]
call fcn.0047cc34
test al, al
je 0x4a017d
mov eax, dword [ebp - 4]
call fcn.004030d4
lea eax, [ebp - 0x158]
push eax
push 0x4a01c0
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4a0145
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.0040564c
mov eax, dword [ebp - 0x10]
mov edx, 0x4a01cc
call fcn.004057e8
je 0x4a006b
mov eax, dword [ebp - 0x10]
mov edx, 0x4a01d8
call fcn.004057e8
jne 0x4a007f
cmp byte [ebp - 0x15], 0
jne 0x4a0075
xor eax, eax
jmp 0x4a0077
mov al, 1
mov byte [ebp - 0x15], al
jmp 0x4a011c
mov byte [ebp - 0x15], 0
cmp dword [ebp - 0x158], 0x10
jne 0x4a0100
mov eax, dword [ebp - 4]
call fcn.0040569c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x4a00c6
push dword [ebp - 4]
push 0x4a01e4
push dword [ebp - 0x10]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x15c]
call fcn.0049ffb0
jmp 0x4a00e2
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004056e8
mov eax, dword [ebp - 0x160]
call fcn.0049ffb0
mov eax, dword [ebp - 0x10]
call fcn.0040589c
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
jne 0x4a00fa
mov byte [ebp - 5], 0
jmp 0x4a011c
mov byte [ebp - 5], 1
jmp 0x4a011c
mov eax, dword [ebp - 0x10]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x4a0118
mov byte [ebp - 5], 0
jmp 0x4a011c
mov byte [ebp - 5], 1
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4a003a
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x4a0153
mov eax, dword [ebp - 0x14]
call fcn.004030d4
mov byte [ebp - 5], 0
jmp 0x4a017d
cmp byte [ebp - 0x15], 0
je 0x4a0171
mov eax, 0x4a01e8
call fcn.004030e8
mov eax, dword [ebp - 4]
call fcn.0040589c
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov eax, dword [ebp - 0x14]
call fcn.004030d4
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a01b7
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.004053f0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004053f0
lea eax, [ebp - 4]
call fcn.004053cc
ret
Function at 0x4a3f90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
mov al, byte [ebp - 2]
and al, 0x20
mov dl, byte [ebp - 2]
and dl, 0x1e
and edx, 0xff
shr edx, 1
or al, dl
mov dl, byte [ebp - 2]
and dl, 1
shl edx, 4
or al, dl
mov byte [ebp - 4], al
xor eax, eax
mov al, byte [ebp - 4]
xor edx, edx
mov dl, byte [ebp - 1]
shl edx, 3
lea edx, [edx*8 + 0x512b74]
mov al, byte [edx + eax]
and al, 0xf
mov byte [ebp - 3], al
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x4a3fe0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4a3ff8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4a3ff1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403aa4
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x512d74]
and al, 7
and eax, 0xff
mov ecx, 7
sub ecx, eax
mov eax, 1
shl eax, cl
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + 0x512d74]
shr edx, 3
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx]
and eax, edx
je 0x4a406a
mov eax, dword [ebp - 0xc]
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov edx, dword [ebp - 0xc]
shr edx, 3
mov ecx, dword [ebp - 8]
or byte [ecx + edx], al
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x38
jne 0x4a4017
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x4a4318
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4a4331
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4a432a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4a4343
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4a433c
mov eax, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 5
lea ecx, [ebp - 0x12]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004a3e58
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x20]
xor byte [ebp + edx - 0x12], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 6
jne 0x4a4363
xor eax, eax
mov al, byte [ebp - 0x12]
shr eax, 2
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x12]
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x11]
shr edx, 4
or al, dl
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x11]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0x10]
shr edx, 6
or al, dl
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x10]
and al, 0x3f
mov byte [ebp - 0x17], al
xor eax, eax
mov al, byte [ebp - 0xf]
shr eax, 2
mov byte [ebp - 0x16], al
mov al, byte [ebp - 0xf]
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0xe]
shr edx, 4
or al, dl
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0xe]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0xd]
shr edx, 6
or al, dl
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0xd]
and al, 0x3f
mov byte [ebp - 0x13], al
xor eax, eax
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dl, byte [ebp + edx - 0x1a]
call fcn.004a3f90
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx - 0x1a], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 8
jne 0x4a43fb
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, eax
mov al, byte [ebp + eax - 0x1a]
shl eax, 4
mov edx, dword [ebp - 0x20]
add edx, edx
or al, byte [ebp + edx - 0x19]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx - 0x12], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jne 0x4a441f
lea eax, [ebp - 0x12]
mov edx, 5
call fcn.004a3ef4
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov al, byte [ebp + eax - 0x12]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jne 0x4a4456
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 0xc