joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a595
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d555d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x30]
call fcn.00415772
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x11c], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [esp + 0x18], esp
push str.0_0__0__0
sub esi, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.00420a4e
push ecx
mov byte [esp + 0x128], 1
mov eax, esp
mov dword [esp + 0x18], esp
push 0x4e5c9c
push eax
call fcn.00420a4e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], bl
call fcn.004155a5
lea eax, [esp + 0x14]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x3c]
call fcn.00422535
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov esi, 0x4df530
push esi
push eax
call fcn.00420a4e
push ecx
mov byte [esp + 0x128], 2
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_left
push eax
call fcn.00420a4e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], bl
call fcn.004155a5
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.00420a4e
push ecx
mov byte [esp + 0x128], 3
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_right
push eax
call fcn.00420a4e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], bl
call fcn.004155a5
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.00420a4e
push ecx
mov byte [esp + 0x128], 4
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_top
push eax
call fcn.00420a4e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], bl
call fcn.004155a5
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.00420a4e
push ecx
mov byte [esp + 0x128], 5
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_bottom
push eax
call fcn.00420a4e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], bl
call fcn.004155a5
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push str.cnm_showdow
push eax
call fcn.00420a4e
push ecx
mov byte [esp + 0x128], 6
mov eax, esp
mov dword [esp + 0x1c], esp
push str.skin
push eax
call fcn.00420a4e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], bl
call fcn.004155a5
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push 0xf
call fcn.00422535
or dword [esp + 0x11c], 0xffffffff
mov eax, dword [esp + 0x10c]
add eax, 0xfffffff0
call fcn.00405c8d
lea ecx, [esp + 0x30]
call fcn.0042154f
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46a84f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0x4e
push edi
mov edi, eax
jne 0x46a887
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x3e8
jne 0x46a887
mov ecx, edi
mov dword [edi + 0x3b8], esi
call fcn.0046a7bb
mov dword [ebx], eax
cmp dword [edi + 0x3b8], 0
je 0x46a887
mov eax, esi
jmp 0x46a8ce
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046d769
test eax, eax
jne 0x46a883
mov eax, dword [ebp + 0xc]
cmp eax, 0x402
jne 0x46a8d4
push 5
push dword [edi + 4]
lea eax, [edi + 0x3b8]
mov dword [ebp + 0xc], eax
mov dword [eax], esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x46a883
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10
cmp eax, 0x403
jne 0x46a90e
mov eax, dword [edi + 0x3c0]
mov dword [edi + 0x28], eax
xor eax, eax
push eax
push eax
push eax
mov dword [edi + 0x3b8], esi
mov dword [edi + 0x3ac], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
and dword [ebx], 0
cmp dword [edi + 0x3b8], 0
jmp 0x46a8ca
cmp eax, 0x465
jne 0x46a93b
lea ecx, [edi + 0x2c]
mov dword [edi + 0x3b8], esi
call fcn.004028ae
mov dword [edi + 0x41c], eax
mov eax, dword [edi + 0x30]
push 5
lea ecx, [edi + 0x3ec]
call fcn.00426a4d
jmp 0x46a902
cmp eax, 0x110
jne 0x46a8cc
lea eax, [edi + 0x3b8]
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [ebp + 0xc], eax
mov eax, esp
mov dword [eax], ecx
call fcn.0046a24b
mov dword [ebx], eax
jmp 0x46a8c4

Function at 0x46aa18
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
mov eax, 0x4d4ad6
call fcn.004ce9f0
push ecx
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov ebx, 0x5096c0
lea esi, [edi + 0x14]
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.00420a91
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0047a0e8
or dword [ebp - 4], 0xffffffff
and dword [edi + 0x24], 0
and dword [edi + 0x28], 0
lea esi, [edi + 0x30]
mov ecx, ebx
mov dword [edi + 0x2c], 1
call fcn.00420a91
xor eax, eax
lea esi, [edi + 0x44]
mov ecx, ebx
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
call fcn.00420a91
lea esi, [edi + 0x48]
mov ecx, ebx
call fcn.00420a91
lea esi, [edi + 0x4c]
mov ecx, ebx
call fcn.00420a91
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x46b08e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d5a5a
call fcn.004ce9f0
sub esp, 0x21c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push edi
push 0xc8
push 0x400000
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [ebx + 4]
call edi
push 0xc8
push 0x400000
call esi
push eax
xor esi, esi
push esi
push 0x80
push dword [ebx + 4]
call edi
push 0x4eb524
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push esi
push esi
push 0x432
push dword [ebx + 4]
call edi
mov eax, ebx
call fcn.0046bbf8
lea esi, [ebx + 0x410]
call fcn.0046d49d
xor esi, esi
cmp dword [0x50bcf4], esi
je 0x46b132
push esi
push esi
push 0x472
push dword [ebx + 4]
mov dword [ebx + 0x354], esi
call edi
jmp 0x46b24f
push 0x50
call fcn.00443835
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x46b14c
push eax
call fcn.0046aa18
jmp 0x46b14e
xor eax, eax
or dword [ebp - 4], 0xffffffff
push esi
mov dword [ebx + 0xc1c], eax
lea eax, [ebx + 0x24]
push 0x320
call fcn.0046d396
cmp dword [ebx + 0xc1c], esi
je 0x46b24f
push 0x206
lea eax, [ebp - 0x222]
push esi
push eax
mov word [ebp - 0x224], si
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00422646
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0xc1c]
lea edi, [eax + 0x48]
lea eax, [ebp - 0x14]
call fcn.00422ab0
mov ecx, dword [ebx + 0xc1c]
call fcn.0047bf18
test eax, eax
je 0x46b1e2
mov ecx, dword [ebx + 0xc1c]
call fcn.0047bfeb
mov eax, dword [ebx + 0xc1c]
mov esi, dword [eax + 0x3c]
push esi
push 0x320
lea eax, [ebx + 0x24]
call fcn.0046d396
test esi, esi
je 0x46b23e
mov eax, dword [ebx + 0xc1c]
lea esi, [ebp - 0x18]
call fcn.0046aab1
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
mov esi, 0x320
lea edi, [ebx + 0x24]
push esi
mov eax, edi
call fcn.0046d12f
mov eax, dword [ebx + 0xc1c]
push dword [eax + 0x2c]
mov eax, edi
push esi
call fcn.0046d2d1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405c8d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405c8d
xor esi, esi
push esi
push 0xfa0
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, ebx
call fcn.0046c9b2
mov esi, ebx
call fcn.0046c85a
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x46b27e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x206]
push esi
push eax
mov word [ebp - 0x208], si
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop esi
jl 0x46b2e9
lea eax, [ebp - 0x208]
push eax
call fcn.00489b50
test eax, eax
pop ecx
je 0x46b2e9
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp + 8]
push str._scmcmkdesk
call fcn.004229e7
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x46b2eb
xor eax, eax
leave
ret 4
Function at 0x46b4ce
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d1c90
call fcn.004ce9f0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x408]
push dword [edi + 0x404]
call fcn.00423bd7
xor eax, eax
xor ebx, ebx
cmp dword [edi + 0xc24], ebx
pop ecx
setne al
pop ecx
inc eax
mov esi, eax
call fcn.004232dd
mov dword [eax + 0x50], esi
call fcn.004232dd
mov dword [eax + 0x54], 1
mov eax, dword [0x5096c0]
mov ecx, 0x5096c0
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.004228e8
push 0x104
push eax
push dword [edi + 0x3d4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x10], ebx
jne 0x46b555
xor eax, eax
jmp 0x46b55e
push dword [ebp - 0x10]
call fcn.00489b50
pop ecx
lea edx, [ebp - 0x10]
call fcn.0040e1f4
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00408c0b
mov eax, dword [edi + 0x3fc]
sub eax, 0x10
call fcn.00422b5e
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004332a3
pop ecx
lea eax, [ebp - 0x10]
push eax
call fcn.004332a3
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
pop ecx
push esi
push edi
call fcn.0048b85c
pop ecx
neg eax
pop ecx
sbb eax, eax
inc eax
push 0
pop ebx
sete bl
inc ebx
call fcn.004232dd
mov dword [eax + 0x40], ebx
call fcn.004232dd
mov ecx, dword [ebp + 8]
mov dword [eax + 0x3c], ecx
call fcn.004232dd
mov ecx, eax
call fcn.0042331d
lea eax, [esi - 0x10]
call fcn.00405c8d
lea eax, [edi - 0x10]
call fcn.00405c8d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x46b849
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
lea eax, [esi + 0xc16]
cmp byte [eax], 0
jne 0x46b85e
mov byte [eax], 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4eb59c
lea eax, [ebp - 4]
push eax
call fcn.00422646
push dword [ebp - 4]
lea eax, [esi + 0x958]
push 0x80
push eax
mov dword [esi + 0x844], 0x10
mov dword [esi + 0xbdc], 1
call fcn.00489f88
push 0x4eb770
lea eax, [esi + 0xb5c]
push 0x40
push eax
call fcn.00489f88
add esp, 0x18
add esi, 0x838
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405c8d
pop esi
leave
ret

Function at 0x46bb3a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d3e38
call fcn.004ce9f0
push ecx
push ecx
push esi
push 1
push 0
mov esi, str.https:__desk.cheetahfun.com_privacy_yuanqiwallpaper_agreement_cn.html
push esi
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46bb8c
lea eax, [ebp - 0x10]
push eax
call fcn.004600c8
pop ecx
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x10]
call fcn.0045f7a9
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405c8d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x46bb99
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d3e38
call fcn.004ce9f0
push ecx
push ecx
push esi
push 1
push 0
mov esi, str.https:__desk.cheetahfun.com_agreement_wallpaper_yuanqiwallpaper_privacy_cn.html
push esi
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46bbeb
lea eax, [ebp - 0x10]
push eax
call fcn.004600c8
pop ecx
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x10]
call fcn.0045f7a9
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405c8d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x46bf6b
Capabilities:
Create process on windows

Disassembly:
push ecx
push 0x7a
call fcn.0046b4ce
push 1
push 0
push 0
push str.https:__desk.duba.com_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x46bf92
xor eax, eax
pop ecx
ret

Function at 0x46c497
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.0045fcdb
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405c8d
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x46c558
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c4da
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x46c558
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00422893
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.00405c8d
test bl, bl
je 0x46c507
push 2
pop eax
jmp 0x46c55b
mov ebx, edi
call fcn.0046c40d
test eax, eax
je 0x46c516
mov eax, esi
jmp 0x46c55b
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00422893
push dword [eax]
call fcn.00469fab
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405c8d
test bl, bl
je 0x46c545
push 4
jmp 0x46c504
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x46c554
push 5
jmp 0x46c504
xor eax, eax
jmp 0x46c55b
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x46c55f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d4a68
call fcn.004ce9f0
sub esp, 0x44c
push esi
push edi
push dword [ebx + 0x42c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
push 0x206
lea eax, [ebp - 0x452]
push edi
push eax
mov word [ebp - 0x454], di
call fcn.00489db0
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], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x5096c0]
mov ecx, 0x5096c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x105
lea esi, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.004228e8
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], edi
jge 0x46c5f4
push 0x80070057
call fcn.00422c1d
mov dword [eax - 0xc], edi
mov word [eax], di
push 0x4eb89c
lea eax, [ebp - 0x18]
push eax
call fcn.00422bdc
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.00434d8b
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4eb8a8
mov dword [ebp - 0x30], 0x41
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, edi
je 0x46c72b
push 0x206
lea eax, [ebp - 0x24a]
push edi
push eax
mov word [ebp - 0x24c], di
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x5096c0]
mov ecx, 0x5096c0
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.0045fcdb
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0040c609
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405c8d
push str.kdesk_
lea eax, [ebp - 0x14]
push eax
call fcn.0040c5e6
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0046c75d
test eax, eax
jne 0x46c6e6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405c8d
jmp 0x46c744
push dword [ebp - 0x14]
push dword [ebx + 0x3d4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0x430]
lea eax, [ebp - 0x14]
call fcn.00422ab0
lea edi, [ebp - 0x14]
call fcn.0046c497
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405c8d
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebx + 0x42c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405c8d
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x46c9b2
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
mov esi, eax
add esi, 0x3fc
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x46ca0c
push edi
push 0
push 0x26
push 0x104
call fcn.004228e8
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46c9ea
push eax
call fcn.00489b50
pop ecx
mov edx, esi
call fcn.0040e1f4
test edi, edi
pop edi
jne 0x46ca01
push str.c:program_files
push esi
call fcn.00422bdc
push str.cmcmkdesk_
push esi
call fcn.0040c5e6
pop esi
ret

Function at 0x46ca0e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d1208
call fcn.004ce9f0
and dword [ebx + 0x400], 0
cmp dword [ebp + 8], 0x300
jne 0x46cab3
mov eax, dword [0x5096c0]
push esi
push edi
mov ecx, 0x5096c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp + 8]
call fcn.004228e8
push 0x104
push eax
push dword [ebx + 0x3d4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 8]
test esi, esi
jne 0x46ca6f
xor eax, eax
jmp 0x46ca76
push esi
call fcn.00489b50
pop ecx
lea edx, [ebp + 8]
call fcn.0040e1f4
lea edi, [ebp + 8]
call fcn.0046c497
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebx + 0x430]
push dword [ebx + 0x3d4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esi - 0x10]
call fcn.00405c8d
pop edi
pop esi
push 0x384
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8

Function at 0x46d4f6
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46d528
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46d51b
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
xor eax, eax
inc eax
ret
Function at 0x46d5f3
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, eax
cmp esi, ebp
push edi
mov ebx, ecx
mov dword [esp + 0x1c], ebp
jne 0x46d628
mov eax, dword [0x50be74]
cmp eax, ebp
je 0x46d616
mov esi, dword [eax + 4]
jmp 0x46d618
xor esi, esi
cmp esi, ebp
jne 0x46d628
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x46d64d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x46d64d
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46d64d
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x3ac], ebp
push esi
mov dword [eax], ebp
call fcn.0046e6c7
mov ecx, eax
cmp ecx, ebp
mov dword [esp + 0x18], ecx
jne 0x46d678
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x46d761
mov eax, dword [0x50be74]
cmp eax, ebp
mov dword [esp + 0x20], ebp
je 0x46d68f
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, esi
call fcn.00402d8b
cmp dword [ebx + 0x3a0], ebp
je 0x46d706
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebp
push ebp
push ebp
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebp
push ebp
push ebp
push ebp
push ebp
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x46d6ea
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x46d706
push ebp
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0046e87a
push 0x97
push ebp
lea edi, [ebx + 4]
push edi
mov dword [ebx + 0x3ac], ebp
call fcn.0040df3c
cmp dword [esp + 0x1c], ebp
je 0x46d746
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x46d746
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi]
jne 0x46d746
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x50be74]
cmp eax, ebp
je 0x46d756
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [edi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x46d955
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
cmp esi, edi
mov ebx, ecx
mov dword [esp + 0x14], edi
jne 0x46d989
mov eax, dword [0x50be74]
cmp eax, edi
je 0x46d977
mov esi, dword [eax + 4]
jmp 0x46d979
xor esi, esi
cmp esi, edi
jne 0x46d989
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x46d9ae
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x46d9ae
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46d9ae
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x14], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x364], edi
call fcn.0046eb9b
mov ecx, eax
cmp ecx, edi
mov dword [esp + 0x10], ecx
jne 0x46d9d6
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x46dae9
mov eax, dword [0x50be74]
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x46d9ed
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov dword [eax + 4], ecx
push ebp
mov eax, esi
call fcn.0046ed00
cmp dword [ebx + 0x354], edi
je 0x46da88
push edi
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 edi
push edi
push edi
push 0x2001
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x10]
je 0x46da4d
push 1
push ebp
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x10]
je 0x46da69
push edi
push ebp
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x46da88
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push edi
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x364], edi
call fcn.0040df3c
cmp dword [esp + 0x18], edi
je 0x46dac9
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x46dac9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x46dac9
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x50be74]
cmp eax, edi
je 0x46dad9
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x368]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret