joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61d248
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 0x61d3d2
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.005a2674
lea eax, [ebp - 0x258]
mov edx, 0x61d3ec
call fcn.004099bc
mov eax, dword [ebp - 0x258]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x61d3ac
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.00409864
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x61d2db
sub ebx, 4
mov ebx, dword [ebx]
cmp ebx, 9
jl 0x61d320
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00409be4
mov eax, dword [ebp - 0x25c]
mov edx, 0x61d410
call fcn.0041faec
test eax, eax
jne 0x61d320
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x61d322
xor eax, eax
test al, al
je 0x61d339
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x61d33b
xor eax, eax
test al, al
je 0x61d352
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x61d354
xor eax, eax
test al, al
je 0x61d391
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x61d391
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00409be4
mov eax, dword [ebp - 0x260]
call fcn.00420b20
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 0x61d2bc
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61d3d9
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.0040876c
lea eax, [ebp - 4]
call fcn.0040870c
ret
Function at 0x61f6f0
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.0061f5c4
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a
mov eax, dword [0x65ad58]
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.004069c8
cmp ebx, 0x6c840001
jne 0x61f750
call fcn.004265b8
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x61f774
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x61f828
call fcn.005eada0
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 0x61f7ca
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 0xa]
call fcn.0061f644
mov esi, eax
mov eax, esi
sub ax, 2
je 0x61f7ca
dec eax
sub ax, 2
jb 0x61f7de
movzx eax, si
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x61f888
call fcn.005eada0
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x61f77f
mov edx, 2
movzx eax, word [ebp - 0xa]
call fcn.0061f644
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 0xa]
call fcn.0061f644
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 0x621b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.00621ba4
call fcn.00405490
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.00621ba4
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.00621b54
mov eax, esi
pop edx
pop esi
pop ebx
ret
Function at 0x6235c8
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 0x62379a
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.00408894
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x652fe4]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004097c0
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.005a4104
test eax, eax
jne 0x62377f
xor eax, eax
push ebp
push 0x623774
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.005bfc14
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x623659
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x623686
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00408cb8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x6236a8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00408cb8
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 0x62371e
sub eax, 0xe9
je 0x6236c2
sub eax, 0x19
je 0x62375d
jmp 0x623717
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x6236d9
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x6236ec
call fcn.00407efc
jmp 0x62377f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x623703
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.00408894
jmp 0x62364d
call fcn.00407efc
jmp 0x62377f
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.005bfc14
lea eax, [ebp - 4]
call fcn.00408cb8
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00408894
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.005d1288
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.005bddb4
inc ebx
jmp 0x62364d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62377b
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 0x6237a1
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040876c
ret
Function at 0x6297f8
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 0x62987c
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x629864
mov ebx, esi
test ebx, ebx
je 0x62982a
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004097c0
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x629898
call fcn.00409a14
mov eax, dword [ebp - 8]
call fcn.004097c0
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x629866
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629883
lea eax, [ebp - 8]
call fcn.0040870c
ret

Function at 0x62fa6c
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 0x62fa76
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x62fb2c
push 0x62fb60
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412174
mov ebx, eax
test ebx, ebx
je 0x62fb15
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x62fb15
test al, 0x10
je 0x62fac6
mov ebp, 0x2000000
jmp 0x62fac8
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x62fb15
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 0x62fb15
cmp ebx, 0xff0
jge 0x62fb15
mov edx, edi
mov eax, esp
call fcn.0062f984
jmp 0x62fb1e
mov eax, edi
mov edx, esi
call fcn.00408aec
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x62fb7c
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 0x62fc0d
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 0x62fbe3
cmp ebx, 0x104
jge 0x62fbe3
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00409864
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.0062fa6c
jmp 0x62fbf4
mov eax, 0x62fc28
call fcn.005eaf50
mov eax, esi
call fcn.0040870c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62fc14
lea eax, [ebp - 0x20c]
call fcn.0040870c
ret
Function at 0x62fc50
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 0x62fd9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0062fa6c
lea eax, [ebp - 8]
call fcn.0062fb7c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405ce4
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x62fdac
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.004097c0
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.004097c0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.004097c0
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 0x62fcfb
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x62fcf1
call fcn.00426598
mov eax, 0x62fdc4
call fcn.005eae9c
cmp dword [ebp - 0x10], 0
jne 0x62fd0b
mov eax, 0x62fdf0
call fcn.005ead48
xor edx, edx
push ebp
push 0x62fd7d
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0062f778
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x62fd19
cmp eax, 0xffffffff
jne 0x62fd46
mov eax, 0x62fe44
call fcn.005eae9c
call fcn.0062f778
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x62fd66
mov eax, 0x62fe84
call fcn.005eae9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62fd84
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x62feac
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 0x62ff7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x62f54c]
call fcn.0062ffa4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x62ff54
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, 0x62ff94
call fcn.00421ba4
mov edx, dword [ebp - 8]
mov eax, dword [0x653768]
mov eax, dword [eax]
call fcn.00595f5c
call fcn.0062f778
call sub.user32.dll_GetFocus
mov edx, dword [0x653768]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x62ff37
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x62ff3e
call sub.user32.dll_WaitMessage
jmp 0x62ff11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62ff5b
mov eax, dword [ebp - 4]
call fcn.004069c8
ret
Function at 0x636254
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x63625c
push ecx
push ebx
xor eax, eax
push ebp
push 0x6363a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.005eb53c
mov edx, dword [ebp - 0x10]
mov eax, 0x65ae20
call fcn.00408aec
lea eax, [ebp - 0x14]
mov ecx, dword [0x65ae20]
mov edx, 0x6363c0
call fcn.00409a14
mov eax, dword [ebp - 0x14]
call fcn.005f3d9c
mov eax, dword [0x65386c]
cmp byte [eax], 0
je 0x6362b7
mov eax, dword [0x65ae20]
call fcn.005f34a8
lea edx, [ebp - 0x18]
mov eax, dword [0x65ae20]
call fcn.005a2674
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x636408
call fcn.00409a14
push 0
mov eax, dword [ebp - 4]
call fcn.004097c0
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x63634d
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.005ab1a0
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.004207b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.005a4c6c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x70
call fcn.005ab170
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41991c]
call fcn.004265c4
call fcn.00407e08
lea eax, [ebp - 8]
call fcn.0060ce24
cmp dword [ebp - 8], 0
je 0x63637e
lea eax, [ebp - 0xc]
mov ecx, 0x636424
mov edx, dword [ebp - 4]
call fcn.00409a14
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006361fc
mov eax, dword [ebp - 0xc]
call fcn.0060ce7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6363ad
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040876c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040876c
ret

Function at 0x638e40
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x65b109], 1
call fcn.005ed36c
test al, al
jne 0x638e92
push 5
mov eax, dword [0x653768]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x653768]
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 [0x65377c]
mov eax, dword [eax + 0x138]
mov cl, 2
xor edx, edx
call fcn.00638be0
ret

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

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x63e50c
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x63e515
call fcn.0063d1cc
mov eax, 0xa
call fcn.005a5080
call fcn.0063d1cc
call fcn.0063e4ac
test al, al
jne 0x63e4ea
pop ebx
ret

Function at 0x63ea44
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x65322c]
cmp dword [eax], 0
je 0x63eaef
mov eax, dword [0x65322c]
mov eax, dword [eax]
call fcn.004f95c4
test al, al
je 0x63eaef
mov eax, dword [0x65322c]
mov eax, dword [eax]
cmp byte [eax + 0x215], 0
je 0x63ea99
cmp byte [ebx + 0x3e1], 0
jne 0x63ea99
mov eax, dword [0x653768]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x63ea9d
xor eax, eax
jmp 0x63ea9f
mov al, 1
mov ebx, eax
mov eax, dword [0x65322c]
mov eax, dword [eax]
call fcn.004f91f0
push 0xfffffffffffffff0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x63eaef
test bl, bl
je 0x63eadb
push 5
mov eax, dword [0x65322c]
mov eax, dword [eax]
call fcn.004f91f0
push eax
call sub.user32.dll_ShowWindow
jmp 0x63eaef
push 0
mov eax, dword [0x65322c]
mov eax, dword [eax]
call fcn.004f91f0
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x63eba0
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd4
mov byte [0x65b0c3], 0
push 0x63ed2c
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
push 0x63ed48
push ebx
call fcn.00412174
mov esi, eax
test esi, esi
je 0x63ec48
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 0x63ec48
cmp word [esp], 0
je 0x63ec48
mov byte [0x65b0c3], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x63ec0c
sub ax, 0xb4
je 0x63ec18
sub ax, 0x8464
je 0x63ec24
sub ax, 0x2400
je 0x63ec30
jmp 0x63ec3c
mov byte [0x653079], 1
jmp 0x63ece4
mov byte [0x653079], 3
jmp 0x63ece4
mov byte [0x653079], 2
jmp 0x63ece4
mov byte [0x653079], 4
jmp 0x63ece4
mov byte [0x653079], 0
jmp 0x63ece4
push 0x63ed68
push ebx
call fcn.00412174
test eax, eax
je 0x63ec90
lea edx, [esp + 8]
push edx
call eax
push 0x63ed90
push ebx
call fcn.00412174
mov esi, eax
test esi, esi
je 0x63ec9a
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x63ec9a
cmp dword [esp + 4], 0
je 0x63ec9a
mov byte [0x65b0c3], 1
jmp 0x63ec9a
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 8]
sub ax, 1
jb 0x63ecb9
sub ax, 5
je 0x63ecc2
sub ax, 3
je 0x63eccb
sub ax, 3
je 0x63ecd4
jmp 0x63ecdd
mov byte [0x653079], 1
jmp 0x63ece4
mov byte [0x653079], 3
jmp 0x63ece4
mov byte [0x653079], 2
jmp 0x63ece4
mov byte [0x653079], 4
jmp 0x63ece4
mov byte [0x653079], 0
cmp byte [0x65b0c3], 0
je 0x63ed25
call fcn.005e9f8c
test al, al
je 0x63ed1e
push 0x63edb0
push ebx
call fcn.00412174
test eax, eax
je 0x63ed1e
push 0x63ede4
push 0x63ee04
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412174
test eax, eax
jne 0x63ed25
mov byte [0x65b0c3], 0
add esp, 0x2c
pop esi
pop ebx
ret

Function at 0x63ee20
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, 0x63ee90
mov edx, 0x80000002
xor eax, eax
call fcn.005a4104
test eax, eax
jne 0x63ee89
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 0x63eee4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x63ee80
cmp dword [ebp - 0xc], 4
jne 0x63ee80
cmp dword [ebp - 8], 4
jne 0x63ee80
movzx eax, word [ebp - 0x10]
mov word [0x65b0d8], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x63f08c
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x63f13b
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 [0x65b0d4], eax
cmp byte [0x65b0c2], 0
je 0x63f13b
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x63f12c
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x63f13b
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x65b0d8], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x65b0da], al
movzx eax, word [esp + 0x22c]
mov word [0x65b0dc], ax
jmp 0x63f13b
cmp eax, 4
jne 0x63f13b
call fcn.0063ee20
call fcn.0063eefc
add esp, 0x230
ret

Function at 0x6400bc
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 0x640164
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x640180
push ebx
push 0x640190
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00409a9c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405ce4
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.004097c0
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x640142
mov eax, dword [0x65377c]
mov eax, dword [eax + 0x1c8]
call fcn.00640014
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 0x64016b
lea eax, [ebp - 4]
call fcn.0040870c
ret
Function at 0x640ad8
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x640cc6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.005a3cd4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.005eb3c0
test al, al
jne 0x640b45
xor eax, eax
push ebp
push 0x640b3b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.005eb8b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x640b45
push 0
mov eax, dword [ebp - 4]
call fcn.004097c0
push eax
mov eax, dword [0x65b1b4]
call fcn.004097c0
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x640b74
mov eax, dword [0x65377c]
mov eax, dword [eax + 0x1c4]
call fcn.00640014
push 0x80
mov eax, dword [ebp - 4]
call fcn.004097c0
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x657634]
push eax
push 0
mov ecx, 0x640cd4
mov edx, 0x640cd8
xor eax, eax
call fcn.00412e84
mov dword [ebp - 8], eax
push 0x6401d4
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x65b1e0], eax
xor eax, eax
push ebp
push 0x640c8f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x653768]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.005a36a0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x640cf4
call fcn.00421ba4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.005a3580
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.004099bc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006400bc
mov dword [ebp - 0xc], eax
call fcn.00640198
test al, al
jne 0x640c6f
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x640c4d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x640c96
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret