joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459c94
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4aad4c
call fcn.004a6288
sub esp, 0x21c
mov eax, dword [0x4d8074]
push ebx
push esi
push edi
mov ecx, 0x4d8074
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.0048bb20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405e0b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405e0b
push 0x2e
lea esi, [ebp - 0x10]
call fcn.0040617e
cmp eax, 0xffffffff
je 0x459d49
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00406288
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00404ed0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596b
mov eax, dword [0x4d8074]
mov ecx, 0x4d8074
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.00459994
test eax, eax
jne 0x459da6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596b
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x459de1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596b
mov eax, ebx
jmp 0x459d95
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x459e49
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00407f1d
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x459e3f
cmp dword [ebp - 0x14], edi
jne 0x459e3f
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x459e27
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.00409942
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x459dc7
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00407f43
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x459dc7
Function at 0x45c62d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a8211
call fcn.004a6288
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.004057b6
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45f662
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov ecx, dword [eax + 8]
inc ebx
cmp ecx, ebx
push edi
jne 0x45f77b
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x45f688
call fcn.00461a84
mov eax, ebx
jmp 0x45f784
cmp eax, 2
jne 0x45f69a
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45f681
cmp eax, 0x65
jne 0x45f6a8
mov eax, esi
call fcn.00461e80
jmp 0x45f681
cmp eax, 0x6f
jne 0x45f6b4
call fcn.00461efc
jmp 0x45f681
cmp eax, 0x66
jne 0x45f6cc
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.004626cb
jmp 0x45f681
cmp eax, 0x191
jne 0x45f6dc
mov edi, esi
call fcn.00462033
jmp 0x45f681
cmp eax, 0x96
jne 0x45f705
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.004619eb
jmp 0x45f681
cmp eax, 0x1f5
jne 0x45f71a
xor ecx, ecx
mov eax, esi
call fcn.004565dc
jmp 0x45f681
cmp eax, 0x68
jne 0x45f72b
mov ebx, esi
call fcn.00462418
xor eax, eax
inc eax
jmp 0x45f784
cmp eax, 0x6e
jne 0x45f74a
add esi, 0x24
push eax
mov eax, esi
call fcn.0046317e
push eax
push 0x65
mov eax, esi
call fcn.004631e8
jmp 0x45f681
cmp eax, 0x6c
jne 0x45f76a
push ebx
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_license.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45f681
cmp eax, 0x6d
jne 0x45f77b
push ebx
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_privacy.html
jmp 0x45f759
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x45fa91
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 0x45fb08
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 0x45fb08
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 [0x4be698]
fcomp qword [0x4be690]
fnstsw ax
test ah, 1
jne 0x45fb08
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x4601f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x558], 0
jne 0x460230
push esi
lea esi, [ebp - 4]
call fcn.00460238
push dword [eax]
push 2
push 0x4b8e9c
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.0040596b
pop esi
mov eax, dword [edi + 0x558]
leave
ret

Function at 0x460618
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push str.install_run_begin
mov esi, 0x4d8f70
mov edi, eax
call fcn.0042a6de
pop ecx
push edi
call fcn.0046072d
call fcn.004699c0
cmp dword [eax + 0x3c], 0
je 0x460647
cmp dword [edi + 0x968], 0
jne 0x4606b2
xor ebx, ebx
cmp dword [edi + 0x964], 1
sete bl
call fcn.004090ea
cmp eax, 6
jg 0x46068d
test ebx, ebx
jne 0x460680
push 2
push 2
push 0x4bd694
push dword [edi + 0x960]
push 0x4bd6a0
push dword [edi + 4]
call fcn.00440619
add esp, 0x18
push str.system_is_xp
call fcn.0042a6de
pop ecx
jmp 0x4606b2
push edi
call fcn.004607e6
test eax, eax
je 0x4606b2
mov ecx, edi
call fcn.004609e6
test eax, eax
je 0x4606b2
call fcn.00460ab3
test eax, eax
jne 0x4606b2
mov eax, edi
call fcn.00462e90
call fcn.00445b0c
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4606d2
test al, 0x10
jne 0x4606d2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.install_run_end
call fcn.0042a6de
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x46072d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aaf01
call fcn.004a6288
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
and dword [ebp - 4], 0
call fcn.004699c0
lea esi, [ebp - 0x14]
call fcn.00469aa8
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e4f
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040596b
test bl, bl
jne 0x4607c7
mov eax, dword [0x4d8074]
mov ecx, 0x4d8074
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b74fc
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.00405f37
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x4607bf
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4607bf
mov eax, dword [ebp + 8]
mov dword [eax + 0x968], 1
lea eax, [esi - 0x10]
call fcn.0040596b
cmp dword [ebp - 0x10], 0
je 0x4607d6
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 0x4607e6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab271
call fcn.004a6288
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4d8074]
mov edi, 0x4d8074
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.00460362
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4d8fb0]
call fcn.00406652
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040596b
call fcn.004699c0
lea esi, [ebp - 0x18]
call fcn.00469aa8
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e4f
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040596b
test bl, bl
jne 0x4609b8
mov eax, dword [0x4d8074]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4b74fc
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00405f37
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x4609b0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4609b0
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00404ed0
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x46091a
push str.silent_coverinstall
mov esi, 0x4d8f70
call fcn.0042a6de
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040596b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596b
cmp dword [ebp - 0x10], 0
je 0x460913
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4609d5
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.00440619
add esp, 0x18
test al, 1
je 0x460955
push str.has_installed__user_click_recoverinstall
mov esi, 0x4d8f70
call fcn.0042a6de
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040596b
lea eax, [edi - 0x10]
jmp 0x4609be
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046a73c
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.0046a766
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4d8f70
call fcn.0042a6de
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040596b
lea eax, [edi - 0x10]
call fcn.0040596b
cmp dword [ebp - 0x10], 0
je 0x4609ac
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4609d5
lea eax, [ebx - 0x10]
call fcn.0040596b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596b
cmp dword [ebp - 0x10], 0
je 0x4609d2
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 0x460faf
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a99f3
call fcn.004a6288
push ecx
push ebx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460fe6
push dword [ebp + 8]
call fcn.004301b5
push eax
call fcn.00405e0b
call fcn.00430713
mov ebx, eax
call fcn.0043073e
call fcn.0045edfa
call fcn.0045f13e
call fcn.0045f2c8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040596b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x461e80
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, eax
xor ebp, ebp
push ebp
lea ebx, [esi + 0x24]
push 0xc
mov eax, ebx
call fcn.00463233
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebp
push 0x50
push 0x3ed
push dword [esi + 4]
call edi
push ebp
push 0x1e
push 1
push dword [esi + 4]
call edi
push ebp
push 0x64
mov eax, ebx
call fcn.00463233
push 1
push 0xc8
mov eax, ebx
call fcn.00463233
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.004626cb
push ebp
push ebp
push esi
push 0x461e69
push ebp
push ebp
call fcn.0048ed1f
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x462350
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.00448260
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.0040596b
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x462411
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462393
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x462411
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00406288
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.0040596b
test bl, bl
je 0x4623c0
push 2
pop eax
jmp 0x462414
push edi
call fcn.004622c4
test eax, eax
pop ecx
je 0x4623cf
mov eax, esi
jmp 0x462414
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00406288
push dword [eax]
call fcn.0045fa91
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040596b
test bl, bl
je 0x4623fe
push 4
jmp 0x4623bd
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x46240d
push 5
jmp 0x4623bd
xor eax, eax
jmp 0x462414
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x462418
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a92ab
call fcn.004a6288
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.0048bb20
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 [0x4d8074]
mov edi, 0x4d8074
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.00405aa7
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x4624a5
push 0x80070057
call fcn.00405a8f
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bd504
lea eax, [ebp - 0x18]
push eax
call fcn.00405e0b
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.0040bfd8
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bd510
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 0x4625b2
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0048bb20
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4d8074]
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.00448260
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004066db
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040596b
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004066db
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00462350
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.0040596b
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596b
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x462938
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4a7df1
call fcn.004a6288
sub esp, 0xc
push esi
push edi
call fcn.004699c0
lea esi, [ebp - 0x10]
call fcn.0046a0cc
xor esi, esi
lea edi, [ebx + 0x550]
mov dword [ebp - 4], esi
call fcn.00404ed0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596b
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x4629b7
push esi
push 0x26
push 0x104
mov esi, edi
call fcn.00405aa7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x4629a1
push eax
call fcn.0048c44a
pop ecx
mov edx, edi
call fcn.00405a63
test esi, esi
jne 0x4629b7
push 0x4bd614
push edi
call fcn.00405e0b
mov ecx, edi
call fcn.0040a1d9
push 0x4b7514
push edi
call fcn.004060d3
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004066db
call fcn.00445b0c
push eax
call fcn.00446b0c
test al, al
je 0x462a13
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.00445b0c
pop ecx
push eax
mov ecx, edi
call fcn.00446ed6
mov dword [ebp - 4], 1
call fcn.00404ed0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596b
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x462a21
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x560], 0
cmp dword [esp + 8], 0x61
je 0x462a39
cmp dword [esp + 8], 0x41
jne 0x462a6d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x462a6d
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 0x462a71
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4a7646
call fcn.004a6288
push ecx
mov eax, dword [0x4d8074]
push esi
push edi
mov ecx, 0x4d8074
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.00405aa7
push 0x104
push eax
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x462abf
xor eax, eax
jmp 0x462ac6
push esi
call fcn.0048c44a
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405a63
lea edi, [ebp - 0x10]
call fcn.00462350
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.0040596b
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x462bb4
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a77b5
call fcn.004a6288
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4d8074
mov dword [ebp - 0x10], edi
call fcn.00405c33
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.0048bb20
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x462c42
lea eax, [ebp - 0x21c]
push eax
call fcn.0048c44a
test eax, eax
pop ecx
je 0x462c42
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00405e0b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x462e90
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4d908c]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x462ead
mov edi, dword [eax + 4]
jmp 0x462eaf
xor edi, edi
cmp edi, esi
jne 0x462ebf
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x462ee4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x462ee4
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x462ee4
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x438], esi
call fcn.004634d0
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x462f0c
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x46302c
mov eax, dword [0x4d908c]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x462f23
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.00441b74
cmp dword [ebx + 0x428], esi
je 0x462fc8
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 0x462f71
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 esi
push esi
push esi
push esi
push esi
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 0x462fa9
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 0x462fc8
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 + 0x1c], esi
je 0x46300d
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x46300d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x46300d
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4d908c]
cmp eax, esi
je 0x46301d
mov ecx, dword [esp + 0x20]
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