joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9fb
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4705d0]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
mov ecx, dword [ebp + 0xa4]
push esi
mov esi, dword [ebp + 0xa8]
push edi
xor edi, edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
cmp eax, edi
jne 0x41ea41
mov eax, reloc.ODBC32.dll_SQLAllocConnect
lea edx, [ebp - 0x70]
push edx
push 0x2001f
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41eb29
push ebx
push 0x7f
mov byte [ebp - 0x6c], al
lea eax, [ebp - 0x6b]
push edi
push eax
call fcn.004464f0
add esp, 0xc
cmp byte [esi], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x7c], edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x45a954
jne 0x41eae3
cmp dword [ebp - 0x7c], 0
jne 0x41eae3
push 0x7f
lea eax, [ebp - 0x6c]
push eax
push 0
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x41eadb
cmp byte [ebp - 0x6c], al
je 0x41eadb
push dword [ebp - 0x78]
lea eax, [ebp + 0x14]
push eax
call edi
push ebx
lea eax, [ebp + 0x14]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x14]
push eax
call esi
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x41ead0
mov eax, reloc.ODBC32.dll_SQLAllocConnect
lea ecx, [ebp + 0x14]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0x74]
cmp byte [eax], 0
je 0x41ea87
push dword [ebp - 0x74]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x78]
lea eax, [ebp + 0x14]
push eax
call edi
push ebx
lea eax, [ebp + 0x14]
push eax
call esi
push dword [ebp - 0x74]
lea eax, [ebp + 0x14]
push eax
call esi
mov eax, dword [ebp - 0x80]
pop ebx
test eax, eax
jne 0x41eb15
mov eax, reloc.ODBC32.dll_SQLAllocConnect
lea ecx, [ebp + 0x14]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x94]
pop edi
xor ecx, ebp
pop esi
call fcn.004464bf
add ebp, 0x98
leave
ret
Function at 0x423a9c
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x294]
sub esp, 0x314
mov eax, dword [0x4705d0]
xor eax, ebp
mov dword [ebp + 0x290], eax
mov eax, dword [ebp + 0x2a4]
push esi
mov esi, 0x103
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x18d]
push 0
push eax
mov byte [ebp + 0x18c], 0
call fcn.004464f0
push esi
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.004464f0
add esp, 0x18
cmp dword [ebp + 0x2ac], 7
ja 0x423c88
push ebx
mov ebx, dword [ebp + 0x29c]
push edi
mov edi, dword [ebp + 0x2a0]
imul edi, edi, 0x3d5
add edi, dword [ebp + 0x2ac]
lea ebx, [ebx*4 + 0x473bec]
mov eax, dword [ebx]
lea edi, [edi*4 + 0xf2c]
cmp dword [edi + eax], 0
je 0x423c86
cmp dword [ebp + 0x2a8], 1
jne 0x423c74
push esi
lea eax, [ebp + 0x89]
push 0
push eax
mov byte [ebp + 0x88], 0
call fcn.004464f0
add esp, 0xc
lea eax, [ebp + 0x88]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax + 0x87], 0x5c
je 0x423b8d
push 0x45a954
lea eax, [ebp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x18c]
push eax
push 0
push 0x45e380
lea eax, [ebp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push str..TMP
lea eax, [ebp + 0x18c]
push eax
call fcn.0043fbb2
push 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call fcn.0040dac4
push 0x45b80c
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x80], 0
je 0x423c0f
lea eax, [ebp + 0x18c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0x18c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebx]
push 0
push 0
push dword [ebp - 0x80]
push dword [eax + edi]
lea eax, [ebp + 0x18c]
push eax
call fcn.0040fcce
cmp byte [0x476258], 2
jb 0x423c86
test eax, eax
mov eax, str.Extracted
jne 0x423c55
mov eax, str.FAILURE_extracting
push dword [ebp - 0x80]
mov ecx, dword [ebx]
push dword [ecx + edi]
lea ecx, [ebp + 0x18c]
push ecx
push eax
push str._____s_embedded_package_file_from__s___d_______s
call fcn.0042036e
add esp, 0x14
jmp 0x423c86
cmp dword [ebp + 0x2a8], 2
jne 0x423c86
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebx
mov ecx, dword [ebp + 0x290]
xor ecx, ebp
pop esi
call fcn.004464bf
add ebp, 0x294
leave
ret 0x14
Function at 0x4389f6
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 0x438ab7
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.004464f0
xor esi, esi
movzx ax, 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 0x438a54
cmp bl, 0x2e
jbe 0x438a6e
cmp bl, 0x11
je 0x438a6e
cmp bl, 0x5b
je 0x438a6e
cmp bl, 0x5c
je 0x438a6e
cmp bl, 0x5d
je 0x438a6e
and dword [ebp - 0x18], 0
jmp 0x438a71
mov dword [ebp - 0x18], esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x438ab4
push str.SendInput
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x438aad
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 0x43df9d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43dfab
mov byte [eax], 0
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x43e02b
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43e02b
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 0x43e015
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
cmp ecx, dword [ebp - 4]
jne 0x43e006
push 0xff
push 0xd
push ebx
call esi
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x43e015
push eax
push 0
push 0
jmp 0x43e008
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 0x43e02d
xor eax, eax
pop ebx
leave
ret 8
Function at 0x43ee19
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4705d0]
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.004464f0
mov eax, dword [ebp - 0x7c]
add esp, 0xc
cmp eax, ebx
je 0x43ef44
mov byte [eax], bl
cmp edi, ebx
jne 0x43ee86
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 0x43ef44
xor edi, edi
cmp dword [ebp + 0xac], ebx
mov dword [ebp - 0x70], ebx
jl 0x43eef6
cmp dword [ebp - 0x70], ebx
jne 0x43eef6
cmp dword [ebp + 0xb4], 1
mov dword [ebp - 0x80], esi
jne 0x43eed1
push esi
lea eax, [ebp - 0x6c]
push eax
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x43eeea
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
cmp edi, dword [ebp + 0xac]
mov dword [ebp - 0x70], eax
jle 0x43eeaf
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], ebx
jne 0x43ef44
dec edi
cmp edi, dword [ebp + 0xac]
jne 0x43ef44
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x6c]
push eax
call edi
inc eax
cmp eax, esi
jle 0x43ef22
mov eax, esi
jmp 0x43ef29
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 0x43ef46
mov eax, dword [ebp - 0x78]
jmp 0x43ef46
xor eax, eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x9c
leave
ret 0x14
Function at 0x43ef60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4705d0]
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.004464f0
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 0x43efff
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 0x43effb
push dword [ebp - 0x70]
call fcn.0043ef60
push dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
je 0x43effb
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x43ef9c
xor eax, eax
jmp 0x43f002
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x9c
leave
ret 4
Function at 0x43f04b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x4705d0]
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.004464f0
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 0x43f0e1
mov eax, dword [ebp - 0x20]
cmp eax, 6
ja 0x43f0dd
jne 0x43f0b2
cmp dword [ebp - 0x1c], 1
ja 0x43f0dd
jne 0x43f0a9
push 0xa
jmp 0x43f0f3
cmp dword [ebp - 0x1c], esi
jne 0x43f0fe
push 9
jmp 0x43f0f3
cmp eax, 5
jne 0x43f0d4
cmp dword [ebp - 0x1c], 2
jne 0x43f0c1
push 8
jmp 0x43f0f3
cmp dword [ebp - 0x1c], 1
jne 0x43f0cb
push 7
jmp 0x43f0f3
cmp dword [ebp - 0x1c], esi
jne 0x43f0fe
push 6
jmp 0x43f0f3
cmp eax, 4
ja 0x43f0fe
push 5
jmp 0x43f0f3
push 0xb
jmp 0x43f0f3
cmp dword [ebp - 0x1c], 0x5a
jne 0x43f0eb
push 4
jmp 0x43f0f3
cmp dword [ebp - 0x1c], 0xa
jne 0x43f0f6
push 3
pop ebx
jmp 0x43f0fe
cmp dword [ebp - 0x1c], esi
jne 0x43f0fe
xor ebx, ebx
inc ebx
cmp edi, esi
je 0x43f17e
lea eax, [ebx - 1]
cmp eax, 9
ja case.default.0x43f10a
jmp dword [eax*4 + 0x43f197]
push str.Windows_7
jmp 0x43f15c
push str.Windows_Vista
jmp 0x43f15c
push str.Windows_2003_Server
jmp 0x43f15c
push str.Windows_XP
jmp 0x43f15c
push str.Windows_2000
jmp 0x43f15c
push str.Windows_NT_4
jmp 0x43f15c
push str.Windows_NT
jmp 0x43f15c
push str.Windows_ME
jmp 0x43f15c
push str.Windows_98
jmp 0x43f15c
push str.Windows_95
jmp 0x43f15c
push str.Unknown_Operating_System
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x10], 0
je 0x43f17e
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.004464bf
add ebp, 0x74
leave
ret 4
Function at 0x43f1bf
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push edi
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x5c]
push ebx
push eax
mov dword [ebp - 0x60], ebx
call fcn.004464f0
add esp, 0xc
push 0x4633b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43f223
push str.GlobalMemoryStatusEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43f21c
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x60], 0x40
call eax
test eax, eax
jne 0x43f21c
push 0x40
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004464f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x60], ebx
jne 0x43f251
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
jmp 0x43f257
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
cmp dword [ebp + 0xc], 1
jne 0x43f297
mov edx, dword [ebp + 8]
dec edx
je 0x43f28f
dec edx
je 0x43f285
dec edx
je 0x43f278
dec edx
jne 0x43f334
mov eax, dword [ebp - 0x5c]
jmp 0x43f336
mov edx, dword [ebp - 0x54]
sub eax, ecx
sbb edx, dword [ebp - 0x4c]
jmp 0x43f338
mov edx, dword [ebp - 0x4c]
mov eax, ecx
jmp 0x43f338
mov edx, dword [ebp - 0x54]
jmp 0x43f338
cmp dword [ebp + 0xc], 2
jne 0x43f2eb
mov eax, dword [ebp + 8]
dec eax
je 0x43f2e3
dec eax
je 0x43f2db
dec eax
je 0x43f2cd
dec eax
jne 0x43f334
push ebx
push 0x64
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00448a20
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push edx
push eax
call fcn.00449a80
jmp 0x43f338
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
sbb edx, dword [ebp - 0x3c]
jmp 0x43f338
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
jmp 0x43f338
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
jmp 0x43f338
cmp dword [ebp + 0xc], 3
jne 0x43f334
mov eax, dword [ebp + 8]
dec eax
je 0x43f32c
dec eax
je 0x43f324
dec eax
je 0x43f316
dec eax
jne 0x43f334
push ebx
push 0x64
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00448a20
push dword [ebp - 0x34]
push dword [ebp - 0x38]
jmp 0x43f2c4
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
sbb edx, dword [ebp - 0x2c]
jmp 0x43f338
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jmp 0x43f338
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x43f338
xor eax, eax
xor edx, edx
pop edi
pop ebx
leave
ret 8
Function at 0x43f33e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43f35d
leave
ret
push esi
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x43f386
cmp dword [ebp - 4], esi
je 0x43f382
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43f3c3
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp dword [ebp - 4], esi
je 0x43f3c0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x43f3c6
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 0x43f3fe
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 0x43f41f
ja 0x43f437
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x43f41f
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 [0x4633d8]
fstp dword [ebp - 4]
fld dword [ebp - 4]
leave
ret

Function at 0x440693
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x4406a2
mov byte [ebx], 0
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4406b2
xor eax, eax
jmp 0x440704
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4406ae
push ebp
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
cmp ebp, esi
je 0x4406fb
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4406fa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
test ebx, ebx
je 0x4406f3
push esi
push edi
push ebx
call fcn.00445ea0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4
Function at 0x440795
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 0x4407ff
cmp dword [esp + 0x1c], 1
jl 0x4407ff
push ebx
mov byte [eax], bl
call fcn.00440693
cmp eax, ebx
jle 0x440815
add eax, 0x100
cmp eax, 0x100
jl 0x4407ce
cmp eax, 0x1000
jg 0x4407d3
mov eax, 0x1000
push 1
push eax
call fcn.004462a8
mov esi, eax
pop ecx
pop ecx
mov dword [esp + 0x10], esi
cmp esi, ebx
je 0x4407ff
push esi
call fcn.00440693
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x440809
push esi
call fcn.00445e06
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
pop ebp
push ebp
call esi
push eax
push ebp
call edi
push ebx
push 2
push ebx
push ebp
call esi
push eax
push ebp
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
call fcn.00440693
mov edi, eax
lea eax, [edi + 0x100]
cmp eax, 0x100
jl 0x44087a
cmp eax, 0x1000
jg 0x44087f
mov eax, 0x1000
push 1
push eax
call fcn.004462a8
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x4408a2
cmp dword [esp + 0x10], ebx
je 0x4407ff
push dword [esp + 0x10]
jmp 0x4407f9
push esi
call fcn.00440693
mov ebp, dword [esp + 0x1c]
push esi
dec ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp ebp, eax
jge 0x4408bd
mov eax, ebp
jmp 0x4408c5
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.00445e06
mov esi, dword [esp + 0x14]
pop ecx
cmp esi, ebx
je 0x4408ed
push esi
call fcn.00440709
push esi
call fcn.00445e06
pop ecx
mov eax, edi
jmp 0x440801
Function at 0x44110e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4705d0]
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.004464f0
mov eax, dword [ebp + 0x198]
add esp, 0xc
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
cmp eax, ebx
je 0x441285
cmp byte [eax], bl
je 0x441285
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
cmp eax, 0x1e0
jge 0x4411b2
push 0x25
push dword [ebp + 0x198]
call fcn.00445cc0
pop ecx
pop ecx
test eax, eax
je 0x4411b2
lea eax, [ebp + 0x19c]
push eax
push dword [ebp + 0x198]
call fcn.004408f4
test eax, eax
je 0x4411dd
lea eax, [ebp + 0x19c]
push eax
push dword [ebp + 0x198]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
jmp 0x4411dd
push dword [ebp + 0x198]
call esi
inc eax
cmp eax, edi
jle 0x4411c3
mov eax, edi
jmp 0x4411cc
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 0x441219
cmp byte [ebp - 0x77], 0x5c
jne 0x441219
lea eax, [ebp - 0x78]
push eax
call esi
test eax, eax
jle 0x44120a
lea eax, [ebp - 0x78]
push eax
call esi
push eax
lea eax, [ebp - 0x77]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00446570
add esp, 0xc
push str.HKEY_CURRENT_USERSOFTWARE_vTask
push ebx
lea eax, [ebp - 0x78]
push eax
call fcn.0043feaa
lea eax, [ebp - 0x78]
push eax
call fcn.0043eca3
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 0x441285
xor esi, esi
cmp dword [ebp + 0x194], 1
mov dword [ebp - 0x80], edi
jne 0x44125a
push edi
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x441270
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 0x44123d
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 1]
cmp eax, ebx
jge 0x441287
xor eax, eax
mov ecx, dword [ebp + 0x188]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x18c
leave
ret