joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f847
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0x86
push edi
mov ebx, eax
mov edi, ecx
jne 0x44f88d
cmp dword [ebp + 0x10], 0
mov dword [edi + 0x388], esi
jne 0x44f878
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
cmp dword [edi + 0x388], 0
je 0x44f8dc
mov eax, esi
jmp 0x44f94c
cmp dword [ebp + 0xc], 0x4e
jne 0x44f8dc
cmp dword [ebx + 4], 0x3e8
jne 0x44f8dc
mov dword [edi + 0x388], esi
cmp dword [ebx + 8], esi
jne 0x44f8cd
mov eax, dword [ebx + 0xc]
cmp eax, 0xc8
jne 0x44f8bb
push edi
call fcn.0044f501
mov eax, esi
jmp 0x44f8d5
cmp eax, 0x64
jb 0x44f8cd
cmp eax, 0x69
ja 0x44f8cd
push eax
call fcn.0044f71f
jmp 0x44f8b7
xor eax, eax
mov dword [edi + 0x388], eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x44f87d
push 0
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043f1a2
test eax, eax
jne 0x44f886
cmp dword [ebp + 0xc], 5
lea edx, [edi + 0x380]
jne 0x44f91e
movsx eax, bx
shr ebx, 0x10
movsx ecx, bx
push ecx
push eax
push dword [ebp + 0x10]
push edx
call fcn.0043f478
mov eax, dword [ebp + 0x14]
and dword [eax], 0
jmp 0x44f94a
cmp dword [ebp + 0xc], 2
jne 0x44f92b
and dword [edx], 0
and dword [edx + 4], 0
cmp dword [ebp + 0xc], 0x110
jne 0x44f94a
mov eax, dword [ebp + 0x14]
add edi, 0x388
mov dword [edi], esi
mov dword [eax], esi
cmp dword [edi], 0
jne 0x44f886
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4508f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xec]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x450a2d
push eax
call fcn.0041db3f
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4509fa
mov eax, dword [ebx + 0x10]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x45096e
lea eax, [ebx + 0x14]
push eax
call fcn.00415a4f
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.0041dd81
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xec], eax
jne 0x4509c4
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x4509b6
cmp word [ecx], ax
je 0x4509b6
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4509fa
cmp dword [ebx + 0x10], eax
je 0x4509fa
mov dword [ebp - 4], 1
jmp 0x4509fa
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x4509e3
lea eax, [ebx + 0x14]
push eax
call fcn.00415a4f
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.0041dd81
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xec], ecx
je 0x450a0b
push 0x67
jmp 0x450a26
cmp dword [ebp - 8], ecx
je 0x450a2d
cmp dword [ebp - 0xc], ecx
je 0x450a2d
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xe8]
cmp edx, dword [eax]
jne 0x450a24
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00450555
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45240f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
lea eax, [ebp + 8]
call fcn.00401965
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.00401dca
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
lea eax, [esi - 0x10]
call fcn.0040151c
pop esi
leave
ret 4
Function at 0x453dc2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, eax
jne 0x453ea8
cmp dword [ebp + 0xc], 3
jne 0x453e27
push dword [esi + 0x79c]
xor ebx, ebx
inc ebx
mov dword [esi + 0x390], ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x453e11
lea edi, [esp + 0x10]
mov eax, esi
call fcn.004568fa
push ebx
lea ecx, [esi + 0x79c]
push ecx
call fcn.0041de1a
mov edi, dword [ebp + 0x18]
and dword [edi], 0
cmp dword [esi + 0x390], 0
je 0x453e5e
mov eax, ebx
jmp 0x453eaa
cmp dword [ebp + 0xc], 0x4e
jne 0x453e58
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x453e58
lea edi, [esi + 0x390]
mov ecx, esi
mov dword [edi], 1
call fcn.00453cf8
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [edi], 0
je 0x453e58
xor eax, eax
inc eax
jmp 0x453eaa
mov edi, dword [ebp + 0x18]
xor ebx, ebx
inc ebx
push 0
push edi
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004571ce
test eax, eax
jne 0x453e20
mov eax, dword [ebp + 0xc]
cmp eax, 0x113
jne 0x453eb3
lea eax, [esi + 0x390]
mov dword [esp + 0xc], eax
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.004552c2
and dword [edi], 0
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x453e20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x110
jne 0x453ed9
lea eax, [esi + 0x390]
mov dword [eax], ebx
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, esp
mov dword [eax], ecx
mov eax, esi
call fcn.00455148
mov dword [edi], eax
jmp 0x453e9b
cmp eax, 0x83
jne 0x453f02
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [esi + 0x390], ebx
je 0x453ef7
push dword [ebp + 0x14]
mov eax, esi
call fcn.0045709c
mov dword [edi], eax
cmp dword [esi + 0x390], 0
jmp 0x453ea2
cmp eax, 0x112
jne 0x453f2a
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esi + 0x390], ebx
call fcn.00455830
and dword [edi], 0
jmp 0x453ef9
cmp eax, 0x403
jne 0x453f45
lea eax, [esi + 0x390]
push esi
mov dword [esp + 0x10], eax
mov dword [eax], ebx
call fcn.00455cfa
jmp 0x453ed5
cmp eax, 0x406
jne 0x453f6a
lea eax, [esi + 0x390]
mov edi, esi
mov dword [esp + 0xc], eax
mov dword [eax], ebx
call fcn.004554a1
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x453e9b
cmp eax, 0x408
jne 0x453f93
lea edi, [esi + 0x390]
mov dword [edi], ebx
mov ebx, esi
call fcn.00456422
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [edi], 0
je 0x453ea8
jmp 0x453e53
cmp eax, 0x409
jne 0x453ea8
push 0
push dword [esi + 4]
mov dword [esi + 0x390], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x403
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x453f25
Function at 0x4545b3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
and word [ebp - 0x400], 0
push 0x3fe
lea eax, [ebp - 0x3fe]
push 0
push eax
call fcn.0048af40
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x400]
push 0x200
push eax
push str.http:__wpa.b.qq.com_cgi_wpa.php_ln1keyXzgwMDA0MjEwMF8yMzc1NzlfODAwMDQyMTAwXzJf
push str.MarketQQLink
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 8]
call fcn.00401965
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x454ce2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
xor esi, esi
push 0x208
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov word [ebp - 0x21c], si
call fcn.0048af40
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x104
mov dword [ebp - 0xc], esi
call ebx
cmp eax, esi
jne 0x454de7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push str.Install_Path_Dir
lea eax, [ebp - 8]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x21c]
call fcn.00411538
test eax, eax
jne 0x454de7
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, edi
push eax
lea eax, [ebp - 4]
call fcn.00401965
push str.liebao.exe
lea eax, [ebp - 4]
push eax
call fcn.00405369
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x454db9
mov eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401ac9
push str.LBBrowserliebao.exe
lea eax, [ebp - 4]
push eax
call fcn.00405369
push dword [ebp - 4]
call esi
test eax, eax
je 0x454dc0
mov dword [ebp - 0x10], 1
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x454dd3
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
cmp dword [ebp - 0x10], esi
jne 0x454e91
push 0x20a
xor esi, esi
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0048af40
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallliebao
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x104
mov dword [ebp - 0xc], esi
call ebx
cmp eax, esi
jne 0x454e91
xor eax, eax
cmp dword [ebp - 8], esi
je 0x454e32
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
jne 0x454e91
push str.UninstallString
lea eax, [ebp - 8]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x21c]
call fcn.00411538
test eax, eax
jne 0x454e91
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.liebao.exe
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454e82
mov dword [ebp - 0x10], 1
test ebx, ebx
je 0x454ea0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x454ea0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x454ea8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 8], ebx
mov word [ebp - 0x218], bx
call fcn.0048af40
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SOFTWAREBaiduBaiduPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x454f46
mov eax, dword [ebp - 4]
push esi
push edi
mov dword [ebp - 0xc], eax
push str.InstallExe
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x218]
call fcn.00411538
test eax, eax
pop edi
pop esi
jne 0x454f38
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454f38
mov dword [ebp - 8], 1
cmp dword [ebp - 4], ebx
je 0x454f46
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x455148
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
and dword [esp + 4], 0
push ebx
mov ebx, dword [0x4df448]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov esi, eax
call edi
push eax
push 0xb
call edi
push eax
push 1
mov edi, 0x80
push edi
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
push ebp
push 1
push edi
push dword [esi + 4]
call ebx
push ebp
xor ebp, ebp
push ebp
push edi
push dword [esi + 4]
call ebx
push str.1509
mov edi, 0x4e0808
push edi
call fcn.0040ccc5
test eax, eax
je 0x4551ba
push str.1335
push edi
call fcn.0040ccc5
test eax, eax
jne 0x4551f6
push 0x19
call fcn.00425936
test eax, eax
pop ecx
jne 0x4551ee
push 0x10
call fcn.00425936
test eax, eax
pop ecx
jne 0x4551ee
push ecx
call fcn.0043b047
mov edi, esp
call fcn.00449e6f
call fcn.00425a65
test eax, eax
pop ecx
je 0x4551ee
xor eax, eax
inc eax
jmp 0x4551f0
xor eax, eax
mov dword [esi + 0x7f8], eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 3
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esi + 0x7fc]
push eax
lea edi, [esi + 0x24]
push 0x12d
mov eax, edi
call fcn.0045745c
push ebp
push 0x1e
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [esi + 0x38c]
push eax
push 0x67
mov eax, edi
call fcn.0045745c
mov eax, esi
call fcn.00454fc0
test eax, eax
je 0x45526b
mov dword [esp + 0x14], 1
push 0xc
call fcn.0046eb55
cmp eax, ebp
pop ecx
jne 0x45527b
xor esi, esi
jmp 0x45529f
push ebp
push ebp
push eax
push 0x41e1c0
push ebp
push ebp
mov dword [eax], vtable.KAvVirusDetect.0
mov dword [eax + 8], ebp
mov dword [eax + 4], 0x41e12c
call fcn.0048d7b5
add esp, 0x18
mov esi, eax
mov eax, dword [0x4dbca8]
cmp eax, ebp
je 0x4552af
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
mov dword [0x4dbca8], esi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4

Function at 0x456072
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push str.initInfoc...
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
push 0x32
call fcn.0046eb55
mov edi, eax
test edi, edi
pop ecx
je 0x4560a0
call fcn.0047f57b
mov dword [edi], vtable.KInstallBlock.0
jmp 0x4560a2
xor edi, edi
call fcn.004251ae
test edi, edi
mov dword [0x4e085c], eax
je 0x4560fe
push 0xc
call fcn.0046eb55
test eax, eax
pop ecx
jne 0x4560c0
xor edi, edi
jmp 0x4560e8
push 0
push 0
push eax
push 0x41e1c0
push 0
push 0
mov dword [eax], vtable.KEvent.0
mov dword [eax + 8], edi
mov dword [eax + 4], 0x454042
call fcn.0048d7b5
add esp, 0x18
mov edi, eax
mov eax, dword [0x4dbcbc]
test eax, eax
je 0x4560f8
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [0x4dbcbc], edi
push str.initInfoc_end
call fcn.0044ae36
pop ecx
pop edi
pop esi
pop ecx
ret
Function at 0x45610d
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push edi
push 0
push 0xcc
lea eax, [esi + 0x24]
call fcn.004573c1
push dword [esi + 0x740]
push dword [esi + 0x7c4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esp + 8]
mov eax, esi
call fcn.004568fa
push 1
lea edi, [esi + 0x79c]
push edi
call fcn.0041de1a
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x7c4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
add esp, 0x18
ret
Function at 0x4561de
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x7c4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45625e
mov eax, dword [0x4df4b4]
mov ecx, 0x4df4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea edi, [esi + 0x798]
lea eax, [ebp - 8]
call fcn.0044fc77
lea ecx, [esi + 0x388]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax]
test eax, eax
jne 0x456245
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
jmp 0x456411
lea edi, [esi + 0x740]
lea eax, [ebp - 8]
call fcn.00402033
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
lea edi, [esi + 0x740]
mov eax, dword [edi]
push 3
pop ebx
cmp dword [eax - 0xc], ebx
jle 0x456291
mov ecx, ebx
lea edx, [ebp - 8]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.00401a3f
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, ebx
mov byte [ebp - 1], 0
je 0x456295
mov byte [ebp - 1], 1
test byte [ebp - 0xc], 1
je 0x4562a6
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
cmp byte [ebp - 1], 0
je 0x4562e8
mov eax, 0xe0000021
call fcn.00424a44
push 2
push 2
push 0x4bb180
push 0
push 0x4c6618
call fcn.0040318f
add esp, 0x14
mov eax, esi
call fcn.00456bce
push dword [esi + 4]
lea edi, [esi + 0x39c]
call fcn.0044f64e
jmp 0x456411
mov ecx, ebx
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.00401a3f
push dword [eax]
call fcn.0041ed8b
mov ebx, eax
mov eax, dword [ebp - 0xc]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040151c
test bl, bl
je 0x456352
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00456166
mov eax, dword [eax]
push 2
push 3
push 0x4c6638
push 0x4bb1c8
push eax
call fcn.0040318f
mov ebx, eax
mov eax, dword [ebp - 0xc]
add esp, 0x14
add eax, 0xfffffff0
call fcn.0040151c
test bl, 1
jne 0x456352
call fcn.0045610d
jmp 0x456411
push dword [edi]
call fcn.00422c88
test eax, eax
pop ecx
jne 0x45640a
push str.programfiles
call fcn.0048db2b
pop ecx
push eax
lea eax, [ebp - 8]
call fcn.00401965
lea esi, [ebp - 8]
call fcn.00422ae5
push str.kingsoft
mov eax, esi
push eax
call fcn.00405369
mov esi, dword [ebp - 8]
cmp dword [esi - 4], 1
jle 0x4563a3
push dword [esi - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004018b1
mov esi, dword [ebp - 8]
push 1
push esi
call fcn.00488208
test esi, esi
pop ecx
pop ecx
jne 0x4563b5
xor eax, eax
jmp 0x4563bc
push esi
call fcn.0048b241
pop ecx
lea edx, [ebp - 8]
call fcn.0040160c
push dword [edi]
call fcn.00422c88
test eax, eax
pop ecx
jne 0x4563ff
mov eax, 0xe0000021
call fcn.00424a44
push 2
push 2
push 0x4bb180
push 0
push 0x4c6618
call fcn.0040318f
add esp, 0x14
lea eax, [esi - 0x10]
call fcn.0040151c
mov esi, dword [ebp + 8]
jmp 0x456411
lea eax, [esi - 0x10]
call fcn.0040151c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 1
mov eax, esi
call fcn.00456bce
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x456422
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4df4b4]
push esi
push edi
mov ecx, 0x4df4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea edi, [ebx + 0x798]
lea eax, [ebp - 4]
call fcn.0044fc77
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x4564bd
lea edi, [ebx + 0x740]
lea eax, [ebp - 4]
call fcn.00402033
mov eax, edi
call fcn.004051fc
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea edx, [ebp - 8]
mov eax, edi
call fcn.00401a3f
push dword [eax]
lea ecx, [ebx + 0x24]
mov esi, 0xcc
push esi
mov eax, ecx
call fcn.004571ff
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
push dword [edi]
lea edi, [ebx + 0x24]
push 0x4bbe48
push esi
push edi
call fcn.004572ac
push 0
push dword [ebx + 0x79c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
mov eax, edi
call fcn.004573c1
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x457486
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x4e03c8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x4574a3
mov esi, dword [eax + 4]
jmp 0x4574a5
xor esi, esi
cmp esi, ebp
jne 0x4574b5
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x4574da
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x4574da
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4574da
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], ebp
push esi
mov ebx, edi
mov dword [eax], ebp
call fcn.00457ebe
mov ebx, eax
cmp ebx, ebp
jne 0x457503
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4575df
mov edx, ebx
call fcn.0040af05
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040adb8
cmp dword [edi + 0x36c], ebp
je 0x45758d
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], 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 ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x457570
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x45758d
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.0040612b
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041dffe
cmp dword [esp + 0x1c], ebp
je 0x4575cb
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x4575cb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x4575cb
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040af05
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x458956
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4589a2
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4589a2
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2c0], 0
je 0x458a1a
lea ebx, [esi + 0x2d0]
cmp dword [ebx], 0
je 0x4589bf
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2c0], edi
jne 0x458a13
push edi
call fcn.0041db3f
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.0041dd81
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2c0], 0
pop edi
pop ebx
leave
ret 0xc