joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404370
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 8
mov edi, ecx
call fcn.00436160
mov ebx, esp
test ebx, ebx
je 0x4043ba
push 0
push 0
push 6
push ebx
push 0xffffffffffffffff
push 0x466994
push 0
push 3
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
jmp 0x4043bc
xor esi, esi
test edi, edi
je 0x404412
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4043c5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 8], eax
cmp eax, 0x3fffffff
jg 0x404412
add eax, eax
call fcn.00435db0
mov ebx, esp
test ebx, ebx
je 0x404412
mov ecx, dword [ebp - 8]
push 0
push 0
mov byte [ebx], 0
lea eax, [ecx + ecx]
push eax
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x404414
xor eax, eax
push esi
push eax
push str.RunShellExecute_path
push 0
call fcn.004030f0
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4044af
test edi, edi
je 0x404487
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404440
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x404487
add ebx, ebx
mov eax, ebx
call fcn.00435db0
mov esi, esp
test esi, esi
je 0x404487
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x404489
xor eax, eax
push eax
push 0x4662b8
push 0
call fcn.004030f0
add esp, 0xc
xor eax, eax
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret
push 0x38
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0x3c
push 0
push eax
call fcn.00438850
add esp, 0xc
mov dword [ebp - 0x40], 0x440
lea eax, [ebp - 0x44]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], str.runas
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x466994
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x404573
test edi, edi
je 0x40452b
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404511
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x40452f
xor esi, esi
jmp 0x404546
add esi, esi
mov eax, esi
call fcn.00435db0
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.004030b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.path
push 2
call fcn.004030f0
add esp, 0x10
xor eax, eax
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret
mov eax, 1
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret
Function at 0x404590
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
mov esi, ecx
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x404634
push 0xf01ff
push dword [esi]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x404624
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x404624
cmp dword [ebp - 0x1c], 1
je 0x4045f0
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov edi, eax
test edi, edi
je 0x404618
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov edi, 1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
test esi, esi
je 0x404634
push esi
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435232
mov esp, ebp
pop ebp
ret
Function at 0x404650
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452296
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x428], esi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x430], 0
mov ecx, dword [eax]
mov eax, dword [0x46fc88]
cmp eax, dword [ecx + 4]
jle 0x4046f3
push 0x46fc88
call fcn.004353b4
add esp, 4
cmp dword [0x46fc88], 0xffffffff
jne 0x4046f3
call fcn.00401a50
mov ecx, eax
test ecx, ecx
jne 0x4046cf
push 0x80004005
call fcn.00404070
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x453880
mov dword [0x46fc8c], eax
call fcn.0043570b
push 0x46fc88
call fcn.00435375
add esp, 8
mov eax, dword [0x46fc8c]
cmp dword [eax - 0xc], 0
jne 0x4047c9
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00438850
add esp, 0xc
lea eax, [ebp - 0x424]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
call fcn.00404e70
push str.PEAN_StudioPocketAnimation
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00404bf0
add esp, 4
push eax
mov ecx, 0x46fc8c
mov byte [ebp - 4], 1
call fcn.00404de0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x42c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40478c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4047ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x46fc8c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4047c9
mov ecx, dword [0x46fc8c]
call fcn.00404800
push 0x46fc8c
mov ecx, esi
call fcn.00405020
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret
Function at 0x404800
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4522c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46d2f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00404e70
push 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40488c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x40488c
lea ecx, [ebp - 0x10]
call fcn.004048d0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x404888
mov ecx, eax
call fcn.00404800
test eax, eax
je 0x404885
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40488c
call esi
cmp eax, 0xb7
je 0x40488c
mov eax, dword [ebp - 0x10]
xor esi, esi
jmp 0x404894
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4048b3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404980
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452349
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or esi, 0xffffffff
test eax, eax
je 0x404a71
lea ecx, [ebp - 0x224]
call fcn.00404b80
push 0x465e64
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00404bf0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x21c]
call fcn.00404cc0
add esp, 8
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00404de0
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404a2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404a50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404a71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404a86
lea edi, [eax + 1]
jmp 0x404b36
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00438850
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004438f1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, 0x104
sub eax, ecx
push eax
lea eax, [ebp - 0x218]
lea eax, [eax + ecx*2]
push 0
push eax
call fcn.00438850
xorps xmm0, xmm0
mov word [ebp - 0x228], 0
movups xmmword [ebp - 0x240], xmm0
lea eax, [ebp - 0x218]
add esp, 0x24
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x23c], eax
mov eax, 0x614
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x404b34
cmp dword [ebp - 0x232], eax
jne 0x404b34
lea edi, [eax + 1]
jmp 0x404b36
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x404b55
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret
Function at 0x404b80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00438850
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404e70
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435232
mov esp, ebp
pop ebp
ret
Function at 0x405c90
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452508
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x405cd5
push dword [esi + 0x1c]
push 1
call eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x405ce3
push dword [esi + 0x1c]
push 2
call eax
call fcn.00405e70
test al, al
jne 0x405cfb
push str.delete_startmenu_failed_n
push 2
call fcn.004030f0
add esp, 8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x405d09
push dword [esi + 0x1c]
push 3
call eax
push 0x4667d0
lea ecx, [ebp - 0x18]
call fcn.00404e70
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x405d7b
push 0xf01ff
push dword [ebp - 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x405d72
lea ecx, [ebp - 0x18]
call fcn.00404590
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x405d60
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
jmp 0x405d78
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call ebx
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405d96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.00405a20
mov eax, dword [esi + 0x18]
test eax, eax
je 0x405dab
push dword [esi + 0x1c]
push 4
call eax
call fcn.00405780
mov eax, dword [esi + 0x18]
test eax, eax
je 0x405dbe
push dword [esi + 0x1c]
push 5
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret 4
Function at 0x405e70
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452550
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405f80
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x200
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.Programs
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x405f12
mov eax, dword [str.ChatPpt]
mov dword [ecx], eax
mov eax, dword [0x4668bc]
mov dword [ecx + 4], eax
mov eax, dword [0x4668c0]
mov dword [ecx + 8], eax
mov eax, dword [0x4668c4]
mov dword [ecx + 0xc], eax
mov ax, word [0x4668c8]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x414]
push ecx
mov ecx, esp
push eax
call fcn.00404e70
call fcn.00404980
add esp, 4
test eax, eax
setne al
jmp 0x405f82
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00435232
mov esp, ebp
pop ebp
ret
Function at 0x4061a0
Capabilities:
Check mutex on windows
Copy file
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x46d2f0]
xor eax, esp
mov dword [esp + 0x418], eax
mov ecx, dword [ebp + 0x10]
mov edx, 0x466930
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
nop word [eax + eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4061f0
test bl, bl
je 0x4061ec
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4061f0
add eax, 2
add edx, 2
test bl, bl
jne 0x4061d0
xor eax, eax
jmp 0x4061f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x406210
sub esp, 8
call fcn.004056f0
add esp, 4
mov ecx, eax
call fcn.00405c90
jmp 0x4063a9
mov eax, 0x466934
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x406235
test dl, dl
je 0x406231
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x406235
add ecx, 2
add eax, 2
test dl, dl
jne 0x406215
xor eax, eax
jmp 0x40623a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x406314
push str.CP_20230509_Event_Uninstall_001
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40627e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x466938
push str.S_MR
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4063a9
push str.Uninstall_Start__n
push 1
call fcn.004030f0
push edi
call fcn.0040a01b
add esp, 0xc
push 0x3d0
call fcn.00435243
add esp, 4
mov ecx, eax
call fcn.004064f0
mov esi, eax
call fcn.004056f0
push 0
push 0x250
push 0x2c2
push 0
push 0
push 0
push 0x96c80000
push 0x4669b0
push 0
mov ecx, esi
mov dword [eax + 0x18], 0x406770
mov dword [eax + 0x1c], esi
call fcn.0040bdf7
push 5
mov ecx, esi
call fcn.0042f4af
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040bca3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4063a9
call fcn.004093f2
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4063a9
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00438850
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push 0
push eax
call fcn.00438850
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406356
mov ecx, 8
lea eax, [esp + 0x218]
mov esi, str.paUninstall.exe
rep movsd dword es:[edi], dword [esi]
push 0x104
push eax
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 8
lea ecx, [esp + 0x18]
call fcn.00404370
add esp, 8
mov ecx, dword [esp + 0x424]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00435232
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
push str.click
call fcn.0040b241
test al, al
je 0x406aee
mov eax, dword [esi + 0x108]
cmp eax, dword [edi + 0x340]
jne 0x406a5c
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x39c]
jne 0x406a74
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x348]
jne 0x406a8c
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x344]
jne 0x406add
mov ecx, dword [edi + 0x33c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1b4]
call fcn.004056f0
push 0
push 0
mov esi, eax
push esi
push 0x405e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0x32
push 0
lea ecx, [edi - 0x20]
mov dword [esi + 0x10], eax
call fcn.0042f4af
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
ret 4
cmp eax, dword [edi + 0x3a0]
jne 0x406b98
jmp 0x406b9e
push str.selectchanged
mov ecx, esi
call fcn.0040b241
test al, al
je 0x406b98
mov eax, dword [esi + 0x108]
mov ecx, dword [edi + 0x34c]
push ebx
cmp eax, ecx
jne 0x406b2f
call fcn.0040a983
mov bl, al
call fcn.004056f0
xor ecx, ecx
test bl, bl
pop ebx
setne cl
pop edi
mov dword [eax], ecx
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x350]
cmp eax, ecx
jne 0x406b54
call fcn.0040a983
xor ebx, ebx
test al, al
setne bl
call fcn.004056f0
mov dword [eax + 4], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x354]
cmp eax, ecx
jne 0x406b79
call fcn.0040a983
xor ebx, ebx
test al, al
setne bl
call fcn.004056f0
mov dword [eax + 8], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x358]
cmp eax, ecx
jne 0x406b97
call fcn.0040a983
xor ebx, ebx
test al, al
setne bl
call fcn.004056f0
mov dword [eax + 0xc], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.00404220
int3

Function at 0x407e80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x407ea3
or esi, 1
push 1
call edi
test ax, ax
jns 0x407eaf
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x407ebb
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x407ec7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x40944c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x1bc]
call fcn.0042f4af
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4094a2
push ebx
lea ecx, [esi + 0x1bc]
mov byte [ebp + 0xb], 0
call fcn.0040b255
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x409502
lea ecx, [esi + 0x1bc]
inc ebx
call fcn.0042f4af
cmp ebx, eax
jl 0x40946b
sub edi, 0x100
je 0x409568
sub edi, 4
je 0x409506
dec edi
sub edi, 1
jne 0x40955d
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00441c25
pop ecx
mov ecx, dword [esi + 0x13c]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x40a67e
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x40955d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x40955f
cmp dword [esi + 0x140], 0
je 0x40955d
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x150]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x154]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00407e80
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x40955d
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x4095c1
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x4095c1
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x4095c1
mov ecx, dword [esi + 0x140]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0043851d
pop ecx
pop ecx
test eax, eax
je 0x4095c1
mov ecx, dword [esi + 0x140]
call fcn.0041759d
test al, al
jne 0x40955d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0040a061
jmp 0x409502
Function at 0x409e1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x409e43
cmp esi, dword [ebx + 0x140]
je 0x409e43
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x140]
cmp esi, eax
je 0x409f1a
push edi
test eax, eax
je 0x409ea2
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x140]
call fcn.00409b74
mov dword [ebx + 0x140], edi
test esi, esi
je 0x409f19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x409f19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
test al, al
je 0x409f19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
test al, al
je 0x409f19
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x140], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x16
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x140]
call fcn.00409b74
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4