joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f214
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 0x45f330
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x45f23a
call fcn.0046126f
mov eax, edi
jmp 0x45f339
cmp eax, 2
jne 0x45f24c
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45f233
cmp eax, 0x65
jne 0x45f25a
mov eax, esi
call fcn.0046166b
jmp 0x45f233
cmp eax, 0x67
je 0x45f251
cmp eax, 0x6f
jne 0x45f26b
call fcn.004616e7
jmp 0x45f233
cmp eax, 0x66
jne 0x45f283
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.00461ef3
jmp 0x45f233
cmp eax, 0x191
jne 0x45f291
call fcn.0046181e
jmp 0x45f233
cmp eax, 0x96
jne 0x45f2ba
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.004611d8
jmp 0x45f233
cmp eax, 0x1f5
jne 0x45f2cf
xor ecx, ecx
mov eax, esi
call fcn.00455fd5
jmp 0x45f233
cmp eax, 0x68
jne 0x45f2e0
mov ebx, esi
call fcn.00461c42
jmp 0x45f233
cmp eax, 0x6e
jne 0x45f2ff
add esi, 0x24
push eax
mov eax, esi
call fcn.00462aa6
push eax
push 0x67
mov eax, esi
call fcn.00462b10
jmp 0x45f233
cmp eax, 0x6c
jne 0x45f31f
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 0x45f233
cmp eax, 0x6d
jne 0x45f330
push edi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_company_privacy_policy.html
jmp 0x45f30e
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x45f642
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 0x45f6b9
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 0x45f6b9
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 [0x4c0d48]
fcomp qword [0x4c0d40]
fnstsw ax
test ah, 1
jne 0x45f6b9
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x45fb62
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x558], 0
jne 0x45fb9e
push esi
lea esi, [ebp - 4]
call fcn.0045fba6
push dword [eax]
push 2
push 0x4bb5dc
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.00405bca
pop esi
mov eax, dword [edi + 0x558]
leave
ret
Function at 0x45fec6
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push str.install_run_begin
mov esi, 0x4dbf10
mov edi, eax
call fcn.0042a705
pop ecx
push edi
call fcn.0045ffdb
call fcn.0046964e
cmp dword [eax + 0x3c], 0
je 0x45fef5
cmp dword [edi + 0x968], 0
jne 0x45ff60
xor ebx, ebx
cmp dword [edi + 0x964], 1
sete bl
call fcn.00409551
cmp eax, 6
jg 0x45ff3b
test ebx, ebx
jne 0x45ff2e
push 2
push 2
push 0x4bfda8
push dword [edi + 0x960]
push 0x4bfdb4
push dword [edi + 4]
call fcn.0043fcbe
add esp, 0x18
push str.system_is_xp
call fcn.0042a705
pop ecx
jmp 0x45ff60
push edi
call fcn.00460094
test eax, eax
je 0x45ff60
mov ecx, edi
call fcn.00460294
test eax, eax
je 0x45ff60
call fcn.00460361
test eax, eax
jne 0x45ff60
mov eax, edi
call fcn.004627bb
call fcn.004457da
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45ff80
test al, 0x10
jne 0x45ff80
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.install_run_end
call fcn.0042a705
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x45ffdb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4acda7
call fcn.004a81a8
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
and dword [ebp - 4], 0
call fcn.0046964e
lea esi, [ebp - 0x14]
call fcn.00469736
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00406099
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405bca
test bl, bl
jne 0x460075
mov eax, dword [0x4dafac]
mov ecx, 0x4dafac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b9cd4
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.00406181
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x46006d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46006d
mov eax, dword [ebp + 8]
mov dword [eax + 0x968], 1
lea eax, [esi - 0x10]
call fcn.00405bca
cmp dword [ebp - 0x10], 0
je 0x460084
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 0x460094
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ad11f
call fcn.004a81a8
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4dafac]
mov edi, 0x4dafac
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.0045fc10
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4dbf50]
call fcn.00406a90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405bca
call fcn.0046964e
lea esi, [ebp - 0x18]
call fcn.00469736
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00406099
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405bca
test bl, bl
jne 0x460266
mov eax, dword [0x4dafac]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4b9cd4
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00406181
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x46025e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46025e
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.004050f0
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x4601c8
push str.silent_coverinstall
mov esi, 0x4dbf10
call fcn.0042a705
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405bca
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bca
cmp dword [ebp - 0x10], 0
je 0x4601c1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x460283
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.0043fcbe
add esp, 0x18
test al, 1
je 0x460203
push str.has_installed__user_click_recoverinstall
mov esi, 0x4dbf10
call fcn.0042a705
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405bca
lea eax, [edi - 0x10]
jmp 0x46026c
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046a3f6
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.0046a420
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4dbf10
call fcn.0042a705
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405bca
lea eax, [edi - 0x10]
call fcn.00405bca
cmp dword [ebp - 0x10], 0
je 0x46025a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x460283
lea eax, [ebx - 0x10]
call fcn.00405bca
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bca
cmp dword [ebp - 0x10], 0
je 0x460280
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 0x46078f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab891
call fcn.004a81a8
push ecx
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push 0x4bf1cc
push 0
call fcn.0049079d
mov esi, dword [ebp + 8]
pop ecx
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4607d5
push esi
call fcn.0042f622
push eax
call fcn.00406055
call fcn.0042fb80
mov ebx, eax
call fcn.0042fbab
call fcn.0045e628
call fcn.0045e96c
call fcn.0045eaf6
call fcn.0043166c
push esi
add eax, 0xc
push eax
call fcn.00406055
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x4bf1d0
push eax
call fcn.00405e3a
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x4bf1fc
push eax
call fcn.00405e3a
mov byte [ebp - 4], 2
call fcn.0043166c
push eax
mov byte [ebp - 4], 0
call fcn.0045ecf3
lea eax, [esi - 0x10]
call fcn.00405bca
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x46166b
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.00462b5b
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.00462b5b
push 1
push 0xc8
mov eax, ebx
call fcn.00462b5b
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.00461ef3
push ebp
push ebp
push esi
push 0x461654
push ebp
push ebp
call fcn.0048e79f
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x461b7a
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.00447f39
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405bca
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x461c3b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461bbd
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x461c3b
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004066e0
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.00405bca
test bl, bl
je 0x461bea
push 2
pop eax
jmp 0x461c3e
push edi
call fcn.00461aee
test eax, eax
pop ecx
je 0x461bf9
mov eax, esi
jmp 0x461c3e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004066e0
push dword [eax]
call fcn.0045f642
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405bca
test bl, bl
je 0x461c28
push 4
jmp 0x461be7
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x461c37
push 5
jmp 0x461be7
xor eax, eax
jmp 0x461c3e
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x461c42
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4ab1ea
call fcn.004a81a8
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.0048b640
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 [0x4dafac]
mov edi, 0x4dafac
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.00405cfb
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x461ccf
push 0x80070057
call fcn.00405ce3
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bfbfc
lea eax, [ebp - 0x18]
push eax
call fcn.00406055
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.0040c102
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bfc08
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 0x461ddc
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.0048b640
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4dafac]
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.00447f39
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406b19
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405bca
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406b19
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00461b7a
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405bca
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bca
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x462160
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4acdde
call fcn.004a81a8
sub esp, 0xc
push esi
push edi
call fcn.0046964e
lea esi, [ebp - 0x10]
call fcn.00469d5a
xor esi, esi
lea edi, [ebx + 0x550]
mov dword [ebp - 4], esi
call fcn.004050f0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bca
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x4621df
push esi
push 0x26
push 0x104
mov esi, edi
call fcn.00405cfb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x4621c9
push eax
call fcn.0048bee5
pop ecx
mov edx, edi
call fcn.00405cc2
test esi, esi
jne 0x4621df
push 0x4bfd28
push edi
call fcn.00406055
mov ecx, edi
call fcn.0040a366
push 0x4b9cec
push edi
call fcn.0040652b
mov eax, dword [ebx + 0x96c]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406b19
call fcn.004457da
push eax
call fcn.004467da
test al, al
je 0x46223b
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.004457da
pop ecx
push eax
mov ecx, edi
call fcn.00446c0d
mov dword [ebp - 4], 1
call fcn.004050f0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bca
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x462249
Capabilities:
Log keystrokes via polling

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

Disassembly:
mov eax, 0x4ad0f5
call fcn.004a81a8
push ecx
mov eax, dword [0x4dafac]
push esi
push edi
mov ecx, 0x4dafac
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.00405cfb
push 0x104
push eax
push dword [ebx + 0x528]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4622e7
xor eax, eax
jmp 0x4622ee
push esi
call fcn.0048bee5
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405cc2
lea edi, [ebp - 0x10]
call fcn.00461b7a
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405bca
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x46238b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a9e39
call fcn.004a81a8
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4dafac
mov dword [ebp - 0x10], edi
call fcn.00405e7d
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.0048b640
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x462419
lea eax, [ebp - 0x21c]
push eax
call fcn.0048bee5
test eax, eax
pop ecx
je 0x462419
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00406055
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4627bb
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4dc040]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x18], esi
je 0x4627d8
mov edi, dword [eax + 4]
jmp 0x4627da
xor edi, edi
cmp edi, esi
jne 0x4627ea
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x46280f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x46280f
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46280f
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.00462f78
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x20], ecx
jne 0x462837
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x46293e
mov eax, dword [0x4dc040]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x46284e
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.0046311a
cmp dword [ebx + 0x428], esi
je 0x4628da
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 0x462898
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 0x4628bb
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 0x4628da
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 0x46291f
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x46291f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x46291f
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4dc040]
cmp eax, esi
je 0x46292f
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 0x465386
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aa101
call fcn.004a81a8
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405e3a
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405e3a
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405e3a
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.004654b9
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405bca
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bca
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bca
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x465423
add eax, 0xfffffff0
call fcn.00405bca
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x4dafac]
push edi
mov ecx, 0x4dafac
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00408d94
test eax, eax
jbe 0x465498
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.004050f0
mov eax, edi
push eax
call fcn.00406445
pop ecx
mov eax, ebx
call fcn.00408d94
cmp esi, eax
jb 0x46546a
call fcn.0048afce
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.00406b19
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46549c
mov eax, ebx
inc esi
call fcn.00408d94
cmp esi, eax
jb 0x465446
mov bl, 1
jmp 0x46549e
xor bl, bl
lea eax, [edi - 0x10]
call fcn.00405bca
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bca
mov al, bl
pop edi
jmp 0x465413
Function at 0x467004
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a97a7
call fcn.004a81a8
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4d60ac]
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 0x46705c
call fcn.00468705
mov esi, eax
jmp 0x46715d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x467079
call fcn.00468705
jmp 0x467152
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x46706f
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 0x4670bf
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4670b5
lea eax, [ebp - 0x424]
call fcn.00468061
mov eax, 0x8007000e
jmp 0x467178
push 2
push eax
mov byte [ebp - 4], 2
call fcn.004671b7
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x4670e3
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00467196
jmp 0x4670ef
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x46710a
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x46711b
mov esi, 0x8007000e
jmp 0x467154
call dword [0x4d60ac]
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 0x46706f
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.004671dc
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x467176
lea eax, [ebp - 0x424]
call fcn.00468061
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14