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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, esi
test ebx, ebx
je 0x67d985
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040b278
push eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x67d9b9
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.0067d838
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x67f84c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x67f9bd
push dword fs:[eax]
mov dword fs:[eax], esp
test cl, cl
je 0x67f8a1
mov eax, dword [0x6cdda8]
cmp dword [eax], 0xa0042ee
jae 0x67f8a1
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x67f927
mov eax, 0x67f9d8
call fcn.00616130
mov eax, dword [ebp + 8]
mov byte [eax], 1
jmp 0x67f927
test cl, cl
je 0x67f8ac
mov esi, 0x80000001
jmp 0x67f8b1
mov esi, 0x80000002
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6cdc84]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x6cd2a0]
mov edx, esi
xor eax, eax
call fcn.005c7a14
test eax, eax
jne 0x67f91d
mov esi, ebx
test esi, esi
je 0x67f8e0
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, ebx
call fcn.0040b278
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x67f912
mov eax, 0x67fab4
call fcn.00616130
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x67f927
mov eax, 0x67fb18
call fcn.00616130
cmp byte [ebp + 0xc], 0
je 0x67f9a2
mov eax, ebx
call fcn.0040b278
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x67f950
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x67f9a2
lea ecx, [ebp - 0x10]
mov edx, 0x67fb6c
mov ax, 0x47
call fcn.005cd508
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.005c82fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x6cded8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6cded8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6cded8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
pop eax
call fcn.0067cdf4
test al, al
je 0x67f92d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67f9c4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040a228
ret
Function at 0x682f30
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 0x682ff1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x682fd6
test bl, 0x10
je 0x682fd6
lea ecx, [ebp - 4]
mov edx, 0x68300c
mov eax, esi
call fcn.005c5014
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x683030
mov eax, 0x68304c
call fcn.005c68cc
mov edx, 0x683078
mov eax, dword [ebp - 8]
call fcn.00422368
test eax, eax
jne 0x682fd6
mov eax, dword [ebp - 4]
call fcn.00423a20
lea ecx, [ebp - 0xc]
mov edx, 0x6830d4
mov eax, esi
call fcn.005c5014
mov eax, dword [ebp - 0xc]
call fcn.00423a20
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.0040b278
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 0x682ff8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a228
ret

Function at 0x684038
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x684112
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.0060cf98
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x684130
call fcn.006163b4
mov eax, dword [0x6cda38]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
call fcn.00464cd0
mov esi, eax
mov eax, dword [esi]
mov ebx, eax
test ebx, ebx
je 0x6840ab
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
push eax
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
push eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.0062ce48
test al, al
jne 0x6840fc
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x6840e1
mov eax, 0x684180
call fcn.00616130
jmp 0x6840fc
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x684220
call fcn.006163b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x684119
lea eax, [ebp - 0x1c]
call fcn.0040a1c8
ret
Function at 0x6865f8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
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 0x686782
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.005c4ea4
lea eax, [ebp - 0x258]
mov edx, 0x68679c
call fcn.0040b470
mov eax, dword [ebp - 0x258]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x68675c
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.0040b318
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x68668b
sub ebx, 4
mov ebx, dword [ebx]
cmp ebx, 9
jl 0x6866d0
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b698
mov eax, dword [ebp - 0x25c]
mov edx, 0x6867c0
call fcn.00422368
test eax, eax
jne 0x6866d0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x6866d2
xor eax, eax
test al, al
je 0x6866e9
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x6866eb
xor eax, eax
test al, al
je 0x686702
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x686704
xor eax, eax
test al, al
je 0x686741
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x686741
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.0040b698
mov eax, dword [ebp - 0x260]
call fcn.0042339c
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x254]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x68666c
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x686789
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x6949d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
call fcn.006948a8
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a
mov eax, dword [0x6d6448]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
cmp ebx, 0x6c840001
jne 0x694a34
call fcn.00428ffc
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x694a58
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x694b0c
call fcn.0060cd84
mov word [ebp - 0xa], bx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call dword [ebp - 8]
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x694aae
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 0xa]
call fcn.00694928
mov esi, eax
mov eax, esi
sub ax, 2
je 0x694aae
dec eax
sub ax, 2
jb 0x694ac2
movzx eax, si
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x694b6c
call fcn.0060cd84
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x694a63
mov edx, 2
movzx eax, word [ebp - 0xa]
call fcn.00694928
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 0xa]
call fcn.00694928
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 0x696e04
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.00696e88
call fcn.00406f0c
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.00696e88
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.00696e38
mov eax, esi
pop edx
pop esi
pop ebx
ret
Function at 0x698dec
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x698fbe
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.0040a350
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x6cd6a8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b278
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.005c7a14
test eax, eax
jne 0x698fa3
xor eax, eax
push ebp
push 0x698f98
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.005e1e74
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x698e7d
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x698eaa
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.0040a774
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x698ecc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.0040a774
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x698f42
sub eax, 0xe9
je 0x698ee6
sub eax, 0x19
je 0x698f81
jmp 0x698f3b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x698efd
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x698f10
call fcn.004099b8
jmp 0x698fa3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x698f27
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a350
jmp 0x698e71
call fcn.004099b8
jmp 0x698fa3
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.005e1e74
lea eax, [ebp - 4]
call fcn.0040a774
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.0040a350
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.005f3540
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.005e0014
inc ebx
jmp 0x698e71
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x698f9f
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 0x698fc5
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a228
ret
Function at 0x69fa6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x69faf0
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x69fad8
mov ebx, esi
test ebx, ebx
je 0x69fa9e
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040b278
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x69fb0c
call fcn.0040b4c8
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x69fada
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69faf7
lea eax, [ebp - 8]
call fcn.0040a1c8
ret

Function at 0x6a5f04
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 0x6a5f0e
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x6a5fc4
push 0x6a5ff8
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414020
mov ebx, eax
test ebx, ebx
je 0x6a5fad
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x6a5fad
test al, 0x10
je 0x6a5f5e
mov ebp, 0x2000000
jmp 0x6a5f60
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6a5fad
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 0x6a5fad
cmp ebx, 0xff0
jge 0x6a5fad
mov edx, edi
mov eax, esp
call fcn.006a5e1c
jmp 0x6a5fb6
mov eax, edi
mov edx, esi
call fcn.0040a5a8
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6a6014
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 0x6a60a5
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 0x6a607b
cmp ebx, 0x104
jge 0x6a607b
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.0040b318
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.006a5f04
jmp 0x6a608c
mov eax, 0x6a60c0
call fcn.0060cf3c
mov eax, esi
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a60ac
lea eax, [ebp - 0x20c]
call fcn.0040a1c8
ret
Function at 0x6a60e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, 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 0x6a6237
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.006a5f04
lea eax, [ebp - 8]
call fcn.006a6014
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407760
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x6a6244
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0040b278
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.0040b278
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040b278
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 0x6a6193
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x6a6189
call fcn.00428fdc
mov eax, 0x6a625c
call fcn.0060ce84
cmp dword [ebp - 0x10], 0
jne 0x6a61a3
mov eax, 0x6a6288
call fcn.0060cd28
xor edx, edx
push ebp
push 0x6a6215
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.006a5c10
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6a61b1
cmp eax, 0xffffffff
jne 0x6a61de
mov eax, 0x6a62dc
call fcn.0060ce84
call fcn.006a5c10
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x6a61fe
mov eax, 0x6a631c
call fcn.0060ce84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a621c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x6a6344
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 0x6a6413
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x6a59e4]
call fcn.006a643c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a63ec
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, 0x6a642c
call fcn.004244f8
mov edx, dword [ebp - 8]
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
call fcn.005b8250
call fcn.006a5c10
call sub.user32.dll_GetFocus
mov edx, dword [0x6cdec4]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x6a63cf
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x6a63d6
call sub.user32.dll_WaitMessage
jmp 0x6a63a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a63f3
mov eax, dword [ebp - 4]
call fcn.00408444
ret
Function at 0x6ac8cc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6ac8d4
push ecx
push ebx
xor eax, eax
push ebp
push 0x6aca22
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0060d530
mov edx, dword [ebp - 0x10]
mov eax, 0x6d6530
call fcn.0040a5a8
lea eax, [ebp - 0x14]
mov ecx, dword [0x6d6530]
mov edx, 0x6aca3c
call fcn.0040b4c8
mov eax, dword [ebp - 0x14]
call fcn.00616130
mov eax, dword [0x6cdfdc]
cmp byte [eax], 0
je 0x6ac92f
mov eax, dword [0x6d6530]
call fcn.0061583c
lea edx, [ebp - 0x18]
mov eax, dword [0x6d6530]
call fcn.005c4ea4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x6aca84
call fcn.0040b4c8
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x6ac9c9
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ax, 0x3d
call fcn.005cd508
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0042302c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.005c857c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov ax, 0x81
call fcn.005cd4d8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41ba8c]
call fcn.00429008
call fcn.004098c4
lea eax, [ebp - 8]
call fcn.0062554c
cmp dword [ebp - 8], 0
je 0x6ac9fa
lea eax, [ebp - 0xc]
mov ecx, 0x6acaa0
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006ac874
mov eax, dword [ebp - 0xc]
call fcn.006255a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6aca29
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040a228
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040a228
ret

Function at 0x6af598
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x6d6825], 1
call fcn.0060f6d8
test al, al
jne 0x6af5ea
push 5
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6cdec4]
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 [0x6cded8]
mov eax, dword [eax + 0x15c]
mov cl, 2
xor edx, edx
call fcn.006af2a8
ret

Function at 0x6b2f4c
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 0x6b2f71
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6b4da4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x6b4dd0
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x6b4dd9
call fcn.006b39e4
mov eax, 0xa
call fcn.005c8990
call fcn.006b39e4
call fcn.006b4d70
test al, al
jne 0x6b4dae
pop ebx
ret

Function at 0x6b5300
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x6cd908]
cmp dword [eax], 0
je 0x6b53ab
mov eax, dword [0x6cd908]
mov eax, dword [eax]
call fcn.0051b7e8
test al, al
je 0x6b53ab
mov eax, dword [0x6cd908]
mov eax, dword [eax]
cmp byte [eax + 0x215], 0
je 0x6b5355
cmp byte [ebx + 0x3e1], 0
jne 0x6b5355
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x6b5359
xor eax, eax
jmp 0x6b535b
mov al, 1
mov ebx, eax
mov eax, dword [0x6cd908]
mov eax, dword [eax]
call fcn.0051b414
push 0xfffffffffffffff0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x6b53ab
test bl, bl
je 0x6b5397
push 5
mov eax, dword [0x6cd908]
mov eax, dword [eax]
call fcn.0051b414
push eax
call sub.user32.dll_ShowWindow
jmp 0x6b53ab
push 0
mov eax, dword [0x6cd908]
mov eax, dword [eax]
call fcn.0051b414
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret