joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4618d8
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x461a07
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x4618fe
call fcn.00463685
mov eax, edi
jmp 0x461a10
cmp eax, 2
jne 0x461910
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4618f7
cmp eax, 0x65
jne 0x46191e
mov eax, esi
call fcn.00463a81
jmp 0x4618f7
cmp eax, 0x67
je 0x461915
cmp eax, 0x6f
jne 0x46192f
call fcn.00463b0a
jmp 0x4618f7
cmp eax, 0x66
jne 0x461947
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.0046437d
jmp 0x4618f7
cmp eax, 0x191
jne 0x461955
call fcn.00463c41
jmp 0x4618f7
cmp eax, 0x96
jne 0x46197e
push dword [esi + 0x550]
push dword [esi + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.004635ee
jmp 0x4618f7
cmp eax, 0x1f5
jne 0x461993
xor ecx, ecx
mov eax, esi
call fcn.00456e8f
jmp 0x4618f7
cmp eax, 0x68
jne 0x4619a4
mov ebx, esi
call fcn.004640cc
jmp 0x4618f7
cmp eax, 0x6e
jne 0x4619c3
add esi, 0x24
push eax
mov eax, esi
call fcn.004656e7
push eax
push 0x67
mov eax, esi
call fcn.00465751
jmp 0x4618f7
cmp eax, 0x6c
jne 0x4619e3
push edi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_company_license_agreement.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4618f7
cmp eax, 0x6d
jne 0x4619f4
push edi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_company_privacy_policy.html
jmp 0x4619d2
cmp eax, 0x2c0
jne 0x461a07
mov eax, esi
call fcn.00464b1e
jmp 0x4618f7
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x461d6c
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x461de3
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x461de3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4c3f08]
fcomp qword [0x4c3f00]
fnstsw ax
test ah, 1
jne 0x461de3
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x462280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x558], 0
jne 0x4622bc
push esi
lea esi, [ebp - 4]
call fcn.004622c4
push dword [eax]
push 2
push 0x4be69c
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x558], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405b78
pop esi
mov eax, dword [edi + 0x558]
leave
ret
Function at 0x4625e4
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push str.install_run_begin
mov esi, 0x4df1b8
mov edi, eax
call fcn.0042a80d
pop ecx
push edi
call fcn.004626f9
call fcn.0046c856
cmp dword [eax + 0x3c], 0
je 0x462613
cmp dword [edi + 0x968], 0
jne 0x46267e
xor ebx, ebx
cmp dword [edi + 0x964], 1
sete bl
call fcn.004094b6
cmp eax, 6
jg 0x462659
test ebx, ebx
jne 0x46264c
push 2
push 2
push 0x4c2570
push dword [edi + 0x960]
push 0x4c257c
push dword [edi + 4]
call fcn.00440cc9
add esp, 0x18
push str.system_is_xp
call fcn.0042a80d
pop ecx
jmp 0x46267e
push edi
call fcn.004627b2
test eax, eax
je 0x46267e
mov ecx, edi
call fcn.004629b2
test eax, eax
je 0x46267e
call fcn.00462a7d
test eax, eax
jne 0x46267e
mov eax, edi
call fcn.004653b5
call fcn.004466c1
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46269e
test al, 0x10
jne 0x46269e
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.install_run_end
call fcn.0042a80d
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x4626f9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4b0121
call fcn.004ab348
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
and dword [ebp - 4], 0
call fcn.0046c856
lea esi, [ebp - 0x14]
call fcn.0046c93e
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00406047
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405b78
test bl, bl
jne 0x462793
mov eax, dword [0x4de22c]
mov ecx, 0x4de22c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4bccd4
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.0040612f
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x46278b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46278b
mov eax, dword [ebp + 8]
mov dword [eax + 0x968], 1
lea eax, [esi - 0x10]
call fcn.00405b78
cmp dword [ebp - 0x10], 0
je 0x4627a2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4627b2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4b04a4
call fcn.004ab348
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4de22c]
mov edi, 0x4de22c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0046232e
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4df1f8]
call fcn.00406995
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405b78
call fcn.0046c856
lea esi, [ebp - 0x18]
call fcn.0046c93e
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00406047
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405b78
test bl, bl
jne 0x462984
mov eax, dword [0x4de22c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4bccd4
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.0040612f
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x46297c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46297c
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00405107
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x4628e6
push str.silent_coverinstall
mov esi, 0x4df1b8
call fcn.0042a80d
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405b78
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405b78
cmp dword [ebp - 0x10], 0
je 0x4628df
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4629a1
mov eax, dword [esi + 0x960]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push 3
push ecx
push eax
push edi
push ecx
call fcn.00440cc9
add esp, 0x18
test al, 1
je 0x462921
push str.has_installed__user_click_recoverinstall
mov esi, 0x4df1b8
call fcn.0042a80d
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405b78
lea eax, [edi - 0x10]
jmp 0x46298a
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046d627
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.0046d651
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4df1b8
call fcn.0042a80d
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405b78
lea eax, [edi - 0x10]
call fcn.00405b78
cmp dword [ebp - 0x10], 0
je 0x462978
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4629a1
lea eax, [ebx - 0x10]
call fcn.00405b78
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405b78
cmp dword [ebp - 0x10], 0
je 0x46299e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x462f8d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aeafb
call fcn.004ab348
push ecx
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push 0x4c220c
push 0
call fcn.00493808
mov esi, dword [ebp + 8]
pop ecx
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462fd3
push esi
call fcn.0043067e
push eax
call fcn.00406003
call fcn.00430bdc
mov ebx, eax
call fcn.00430c07
call fcn.00460d50
call fcn.00461094
call fcn.0046121e
call fcn.004326c8
push esi
add eax, 0xc
push eax
call fcn.00406003
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x4c2210
push eax
call fcn.00405de8
mov byte [ebp - 4], 1
call fcn.004326c8
push eax
mov byte [ebp - 4], 0
call fcn.0046141b
lea eax, [esi - 0x10]
call fcn.00405b78
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x463456
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
xor edi, edi
inc edi
mov esi, eax
push edi
push edi
lea eax, [esi + 0x24]
call fcn.00465751
mov eax, esi
call fcn.00463e6d
cmp dword [esi + 0x964], edi
jne 0x463480
mov ecx, edi
mov eax, esi
call fcn.00456e8f
push edi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_download_installed.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi + 0x99c]
call fcn.00468c9a
mov edi, dword [esi + 0x990]
add esi, 0x98c
cmp edi, dword [esi + 8]
jbe 0x4634b7
call fcn.0048e16e
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x4634c4
call fcn.0048e16e
cmp esi, esi
je 0x4634cd
call fcn.0048e16e
cmp edi, ebx
je 0x4634f1
cmp edi, dword [esi + 8]
jb 0x4634db
call fcn.0048e16e
mov ecx, edi
call fcn.00468c9a
cmp edi, dword [esi + 8]
jb 0x4634ec
call fcn.0048e16e
add edi, 0x30
jmp 0x4634b7
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x463a81
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, eax
xor ebp, ebp
push ebp
lea edi, [esi + 0x24]
push 0xc
mov eax, edi
call fcn.0046579c
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
push ebp
push 0x50
push 0x3ed
push dword [esi + 4]
call ebx
push ebp
push 0x1e
push 1
push dword [esi + 4]
call ebx
push ebp
push 0x64
mov eax, edi
call fcn.0046579c
push ebp
push 0x2be
mov eax, edi
call fcn.0046579c
push 1
push 0xc8
mov eax, edi
call fcn.0046579c
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call ebx
push ebp
call fcn.0046437d
push ebp
push ebp
push esi
push 0x463a6a
push ebp
push ebp
call fcn.0049193f
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x464004
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.00448e20
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405b78
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x4640c5
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464047
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x4640c5
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004065e5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.00405b78
test bl, bl
je 0x464074
push 2
pop eax
jmp 0x4640c8
push edi
call fcn.00463f78
test eax, eax
pop ecx
je 0x464083
mov eax, esi
jmp 0x4640c8
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004065e5
push dword [eax]
call fcn.00461d6c
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405b78
test bl, bl
je 0x4640b2
push 4
jmp 0x464071
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x4640c1
push 5
jmp 0x464071
xor eax, eax
jmp 0x4640c8
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x4640cc
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4ae3ec
call fcn.004ab348
sub esp, 0x44c
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x452]
push esi
push eax
mov word [ebp - 0x454], si
call fcn.0048e7e0
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push eax
push 0x11
push dword [ebx + 4]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x4de22c]
mov edi, 0x4de22c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
push 0x105
lea esi, [ebp - 0x18]
call fcn.00405ca9
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x464159
push 0x80070057
call fcn.00405c91
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4c23c4
lea eax, [ebp - 0x18]
push eax
call fcn.00406003
mov eax, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call fcn.0040c1f7
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4c23d0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x464266
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0048e7e0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4de22c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00448e20
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406a1e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405b78
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406a1e
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00464004
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405b78
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405b78
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4645ea
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4b03e9
call fcn.004ab348
sub esp, 0xc
push esi
push edi
call fcn.0046c856
lea esi, [ebp - 0x10]
call fcn.0046cf62
xor esi, esi
lea edi, [ebx + 0x550]
mov dword [ebp - 4], esi
call fcn.00405107
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405b78
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x464669
push esi
push 0x26
push 0x104
mov esi, edi
call fcn.00405ca9
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x464653
push eax
call fcn.0048f085
pop ecx
mov edx, edi
call fcn.00405c70
test esi, esi
jne 0x464669
push 0x4c24f0
push edi
call fcn.00406003
mov ecx, edi
call fcn.0040a48f
push 0x4bcd1c
push edi
call fcn.00406430
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406a1e
call fcn.004466c1
push eax
call fcn.004476c1
test al, al
je 0x4646c5
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.004466c1
pop ecx
push eax
mov ecx, edi
call fcn.00447af4
mov dword [ebp - 4], 1
call fcn.00405107
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405b78
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4646d3
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x560], 0
cmp dword [esp + 8], 0x61
je 0x4646eb
cmp dword [esp + 8], 0x41
jne 0x46471f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x46471f
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
add esi, 0x528
push dword [esi]
call edi
push 0
push 0
push 0xb7
push dword [esi]
call edi
pop edi
pop esi
ret 4

Function at 0x464723
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4acb4d
call fcn.004ab348
push ecx
mov eax, dword [0x4de22c]
push esi
push edi
mov ecx, 0x4de22c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.00405ca9
push 0x104
push eax
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x464771
xor eax, eax
jmp 0x464778
push esi
call fcn.0048f085
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405c70
lea edi, [ebp - 0x10]
call fcn.00464004
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405b78
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x464866
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4acba2
call fcn.004ab348
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4de22c
mov dword [ebp - 0x10], edi
call fcn.00405e2b
push 0x208
lea eax, [ebp - 0x21a]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x21c], di
call fcn.0048e7e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4648f4
lea eax, [ebp - 0x21c]
push eax
call fcn.0048f085
test eax, eax
pop ecx
je 0x4648f4
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00406003
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4653b5
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4df2e8]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x18], esi
je 0x4653d2
mov edi, dword [eax + 4]
jmp 0x4653d4
xor edi, edi
cmp edi, esi
jne 0x4653e4
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x465409
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x465409
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x465409
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x438], esi
call fcn.00465c7a
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x20], ecx
jne 0x465431
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x465538
mov eax, dword [0x4df2e8]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x465448
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.0044236a
cmp dword [ebx + 0x428], esi
je 0x4654d4
push esi
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 esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x465492
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x53
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x4654b5
push esi
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 0x4654d4
push esi
push esi
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
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x438], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x465519
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x465519
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x465519
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4df2e8]
cmp eax, esi
je 0x465529
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
push dword [ebx + 4]
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 0x46842d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ad2a1
call fcn.004ab348
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405de8
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405de8
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405de8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00468560
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405b78
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405b78
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405b78
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x4684ca
add eax, 0xfffffff0
call fcn.00405b78
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x4de22c]
push edi
mov ecx, 0x4de22c
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00408db7
test eax, eax
jbe 0x46853f
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.00405107
mov eax, edi
push eax
call fcn.004062fc
pop ecx
mov eax, ebx
call fcn.00408db7
cmp esi, eax
jb 0x468511
call fcn.0048e16e
mov eax, dword [ebx + 4]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x10]
call fcn.00406a1e
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468543
mov eax, ebx
inc esi
call fcn.00408db7
cmp esi, eax
jb 0x4684ed
mov bl, 1
jmp 0x468545
xor bl, bl
lea eax, [edi - 0x10]
call fcn.00405b78
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405b78
mov al, bl
pop edi
jmp 0x4684ba