joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c6b8
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.MSVCR80.dll__wcsnicmp]
push 0x13
push str.UEME_RUNPIDL:_csidl
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x46c75c
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
sub eax, 0x13
lea esi, [eax + eax]
push esi
lea eax, [edi + 0x26]
push eax
mov ebx, 0x3fff
push ebx
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
and word [esi + edi], 0
push edi
call dword [sym.imp.MSVCR80.dll__wtoi]
add esp, 0x18
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 4]
call fcn.004014ce
push 0x25
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00429849
test eax, eax
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jl 0x46c754
mov ecx, dword [esi - 0xc]
dec ecx
cmp eax, ecx
jge 0x46c754
push 0
push dword [ebp - 8]
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [ebp - 0xc]
lea eax, [esi + eax*2 + 2]
push eax
push ebx
push edi
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [esi - 0x10]
jmp 0x46c80e
push 0xd
push str.UEME_RUNPATH:
push edi
call esi
add esp, 0xc
test eax, eax
mov ebx, 0x3fff
jne 0x46c794
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
sub eax, 0xd
lea esi, [eax + eax]
push esi
lea eax, [edi + 0x1a]
push eax
push ebx
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x14
and word [esi + edi], 0
cmp word [edi], 0x7b
jne 0x46c813
push edi
lea eax, [ebp - 4]
call fcn.004014ce
push 0x5c
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00429849
test eax, eax
jge 0x46c808
xor eax, eax
push eax
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x4da9e4
push ebx
push edi
call esi
push dword [ebp - 4]
push ebx
push edi
call esi
add esp, 0x18
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c808
push eax
push 0x19
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4da9e4
push ebx
push edi
call esi
push dword [ebp - 4]
push ebx
push edi
call esi
add esp, 0x18
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop esi
pop ebx
leave
ret
Function at 0x46c817
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor edx, edx
test ebx, ebx
push edi
mov edi, eax
mov byte [ebp - 1], 0
jbe 0x46c868
movzx ecx, word [edi + edx*2]
movzx eax, cx
cmp ax, 0x61
jb 0x46c83c
cmp ax, 0x6d
jbe 0x46c845
lea esi, [eax - 0x41]
cmp si, 0xc
ja 0x46c84a
add ecx, 0xd
jmp 0x46c85f
cmp ax, 0x6e
jb 0x46c856
cmp ax, 0x7a
jbe 0x46c85c
cmp si, 0x19
ja 0x46c863
add ecx, 0xfffffff3
mov word [edi + edx*2], cx
inc edx
cmp edx, ebx
jb 0x46c829
mov esi, dword [sym.imp.MSVCR80.dll__wcsnicmp]
push 0xd
push str.UEME_RUNPATH:
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x46c89d
lea eax, [ebx + ebx - 0x1a]
push eax
lea eax, [edi + 0x1a]
push eax
push 0x3fff
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
and word [edi + ebx*2 - 0x1a], 0
call fcn.0046c6b8
push 2
push 0x51c0e4
push edi
call esi
add esp, 0xc
test eax, eax
je 0x46c8f1
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c8f1
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x46c8f1
push 0x513684
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x46c8ed
push edi
push edi
call fcn.0046c209
test al, al
je 0x46c8f1
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret

Function at 0x46e18c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push str.Chinese_simplified
xor ebx, ebx
push ebx
call dword [sym.imp.MSVCR80.dll_setlocale]
pop ecx
pop ecx
push str.switch.dat
push ebx
lea eax, [ebp - 8]
call fcn.00496e16
pop ecx
lea ecx, [ebp - 4]
call fcn.0042a029
pop ecx
lea edi, [esi + 0x10]
call fcn.0042a0a0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
mov eax, esi
call fcn.0046e61f
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x46e200
xor eax, eax
jmp 0x46e21c
push ebx
push ebx
push esi
push 0x46e309
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 0xc], eax
mov eax, ecx
pop edi
pop ebx
leave
ret
Function at 0x46e61f
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
mov esi, eax
mov eax, dword [esi + 0x10]
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46e6b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x46e65e
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0x80000
jb 0x46e6b4
mov eax, dword [esi + 0x10]
sub eax, 0x10
call fcn.0042a0e1
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0046e6bc
mov ebx, dword [esi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [ebp - 4]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [edi - 0x10]
call fcn.00401239
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x46ea40
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xbc
push ebx
xor ebx, ebx
push esi
lea eax, [ebp + 0x44]
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x60], ebx
xor esi, esi
call fcn.0043b2a3
mov eax, dword [ebp + 0x7c]
push ecx
mov dword [eax], ebx
mov eax, esp
push str.common
mov dword [edi], ebx
call fcn.004014ce
push ecx
mov eax, esp
push str.lowerst
call fcn.004014ce
mov eax, 0x7d0
call fcn.0046ec10
mov dword [0x54077c], eax
lea eax, [ebp + 0x44]
push eax
call fcn.0043b31e
add esp, 0xc
test eax, eax
je 0x46ebad
push str.passport
lea eax, [ebp + 0x38]
push eax
lea esi, [ebp + 0x44]
call fcn.0049450c
call fcn.00493259
push eax
lea eax, [ebp + 0x6c]
call fcn.004014ce
push str.viplevel
lea eax, [ebp + 0x38]
push eax
call fcn.0049450c
call fcn.0049326d
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x6c]
cmp dword [eax - 0xc], ebx
je 0x46eb9a
lea ebx, [ebp + 0x70]
mov dword [ebp + 0x60], 1
call fcn.00448a20
push str.datapeifu_sum.ini
mov eax, ebx
push eax
call fcn.00407371
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46eb8d
xor esi, esi
push 0x3e
lea eax, [ebp - 6]
push esi
push eax
mov word [ebp - 8], si
call sub.MSVCR80.dll_memset
push 0x3e
lea eax, [ebp - 0x46]
push esi
push eax
mov word [ebp - 0x48], si
call sub.MSVCR80.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x18
push dword [ebp + 0x70]
lea eax, [ebp - 8]
push 0x20
push eax
mov esi, 0x4dab50
push esi
push str.base
push dword [ebp + 0x6c]
call ebx
push dword [ebp + 0x70]
lea eax, [ebp - 0x48]
push 0x20
push eax
push esi
push str.activity
push dword [ebp + 0x6c]
call ebx
mov ebx, dword [sym.imp.MSVCR80.dll__wtoi]
lea eax, [ebp - 8]
push eax
call ebx
mov dword [edi], eax
lea eax, [ebp - 0x48]
push eax
call ebx
cmp dword [edi], 0
pop ecx
pop ecx
mov ecx, dword [ebp + 0x7c]
mov dword [ecx], eax
je 0x46eb8d
mov dword [ebp + 0x68], 1
mov eax, dword [ebp + 0x70]
add eax, 0xfffffff0
call fcn.00401239
xor ebx, ebx
mov eax, dword [ebp + 0x6c]
add eax, 0xfffffff0
call fcn.00401239
cmp dword [ebp + 0x60], ebx
mov esi, dword [ebp + 0x64]
jne 0x46ebe1
push ecx
mov eax, esp
push str.common
call fcn.004014ce
push ecx
mov eax, esp
push str.piccmost
call fcn.004014ce
mov eax, 0x1f40
call fcn.0046ec10
mov dword [edi], eax
mov eax, dword [ebp + 0x7c]
pop ecx
pop ecx
mov dword [eax], ebx
mov dword [ebp + 0x68], 1
cmp dword [ebp + 0x68], ebx
jne 0x46ebfe
lea eax, [esi - 1]
cmp eax, 7
ja 0x46ebf7
mov eax, dword [esi*4 + 0x54077c]
jmp 0x46ebfc
mov eax, dword [0x54077c]
mov dword [edi], eax
lea ecx, [ebp + 0x44]
call fcn.00494222
mov eax, dword [ebp + 0x68]
pop esi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x46ec10
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea ebx, [ebp - 4]
mov edi, eax
call fcn.00448a20
push str.datapeifu_sum.ini
mov eax, ebx
push eax
call fcn.00407371
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ebx, dword [ebp + 8]
je 0x46ec80
and word [ebp - 0x44], 0
push 0x3e
lea eax, [ebp - 0x42]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x4dab50
push ebx
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
test eax, eax
pop ecx
je 0x46ec80
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401239
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401239
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46f0a5
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5438cc]
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x5438cc
mov dword [ebp - 8], edi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
call fcn.0046f019
lea eax, [ebp - 0xc]
mov dword [esp], str.dataiosrcmd
push eax
call fcn.00407371
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.iosconfig.ini
lea eax, [ebp - 0xc]
push eax
call fcn.00407371
mov ebx, dword [ebp - 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46f136
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [esi - 0x10]
call fcn.00401239
jmp 0x46f233
mov dword [ebp - 0x10], edi
xor eax, eax
lea edi, [ebp - 0xc]
push str.SOFTWAREKingsoftAntivirus_recommend
stosd dword es:[edi], eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 8]
call fcn.00429fd8
cmp dword [ebp - 8], 0
je 0x46f164
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
push ebx
lea eax, [ebp - 4]
push eax
call fcn.0040127c
mov esi, str.kphone_rcmd_ios_pop1
push esi
lea ecx, [ebp - 4]
call fcn.004cbabd
cmp eax, 0xffffffff
jne 0x46f188
push esi
call fcn.0046f238
pop ecx
push esi
lea eax, [ebp - 4]
push eax
lea edi, [ebp - 0x10]
call fcn.004cbada
test eax, eax
je 0x46f1a2
push esi
mov eax, edi
call fcn.0046f2ad
pop ecx
mov esi, str.kphone_rcmd_ios_pop2
push esi
lea ecx, [ebp - 4]
call fcn.004cbabd
cmp eax, 0xffffffff
jne 0x46f1bc
push esi
call fcn.0046f238
pop ecx
push esi
lea eax, [ebp - 4]
push eax
lea edi, [ebp - 0x10]
call fcn.004cbada
test eax, eax
je 0x46f1d6
push esi
mov eax, edi
call fcn.0046f2ad
pop ecx
mov esi, str.kphonecharge_ios
push esi
lea ecx, [ebp - 4]
call fcn.004cbabd
cmp eax, 0xffffffff
jne 0x46f1f0
push esi
call fcn.0046f238
pop ecx
push esi
lea eax, [ebp - 4]
push eax
lea edi, [ebp - 0x10]
call fcn.004cbada
test eax, eax
je 0x46f20a
push esi
mov eax, edi
call fcn.0046f2ad
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
cmp dword [ebp - 8], 0
je 0x46f233
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46f2ad
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, eax
mov eax, dword [0x5438cc]
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push str._s_lastshowtime
push eax
call fcn.0042a016
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
add esp, 0xc
push 0x2001f
xor edi, edi
push str.SOFTWAREKingsoftAntivirus_recommend
xor ecx, ecx
or edi, eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 4]
or esi, ecx
call fcn.004017a0
test eax, eax
mov ebx, dword [ebp - 8]
jne 0x46f328
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push 0
push ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebx - 0x10]
call fcn.00401239
cmp dword [ebp - 4], 0
je 0x46f33f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46f70d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x46f80d
mov ebx, dword [ebp + 0x18]
xor esi, esi
inc esi
cmp dword [ebp + 0xc], esi
jne 0x46f747
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], esi
call fcn.0046fe20
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x46f77a
mov eax, esi
jmp 0x46f80f
cmp dword [ebp + 0xc], 0x219
jne 0x46f763
push dword [ebp + 0x14]
mov eax, edi
push dword [ebp + 0x10]
call fcn.0047010c
mov ecx, ebx
mov dword [ecx], eax
jmp 0x46f740
cmp dword [ebp + 0xc], 2
jne 0x46f77a
push 0x2712
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [ebx], 0
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5453f8]
jne 0x46f7ac
mov eax, dword [edi + 0x18]
push str.timerproc_second
mov dword [eax + 0x20], esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00459083
and dword [ebx], 0
mov dword [0x5453a0], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46f740
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5453f4]
mov ecx, dword [ebp + 0x10]
jne 0x46f7e7
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], esi
xor eax, eax
cmp ecx, eax
je 0x46f7d4
mov dword [0x5453a4], esi
mov dword [0x5453a8], ecx
jmp 0x46f7d9
mov dword [0x5453a4], eax
mov dword [ebx], eax
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x20], eax
jne 0x46f740
cmp dword [ebp + 0xc], 0x113
jne 0x46f80d
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], esi
mov eax, edi
call fcn.0046f816
and dword [ebx], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46f740
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x46f816
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3ac
cmp ecx, 0xc8
push ebx
push esi
push edi
mov edi, eax
jne 0x46f839
call fcn.0046fdda
jmp 0x46fa1f
cmp ecx, 1
jne 0x46f944
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], ebx
mov word [esp + 0x30], 1
mov dword [esp + 0x2c], 0xffff
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov dword [edi + 0x40], eax
lea eax, [edi + 0x44]
call fcn.0046e8c1
mov eax, edi
call fcn.0046fed3
lea esi, [edi + 0xdc]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x46f8ac
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 5
jae 0x46f8cb
push ebx
push ebx
push edi
push 0x46f59f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00457488
xor ebx, ebx
call fcn.00401114
test eax, eax
jne 0x46f8e5
lea eax, [edi + 0x28]
lea esi, [edi + 0x6c]
mov dword [edi + 0xac], eax
call fcn.004b3924
call fcn.004778ac
mov edi, eax
cmp edi, ebx
je 0x46f93a
lea esi, [esp + 0xc]
call fcn.004038c8
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x46f93a
mov eax, dword [esi]
push str.duba_mobile_iossetup
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push str.20130531
push str.kver
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi]
push edi
push str.install
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
call fcn.0046f0a5
jmp 0x46fa1f
cmp ecx, 3
jne 0x46f985
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push str.kxetray_show_xp_protect_dlg
call fcn.00430297
pop ecx
pop ecx
lea esi, [esp + 0x28]
call fcn.004b5ab4
mov eax, esi
call fcn.004732f4
mov ecx, esi
mov dword [esp + 0x28], vtable.KXpProtectDlg.0
call fcn.00476eb5
jmp 0x46fa1f
cmp ecx, 4
jne 0x46f9a9
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00479e26
push 0
push str.klitedesk_need_create_sendto_link
call fcn.00430297
pop ecx
pop ecx
jmp 0x46fa1f
cmp ecx, 5
jne 0x46f9d4
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00458c69
push 0
push 0x493e0
push 0x2712
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x46fa1f
cmp ecx, 7
jne 0x46f9ea
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0046fb0f
jmp 0x46fa1f
mov eax, 0x2711
cmp ecx, eax
jne 0x46fa0d
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0046fc77
test eax, eax
je 0x46fa1f
call fcn.0046fcb9
jmp 0x46fa1f
cmp ecx, 0x2712
jne 0x46fa1f
call fcn.004ab86f
call fcn.00458c69
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46fb68
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x24c]
push ebx
push eax
mov dword [ebp - 0x250], ebx
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46fbb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x46fc6e
mov edi, dword [sym.imp.MSVCR80.dll_wcscmp]
lea eax, [ebp - 0x224]
push 0x4da9e8
push eax
call edi
test eax, eax
pop ecx
pop ecx
je 0x46fc51
lea eax, [ebp - 0x224]
push 0x4da9ec
push eax
call edi
test eax, eax
pop ecx
pop ecx
je 0x46fc51
mov eax, dword [ebp + 0x14]
inc dword [eax]
test byte [ebp - 0x250], 0x10
je 0x46fbfb
mov eax, dword [ebp + 0x10]
inc dword [eax]
jmp 0x46fc51
lea eax, [ebp - 0x224]
push 0x2e
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
pop ecx
pop ecx
push eax
lea eax, [ebp + 8]
call fcn.004014ce
lea eax, [ebp + 8]
call fcn.00407211
push str..exe
lea eax, [ebp + 8]
push eax
call fcn.004249a1
test eax, eax
je 0x46fc41
push 0x513684
lea eax, [ebp + 8]
push eax
call fcn.004249a1
test eax, eax
jne 0x46fc46
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46fbbe
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x47010c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
mov ebx, eax
call fcn.004c99c9
test eax, eax
je 0x47012b
call fcn.004c9a56
mov eax, ebx
call fcn.0046fed3
lea esi, [ebx + 0xdc]
mov ecx, dword [esi + 4]
xor edi, edi
cmp ecx, edi
je 0x47014e
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 5
jae 0x47016b
push edi
push edi
push ebx
push 0x46f59f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00457488
call fcn.00478632
test eax, eax
je 0x470246
mov ebx, 0x8000
cmp dword [ebp + 8], ebx
je 0x47018f
cmp dword [ebp + 8], 0x8004
jne 0x470246
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x470246
cmp dword [esi + 4], 2
jne 0x470246
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, dword [esi + 0xc]
xor eax, eax
test cl, 1
jne 0x4701c1
shr ecx, 1
inc eax
cmp ax, 0x1a
jb 0x4701b3
add eax, 0x61
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::push_back_wchar_t_]
push 0x5108d8
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.00407727
xor eax, eax
cmp dword [ebp + 8], ebx
lea edi, [esp + 0x40]
sete al
mov dword [esp + 0xc], eax
call fcn.004077e5
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
push eax
call fcn.00407dd6
lea esi, [esp + 0x44]
mov dword [esp + 0x40], vtable.KxEIPCClientT_class_IKxEDefendEngineSP__class_KxEPipeClientCommunication_.0
call fcn.004035a0
lea esi, [esp + 0x10]
call fcn.00408eff
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4705ad
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea ecx, [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x1c]
push eax
call fcn.00470539
cmp dword [ebp - 8], 0
pop ecx
je 0x4705ed
push 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x4705ed
and word [eax], 0
push 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
push eax
mov ecx, esi
call dword [0x4d95ec]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x4da9e4
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.ksapi.dll
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
test edi, edi
je 0x470656
cmp dword [esi + 0x18], 8
jb 0x470633
mov esi, dword [esi + 4]
jmp 0x470636
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47064b
test al, 0x10
jne 0x47064b
xor eax, eax
inc eax
jmp 0x47064d
xor eax, eax
xor ecx, ecx
test al, al
setne cl
mov dword [edi], ecx
xor eax, eax
pop esi
leave
ret