joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bcfa
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a72c7
call fcn.004a5308
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.004057b8
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 0x45ecbf
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 0x45edd3
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x45ece5
call fcn.00460d63
mov eax, edi
jmp 0x45eddc
cmp eax, 2
jne 0x45ecf7
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45ecde
cmp eax, 0x65
jne 0x45ed05
mov eax, esi
call fcn.004611a0
jmp 0x45ecde
cmp eax, 0x6f
jne 0x45ed11
call fcn.0046121c
jmp 0x45ecde
cmp eax, 0x66
jne 0x45ed29
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.004619d3
jmp 0x45ecde
cmp eax, 0x191
jne 0x45ed37
call fcn.00461353
jmp 0x45ecde
cmp eax, 0x96
jne 0x45ed5d
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.00460cca
jmp 0x45ecde
cmp eax, 0x1f5
jne 0x45ed72
xor ecx, ecx
mov eax, esi
call fcn.00455e24
jmp 0x45ecde
cmp eax, 0x68
jne 0x45ed83
mov ebx, esi
call fcn.00461722
jmp 0x45ecde
cmp eax, 0x6e
jne 0x45eda2
add esi, 0x24
push eax
mov eax, esi
call fcn.00462417
push eax
push 0x65
mov eax, esi
call fcn.00462481
jmp 0x45ecde
cmp eax, 0x6c
jne 0x45edc2
push edi
xor eax, eax
push eax
push eax
push str.https:__winzips.52songshu.com_license.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45ecde
cmp eax, 0x6d
jne 0x45edd3
push edi
xor eax, eax
push eax
push eax
push str.https:__winzips.52songshu.com_privacy.html
jmp 0x45edb1
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x45f0e9
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 0x45f160
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 0x45f160
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 [0x4bd0b8]
fcomp qword [0x4bd0b0]
fnstsw ax
test ah, 1
jne 0x45f160
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x45f84c
Capabilities:
Read .ini file

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

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

Disassembly:
push ebx
push esi
push edi
push str.install_run_begin
mov esi, 0x4d7f48
mov edi, eax
call fcn.0042a5bb
xor ebx, ebx
cmp dword [edi + 0x964], 1
pop ecx
sete bl
call fcn.0040910f
cmp eax, 6
jg 0x45fb8e
test ebx, ebx
jne 0x45fb81
push 2
push 2
push 0x4bc164
push dword [edi + 0x960]
push 0x4bc170
push dword [edi + 4]
call fcn.00440460
add esp, 0x18
push str.system_is_xp
call fcn.0042a5bb
pop ecx
jmp 0x45fbb3
push edi
call fcn.0045fc2e
test eax, eax
je 0x45fbb3
mov ecx, edi
call fcn.0045fe2e
test eax, eax
je 0x45fbb3
call fcn.0045fefb
test eax, eax
jne 0x45fbb3
mov eax, edi
call fcn.00462142
call fcn.0044595a
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45fbd3
test al, 0x10
jne 0x45fbd3
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.install_run_end
call fcn.0042a5bb
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x45fc2e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aa2a8
call fcn.004a5308
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4d6fec]
mov edi, 0x4d6fec
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.0045f8fa
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4d7f88]
call fcn.0040663f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
call fcn.00468cd2
lea esi, [ebp - 0x18]
call fcn.00468d1d
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e51
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040596d
test bl, bl
jne 0x45fe00
mov eax, dword [0x4d6fec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4b64fc
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00405f39
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x45fdf8
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45fdf8
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00404ed3
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x45fd62
push str.silent_coverinstall
mov esi, 0x4d7f48
call fcn.0042a5bb
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040596d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596d
cmp dword [ebp - 0x10], 0
je 0x45fd5b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x45fe1d
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.00440460
add esp, 0x18
test al, 1
je 0x45fd9d
push str.has_installed__user_click_recoverinstall
mov esi, 0x4d7f48
call fcn.0042a5bb
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040596d
lea eax, [edi - 0x10]
jmp 0x45fe06
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046990c
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.00469936
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4d7f48
call fcn.0042a5bb
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040596d
lea eax, [edi - 0x10]
call fcn.0040596d
cmp dword [ebp - 0x10], 0
je 0x45fdf4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45fe1d
lea eax, [ebx - 0x10]
call fcn.0040596d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596d
cmp dword [ebp - 0x10], 0
je 0x45fe1a
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 0x4611a0
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.004624cc
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.004624cc
push 1
push 0xc8
mov eax, ebx
call fcn.004624cc
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.004619d3
push ebp
push ebp
push esi
push 0x461189
push ebp
push ebp
call fcn.0048ddbf
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x46165a
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.00447b9d
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x46171b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46169d
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x46171b
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040626b
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.0040596d
test bl, bl
je 0x4616ca
push 2
pop eax
jmp 0x46171e
push edi
call fcn.004615ce
test eax, eax
pop ecx
je 0x4616d9
mov eax, esi
jmp 0x46171e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040626b
push dword [eax]
call fcn.0045f0e9
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040596d
test bl, bl
je 0x461708
push 4
jmp 0x4616c7
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x461717
push 5
jmp 0x4616c7
xor eax, eax
jmp 0x46171e
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x461722
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a8302
call fcn.004a5308
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.0048ad10
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 [0x4d6fec]
mov edi, 0x4d6fec
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.00405aa9
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x4617af
push 0x80070057
call fcn.00405a91
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bbfb4
lea eax, [ebp - 0x18]
push eax
call fcn.00405e0d
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.0040c000
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bbfc0
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 0x4618bc
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0048ad10
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4d6fec]
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.00447b9d
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004066c8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004066c8
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.0046165a
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.0040596d
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596d
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x461c40
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4a6eed
call fcn.004a5308
push ecx
push ecx
push esi
push edi
call fcn.00468cd2
lea esi, [ebp - 0x10]
call fcn.0046926a
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
add esi, 0x550
mov edi, esi
call fcn.00404ed3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x461cc2
push 0
push 0x26
push 0x104
call fcn.00405aa9
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x461cac
push eax
call fcn.0048b5b5
pop ecx
mov edx, esi
call fcn.00405a65
test edi, edi
jne 0x461cc2
push 0x4bc0c8
push esi
call fcn.00405e0d
mov ecx, esi
call fcn.0040a212
push 0x4b6514
push esi
call fcn.004060b6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x96c]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.004066c8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4

Function at 0x461cf8
Capabilities:
Log keystrokes via polling

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

Disassembly:
mov eax, 0x4a6eed
call fcn.004a5308
push ecx
mov eax, dword [0x4d6fec]
push esi
push edi
mov ecx, 0x4d6fec
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.00405aa9
push 0x104
push eax
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x461d96
xor eax, eax
jmp 0x461d9d
push esi
call fcn.0048b5b5
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405a65
lea edi, [ebp - 0x10]
call fcn.0046165a
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.0040596d
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x461dd4
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
mov eax, 0x4aa227
call fcn.004a5308
sub esp, 0x210
push edi
push 0
push 0x10
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405bf2
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push str.WinZips.lnk
push eax
lea ecx, [ebp - 0x10]
call fcn.0040956a
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00404ed3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596d
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
je 0x461e4d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x461f1b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a6757
call fcn.004a5308
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4d6fec
mov dword [ebp - 0x10], edi
call fcn.00405c35
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.0048ad10
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x461fa9
lea eax, [ebp - 0x21c]
push eax
call fcn.0048b5b5
test eax, eax
pop ecx
je 0x461fa9
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00405e0d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x462142
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4d8064]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x18], esi
je 0x46215f
mov edi, dword [eax + 4]
jmp 0x462161
xor edi, edi
cmp edi, esi
jne 0x462171
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x462196
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x462196
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x462196
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.00462777
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x20], ecx
jne 0x4621be
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4622c5
mov eax, dword [0x4d8064]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x4621d5
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.00441995
cmp dword [ebx + 0x428], esi
je 0x462261
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 0x46221f
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 0x462242
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 0x462261
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 0x4622a6
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x4622a6
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x4622a6
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4d8064]
cmp eax, esi
je 0x4622b6
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 0x46490c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a722b
call fcn.004a5308
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405bf2
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405bf2
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405bf2
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.00464a3f
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040596d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x4649a9
add eax, 0xfffffff0
call fcn.0040596d
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x4d6fec]
push edi
mov ecx, 0x4d6fec
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00409cbb
test eax, eax
jbe 0x464a1e
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.00404ed3
mov eax, edi
push eax
call fcn.0040a17e
pop ecx
mov eax, ebx
call fcn.00409cbb
cmp esi, eax
jb 0x4649f0
call fcn.0048a70e
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.004066c8
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464a22
mov eax, ebx
inc esi
call fcn.00409cbb
cmp esi, eax
jb 0x4649cc
mov bl, 1
jmp 0x464a24
xor bl, bl
lea eax, [edi - 0x10]
call fcn.0040596d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040596d
mov al, bl
pop edi
jmp 0x464999
Function at 0x4666e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a6928
call fcn.004a5308
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4d20ac]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x466739
call fcn.00467dbe
mov esi, eax
jmp 0x46683a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x466756
call fcn.00467dbe
jmp 0x46682f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x46674c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x46679c
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x466792
lea eax, [ebp - 0x424]
call fcn.00467788
mov eax, 0x8007000e
jmp 0x466855
push 2
push eax
mov byte [ebp - 4], 2
call fcn.00466887
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x4667c0
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00466866
jmp 0x4667cc
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x4667e7
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x4667f8
mov esi, 0x8007000e
jmp 0x466831
call dword [0x4d20ac]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x46674c
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.004668ac
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x466853
lea eax, [ebp - 0x424]
call fcn.00467788
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14