joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6dc3e4
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 0x6dc4a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6dc48a
test bl, 0x10
je 0x6dc48a
lea ecx, [ebp - 4]
mov edx, 0x6dc4c0
mov eax, esi
call fcn.005e5a54
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x6dc4e4
mov eax, 0x6dc500
call fcn.005e622c
mov edx, 0x6dc52c
mov eax, dword [ebp - 8]
call fcn.00420e18
test eax, eax
jne 0x6dc48a
mov eax, dword [ebp - 4]
call fcn.00422524
lea ecx, [ebp - 0xc]
mov edx, 0x6dc588
mov eax, esi
call fcn.005e5a54
mov eax, dword [ebp - 0xc]
call fcn.00422524
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.00409868
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 0x6dc4ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408814
ret

Function at 0x6dd4d8
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 0x6dd5b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.006abea8
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, 0x6dd5d0
call fcn.006b4f3c
mov eax, dword [0x78b7dc]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
call fcn.0045d288
mov esi, eax
mov eax, dword [esi]
mov ebx, eax
test ebx, ebx
je 0x6dd54b
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.006d5f00
test al, al
jne 0x6dd59c
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x6dd581
mov eax, 0x6dd620
call fcn.006b4cb8
jmp 0x6dd59c
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6dd6c0
call fcn.006b4f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dd5b9
lea eax, [ebp - 0x1c]
call fcn.004087b4
ret
Function at 0x6dfa84
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 0x6dfc0e
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.005e58e4
lea eax, [ebp - 0x258]
mov edx, 0x6dfc28
call fcn.00409a7c
mov eax, dword [ebp - 0x258]
call fcn.00409868
push eax
call sub.kernel32.dll_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x6dfbe8
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.00409924
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6dfb17
sub ebx, 4
mov ebx, dword [ebx]
cmp ebx, 9
jl 0x6dfb5c
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00409ca4
mov eax, dword [ebp - 0x25c]
mov edx, 0x6dfc4c
call fcn.00420e18
test eax, eax
jne 0x6dfb5c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x6dfb5e
xor eax, eax
test al, al
je 0x6dfb75
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x6dfb77
xor eax, eax
test al, al
je 0x6dfb8e
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x6dfb90
xor eax, eax
test al, al
je 0x6dfbcd
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x6dfbcd
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00409ca4
mov eax, dword [ebp - 0x260]
call fcn.00421ea0
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 0x6dfaf8
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dfc15
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.00408814
lea eax, [ebp - 4]
call fcn.004087b4
ret
Function at 0x6e26f0
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.006e25c4
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a
mov eax, dword [0x7a7ac8]
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.00406a20
cmp ebx, 0x6c840001
jne 0x6e2750
call fcn.00428174
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x6e2774
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x6e2828
call fcn.006abca0
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 0x6e27ca
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 0xa]
call fcn.006e2644
mov esi, eax
mov eax, esi
sub ax, 2
je 0x6e27ca
dec eax
sub ax, 2
jb 0x6e27de
movzx eax, si
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x6e2888
call fcn.006abca0
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x6e277f
mov edx, 2
movzx eax, word [ebp - 0xa]
call fcn.006e2644
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 0xa]
call fcn.006e2644
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 0x6e4b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.006e4ba4
call fcn.004054b4
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.006e4ba4
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.006e4b54
mov eax, esi
pop edx
pop esi
pop ebx
ret
Function at 0x6e65c8
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 0x6e679a
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.0040893c
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x78ab0c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00409868
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.005e7374
test eax, eax
jne 0x6e677f
xor eax, eax
push ebp
push 0x6e6774
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.00602eac
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x6e6659
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x6e6686
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00408d60
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x6e66a8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00408d60
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 0x6e671e
sub eax, 0xe9
je 0x6e66c2
sub eax, 0x19
je 0x6e675d
jmp 0x6e6717
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x6e66d9
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x6e66ec
call fcn.00407f68
jmp 0x6e677f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x6e6703
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.0040893c
jmp 0x6e664d
call fcn.00407f68
jmp 0x6e677f
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.00602eac
lea eax, [ebp - 4]
call fcn.00408d60
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.0040893c
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.00614524
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.0060104c
inc ebx
jmp 0x6e664d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e677b
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 0x6e67a1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408814
ret
Function at 0x6ed074
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 0x6ed0f8
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x6ed0e0
mov ebx, esi
test ebx, ebx
je 0x6ed0a6
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00409868
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x6ed114
call fcn.00409ad4
mov eax, dword [ebp - 8]
call fcn.00409868
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x6ed0e2
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ed0ff
lea eax, [ebp - 8]
call fcn.004087b4
ret

Function at 0x6f3404
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 0x6f340e
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x6f34c4
push 0x6f34f8
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412f74
mov ebx, eax
test ebx, ebx
je 0x6f34ad
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x6f34ad
test al, 0x10
je 0x6f345e
mov ebp, 0x2000000
jmp 0x6f3460
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6f34ad
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 0x6f34ad
cmp ebx, 0xff0
jge 0x6f34ad
mov edx, edi
mov eax, esp
call fcn.006f331c
jmp 0x6f34b6
mov eax, edi
mov edx, esi
call fcn.00408b94
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6f3514
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 0x6f35a5
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 0x6f357b
cmp ebx, 0x104
jge 0x6f357b
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00409924
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.006f3404
jmp 0x6f358c
mov eax, 0x6f35c0
call fcn.006abe50
mov eax, esi
call fcn.004087b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f35ac
lea eax, [ebp - 0x20c]
call fcn.004087b4
ret
Function at 0x6f35e8
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 0x6f3737
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.006f3404
lea eax, [ebp - 8]
call fcn.006f3514
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405d3c
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x6f3744
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00409868
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.00409868
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00409868
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 0x6f3693
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x6f3689
call fcn.00428154
mov eax, 0x6f375c
call fcn.006abd9c
cmp dword [ebp - 0x10], 0
jne 0x6f36a3
mov eax, 0x6f3788
call fcn.006abc48
xor edx, edx
push ebp
push 0x6f3715
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.006f3110
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6f36b1
cmp eax, 0xffffffff
jne 0x6f36de
mov eax, 0x6f37dc
call fcn.006abd9c
call fcn.006f3110
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x6f36fe
mov eax, 0x6f381c
call fcn.006abd9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f371c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x6f3844
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 0x6f3913
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x6f2ee4]
call fcn.006f393c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6f38ec
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, 0x6f392c
call fcn.0042318c
mov edx, dword [ebp - 8]
mov eax, dword [0x78bcb4]
mov eax, dword [eax]
call fcn.005d8fa8
call fcn.006f3110
call sub.user32.dll_GetFocus
mov edx, dword [0x78bcb4]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x6f38cf
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x6f38d6
call sub.user32.dll_WaitMessage
jmp 0x6f38a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f38f3
mov eax, dword [ebp - 4]
call fcn.00406a20
ret
Function at 0x6f9d68
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6f9d70
push ecx
push ebx
xor eax, eax
push ebp
push 0x6f9eba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.006ac43c
mov edx, dword [ebp - 0x10]
mov eax, 0x7a7b90
call fcn.00408b94
lea eax, [ebp - 0x14]
mov ecx, dword [0x7a7b90]
mov edx, 0x6f9ed4
call fcn.00409ad4
mov eax, dword [ebp - 0x14]
call fcn.006b4cb8
mov eax, dword [0x78bdf0]
cmp byte [eax], 0
je 0x6f9dcb
mov eax, dword [0x7a7b90]
call fcn.006b43c4
lea edx, [ebp - 0x18]
mov eax, dword [0x7a7b90]
call fcn.005e58e4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x6f9f1c
call fcn.00409ad4
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x6f9e61
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x3b
call fcn.005ee438
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.00421b30
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.005e7edc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x70
call fcn.005ee408
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41ac30]
call fcn.00428180
call fcn.00407e74
lea eax, [ebp - 8]
call fcn.006ceca0
cmp dword [ebp - 8], 0
je 0x6f9e92
lea eax, [ebp - 0xc]
mov ecx, 0x6f9f38
mov edx, dword [ebp - 4]
call fcn.00409ad4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006f9d08
mov eax, dword [ebp - 0xc]
call fcn.006cecf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f9ec1
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00408814
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00408814
ret

Function at 0x6fc950
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x7a7e85], 1
call fcn.006ae26c
test al, al
jne 0x6fc9a2
push 5
mov eax, dword [0x78bcb4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x78bcb4]
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 [0x78bcc8]
mov eax, dword [eax + 0x138]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
ret

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

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x702078
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x702081
call fcn.00700d38
mov eax, 0xa
call fcn.005e82f0
call fcn.00700d38
call fcn.00702018
test al, al
jne 0x702056
pop ebx
ret

Function at 0x7025b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x78b660]
cmp dword [eax], 0
je 0x70265b
mov eax, dword [0x78b660]
mov eax, dword [eax]
call fcn.0050cda4
test al, al
je 0x70265b
mov eax, dword [0x78b660]
mov eax, dword [eax]
cmp byte [eax + 0x215], 0
je 0x702605
cmp byte [ebx + 0x3e1], 0
jne 0x702605
mov eax, dword [0x78bcb4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x702609
xor eax, eax
jmp 0x70260b
mov al, 1
mov ebx, eax
mov eax, dword [0x78b660]
mov eax, dword [eax]
call fcn.0050c9d0
push 0xfffffffffffffff0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x70265b
test bl, bl
je 0x702647
push 5
mov eax, dword [0x78b660]
mov eax, dword [eax]
call fcn.0050c9d0
push eax
call sub.user32.dll_ShowWindow
jmp 0x70265b
push 0
mov eax, dword [0x78b660]
mov eax, dword [eax]
call fcn.0050c9d0
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x70270c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd4
mov byte [0x7a7e3d], 0
push 0x702898
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
push 0x7028b4
push ebx
call fcn.00412f74
mov esi, eax
test esi, esi
je 0x7027b4
lea eax, [esp + 2]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x7027b4
cmp word [esp], 0
je 0x7027b4
mov byte [0x7a7e3d], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x702778
sub ax, 0xb4
je 0x702784
sub ax, 0x8464
je 0x702790
sub ax, 0x2400
je 0x70279c
jmp 0x7027a8
mov byte [0x78aba1], 1
jmp 0x702850
mov byte [0x78aba1], 3
jmp 0x702850
mov byte [0x78aba1], 2
jmp 0x702850
mov byte [0x78aba1], 4
jmp 0x702850
mov byte [0x78aba1], 0
jmp 0x702850
push 0x7028d4
push ebx
call fcn.00412f74
test eax, eax
je 0x7027fc
lea edx, [esp + 8]
push edx
call eax
push 0x7028fc
push ebx
call fcn.00412f74
mov esi, eax
test esi, esi
je 0x702806
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x702806
cmp dword [esp + 4], 0
je 0x702806
mov byte [0x7a7e3d], 1
jmp 0x702806
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 8]
sub ax, 1
jb 0x702825
sub ax, 5
je 0x70282e
sub ax, 3
je 0x702837
sub ax, 3
je 0x702840
jmp 0x702849
mov byte [0x78aba1], 1
jmp 0x702850
mov byte [0x78aba1], 3
jmp 0x702850
mov byte [0x78aba1], 2
jmp 0x702850
mov byte [0x78aba1], 4
jmp 0x702850
mov byte [0x78aba1], 0
cmp byte [0x7a7e3d], 0
je 0x702891
call fcn.006aae8c
test al, al
je 0x70288a
push 0x70291c
push ebx
call fcn.00412f74
test eax, eax
je 0x70288a
push 0x702950
push 0x702970
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412f74
test eax, eax
jne 0x702891
mov byte [0x7a7e3d], 0
add esp, 0x2c
pop esi
pop ebx
ret

Function at 0x70298c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x7029fc
mov edx, 0x80000002
xor eax, eax
call fcn.005e7374
test eax, eax
jne 0x7029f5
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x702a50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x7029ec
cmp dword [ebp - 0xc], 4
jne 0x7029ec
cmp dword [ebp - 8], 4
jne 0x7029ec
movzx eax, word [ebp - 0x10]
mov word [0x7a7e54], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x702bf8
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x702ca7
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x7a7e50], eax
cmp byte [0x7a7e3c], 0
je 0x702ca7
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x702c98
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x702ca7
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x7a7e54], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x7a7e56], al
movzx eax, word [esp + 0x22c]
mov word [0x7a7e58], ax
jmp 0x702ca7
cmp eax, 4
jne 0x702ca7
call fcn.0070298c
call fcn.00702a68
add esp, 0x230
ret

Function at 0x703c44
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x703cec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x703d08
push ebx
push 0x703d18
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00409b5c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405d3c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x703cca
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x1c8]
call fcn.00703b9c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x703cf3
lea eax, [ebp - 4]
call fcn.004087b4
ret