joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58e950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.00409d60
inc eax
add eax, eax
push eax
mov eax, ebx
call fcn.0040a87c
push eax
push 1
push 0
push edi
push esi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x58e992
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
xor eax, eax
call fcn.0058e81c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x59085c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5909bf
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x5908b4
mov cx, 0x42ee
xor edx, edx
mov al, 0xa
call fcn.005b5aa8
test al, al
jne 0x5908b4
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x590929
mov eax, 0x5909dc
call fcn.005556dc
mov eax, dword [ebp + 8]
mov byte [eax], 1
jmp 0x590929
test bl, bl
je 0x5908bf
mov ebx, 0x80000001
jmp 0x5908c4
mov ebx, 0x80000002
push 0
push 2
lea eax, [ebp - 4]
push eax
mov ecx, 0x590aac
mov edx, ebx
xor eax, eax
call fcn.0050fc70
test eax, eax
jne 0x59091f
mov eax, esi
call fcn.00409d60
inc eax
add eax, eax
push eax
mov eax, esi
call fcn.0040a87c
push eax
push 1
push 0
mov eax, edi
call fcn.0040a87c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x590914
mov eax, 0x590b20
call fcn.005556dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x590929
mov eax, 0x590b84
call fcn.005556dc
cmp byte [ebp + 0xc], 0
je 0x5909a4
mov eax, esi
call fcn.0040a87c
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x590952
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x5909a4
lea ecx, [ebp - 0xc]
mov edx, 0x590bd8
mov ax, 0x47
call fcn.00515f84
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00510538
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5dbee0]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
pop eax
call fcn.0058dea8
test al, al
je 0x59092f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5909c6
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004098a0
ret
Function at 0x593ec8
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x593f89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x593f6e
test bl, 0x10
je 0x593f6e
lea ecx, [ebp - 4]
mov edx, 0x593fa4
mov eax, esi
call fcn.0050d0bc
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x593fc8
mov eax, 0x593fe4
call fcn.0050ebdc
mov edx, 0x594010
mov eax, dword [ebp - 8]
call fcn.0041c2f4
test eax, eax
jne 0x593f6e
mov eax, dword [ebp - 4]
call fcn.0041d960
lea ecx, [ebp - 0xc]
mov edx, 0x59406c
mov eax, esi
call fcn.0050d0bc
mov eax, dword [ebp - 0xc]
call fcn.0041d960
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.0040a87c
mov edi, eax
push edi
call sub.kernel32.dll_SetFileAttributesW
push edi
call sub.kernel32.dll_RemoveDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x593f90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098a0
ret

Function at 0x594cd8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x594d99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5dba5c]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
call fcn.0043e738
mov ebx, eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebx]
call fcn.00409d78
mov ecx, 0x14
cdq
idiv ecx
push eax
movzx eax, byte [ebp - 1]
mov ecx, edi
mov edx, esi
call fcn.0056a0d8
test al, al
jne 0x594d83
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x594d83
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0054caec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x594db8
call fcn.0055594c
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x594e08
call fcn.0055594c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x594da0
lea eax, [ebp - 0x18]
call fcn.00409840
ret
Function at 0x596b6c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x596ce9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050cf4c
lea eax, [ebp - 0x258]
mov edx, 0x596d04
call fcn.0040aa74
mov eax, dword [ebp - 0x258]
call fcn.0040a87c
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x596cc3
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.0040a91c
mov eax, dword [ebp - 4]
call fcn.00409d60
cmp eax, 9
jl 0x596ca8
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040ac9c
mov eax, dword [ebp - 0x25c]
mov edx, 0x596d28
call fcn.0041c2f4
test eax, eax
jne 0x596ca8
mov edx, 0x596d34
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
call fcn.0041c0bc
test al, al
je 0x596ca8
mov edx, 0x596d34
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
call fcn.0041c0bc
test al, al
je 0x596ca8
mov edx, 0x596d34
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
call fcn.0041c0bc
test al, al
je 0x596ca8
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x596ca8
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.0040ac9c
mov eax, dword [ebp - 0x260]
call fcn.0041d2fc
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x596bdf
push ebx
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596cf0
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.004098a0
lea eax, [ebp - 4]
call fcn.00409840
ret
Function at 0x5a4584
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
call fcn.005a4458
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4a
mov eax, dword [0x5e4438]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, esi
call fcn.0042513c
cmp ebx, 0x6c840001
jne 0x5a45d3
call fcn.00422bf8
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x5a45f7
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x5a46a8
call fcn.0054c8d8
mov word [ebp - 6], bx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call dword [ebp - 4]
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x5a464d
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 6]
call fcn.005a44d8
mov esi, eax
mov eax, esi
sub ax, 2
je 0x5a464d
dec eax
sub ax, 2
jb 0x5a4661
movzx eax, si
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x5a4708
call fcn.0054c8d8
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x5a4602
mov edx, 2
movzx eax, word [ebp - 6]
call fcn.005a44d8
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 6]
call fcn.005a44d8
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5a53bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.005a5438
call fcn.00406724
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.005a5438
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.005a53f0
mov eax, esi
pop edx
pop esi
pop ebx
ret
Function at 0x5a7370
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5a7515
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.004099c8
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x5db674]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040a87c
mov ecx, eax
mov eax, ebx
mov edx, edi
call fcn.0050fc70
test eax, eax
jne 0x5a74fa
xor eax, eax
push ebp
push 0x5a74ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [esi + 4]
mov eax, dword [esi]
xor ecx, ecx
call fcn.0052459c
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409d60
mov dword [ebp - 0x18], eax
cmp byte [ebp + 8], 0
je 0x5a7429
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00409e34
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edi, eax
jmp 0x5a744a
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00409e34
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov edi, eax
sub edi, 1
jb 0x5a7499
sub edi, 0xe9
je 0x5a745e
sub edi, 0x19
je 0x5a74d8
jmp 0x5a7492
mov eax, dword [ebp - 4]
call fcn.00409d60
cmp eax, 0x10000
jl 0x5a7477
call fcn.00409028
jmp 0x5a74fa
mov eax, dword [ebp - 4]
call fcn.00409d60
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004099c8
jmp 0x5a73f5
call fcn.00409028
jmp 0x5a74fa
lea ecx, [ebx + 1]
mov edx, dword [esi + 4]
mov eax, dword [esi]
call fcn.0052459c
lea eax, [ebp - 4]
call fcn.00409e34
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.004099c8
lea ecx, [ebp - 0x24]
mov eax, esi
mov edx, ebx
call fcn.0053507c
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.0052274c
inc ebx
jmp 0x5a73f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a74f6
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a751c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098a0
ret

Function at 0x5ae2b8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5ae32e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5ae316
mov eax, ebx
call fcn.00409d60
inc eax
add eax, eax
push eax
mov eax, ebx
call fcn.0040a87c
push eax
push 1
push 0
lea eax, [ebp - 4]
mov ecx, edi
mov edx, 0x5ae34c
call fcn.0040aacc
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
push esi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x5ae318
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ae335
lea eax, [ebp - 4]
call fcn.00409840
ret
Function at 0x5b44b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x5b44c2
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x5b4578
push 0x5b45ac
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00411b5c
mov ebx, eax
test ebx, ebx
je 0x5b4561
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5b4561
test al, 0x10
je 0x5b4512
mov ebp, 0x2000000
jmp 0x5b4514
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x5b4561
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call sub.kernel32.dll_CloseHandle
test ebx, ebx
jle 0x5b4561
cmp ebx, 0xff0
jge 0x5b4561
mov edx, edi
mov eax, esp
call fcn.005b43d0
jmp 0x5b456a
mov eax, edi
mov edx, esi
call fcn.00409c20
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5b45c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5b4659
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
test ebx, ebx
jle 0x5b462f
cmp ebx, 0x104
jge 0x5b462f
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.0040a91c
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.005b44b8
jmp 0x5b4640
mov eax, 0x5b4674
call fcn.0054ca90
mov eax, esi
call fcn.00409840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b4660
lea eax, [ebp - 0x20c]
call fcn.00409840
ret
Function at 0x5b469c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b481b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.0050d45c
mov eax, dword [ebp - 0x4c]
mov edx, 0x5b4834
call fcn.0041c3b8
test al, al
jne 0x5b46e9
mov eax, 0x5b484c
call fcn.0054c87c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005b44b8
lea eax, [ebp - 8]
call fcn.005b45c8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00406e80
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x5b4894
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0040a87c
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.0040a87c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040a87c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x5b476f
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x5b4765
call fcn.00422bd8
mov eax, 0x5b48ac
call fcn.0054c9d8
cmp dword [ebp - 0x10], 0
jne 0x5b477f
mov eax, 0x5b48d8
call fcn.0054c87c
xor edx, edx
push ebp
push 0x5b47f1
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.005b42a4
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x5b478d
cmp eax, 0xffffffff
jne 0x5b47ba
mov eax, 0x5b492c
call fcn.0054c9d8
call fcn.005b42a4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x5b47da
mov eax, 0x5b496c
call fcn.0054c9d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b47f8
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x5b4994
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5b4a63
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x5b4078]
call fcn.005b4a8c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b4a3c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x5b4a7c
call fcn.0041e350
mov edx, dword [ebp - 8]
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
call fcn.005004f4
call fcn.005b42a4
call sub.user32.dll_GetFocus
mov edx, dword [0x5dbecc]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x5b4a1f
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5b4a26
call sub.user32.dll_WaitMessage
jmp 0x5b49f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b4a43
mov eax, dword [ebp - 4]
call fcn.00407b94
ret
Function at 0x5baaa0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x5baaa8
push ebx
xor eax, eax
push ebp
push 0x5bacca
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bac93
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bac76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x5e47ba], 0
je 0x5baaf7
mov eax, dword [0x5dbfdc]
cmp byte [eax], 0
je 0x5baafb
xor eax, eax
jmp 0x5baafd
mov al, 1
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xd]
call fcn.0054d5f0
mov edx, dword [ebp - 0x14]
mov eax, 0x5e4514
call fcn.00409c20
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x5bace4
movzx eax, byte [ebp - 0xd]
call fcn.0047a014
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [0x5e4514]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x5bad08
call fcn.0055594c
mov eax, dword [0x5dbfdc]
cmp byte [eax], 0
je 0x5bab65
mov eax, dword [0x5e4514]
call fcn.00554de4
lea edx, [ebp - 0x2c]
mov eax, dword [0x5e4514]
call fcn.0050cf4c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x5bad58
call fcn.0040aacc
push 0
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x5babff
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 4]
mov ax, 0x3d
call fcn.00515f84
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.0041cf7c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x48]
mov eax, ebx
call fcn.005107b8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x3c]
mov ecx, 2
mov ax, 0x81
call fcn.00515f54
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x419708]
call fcn.00422c04
call fcn.00408f34
lea eax, [ebp - 8]
call fcn.00562b08
cmp dword [ebp - 8], 0
je 0x5bac60
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5bac59
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x5bad74
mov edx, dword [ebp - 4]
call fcn.0040aacc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.005baa48
mov eax, dword [ebp - 0xc]
call fcn.00562b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bac60
lea eax, [ebp - 0xc]
call fcn.00409840
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bac7d
lea eax, [ebp - 8]
call fcn.00409840
ret

Function at 0x5bd9d4
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x5e4801], 1
call fcn.0054f2e0
test al, al
jne 0x5bda26
push 5
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x5dbee0]
mov eax, dword [eax + 0x15c]
mov cl, 2
xor edx, edx
call fcn.005bd6e4
ret
Function at 0x5c1374
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x5c1399
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c3230
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x5c325c
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x5c3265
call fcn.005c1e14
mov eax, 0xa
call fcn.00510dc4
call fcn.005c1e14
call fcn.005c31fc
test al, al
jne 0x5c323a
pop ebx
ret

Function at 0x5c3790
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x5db934]
cmp dword [eax], 0
je 0x5c383d
mov eax, dword [0x5db934]
mov eax, dword [eax]
call fcn.004a3d6c
test al, al
je 0x5c383d
mov eax, dword [0x5db934]
mov eax, dword [eax]
cmp byte [eax + 0x215], 0
je 0x5c37e5
cmp byte [ebx + 0x3e1], 0
jne 0x5c37e5
mov eax, dword [0x5dbecc]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x5c37e9
xor eax, eax
jmp 0x5c37eb
mov al, 1
mov ebx, eax
mov eax, dword [0x5db934]
mov eax, dword [eax]
call fcn.004a3994
mov edx, 0xfffffff0
call fcn.004125f4
test eax, 0x10000000
setne al
cmp bl, al
je 0x5c383d
test bl, bl
je 0x5c3829
push 5
mov eax, dword [0x5db934]
mov eax, dword [eax]
call fcn.004a3994
push eax
call sub.user32.dll_ShowWindow
jmp 0x5c383d
push 0
mov eax, dword [0x5db934]
mov eax, dword [eax]
call fcn.004a3994
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret