joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4302de
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442a44
push 0x442a3c
push str.FlsGetValue
push 0x21
call fcn.00430147
mov esi, eax
add esp, 0x10
test esi, esi
je 0x430315
push dword [ebp + 8]
mov ecx, esi
call dword [0x43e208]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43031d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442a4c
push 0x442a44
push str.FlsSetValue
push 0x22
call fcn.00430147
mov esi, eax
add esp, 0x10
test esi, esi
je 0x430357
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43e208]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x432e97
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x432ee2
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00433032
test al, al
jne 0x432edc
sub edx, 2
cmp edx, edi
jne 0x432ec2
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x432f04
lea eax, [edi + 2]
cmp edx, eax
je 0x432f04
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00432de3
add esp, 0x10
jmp 0x432ffe
push esi
lea ecx, [ebp - 0x255]
call fcn.00433032
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x432f47
push dword [ebp - 0x25c]
jmp 0x432ef4
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x432f84
cmp word [ebp - 0x226], 0
je 0x432fa5
cmp word [ebp - 0x226], ax
jne 0x432f84
cmp word [ebp - 0x224], 0
je 0x432fa5
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00432de3
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x432ff1
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x432f5e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x432fd9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x432ffe
push 0x432c13
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004395d0
add esp, 0x10
jmp 0x432fce
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d509
leave
ret
Function at 0x435cd9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042f9c4
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435d48
cmp esi, dword [ebp - 4]
je 0x435d43
cmp dword [ebp + 0xc], 0
je 0x435d43
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x435d20
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043582b
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x435d4a
xor eax, eax
inc eax
jmp 0x435d4a
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x435daf
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0042f9c4
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042f9c4
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x435e26
cmp word [ecx], dx
je 0x435e26
mov eax, dword [0x44309c]
push edi
dec eax
push eax
push 0x442f88
call fcn.00435d4e
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x435e99
cmp word [eax], dx
je 0x435e99
mov eax, dword [edi]
test eax, eax
je 0x435e4a
cmp word [eax], dx
je 0x435e4a
lea eax, [ebp - 0x10]
push eax
call fcn.00435731
jmp 0x435e53
lea eax, [ebp - 0x10]
push eax
call fcn.004357cc
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x435ec3
mov eax, dword [0x442f84]
push dword [ebp - 0x14]
dec eax
push eax
push 0x442c78
call fcn.00435d4e
add esp, 0xc
test al, al
je 0x435ec3
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x435e8e
cmp word [eax], di
je 0x435e8e
lea eax, [ebp - 0x10]
push eax
call fcn.00435731
pop ecx
jmp 0x435ec5
lea eax, [ebp - 0x10]
push eax
call fcn.004357cc
jmp 0x435e8b
mov eax, dword [edi]
test eax, eax
je 0x435eb0
cmp word [eax], dx
je 0x435eb0
lea eax, [ebp - 0x10]
push eax
call fcn.004356e6
pop ecx
jmp 0x435ec3
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x435f8e
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00435bd3
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x435f8e
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x435f8e
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x435f8e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435f1b
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043045d
test ebx, ebx
je 0x435f89
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043045d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435f8e
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435f8e
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00439bfb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x435f90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d509
leave
ret
Function at 0x43b300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43b32d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43b32d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402639
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408298
cmp edx, dword [eax]
je 0x40265b
add eax, 8
inc ecx
cmp eax, 0x408328
jl 0x40264c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408298]
jne 0x402789
mov eax, dword [0x40aaa0]
cmp eax, 1
je 0x402763
test eax, eax
jne 0x40268c
cmp dword [0x4081e4], 1
je 0x402763
cmp edx, 0xfc
je 0x402789
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4026c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00401870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403240
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402706
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403240
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4073f8
push edi
call fcn.00404cc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00401870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00401880
lea eax, [ebp - 0xa0]
push 0x4073d8
push eax
call fcn.00401880
push dword [esi + 0x40829c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00401880
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404c34
add esp, 0x2c
pop edi
jmp 0x402789
lea eax, [ebp + 8]
lea esi, [esi + 0x40829c]
push 0
push eax
push dword [esi]
call fcn.00403240
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401f00
Capabilities:
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x401f1a
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [0x62dbb0], 0xffffffff
jae 0x401f2e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
jmp 0x401f34
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x401f42
push eax
call sym.SystemInformer.exe_PhGetNtMessage
mov edi, edi
jmp 0x401f48
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x401f8e
push dword [esi + 4]
push 0x5cc39c
push str.Unable_to_lock_the_computer.
push 0xfffe
push 0x20
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x401fa8
jmp 0x401f80
call fcn.004fbe40
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push str.Unable_to_lock_the_computer.
push 0x5cc39c
push 0x10
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x401fc0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x401fde
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x401ff2
push eax
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x401ff8
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x402039
push dword [esi + 4]
push 0x5cc39c
push str.Unable_to_log_off_the_computer.
push 0xfffe
push 0x20
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x402050
call fcn.004fbe40
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push str.Unable_to_log_off_the_computer.
push 0x5cc39c
push 0x10
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x402840
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xc
dec eax
push esi
cmp eax, 5
ja case.0x402853.4
jmp dword [eax*4 + 0x4029f8]
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov dword [esp + 0x10], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, dword [ebp + 8]
test eax, eax
je 0x402893
push 0
push 0
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
mov ecx, dword [ebp + 0x10]
or ecx, 2
call fcn.0050a9c0
mov edi, edi
test eax, eax
je 0x4029ee
push eax
push 0
push str.Unable_to_shut_down_the_computer.
push esi
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.shut_down
push str.preforms_a_hard
push str.This_option__s__s_in_an_disorderly_manner_and_may_cause_corrupted_files_or_instability_in_the_system.
call fcn.00401820
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push dword [eax + 4]
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
push 2
call dword [sym.imp.ntdll.dll_NtShutdownSystem]
lea ebx, [ebx]
test eax, eax
jns 0x4029ee
push 0
push eax
push str.Unable_to_shut_down_the_computer.
push esi
lfence
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.shut_down
push str.forces_a_critical
push str.This_option__s__s_in_an_disorderly_manner_and_may_cause_corrupted_files_or_instability_in_the_system.
call fcn.00401820
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push dword [eax + 4]
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
push 0x80000000
push 6
push 6
call dword [sym.imp.ntdll.dll_NtSetSystemPowerState]
test eax, eax
jns 0x4029ee
push 0
push eax
push str.Unable_to_shut_down_the_computer.
push esi
lfence
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov dword [esp + 0x10], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, dword [ebp + 8]
test eax, eax
je 0x4029cd
push 0
push 0
push str.the_computer
push str.update_and_shutdown
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
push 0x80000000
push 0x49
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
jne 0x4028a8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402a20
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edx
push eax
mov edi, ecx
mov dword [ebp - 0xc], 0x1c
mov esi, 0xc0000001
mov dword [ebp - 8], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x402a6d
push 0
push 0
push str.the_computer
push str.restart
push edi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je 0x402c22
lea eax, ds:[ebp - 0xc]
mov dword [ebp - 0xc], 0x34
push eax
mov dword [ebp - 8], str.EnableBootObjectsEnumerate
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [ebp - 0xc], 0x48
lea eax, [ebp - 0xc]
mov dword [ebp - 8], str.EnableUpdateDefaultFirmwareBootEntry
push eax
setne bl
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov cl, bl
setne bh
call fcn.0051f3c0
mov dword [ebp - 8], eax
test eax, eax
je 0x402b8c
mov ecx, dword ds:[ebp - 4]
cmp ecx, dword [eax]
jae 0x402af4
lfence
mov eax, dword [eax + 8]
sub esp, 0x10
mov edx, esp
mov esi, dword [eax + ecx*4]
mov cl, bh
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
call fcn.0051eb80
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, eax
mov ebx, esi
call fcn.0051f560
lea ecx, [ecx]
test esi, esi
js 0x402b6c
push 0x80000000
push 5
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
je 0x402c22
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x402c0d
push dword [esi + 4]
push 0x5cc39c
push str.Unable_to_configure_the_boot_application.
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x402c22
mov edi, edi
call fcn.004fbe40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, ebx
cmp ebx, 0xc0000022
je 0x402b7e
cmp esi, 0xc0000005
jne 0x402b8c
mov esi, ebx
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
jmp 0x402baf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x402b9f
movzx eax, si
jmp 0x402baf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x402bbe
mov eax, esi
test eax, eax
je 0x402bbe
push eax
lfence
call sym.SystemInformer.exe_PhGetWin32Message
jmp 0x402bc7
push esi
lfence
call sym.SystemInformer.exe_PhGetNtMessage
mov esi, eax
test esi, esi
je 0x402c0d
lfence
lfence
push dword [esi + 4]
push 0x5cc39c
push str.Unable_to_configure_the_boot_application.
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x402c22
lfence
call fcn.004fbe40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unable_to_configure_the_boot_application.
push 0x5cc39c
push 0x10
push edi
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412f40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [eax], esi
jne 0x412f7d
cmp dword [eax + 8], 0xffffff65
jne 0x412f7d
movzx eax, word ds:[eax + 0xc]
sub eax, 0x41
je 0x412f7d
sub eax, 2
jne 0x412f7d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x412f7d
push esi
call sym.SystemInformer.exe__PhCopyListView_4
pop esi
pop ecx
pop ebp
ret 8

Function at 0x412fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [eax], esi
jne 0x413007
cmp dword [eax + 8], 0xffffff65
jne 0x413007
movzx eax, word ds:[eax + 0xc]
sub eax, 0x41
je 0x412fea
sub eax, 2
jne 0x413007
test byte [ebp + 0x10], 1
je 0x413007
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x413007
push esi
call sym.SystemInformer.exe__PhCopyListView_4
pop esi
pop ebp
ret 0xc
test byte [ebp + 0x10], 2
je 0x413007
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x413007
push 2
push 2
push esi
call sym.SystemInformer.exe_PhSetStateAllListViewItems
pop esi
pop ebp
ret 0xc

Function at 0x413c00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov edi, edx
mov esi, ecx
xor bl, bl
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov bh, byte [eax + 1]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov byte [eax + 1], bl
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x60
push 0
push 0
push 0
push edi
push esi
call sym.SystemInformer.exe_PhCreateProcessWin32Ex
test eax, eax
js 0x413cc6
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
push 0x1e
push esi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x413cbd
push 0
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtSetInformationDebugObject]
test eax, eax
js 0x413cb4
push dword [ebp - 0xc]
push esi
call dword [sym.imp.ntdll.dll_NtRemoveProcessDebug]
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtClose]
push esi
mov bl, 1
call dword [sym.imp.ntdll.dll_NtClose]
test bh, bh
je 0x413cfc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov byte [ecx + 1], bh
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x415520
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
push 0
push str.RegEdit_RegEdit
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x41557e
push edi
push esi
call sym.SystemInformer.exe__PhShellOpenKey_8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte [eax + 4], 1
jne 0x4155b3
push 0
push 0
push esi
call sym.SystemInformer.exe__PhUiConnectToPhSvcEx_12
test al, al
jne 0x4155b3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push 0x62de48
push 0xfffffffffffffff7
push 0x20006
lea eax, [esp + 0x54]
push eax
call sym.SystemInformer.exe_PhCreateKey
test eax, eax
js 0x4156b0
push 0x11
lea eax, [esp + 0x64]
mov ecx, 8
mov esi, str.A_SystemInformer
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
push eax
call sym.SystemInformer.exe_PhGenerateRandomAlphaString
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x40
call fcn.004f81c0
mov esi, eax
mov dword [esp + 0x10], 0x420040
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
add eax, 2
push eax
push dword [esi + 4]
lea eax, [esp + 0x18]
push 1
push 0
push eax
push dword [esp + 0x50]
call dword [sym.imp.ntdll.dll_NtSetValueKey]
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41564d
call fcn.004fbe40
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov al, byte [eax + 4]
not al
and al, 1
movzx eax, al
push eax
call fcn.00415020
mov edx, dword [esp + 0x20]
mov bl, al
mov word [esp + 0x18], dx
lea ecx, [edx + 2]
mov word [esp + 0x1a], cx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
cmp edx, 0xfffe
ja 0x4156a6
lea eax, ds:[esp + 0x18]
push eax
push dword [esp + 0x40]
call dword [sym.imp.ntdll.dll_NtDeleteValueKey]
push dword [esp + 0x3c]
call dword [sym.imp.ntdll.dll_NtClose]
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte ds:[eax + 4], 1
jne 0x4156c7
call sym.SystemInformer.exe__PhUiDisconnectFromPhSvc_0
mov ecx, dword [esp + 0x8c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 8
Function at 0x41a300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
mov dword [ebp - 0x43c], eax
mov esi, ecx
push edi
lea eax, [ebp - 0x414]
mov dword [ebp - 0x450], 0xd
mov dword [ebp - 0x478], eax
mov edi, edx
lea eax, [ebp - 0x450]
mov dword [ebp - 0x440], 0xffffffff
push eax
push 0
push 0x104b
push esi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x438], 0x208
mov dword [ebp - 0x48c], 0xd
mov dword [ebp - 0x47c], 0xffffffff
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x474], 0x208
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41a3fb
lea eax, [ebp - 0x48c]
push eax
push 0
push 0x104b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
nop
test eax, eax
je 0x41a3fb
lea eax, ds:[ebp - 0x450]
mov dword [ebp - 0x44c], ebx
push eax
push 0
push 0x104c
push esi
mov dword [ebp - 0x488], edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x48c]
push eax
push 0
push 0x104c
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 4