joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a35f
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov bl, byte [ebp + 8]
push esi
push edi
xor esi, esi
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
rep stosd dword es:[edi], eax
mov dword [ebp - 4], esi
test bl, bl
je 0x43a41f
movzx eax, bl
push esi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x1c
mov edi, eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00448090
xor esi, esi
movzx eax, bl
inc esi
add esp, 0xc
mov dword [ebp - 0x20], esi
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], di
cmp bl, 0x21
jb 0x43a3bc
cmp bl, 0x2e
jbe 0x43a3d6
cmp bl, 0x11
je 0x43a3d6
cmp bl, 0x5b
je 0x43a3d6
cmp bl, 0x5c
je 0x43a3d6
cmp bl, 0x5d
je 0x43a3d6
and dword [ebp - 0x18], 0
jmp 0x43a3d9
mov dword [ebp - 0x18], esi
push 0x460f04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x43a41c
push str.SendInput
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43a415
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call edi
or dword [ebp - 0x18], 2
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call edi
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43faa6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43fab4
mov byte [eax], 0
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x43fb34
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43fb34
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x140
push ebx
call esi
xor eax, eax
mov edi, 0x147
cmp dword [ebp + 0xc], eax
je 0x43fb1e
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
cmp ecx, dword [ebp - 4]
jne 0x43fb0f
push 0xff
push 0xd
push ebx
call esi
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x43fb1e
push eax
push 0
push 0
jmp 0x43fb11
push eax
push eax
push edi
push ebx
call esi
push eax
push 0x148
push ebx
call esi
xor eax, eax
push eax
push eax
push eax
push edi
push ebx
call esi
push eax
push 0x150
push ebx
call esi
pop edi
pop esi
jmp 0x43fb36
xor eax, eax
pop ebx
leave
ret 8
Function at 0x440a1b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xb0]
xor ebx, ebx
mov esi, 0x103
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6b]
push ebx
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x6c], bl
call fcn.00448090
mov eax, dword [ebp - 0x7c]
add esp, 0xc
cmp eax, ebx
je 0x440b46
mov byte [eax], bl
cmp edi, ebx
jne 0x440a88
mov edi, reloc.ODBC32.dll_SQLAllocConnect
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push dword [ebp - 0x70]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440b46
xor edi, edi
mov dword [ebp - 0x70], ebx
cmp dword [ebp + 0xac], ebx
jl 0x440af8
cmp dword [ebp - 0x70], ebx
jne 0x440af8
cmp dword [ebp + 0xb4], 1
mov dword [ebp - 0x80], esi
jne 0x440ad3
push esi
lea eax, [ebp - 0x6c]
push eax
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x440aec
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc edi
mov dword [ebp - 0x70], eax
cmp edi, dword [ebp + 0xac]
jle 0x440ab1
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], ebx
jne 0x440b46
dec edi
cmp edi, dword [ebp + 0xac]
jne 0x440b46
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x6c]
push eax
call edi
inc eax
cmp eax, esi
jle 0x440b24
mov eax, esi
jmp 0x440b2b
lea eax, [ebp - 0x6c]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jb 0x440b48
mov eax, dword [ebp - 0x78]
jmp 0x440b48
xor eax, eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
add ebp, 0x9c
leave
ret 0x14
Function at 0x440b62
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp + 0x98], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa4]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.00448090
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push edi
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
je 0x440c01
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440bfd
push dword [ebp - 0x70]
call fcn.00440b62
push dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
je 0x440bfd
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x440b9e
xor eax, eax
jmp 0x440c04
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
add ebp, 0x9c
leave
ret 4
Function at 0x440c4d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x7c]
push 0x90
xor esi, esi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00448090
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
cmp dword [ebp - 0x14], 2
jne 0x440ce3
mov eax, dword [ebp - 0x20]
cmp eax, 6
ja 0x440cdf
jne 0x440cb4
cmp dword [ebp - 0x1c], 1
ja 0x440cdf
jne 0x440cab
push 0xa
jmp 0x440cf5
cmp dword [ebp - 0x1c], esi
jne 0x440d00
push 9
jmp 0x440cf5
cmp eax, 5
jne 0x440cd6
cmp dword [ebp - 0x1c], 2
jne 0x440cc3
push 8
jmp 0x440cf5
cmp dword [ebp - 0x1c], 1
jne 0x440ccd
push 7
jmp 0x440cf5
cmp dword [ebp - 0x1c], esi
jne 0x440d00
push 6
jmp 0x440cf5
cmp eax, 4
ja 0x440d00
push 5
jmp 0x440cf5
push 0xb
jmp 0x440cf5
cmp dword [ebp - 0x1c], 0x5a
jne 0x440ced
push 4
jmp 0x440cf5
cmp dword [ebp - 0x1c], 0xa
jne 0x440cf8
push 3
pop ebx
jmp 0x440d00
cmp dword [ebp - 0x1c], esi
jne 0x440d00
xor ebx, ebx
inc ebx
cmp edi, esi
je 0x440d80
lea eax, [ebx - 1]
cmp eax, 9
ja case.default.0x440d0c
jmp dword [eax*4 + 0x440d99]
push str.Windows_7
jmp 0x440d5e
push str.Windows_Vista
jmp 0x440d5e
push str.Windows_2003_Server
jmp 0x440d5e
push str.Windows_XP
jmp 0x440d5e
push str.Windows_2000
jmp 0x440d5e
push str.Windows_NT_4
jmp 0x440d5e
push str.Windows_NT
jmp 0x440d5e
push str.Windows_ME
jmp 0x440d5e
push str.Windows_98
jmp 0x440d5e
push str.Windows_95
jmp 0x440d5e
push str.Unknown_Operating_System
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x10], 0
je 0x440d80
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.__r_n
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00448080
add ebp, 0x74
leave
ret 4
Function at 0x440dc1
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 0x44], ebx
call fcn.00448090
add esp, 0xc
push 0x466adc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x440e2f
push str.GlobalMemoryStatusEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x440e28
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x40
call eax
test eax, eax
jne 0x440e28
push 0x40
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00448090
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x44], ebx
jne 0x440e5d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
jmp 0x440e63
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + 0xc], 1
jne 0x440ea3
mov edx, dword [ebp + 8]
dec edx
je 0x440e9b
dec edx
je 0x440e91
dec edx
je 0x440e84
dec edx
jne 0x440f40
mov eax, dword [ebp - 0x40]
jmp 0x440f42
mov edx, dword [ebp - 0x38]
sub eax, ecx
sbb edx, dword [ebp - 0x30]
jmp 0x440f44
mov edx, dword [ebp - 0x30]
mov eax, ecx
jmp 0x440f44
mov edx, dword [ebp - 0x38]
jmp 0x440f44
cmp dword [ebp + 0xc], 2
jne 0x440ef7
mov eax, dword [ebp + 8]
dec eax
je 0x440eef
dec eax
je 0x440ee7
dec eax
je 0x440ed9
dec eax
jne 0x440f40
push ebx
push 0x64
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0044a5e0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edx
push eax
call fcn.0044b9f0
jmp 0x440f44
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x20]
jmp 0x440f44
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x440f44
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
jmp 0x440f44
cmp dword [ebp + 0xc], 3
jne 0x440f40
mov eax, dword [ebp + 8]
dec eax
je 0x440f38
dec eax
je 0x440f30
dec eax
je 0x440f22
dec eax
jne 0x440f40
push ebx
push 0x64
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0044a5e0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
jmp 0x440ed0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x10]
jmp 0x440f44
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x440f44
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x440f44
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00448080
leave
ret 8
Function at 0x440f54
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x440fe2
push esi
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x440fa4
cmp dword [ebp - 0x18], esi
je 0x440fa0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x440fe1
mov eax, dword [ebp - 0x20]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp dword [ebp - 0x18], esi
je 0x440fde
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448080
leave
ret

Function at 0x440fee
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x441026
fldz
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
adc dword [ebp - 4], eax
rdtsc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x10]
push eax
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jb 0x441047
ja 0x44105f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x441047
rdtsc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x20]
fild qword [ebp - 0x28]
pop esi
fsubp st(1)
fdiv qword [0x466b00]
fstp dword [ebp - 4]
fld dword [ebp - 4]
leave
ret
Function at 0x4422aa
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x4422bb
mov byte [ebx], 0
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4422cb
xor eax, eax
jmp 0x442327
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4422c7
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x44231f
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x44231e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
test ebx, ebx
je 0x442315
mov eax, dword [ebp + 0xc]
cmp eax, esi
jb 0x44230a
mov eax, esi
push eax
push edi
push ebx
call fcn.00447af0
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4423b9
Capabilities:
Log keystrokes
Open clipboard

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x442420
cmp dword [esp + 0x1c], 1
jl 0x442420
push ebx
push ebx
mov byte [eax], bl
call fcn.004422aa
mov esi, eax
mov ebp, 0x1000
cmp esi, ebx
jle 0x442436
lea eax, [esi + 0x100]
cmp eax, ebp
jg 0x4423f3
mov eax, ebp
push 1
push eax
call fcn.00447e84
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x442420
push esi
push edi
call fcn.004422aa
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44242a
push edi
call fcn.00447ab6
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebx
push 1
push ebx
push 0x11
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x11
call edi
push ebx
push ebx
push ebx
push 0x43
call esi
push eax
push 0x43
call edi
push ebx
push 2
push ebx
push 0x43
call esi
push eax
push 0x43
call edi
push ebx
push 3
push ebx
push 0x11
call esi
push eax
push 0x11
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
call fcn.004422aa
mov edi, eax
lea eax, [edi + 0x100]
cmp eax, ebp
jg 0x442495
mov eax, ebp
push 1
push eax
call fcn.00447e84
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x4424b8
cmp dword [esp + 0x10], ebx
je 0x442420
push dword [esp + 0x10]
jmp 0x44241a
push edi
push esi
call fcn.004422aa
mov ebp, dword [esp + 0x1c]
push esi
dec ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp ebp, eax
jge 0x4424d4
mov eax, ebp
jmp 0x4424dc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
call fcn.00447ab6
mov esi, dword [esp + 0x14]
pop ecx
cmp esi, ebx
je 0x442504
push esi
call fcn.0044232d
push esi
call fcn.00447ab6
pop ecx
mov eax, edi
jmp 0x442422
Function at 0x442da7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp + 0x188], eax
push ebx
push esi
push edi
mov edi, 0x1ff
xor ebx, ebx
push edi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00448090
mov eax, dword [ebp + 0x198]
add esp, 0xc
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
cmp eax, ebx
je 0x442f1e
cmp byte [eax], bl
je 0x442f1e
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
cmp eax, 0x1e0
jge 0x442e4b
push 0x25
push dword [ebp + 0x198]
call fcn.00447970
pop ecx
pop ecx
test eax, eax
je 0x442e4b
lea eax, [ebp + 0x19c]
push eax
push dword [ebp + 0x198]
call fcn.0044250b
test eax, eax
je 0x442e76
lea eax, [ebp + 0x19c]
push eax
push dword [ebp + 0x198]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
jmp 0x442e76
push dword [ebp + 0x198]
call esi
inc eax
cmp eax, edi
jle 0x442e5c
mov eax, edi
jmp 0x442e65
push dword [ebp + 0x198]
call esi
inc eax
push eax
push dword [ebp + 0x198]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp byte [ebp - 0x78], 0x2a
jne 0x442eb2
cmp byte [ebp - 0x77], 0x5c
jne 0x442eb2
lea eax, [ebp - 0x78]
push eax
call esi
test eax, eax
jle 0x442ea3
lea eax, [ebp - 0x78]
push eax
call esi
push eax
lea eax, [ebp - 0x77]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00448130
add esp, 0xc
push str.HKEY_CURRENT_USERSOFTWARE_vTask
push ebx
lea eax, [ebp - 0x78]
push eax
call fcn.00441ac4
lea eax, [ebp - 0x78]
push eax
call fcn.0044081d
lea ecx, [ebp - 0x7c]
push ecx
push 0x20019
push ebx
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x442f1e
xor esi, esi
cmp dword [ebp + 0x194], 1
mov dword [ebp - 0x80], edi
jne 0x442ef3
push edi
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x442f09
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc esi
cmp eax, ebx
je 0x442ed6
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 1]
cmp eax, ebx
jge 0x442f20
xor eax, eax
mov ecx, dword [ebp + 0x188]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
add ebp, 0x18c
leave
ret
Function at 0x444458
Capabilities:
Set environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
mov esi, dword [ebp + 0x94]
push edi
mov edi, dword [ebp + 0x98]
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x77]
push ebx
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x78], bl
call fcn.00448090
add esp, 0xc
cmp esi, ebx
je 0x44459e
cmp byte [esi], bl
je 0x44459e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [eax + 1]
mov eax, 0xff
cmp ecx, eax
jg 0x4444ca
push dword [ebp - 0x7c]
call esi
inc eax
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
push ebx
push 0x45c970
push 0x45c85c
lea eax, [ebp - 0x78]
push eax
call fcn.0044168f
cmp edi, ebx
je 0x444539
cmp byte [edi], bl
je 0x444539
push edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession_ManagerEnvironment_s
push edi
call esi
push eax
push edi
push 1
push 2
call fcn.00442f38
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
push str.HKEY_CURRENT_USEREnvironment_s
push edi
call esi
push eax
push edi
push 1
push 2
call fcn.00442f38
add esp, 0x18
jmp 0x444570
push ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession_ManagerEnvironment_s
push ebx
push ebx
push ebx
push 4
call fcn.00442f38
lea eax, [ebp - 0x78]
push eax
push str.HKEY_CURRENT_USEREnvironment_s
push ebx
push ebx
push ebx
push 4
call fcn.00442f38
add esp, 0x30
lea eax, [ebp - 0x80]
push eax
push 0x1388
push 2
push str.Environment
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x7c]
jmp 0x4445a0
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
add ebp, 0x8c
leave
ret 8
Function at 0x4447a9
Capabilities:
Log keystrokes
Terminate process

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, 0xfa
mov dword [esp + 0x10], edi
cmp eax, ebx
jge 0x4447c3
mov eax, ebx
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push eax
push 2
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x44480c
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 0x10]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp ebp, edi
je 0x44480c
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call ebp
cmp esi, edi
je 0x44482f
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44482f
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call ebp
cmp esi, edi
je 0x444848
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x444848
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call ebp
cmp esi, edi
je 0x444894
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x444894
push edi
push esi
call fcn.00442631
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push edi
push edi
push 0x12
call esi
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push edi
push edi
push edi
push 0x73
pop ebp
push ebp
call ebx
push eax
push ebp
call esi
push edi
push 2
push edi
push ebp
call ebx
push eax
push ebp
call esi
push edi
push 2
push edi
push 0x12
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8