joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451a72
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov eax, 0x646464
lea edi, [ebx + 0x524]
mov dword [edi + 0x34], eax
mov dword [edi + 0x60], eax
mov esi, 0x4cfaa4
lea eax, [ebx + 0x550]
push esi
push eax
mov dword [ebx + 0x554], 0xa0a0a0
call fcn.004014fa
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push esi
push eax
call fcn.0040136c
mov ecx, edi
call fcn.00452e98
mov dword [edi + 0x74], 2
mov dword [edi + 0x78], 4
mov eax, 0x646464
mov dword [ebx + 0x5a4], 0x44
lea esi, [ebx + 0x5b0]
mov dword [esi + 0x34], eax
mov dword [esi + 0x60], eax
lea eax, [ebx + 0x5dc]
push 0x4cfabc
push eax
mov dword [ebx + 0x5e0], 0xa0a0a0
call fcn.004014fa
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push 0x4cfabc
push eax
call fcn.0040136c
mov ecx, esi
call fcn.00452e98
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 4
push 0x19a
mov esi, ebx
mov dword [ebx + 0x630], 0x40
call fcn.0045efa6
mov ecx, eax
lea eax, [ebp - 0x18]
call fcn.0040e858
inc dword [ebp - 0x18]
inc dword [ebp - 0x14]
dec dword [ebp - 0x10]
dec dword [ebp - 0xc]
xor esi, esi
push esi
push esi
call fcn.0041a20c
add esp, 4
mov dword [ebp - 4], eax
mov eax, esp
mov dword [ebp - 8], esp
push ecx
mov dword [eax], esi
mov eax, esp
lea ecx, [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 8], esp
push dword [ebx + 4]
mov eax, edi
call fcn.0045221e
mov edi, dword [ebp - 4]
lea esi, [ebx + 0x524]
call fcn.00452b40
push 0x1ae
mov esi, ebx
call fcn.0045efa6
mov ecx, eax
lea eax, [ebp - 0x28]
call fcn.0040e858
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 3
sub dword [ebp - 0x20], 3
dec dword [ebp - 0x1c]
push ecx
mov eax, esp
and dword [eax], 0
mov dword [ebp - 8], esp
push ecx
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov dword [ebp - 8], esp
push dword [ebx + 4]
lea esi, [ebx + 0x5b0]
mov eax, esi
call fcn.0045221e
call fcn.00452b40
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x528]
call esi
push 5
push dword [ebx + 0x5b4]
call esi
pop edi
pop esi
leave
ret

Function at 0x451bf5
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4b0c32
call fcn.004afcf2
mov ebx, ecx
and dword [ebx + 0x64c], 0
push 8
pop ecx
sub esp, 0x20
mov edi, esp
mov dword [ebx + 0x654], ecx
lea esi, [ebx + 0x63c]
rep movsd dword es:[edi], dword [esi]
call fcn.00451fa4
cmp dword [ebx + 0x518], 7
jne 0x451c82
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0040e9e6
push 0x4ce760
lea eax, [ebp - 0x10]
push eax
call fcn.00401797
mov esi, dword [ebp - 0x10]
push edi
push edi
push str._runexe:feedback.exe__from:softmgr
push esi
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004517dd
lea eax, [esi - 0x10]
call fcn.0040113b
jmp 0x451ca0
push 0
lea esi, [ebx + 0x24]
push 0x6e
mov eax, esi
call fcn.0048148e
push 1
push 0x78
mov eax, esi
call fcn.0048148e
call fcn.00451a72
call fcn.004afdca
ret
Function at 0x452ecb
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x4b0c32
call fcn.004afcf2
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea edi, [esi + 0x40]
lea eax, [ebp - 0x10]
mov ecx, edi
call fcn.004506c4
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 0xc], 0
jne 0x452f0e
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx - 0x10]
call fcn.0040113b
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x452f2e
push 0
push dword [esi + 4]
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 8]
mov dword [eax], 1
xor eax, eax
call fcn.004afdca
ret 4

Function at 0x456e4b
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0999
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4f1020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x20]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x30], 0
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
add ebx, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], 0
mov esi, dword [ebx + 4]
je 0x456eac
cmp dword [esp + 0x1c], ebx
je 0x456eb2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], esi
je 0x456f18
lea esi, [esp + 0x1c]
call fcn.0049495d
lea esi, [esp + 0x14]
call fcn.0047dfe1
mov byte [esp + 0x30], 1
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp + 8]
je 0x456ef5
mov byte [esp + 0x30], 0
call fcn.00403737
and dword [esp + 0x14], 0
lea esi, [esp + 0x1c]
call fcn.0048206a
jmp 0x456e9c
push dword [esp + 0x20]
lea eax, [esp + 0x20]
push dword [esp + 0x20]
mov dword [esi + 0x14], 1
push eax
call fcn.0046949b
mov byte [esp + 0x30], 0
call fcn.00403737
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45bc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x34
mov eax, 0x4b13fd
call fcn.004afcf2
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x45bd8c
cmp dword [ebp + 0xc], ebx
je 0x45bd8c
lea ecx, [ebp - 0x40]
add eax, 0x60
push ecx
call fcn.0048b93a
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.0047427b
cmp eax, ebx
mov dword [ebp - 0x18], eax
jle 0x45bd84
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x40]
call fcn.004916a3
mov edi, dword [eax]
cmp edi, ebx
je 0x45bd75
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
add eax, 0x1c
push ecx
call fcn.0045e057
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x28]
jbe 0x45bccd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
jbe 0x45bce4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 0x20], ebx
je 0x45bcf1
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x20], eax
je 0x45bcf7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 0x1c], esi
je 0x45bd6a
lea esi, [ebp - 0x20]
call fcn.0043608a
mov esi, dword [eax]
mov eax, dword [edi + 0x14]
cmp eax, dword [esi]
jne 0x45bd5d
cmp dword [edi + 0x24], ebx
je 0x45bd4e
cmp dword [esi + 0x1c], ebx
jne 0x45bd4e
cmp dword [ebp + 0x14], ebx
je 0x45bd4e
push eax
mov eax, dword [ebp + 0xc]
call fcn.00485baa
mov ebx, esi
call fcn.00485a79
call fcn.00485a1c
mov eax, dword [ebp + 0xc]
call fcn.00485b3a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x70], eax
mov eax, edx
mov dword [ecx + 0x3c], edx
mov dword [ecx + 0x74], eax
xor ebx, ebx
jmp 0x45bd5d
cmp dword [edi + 0x78], ebx
jne 0x45bd5d
push dword [ebp + 0x10]
push esi
push edi
call fcn.0045bd94
lea esi, [ebp - 0x20]
call fcn.00477c43
jmp 0x45bcd6
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00467fe2
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x45bc97
lea esi, [ebp - 0x40]
call fcn.00467fe2
call fcn.004afdca
ret 0x10
Function at 0x45ddf7
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, eax
cmp esi, edi
mov ebx, ecx
mov dword [esp + 0x1c], edi
jne 0x45de2c
mov eax, dword [0x4f9b74]
cmp eax, edi
je 0x45de1a
mov esi, dword [eax + 4]
jmp 0x45de1c
xor esi, esi
cmp esi, edi
jne 0x45de2c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x45de51
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x45de51
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45de51
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.0045edfd
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x45de77
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x45df7f
mov edx, eax
call fcn.0040e8de
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0045f29e
cmp dword [ebx + 0x428], edi
je 0x45df27
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x45ded0
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x45df08
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x45df27
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.00405d31
cmp dword [esp + 0x1c], edi
je 0x45df67
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x45df67
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x45df67
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040e8de
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45e42f
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [0x4f9b74]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x45e44c
mov esi, dword [eax + 4]
jmp 0x45e44e
xor esi, esi
cmp esi, edi
jne 0x45e45e
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x45e483
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x45e483
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45e483
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.0045f12d
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x45e4a9
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x45e5b1
mov edx, eax
call fcn.0040e8de
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0045f29e
cmp dword [ebx + 0x428], edi
je 0x45e559
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x45e502
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x45e53a
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x45e559
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.00405d31
cmp dword [esp + 0x1c], edi
je 0x45e599
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x45e599
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x45e599
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040e8de
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45e5b9
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, eax
cmp esi, edi
mov ebx, ecx
mov dword [esp + 0x1c], edi
jne 0x45e5ee
mov eax, dword [0x4f9b74]
cmp eax, edi
je 0x45e5dc
mov esi, dword [eax + 4]
jmp 0x45e5de
xor esi, esi
cmp esi, edi
jne 0x45e5ee
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x45e613
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x45e613
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45e613
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.0045f3b6
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x45e639
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x45e741
mov edx, eax
call fcn.0040e8de
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0045f29e
cmp dword [ebx + 0x428], edi
je 0x45e6e9
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x45e692
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x45e6ca
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x45e6e9
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.00405d31
cmp dword [esp + 0x1c], edi
je 0x45e729
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x45e729
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x45e729
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040e8de
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4620f1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x4e
push edi
jne 0x462119
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x462148
xor ecx, ecx
lea eax, [esi + 0x504]
mov dword [eax], ecx
mov dword [ebx], ecx
cmp dword [eax], ecx
je 0x462148
xor eax, eax
inc eax
jmp 0x462164
cmp dword [ebp + 0xc], 0x110
jne 0x462169
push dword [esi + 0x508]
lea edi, [esi + 0x504]
push 0x64
lea eax, [esi + 0x24]
mov dword [edi], 1
call fcn.0046e16d
xor eax, eax
inc eax
mov dword [ebx], eax
cmp dword [edi], 0
jne 0x462164
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00467c62
neg eax
sbb eax, eax
neg eax
pop edi
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 8
jne 0x462148
push 0
push dword [esi + 4]
lea edi, [esi + 0x504]
and dword [edi], 0
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [edi], 0
jmp 0x462112

Function at 0x463dee
Capabilities:
Create process on windows

Disassembly:
push 0x214
mov eax, 0x4b1d5c
call fcn.004afd5b
mov eax, dword [0x4f7c54]
mov edi, ecx
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [ebp + 8]
add edi, 0x1000
xor esi, esi
push edi
lea eax, [ebp - 0x220]
mov dword [ebp - 4], esi
call fcn.00467f68
push 0x208
lea eax, [ebp - 0x21a]
push esi
push eax
mov word [ebp - 0x21c], si
call sub.MSVCR80.dll_memset
mov edi, dword [ebp - 0x220]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 1
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [edi - 0x10]
call fcn.0040113b
call fcn.004afdde
ret 4
Function at 0x4678c2
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, eax
cmp esi, edi
mov ebx, ecx
mov dword [esp + 0x1c], edi
jne 0x4678f7
mov eax, dword [0x4f9b74]
cmp eax, edi
je 0x4678e5
mov esi, dword [eax + 4]
jmp 0x4678e7
xor esi, esi
cmp esi, edi
jne 0x4678f7
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x46791c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x46791c
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46791c
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.00468869
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x467942
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x467a4a
mov edx, eax
call fcn.0040e8de
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0045f29e
cmp dword [ebx + 0x428], edi
je 0x4679f2
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x46799b
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x4679d3
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x4679f2
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.00405d31
cmp dword [esp + 0x1c], edi
je 0x467a32
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x467a32
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x467a32
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040e8de
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4681ee
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [0x4f9b74]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x46820b
mov esi, dword [eax + 4]
jmp 0x46820d
xor esi, esi
cmp esi, edi
jne 0x46821d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x468242
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x468242
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x468242
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.0046999f
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x468268
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x468370
mov edx, eax
call fcn.0040e8de
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0045f29e
cmp dword [ebx + 0x428], edi
je 0x468318
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x4682c1
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x4682f9
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x468318
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.00405d31
cmp dword [esp + 0x1c], edi
je 0x468358
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x468358
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x468358
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040e8de
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret