joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4419c6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push 0
push eax
call fcn.00413a13
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov edi, str.vdubadubagame.ico
push edi
call esi
add esp, 0xc
lea ecx, [ebp - 8]
push eax
push edi
call fcn.0040c36b
lea eax, [ebp - 4]
push 0x23
push eax
call fcn.00441a63
mov edi, str.KingsoftDubaGame
push edi
call esi
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push edi
call fcn.0040c36b
push dword [ebp - 4]
call fcn.00413808
mov edi, str.dubagame.ico
push edi
call esi
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 4]
call fcn.0040c36b
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
pop edi
pop esi
leave
ret

Function at 0x441a63
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00404190
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
push edi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 0x210], edi
je 0x441b34
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea eax, [ebp - 0x20c]
push eax
call edi
pop ecx
test eax, eax
je 0x441b11
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404cd0
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x441b34
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x214]
test ecx, ecx
je 0x441b4a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret
Function at 0x441b5a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x441bc0
call fcn.004b2d59
test eax, eax
lea eax, [ebp - 0x20c]
je 0x441bb4
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
jmp 0x441bb9
push str.MicrosoftInternet_ExplorerQuick_Launch_
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404cd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret

Function at 0x441db9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00441c9f
mov eax, dword [ebp - 8]
mov ebx, str.TryNo
pop ecx
cmp dword [eax - 0xc], edi
je 0x441e08
mov esi, str.ressrcchsuplive.svr
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 8]
call fcn.0040c36b
push dword [ebp - 8]
push edi
push ebx
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jne 0x441e48
push 0x20019
push str.SOFTWAREKingsoftKISCommonUpdate
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00402130
lea eax, [ebp - 4]
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040b7c0
cmp dword [ebp - 0x14], edi
je 0x441e48
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x441f55
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x441fdb
push edi
push ebx
call fcn.004b2ff6
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x441fcf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x613008
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441fcf
cmp dword [ebp - 8], esi
je 0x441fcf
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test edi, edi
je 0x441fda
push edi
call fcn.004b2fff
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x442083
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push edi
xor edi, edi
cmp dword [ebx + 4], edi
je 0x44209b
xor eax, eax
inc eax
jmp 0x4421c3
push esi
lea ecx, [ebp - 4]
call fcn.00404190
lea eax, [ebp - 8]
push eax
call fcn.00441e5d
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.004048f0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], edi
jne 0x442132
push 0x104
push 0x10e
lea ecx, [ebp - 4]
call fcn.004047c0
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or esi, 0xffffffff
lea ecx, [ebp - 4]
push esi
call fcn.0040e311
push 0x5c
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_wcsrchr
pop ecx
pop ecx
test eax, eax
je 0x44210b
mov esi, eax
sub esi, dword [ebp - 4]
sar esi, 1
lea eax, [esi + 1]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00403b90
push eax
lea ecx, [ebp - 4]
call fcn.004048f0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00413eaa
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 8]
mov dword [ebx + 4], eax
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x442179
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
test eax, eax
je 0x4421b1
push str.KVipGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4421b1
lea eax, [ebx + 8]
push eax
push 0x61b3a8
mov dword [eax], edi
call ecx
test eax, eax
js 0x4421b1
cmp dword [ebx + 8], edi
je 0x4421b1
mov ecx, ebx
call fcn.004421c9
test eax, eax
je 0x4421b1
xor edi, edi
inc edi
jmp 0x4421b8
mov ecx, ebx
call fcn.004421e8
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x44221a
Capabilities:
Check if file exists
Delete file
Move file
Persist via lnk shortcut

Disassembly:
call fcn.0044289e
test eax, eax
je 0x442232
call fcn.0044277f
call fcn.004422df
jmp fcn.0044223c
call fcn.00442388
jmp fcn.00442438

Function at 0x442388
Capabilities:
Check if file exists
Delete file
Move file
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push 0x19
push eax
call fcn.00441a63
push 0x61b3d0
lea eax, [ebp - 4]
push str._s.lnk
push eax
call fcn.0040da34
add esp, 0x14
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44242a
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00404b40
add eax, 0x10
mov ecx, esp
push str.ksearch.exe
mov dword [esi], eax
call fcn.004040f0
call fcn.004428fd
pop ecx
pop ecx
test eax, eax
jne 0x442411
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00404b40
add eax, 0x10
mov ecx, esp
push 0x613718
mov dword [esi], eax
call fcn.004040f0
call fcn.004428fd
pop ecx
pop ecx
test eax, eax
je 0x44242a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44242a
push 4
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004023e0
pop esi
leave
ret
Function at 0x4424f4
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
lea eax, [ebp - 0x210]
push 0x20a
push esi
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], esi
je 0x442676
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], esi
je 0x442676
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], esi
je 0x442676
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], esi
je 0x442676
push edi
push dword [ebp + 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x442675
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x442675
push dword [ebp + 0x14]
call edi
test eax, eax
je 0x442675
lea eax, [ebp - 0x214]
xor edi, edi
push eax
push 0x62a120
inc edi
push edi
push esi
push 0x62a180
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x442675
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x218]
push edx
push 0x62a150
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x442675
mov eax, dword [ebp - 0x218]
push esi
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x442675
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
push 4
push esi
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call sub.VCRUNTIME140.dll_wcsstr
pop ecx
pop ecx
test eax, eax
jne 0x442632
lea eax, [ebp - 0x210]
push 0x613718
push eax
call sub.VCRUNTIME140.dll_wcsstr
pop ecx
pop ecx
test eax, eax
je 0x442675
mov eax, dword [ebp - 0x214]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x214]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x214]
push esi
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x218]
push edi
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
cmovns esi, edi
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x44268c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x44269c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret
Function at 0x4426e2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 8]
push 0
push eax
call fcn.00413a13
mov ebx, str.ksearch.exe
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 0xc
lea ecx, [ebp - 8]
push eax
push ebx
call fcn.0040c36b
lea eax, [ebp - 4]
push 0x23
push eax
call fcn.00441a63
mov edi, str.Kingsoftksearch
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push edi
call fcn.0040c36b
push dword [ebp - 4]
call fcn.00413808
push ebx
lea eax, [ebp - 4]
push 0x61b190
push eax
call fcn.0040da34
add esp, 0x10
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
pop edi
pop ebx
leave
ret

Function at 0x44277f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00413a13
lea eax, [ebp - 0xc]
push 0x23
push eax
call fcn.00441a63
mov esi, str.Kingsoftksearch
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 0x14
lea ecx, [ebp - 0xc]
push eax
push esi
call fcn.0040c36b
push dword [ebp - 0xc]
call fcn.00413808
pop ecx
lea ecx, [ebp - 8]
call fcn.00404190
lea ecx, [ebp - 4]
call fcn.00404190
mov esi, str.microsoft.vc80.crt.manifest
lea eax, [ebp - 8]
push esi
push dword [ebp - 0x10]
push 0x613ad4
push eax
call fcn.0040c593
push esi
push dword [ebp - 0xc]
mov edi, 0x61a9a0
lea eax, [ebp - 4]
push edi
push eax
call fcn.0040c593
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x20
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call ebx
mov esi, str.msvcp80.dll
lea eax, [ebp - 8]
push esi
push dword [ebp - 0x10]
push 0x613ad4
push eax
call fcn.0040c593
push esi
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push edi
push eax
call fcn.0040c593
add esp, 0x20
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call ebx
mov esi, str.msvcr80.dll
lea eax, [ebp - 8]
push esi
push dword [ebp - 0x10]
push 0x613ad4
push eax
call fcn.0040c593
push esi
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push edi
push eax
call fcn.0040c593
mov esi, dword [ebp - 4]
add esp, 0x20
push 0
push esi
mov edi, dword [ebp - 8]
push edi
call ebx
lea ecx, [esi - 0x10]
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004023e0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44289e
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
call fcn.00413a13
mov edi, str.cloudctrl.config
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push edi
call fcn.0040c36b
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4428ec
push dword [ebp - 4]
push esi
push str.Enable
push str.ksearchuninst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x4428fd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
lea eax, [ebp - 0x210]
push 0x20a
push esi
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], esi
je 0x4429da
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4429da
push edi
lea eax, [ebp - 0x214]
xor edi, edi
push eax
push 0x62a120
inc edi
push edi
push esi
push 0x62a180
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4429d9
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x218]
push edx
push 0x62a150
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4429d9
mov eax, dword [ebp - 0x218]
push esi
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4429d9
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
push 4
push esi
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call sub.VCRUNTIME140.dll_wcsstr
test eax, eax
pop ecx
pop ecx
cmovne esi, edi
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4429f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x442a00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret
Function at 0x442e87
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.00404190
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x442ef0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404cd0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret
Function at 0x443ed9
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea ecx, [ebp - 4]
call fcn.00404190
mov ebx, 0x61a5f0
lea eax, [ebp - 8]
push ebx
push 0
push eax
call fcn.00413a13
pop ecx
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00413eaa
mov ecx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea eax, [ebp - 4]
push eax
push 0x23
call fcn.0044418a
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov edi, str.KingsoftDaoHang
push edi
call esi
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push edi
call fcn.0040c36b
push dword [ebp - 4]
call fcn.00413808
mov edi, 0x613008
push edi
call esi
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 4]
call fcn.0040c36b
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.0040c36b
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x443f85
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004048f0
lea ecx, [edi - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443f9a
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
test edi, edi
je 0x44415a
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x44415a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x234]
test esi, esi
je 0x44415a
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
je 0x44415a
lea eax, [ebp - 0x255]
mov dword [ebp - 0x264], ebx
push eax
lea eax, [esi + 2]
mov byte [ebp - 0x255], bl
push eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
call fcn.0041452a
mov edi, dword [ebp - 0x274]
lea eax, [ebp - 0x264]
push ebx
push eax
push esi
push edi
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444101
cmp dword [ebp - 0x264], esi
jne 0x444101
test esi, esi
je 0x444089
xor byte [edi + ebx], 0x4e
inc ebx
cmp ebx, esi
jb 0x444080
test edi, edi
je 0x4440f3
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4440f3
mov eax, dword [ebp - 0x25c]
mov edx, edi
push ebx
mov ecx, dword [eax]
sub edx, ecx
mov dword [ebp - 0x268], edx
mov esi, dword [ecx - 0xc]
mov ecx, eax
call fcn.00404eb0
mov ecx, dword [ebp - 0x25c]
push ebx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x268]
cmp ecx, esi
ja 0x4440d8
add ecx, eax
push ecx
push dword [edx - 8]
push eax
call fcn.0040d3ed
jmp 0x4440e2
push edi
push dword [edx - 8]
push eax
call fcn.0040f53f
mov ecx, dword [ebp - 0x25c]
add esp, 0x10
push ebx
call fcn.00404e80
jmp 0x4440fe
mov ecx, dword [ebp - 0x25c]
call fcn.00404a10
xor ebx, ebx
inc ebx
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x444156
mov eax, dword [ebp - 0x26c]
sub eax, edi
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], eax
cmp eax, 0x1000
jb 0x44414d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00402840
mov eax, dword [ebp - 0x260]
mov edi, dword [ebp - 0x25c]
pop ecx
pop ecx
push eax
push edi
call fcn.004b2fe8
pop ecx
pop ecx
mov eax, ebx
jmp 0x44415c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret 8