joyce8/EMBER2024-capa huggingface dataset:
Function at 0x196b7a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.196b5190
add esp, 8
movzx eax, al
test eax, eax
jne 0x196b7a43
jmp 0x196b7aaa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x196b7a0a
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x196b8ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x14], 0
jne 0x196b8cf1
jmp 0x196b8ea4
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 8
div ecx
test edx, edx
je 0x196b8d41
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 8
div ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
shr edx, 3
mov eax, dword [ebp + 8]
movzx cx, byte [eax + edx]
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
mov ecx, 8
sub ecx, dword [ebp - 0x14]
sar edx, cl
mov word [ebp - 0x10], dx
mov eax, dword [ebp + 0xc]
shr eax, 3
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
add ecx, 7
shr ecx, 3
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x196b8d68
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jge 0x196b8ea4
mov ecx, dword [ebp - 8]
sub ecx, 1
cmp dword [ebp - 4], ecx
je 0x196b8da0
movzx edx, word [ebp - 0x10]
shl edx, 8
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor edx, ecx
mov word [ebp - 0x10], dx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
jmp 0x196b8df9
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, 8
div ecx
test edx, edx
jne 0x196b8db9
mov dword [ebp - 0x24], 8
jmp 0x196b8dc8
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, 8
div ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
movzx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
shl eax, cl
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov ecx, 8
sub ecx, dword [ebp - 0x18]
sar edx, cl
or eax, edx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
xor edx, edx
cmp dword [ebp - 4], ecx
setne dl
xor eax, eax
cmp dword [ebp - 0x14], 8
setge al
and edx, eax
jne 0x196b8e2f
mov ecx, dword [ebp - 8]
sub ecx, 1
xor edx, edx
cmp dword [ebp - 4], ecx
sete dl
xor eax, eax
cmp dword [ebp - 0x14], 0
setg al
and edx, eax
je 0x196b8e9f
cmp dword [ebp - 0x14], 8
jle 0x196b8e3e
mov dword [ebp - 0x28], 8
jmp 0x196b8e44
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
movzx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
sar eax, cl
mov byte [ebp - 0x1d], al
movzx edx, byte [ebp - 0x1d]
mov ecx, 8
sub ecx, dword [ebp - 0x1c]
shl edx, cl
mov byte [ebp - 0x1d], dl
mov eax, 0xff00
mov ecx, dword [ebp - 0x1c]
sar eax, cl
movzx ecx, byte [ebp - 0x1d]
and ecx, eax
mov byte [ebp - 0x1d], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0x1d]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
jmp 0x196b8df9
jmp 0x196b8d5f
mov esp, ebp
pop ebp
ret
Function at 0x196be340
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.196bf8c0
add esp, 8
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.196be080
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x196be4de
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x108]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
je 0x196be4de
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.196be290
add esp, 8
movzx edx, al
test edx, edx
je 0x196be4de
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.196be120
add esp, 8
movzx edx, ax
and edx, 0xd
jne 0x196be4de
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.196bf9e0
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call fcn.196be4f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x196be454
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x196be472
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
and eax, 0x400
jne 0x196be4de
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x778]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0x196be2e0
mov eax, dword [ebp + 0xc]
push eax
push 0x196c70a0
push 0
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x778]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x108], edx
push 3
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret
Function at 0x196bfaa0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0xa0743ab4
push 0xd
push 0x196c4e18
call fcn.196b17f0
add esp, 0xc
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.196b6d40
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x196bfb9e
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea edx, [ebp - 0x254]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x196bfb9c
mov edx, dword [ebp - 0x258]
and edx, 0x10
jne 0x196bfb33
jmp 0x196bfb77
movzx eax, word [ebp - 0x22c]
cmp eax, 0x2e
jne 0x196bfb41
jmp 0x196bfb77
lea ecx, [ebp - 0x22c]
push ecx
push 0xe09d886a
push 0xb
push 0x196c4e28
call fcn.196b17f0
add esp, 0xc
push eax
lea edx, [ebp - 8]
push edx
call fcn.196b6d40
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x196bfb77
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x196bfb26
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x196bfba6
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
push eax
call fcn.196c3970
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x196bfbc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x196bfbe6
cmp dword [ebp + 0x10], 0
jne 0x196bfbed
xor eax, eax
jmp 0x196bfc6d
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
je 0x196bfc5d
push 0
lea edx, [ebp - 8]
push edx
push 1
lea eax, [ebp - 0xd]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x196bfc18
cmp dword [ebp - 8], 1
je 0x196bfc1a
jmp 0x196bfc5d
movsx edx, byte [ebp - 0xd]
cmp edx, 0xa
jne 0x196bfc2d
cmp dword [ebp - 4], 0
je 0x196bfc2b
jmp 0x196bfc5d
jmp 0x196bfc5b
movsx eax, byte [ebp - 0xd]
cmp eax, 0xd
jne 0x196bfc40
cmp dword [ebp - 4], 0
je 0x196bfc3e
jmp 0x196bfc5d
jmp 0x196bfc5b
mov dword [ebp - 4], 1
movsx cx, byte [ebp - 0xd]
mov edx, dword [ebp - 0xc]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
jmp 0x196bfbed
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
sar eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x196c01f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x196c0224
jmp 0x196c033f
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0xc], 0
je 0x196c023e
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x1b]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
call fcn.196c3770
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x196c026f
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x196c033f
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x196c028f
jmp 0x196c033f
cmp dword [ebp + 0xc], 0
je 0x196c02a3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0xfbda1361
push 6
push 0x196c4ec8
call fcn.196b17f0
add esp, 0xc
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0xf6efd142
push 9
push 0x196c4ed0
call fcn.196b17f0
add esp, 0xc
push eax
lea edx, [ebp - 4]
push edx
call fcn.196b6d40
add esp, 0x10
push 0xfbda1361
push 6
push 0x196c4ec8
call fcn.196b17f0
add esp, 0xc
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x5c21e4eb
push 9
push 0x196c4ba0
call fcn.196b17f0
add esp, 0xc
push eax
call fcn.196c25e0
add esp, 0xc
test eax, eax
setne al
mov byte [ebp - 5], al
xor ecx, ecx
jne 0x196c0208
mov edx, dword [ebp - 4]
push edx
call fcn.196c3970
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.196c3970
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x196c19f0
Capabilities:
Clear file content
Delete file
Print debug messages
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x58], 0
push 0x30
push 0
lea eax, [ebp - 0x54]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0x80
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x60], 0
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x196c1a60
mov edx, dword [ebp - 0x58]
mov dword [ebp - 4], edx
push 0
push 0x80
push 2
push 0
push 0
push 0x120116
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x196c1aac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str.__CopyFileW___luCreateFileW__ws__n
call dword [sym.imp.ntdll.dll_DbgPrint]
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x196c1b89
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, 1
test ecx, ecx
je 0x196c1b4c
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
jne 0x196c1b06
jmp 0x196c1b4c
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x196c1b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str.__CopyFileByHandleW___luWriteFile__ws__n
call dword [sym.imp.ntdll.dll_DbgPrint]
add esp, 0xc
jmp 0x196c1b4c
mov dword [ebp - 0x10], 0
jmp 0x196c1ada
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x196c1b86
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x196c1b90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x2000080
mov dword [ebp - 0xc], 0
push 0
mov eax, dword [ebp - 4]
push eax
push 3
push 0
push 7
push 0x120089
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x196c1c1c
mov edx, dword [ebp - 4]
and edx, 0xfdffffff
mov dword [ebp - 4], edx
push 0
mov eax, dword [ebp - 4]
push eax
push 3
push 0
push 7
push 0x120089
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x196c1c1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push str.__CopyFileW___luCreateFileW__ws__n
call dword [sym.imp.ntdll.dll_DbgPrint]
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x196c1c44
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.196c19f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x196c1f70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov dword [ebp - 0x244], 0xffffffff
mov dword [ebp - 0x23c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x196c1fad
xor eax, eax
jmp 0x196c2084
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x196c1fe3
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x196c2084
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x196c2055
mov edx, dword [ebp - 0x230]
push edx
push 0
push 0xc50
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x196c2035
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x450
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x196c2055
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x23c], 0
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x196c1fe3
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
mov esp, ebp
pop ebp
ret
Function at 0x196c2850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 4]
mov dword [ebp - 0x68], eax
cmp dword [ebp + 0xc], 0
je 0x196c28c5
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x68]
lea eax, [edx + eax*2]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.196c3770
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x196c295f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0xc], 0
je 0x196c290f
push 0x196c507c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x196c2938
jmp 0x196c2953
mov dword [ebp - 0x64], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call fcn.196c3970
add esp, 4
mov eax, dword [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x196c2d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x10
call fcn.196c3570
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x196c2d43
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x196c2c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x196c32d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.196b51d0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x196c32ed
jmp 0x196c3344
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
lea edx, [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.196c31c0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
je 0x196c333a
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.196c3970
add esp, 4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret

Function at 0x196c3350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
cmp dword [ebp + 8], 0
je 0x196c33f7
push 0x104
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x104
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x196c33d1
push 0xafa95768
push 4
push 0x196c50f0
call fcn.196b17f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xfffffffffffffff0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x41c], eax
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x420], eax
jmp 0x196c343b
push 0xafa95768
push 4
push 0x196c50f0
call fcn.196b17f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xafa95768
push 4
push 0x196c50f0
call fcn.196b17f0
add esp, 0xc
push eax
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1e4d4e17
push 0x11
push 0x196c50f8
call fcn.196b17f0
add esp, 0xc
push eax
call fcn.196c32d0
add esp, 0x18
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret
Function at 0x196c3490
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.196b51d0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x196c34b5
xor eax, eax
jmp 0x196c3566
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x196c34d5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x196c34e0
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5c
je 0x196c3500
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x196c3500
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
jne 0x196c355e
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ebp - 0xc], ax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx], cx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x196c3539
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x196c3537
jmp 0x196c3563
jmp 0x196c3543
mov edx, dword [ebp - 0x10]
and edx, 0x10
jne 0x196c3543
jmp 0x196c3563
movzx eax, word [ebp - 0xc]
test eax, eax
jne 0x196c3554
mov dword [ebp - 8], 1
jmp 0x196c3563
mov ecx, dword [ebp - 4]
mov dx, word [ebp - 0xc]
mov word [ecx], dx
jmp 0x196c34d7
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret