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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3cc]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x45ac4e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45ac92
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45ac92
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x45ade6
push eax
call fcn.00436ec0
mov edi, eax
test edi, edi
pop ecx
je 0x45ad65
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x45acd9
push 1
push edi
push esi
call fcn.0045ba2e
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.004373cd
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x45ad2f
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x45ad21
cmp word [ecx], ax
je 0x45ad21
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45ad65
cmp dword [edi + 0x14], eax
je 0x45ad65
mov dword [ebp - 0xc], 1
jmp 0x45ad65
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x45ad4e
push 1
push edi
push esi
call fcn.0045ba2e
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.004373cd
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x45ada7
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45ade6
cmp dword [ebp - 0x10], eax
je 0x45ade6
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x45ade6
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x3b4
cmp eax, dword [esi]
jne 0x45ade6
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45c7ae
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4d4338
call fcn.004cc800
sub esp, 0x21c
mov eax, dword [0x50a89c]
push ebx
push esi
push edi
mov ecx, 0x50a89c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
push 0x206
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call fcn.0049c4d0
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
call fcn.0049cede
pop ecx
lea ecx, [ebp - 0x228]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00407bf4
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00408034
push 0x2e
lea esi, [ebp - 0x10]
call fcn.00408339
cmp eax, 0xffffffff
je 0x45c875
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004084af
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00406fea
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b84
jmp 0x45c877
xor ebx, ebx
mov eax, dword [0x50a89c]
mov ecx, 0x50a89c
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.0045c4ae
test eax, eax
jne 0x45c8d4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407b84
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
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 0x45c90f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407b84
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
mov eax, ebx
jmp 0x45c8c3
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x45c977
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.004099e9
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x45c96d
cmp dword [ebp - 0x14], edi
jne 0x45c96d
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x45c955
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.0040a8ef
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x45c8f5
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00409a14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x45c8f5
Function at 0x45f0de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4d0ade
call fcn.004cc800
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.0040798a
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 0x461f1b
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 0x462034
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x461f41
call fcn.00463d52
mov eax, ebx
jmp 0x46203d
cmp eax, 2
jne 0x461f53
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x461f3a
cmp eax, 0x65
jne 0x461f61
mov eax, esi
call fcn.004640fa
jmp 0x461f3a
cmp eax, 0x6f
jne 0x461f6f
mov edi, esi
call fcn.00464159
jmp 0x461f3a
cmp eax, 0x66
jne 0x461f87
xor eax, eax
cmp dword [esi + 0x508], eax
sete al
push eax
call fcn.0046476f
jmp 0x461f3a
cmp eax, 0x191
jne 0x461fa4
lea eax, [esi + 0x948]
call fcn.00468512
xor ecx, ecx
mov eax, esi
call fcn.004591e1
jmp 0x461f3a
cmp eax, 0x96
jne 0x461fcd
push dword [esi + 0x534]
push dword [esi + 0x50c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.00463cbb
jmp 0x461f3a
cmp eax, 0x1f5
je 0x461f99
cmp eax, 0x68
jne 0x461fe4
push esi
call fcn.00464515
jmp 0x461f3a
cmp eax, 0x6e
jne 0x462003
add esi, 0x24
push eax
mov eax, esi
call fcn.00465138
push eax
push 0x65
mov eax, esi
call fcn.004651b0
jmp 0x461f3a
cmp eax, 0x6c
jne 0x462023
push ebx
xor eax, eax
push eax
push eax
push str.http:__www.ijinshan.com_privacy_52hyLicense.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x461f3a
cmp eax, 0x6d
jne 0x462034
push ebx
xor eax, eax
push eax
push eax
push str.http:__www.ijinshan.com_privacy_52hyprivace.html
jmp 0x462012
and dword [esi + 0x53c], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x462331
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 0x4623a8
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 0x4623a8
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 [0x4ec8f0]
fcomp qword [0x4ec8e8]
fnstsw ax
test ah, 1
jne 0x4623a8
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x462ef2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d48d0
call fcn.004cc800
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x50a89c]
mov edi, 0x50a89c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00462ac2
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x50c1c4]
call fcn.004085c1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00407b84
call fcn.0046b8a4
lea esi, [ebp - 0x18]
call fcn.0046b8ef
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00409d5b
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00407b84
test bl, bl
jne 0x46308d
mov eax, dword [0x50a89c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push str.installpath
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00409def
test eax, eax
mov esi, dword [ebp - 0x18]
je 0x463085
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463085
mov edi, dword [ebp + 8]
add edi, 0x534
lea eax, [ebp - 0x18]
call fcn.00406fea
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov eax, edi
mov dword [edi + 0x940], ebx
call fcn.004649e5
test eax, eax
je 0x46301f
lea eax, [esi - 0x10]
call fcn.00407b84
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b84
cmp dword [ebp - 0x10], 0
je 0x463018
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4630aa
push dword [edi + 0x938]
mov ebx, dword [ebp - 0x14]
push ebx
push 0
call fcn.00444d13
add esp, 0xc
test al, 1
je 0x463044
lea eax, [esi - 0x10]
call fcn.00407b84
lea eax, [ebx - 0x10]
jmp 0x463093
call fcn.0046bce9
push 0xffffffffffffffff
push dword [edi + 0x940]
mov eax, edi
call fcn.004649e5
push eax
push 2
push 0
call fcn.0046bd13
lea eax, [esi - 0x10]
call fcn.00407b84
lea eax, [ebx - 0x10]
call fcn.00407b84
cmp dword [ebp - 0x10], 0
je 0x463081
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4630aa
lea eax, [esi - 0x10]
call fcn.00407b84
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b84
cmp dword [ebp - 0x10], 0
je 0x4630a7
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 0x4637aa
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4d4590
call fcn.004cc800
sub esp, 0x14
mov eax, dword [0x50a89c]
push ebx
push esi
push edi
mov ecx, 0x50a89c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x_
lea eax, [ebp - 0x14]
call fcn.004085c1
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00463569
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004084eb
pop ecx
pop ecx
mov esi, dword [ebp + 8]
lea edi, [esi + 0x560]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
call fcn.00406fea
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407b84
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b84
add esi, 0x540
call fcn.0046acc3
test eax, eax
je 0x4638bf
cmp dword [esi + 8], 0x100000
jb 0x4638bf
call fcn.0046ad72
test eax, eax
jne 0x463860
mov ebx, esi
call fcn.0046adca
test eax, eax
je 0x4638bf
push dword [edi]
mov ecx, esi
push 0
call fcn.0046ab25
lea eax, [ebp - 0x18]
push 0x4e591c
push eax
mov ecx, edi
call fcn.0040a400
lea ecx, [ebp - 0x1c]
push 0x50c1c0
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004084eb
add esp, 0x10
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.0046b8a4
pop ecx
mov ecx, eax
call fcn.0046b908
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b84
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407b84
mov ebx, dword [ebp + 8]
call fcn.00464914
mov edi, ebx
call fcn.00462e26
mov ecx, edi
call fcn.00463635
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
push str._res
push eax
call fcn.0040a400
pop ecx
pop ecx
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463914
mov esi, dword [ebp - 0x10]
call fcn.0043487f
push esi
push eax
call fcn.00408034
call fcn.00434ddd
mov ebx, eax
call fcn.00434e08
call fcn.0046184f
call fcn.00461b93
call fcn.00461d1d
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
push ebx
push 0x26
lea esi, [edi + 0x534]
push 0x104
call fcn.00407cd7
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
jne 0x46395a
xor eax, eax
jmp 0x463961
push eax
call fcn.0049cede
pop ecx
mov edx, esi
call fcn.00407c7c
cmp edi, ebx
jne 0x463977
push str.c:program_files
push esi
call fcn.00408034
push 0x4e591c
push esi
call fcn.0040827d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x944]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00408634
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4640fa
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x12c
mov esi, eax
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
lea edi, [esi + 0x24]
push 0x64
mov eax, edi
call fcn.004651fb
push 1
push 0xc8
mov eax, edi
call fcn.004651fb
push ebx
call fcn.0046476f
push ebx
push 1
mov eax, edi
call fcn.004651b0
push ebx
push ebx
push esi
push 0x4640e1
push ebx
push ebx
call fcn.0049f74f
add esp, 0x18
pop edi
mov dword [esi + 0x934], eax
pop esi
pop ebx
ret

Function at 0x46444d
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.0044ace9
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00407b84
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x46450e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464490
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x46450e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004084af
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.00407b84
test bl, bl
je 0x4644bd
push 2
pop eax
jmp 0x464511
push edi
call fcn.004643c1
test eax, eax
pop ecx
je 0x4644cc
mov eax, esi
jmp 0x464511
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004084af
push dword [eax]
call fcn.00462331
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00407b84
test bl, bl
je 0x4644fb
push 4
jmp 0x4644ba
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x46450a
push 5
jmp 0x4644ba
xor eax, eax
jmp 0x464511
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x464515
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4d1918
call fcn.004cc800
sub esp, 0x444
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x44e]
push ebx
push eax
mov word [ebp - 0x450], bx
call fcn.0049c4d0
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [edi + 4]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x50a89c]
mov ecx, 0x50a89c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00407cd7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jge 0x4645a2
push 0x80070057
call fcn.00407cba
mov esi, 0x4eb068
mov dword [eax - 0xc], ebx
push esi
mov word [eax], bx
call fcn.0049cede
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.00407bf4
mov eax, dword [edi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x38], eax
call fcn.0040d57e
mov dword [ebp - 0x34], eax
xor esi, esi
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], 0x4eb074
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
cmp ebx, esi
je 0x4646bb
push 0x206
lea eax, [ebp - 0x246]
push esi
push eax
mov word [ebp - 0x248], si
call fcn.0049c4d0
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x50a89c]
mov ecx, 0x50a89c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x248]
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0044ace9
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00408634
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b84
mov eax, dword [edi + 0x944]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00408634
mov esi, dword [ebp - 0x14]
push esi
push dword [edi + 0x50c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.0046444d
push 0
push eax
mov eax, dword [ebp + 8]
push 0x46c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00407b84
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x46481c
Capabilities:
Log keystrokes via polling

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

Function at 0x46486c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4cfde8
call fcn.004cc800
push ecx
mov eax, dword [0x50a89c]
push esi
push edi
mov ecx, 0x50a89c
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.00407cd7
push 0x104
push eax
push dword [ebx + 0x50c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4648ba
xor eax, eax
jmp 0x4648c1
push esi
call fcn.0049cede
pop ecx
lea edx, [ebp - 0x10]
call fcn.00407c7c
lea edi, [ebp - 0x10]
call fcn.0046444d
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x464dc1
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4cfde8
call fcn.004cc800
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x538]
push esi
push edi
sub eax, 0x10
call fcn.00407b9c
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.krecommend.exe
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040827d
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x464e20
lea eax, [edi - 0x10]
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
push str._product:11__type:1__sence:1
lea eax, [ebp + 8]
push eax
call fcn.00407e20
push esi
push esi
push dword [ebp + 8]
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov eax, dword [ebp + 8]
jl 0x464e55
add eax, 0xfffffff0
call fcn.00407b84
xor esi, esi
inc esi
jmp 0x464e06
add eax, 0xfffffff0
call fcn.00407b84
jmp 0x464e06