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

Disassembly:
sub esp, 0x210
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push edi
lea eax, [esp + 8]
push eax
xor edi, edi
push 0x1a
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push edi
push str.TXQQCRM2052
lea eax, [esp + 0x14]
push eax
push str._sTencentQQCRMSTemp_s_d
push 0x208
push 0x104
push 0x44cb80
call fcn.00425032
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x1c
push 0x44cb80
call ebx
test eax, eax
je 0x40166f
push esi
mov esi, 0x44cb80
call fcn.0041b9a0
test eax, eax
jne 0x40166e
add edi, 1
push edi
push str.TXQQCRM2052
lea ecx, [esp + 0x18]
push ecx
push str._sTencentQQCRMSTemp_s_d
push 0x208
push 0x104
push esi
call fcn.00425032
add esp, 0x1c
push esi
call ebx
test eax, eax
jne 0x401633
pop esi
mov ecx, dword [esp + 0x214]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00424e88
add esp, 0x210
ret
Function at 0x401690
Capabilities:
Check os version
Get common file path
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x998
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x990], eax
push esi
push 0x11c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00429d70
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call esi
test eax, eax
jne 0x4016e5
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call esi
test eax, eax
je 0x401702
cmp dword [esp + 0x18], 2
jne 0x401702
cmp dword [esp + 0xc], 5
jne 0x401830
cmp dword [esp + 0x10], 0
jne 0x401830
push 0x104
lea eax, [esp + 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x580]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.gdiplus.dll
lea edx, [esp + 0x78c]
push edx
push 0x441ab4
push 0x208
lea eax, [esp + 0x388]
push 0x104
push eax
call fcn.00425032
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esp, 0x18
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x37c]
push edx
call esi
cmp eax, 0xffffffff
jne 0x401830
lea eax, [esp + 0x788]
push eax
call fcn.004058c0
add esp, 4
test eax, eax
je 0x401830
push str.gdiplus.dll
lea ecx, [esp + 0x584]
push ecx
push 0x441ab4
push 0x208
lea edx, [esp + 0x388]
push 0x104
push edx
call fcn.00425032
add esp, 0x18
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x37c]
push ecx
call esi
cmp eax, 0xffffffff
jne 0x401830
lea edx, [esp + 0x580]
push edx
call fcn.004058c0
add esp, 4
test eax, eax
jne 0x401848
push str.gdiplus.dll
lea eax, [esp + 0x584]
push eax
push 0x441ab4
push 0x208
lea ecx, [esp + 0x388]
push 0x104
push ecx
call fcn.00425032
add esp, 0x18
lea edx, [esp + 0x378]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 2
push eax
lea eax, [esp + 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x990]
xor ecx, esp
call fcn.00424e88
add esp, 0x998
ret
mov ecx, dword [esp + 0x994]
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.00424e88
add esp, 0x998
ret
Function at 0x401870
Capabilities:
Check os version
Get common file path
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x998
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x990], eax
push esi
push 0x11c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00429d70
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call esi
test eax, eax
jne 0x4018c5
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call esi
test eax, eax
je 0x4018d0
cmp dword [esp + 0xc], 6
jb 0x4019b5
push 0x104
lea eax, [esp + 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x580]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [esp + 0x788]
push edx
call fcn.00405930
add esp, 4
test eax, eax
je 0x4019b5
push str.QQVistaHelper.dll
lea eax, [esp + 0x584]
push eax
push 0x441ab4
push 0x208
lea ecx, [esp + 0x388]
push 0x104
push ecx
call fcn.00425032
add esp, 0x18
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4019b5
lea ecx, [esp + 0x580]
push ecx
call fcn.00405930
add esp, 4
test eax, eax
jne 0x4019cd
push str.QQVistaHelper.dll
lea edx, [esp + 0x584]
push edx
push 0x441ab4
push 0x208
lea eax, [esp + 0x388]
push 0x104
push eax
call fcn.00425032
add esp, 0x18
lea ecx, [esp + 0x378]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 2
push eax
lea edx, [esp + 0x37c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x990]
xor ecx, esp
call fcn.00424e88
add esp, 0x998
ret
mov ecx, dword [esp + 0x994]
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.00424e88
add esp, 0x998
ret
Function at 0x4019f0
Capabilities:
Check os version
Get common file path
Get file attributes
Set file attributes

Disassembly:
sub esp, 0xda8
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0xda0], eax
push esi
push 0x11c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00429d70
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call esi
test eax, eax
jne 0x401a41
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call esi
lea eax, [esp + 0x788]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x401a6f
cmp word [esp + eax*2 + 0x786], 0x5c
lea eax, [esp + eax*2 + 0x786]
jne 0x401a6f
mov word [eax], 0
lea ecx, [esp + 0x990]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [esp + 0x788]
push edx
call fcn.004059a0
add esp, 4
test eax, eax
push str.InstTXSSO.exe
jne 0x401af5
lea eax, [esp + 0x78c]
push eax
push str._sTXSSO_s
push 0x208
lea ecx, [esp + 0x590]
push 0x104
push ecx
call fcn.00425032
push 0x441b18
lea edx, [esp + 0x7a4]
push edx
push str._sTXSSO
push 0x208
lea eax, [esp + 0x3a0]
push 0x104
push eax
call fcn.00425032
add esp, 0x30
mov esi, 1
jmp 0x401bd3
lea ecx, [esp + 0x994]
push ecx
push str._sTXSSO_s
push 0x208
lea edx, [esp + 0x590]
push 0x104
push edx
call fcn.00425032
add esp, 0x18
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x584]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x401b41
mov esi, 3
jmp 0x401bd3
lea edx, [esp + 0x990]
push edx
call fcn.004059a0
add esp, 4
test eax, eax
jne 0x401c6b
push str.InstTXSSO.exe
lea eax, [esp + 0x994]
push eax
push str._sTXSSO_s
push 0x208
lea ecx, [esp + 0x590]
push 0x104
push ecx
call fcn.00425032
push 0x441b18
lea edx, [esp + 0x9ac]
push edx
push str._sTXSSO
push 0x208
lea eax, [esp + 0x3a0]
push 0x104
push eax
call fcn.00425032
add esp, 0x30
lea ecx, [esp + 0x378]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 2
push eax
lea edx, [esp + 0x37c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, 5
cmp dword [esp + 0xc], 6
jb 0x401c0b
lea eax, [esp + 0x378]
push eax
lea ecx, [esp + 0x584]
push ecx
call dword [sym.imp.QQVistaHelper.dll_void___cdecl_RunAsUser_wchar_t___wchar_t__]
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [esp + 0xda0]
xor ecx, esp
call fcn.00424e88
add esp, 0xda8
ret
lea edx, [esp + 0x378]
push edx
lea eax, [esp + 0x584]
push eax
push str._s__s
push 0x208
lea ecx, [esp + 0xba8]
push 0x104
push ecx
call fcn.00425032
push 0
lea edx, [esp + 0x394]
push edx
lea eax, [esp + 0xbb8]
push eax
push 0
call fcn.0041b900
add esp, 0x28
mov eax, esi
pop esi
mov ecx, dword [esp + 0xda0]
xor ecx, esp
call fcn.00424e88
add esp, 0xda8
ret
mov ecx, dword [esp + 0xda4]
pop esi
xor ecx, esp
mov eax, 0xe
call fcn.00424e88
add esp, 0xda8
ret
Function at 0x405130
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
test esi, esi
push edi
mov edi, ecx
jne 0x40513f
pop edi
pop esi
pop ecx
ret
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
lea esp, [esp]
cmp esi, 0x1000000
mov eax, 0x1000000
ja 0x40515f
mov eax, esi
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push edx
mov dword [esp + 0x24], 0
call ebp
mov ecx, dword [esp + 0x10]
add edi, ecx
sub esi, ecx
add ebx, ecx
test eax, eax
je 0x405189
test esi, esi
ja 0x405150
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x4052d0
Capabilities:
Check if file exists
Create directory
Get disk information
Get file attributes

Disassembly:
sub esp, 0x404
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4053c5
push edi
push 0x1fe
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00429d70
add esp, 0xc
lea edi, [esp + 8]
mov edx, esi
call fcn.00405260
test eax, eax
pop edi
je 0x405370
lea ecx, [esp + 4]
push ecx
call fcn.004052d0
add esp, 4
test eax, eax
je 0x405358
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00424e88
add esp, 0x404
ret
xor eax, eax
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00424e88
add esp, 0x404
ret
push 0x1fe
lea edx, [esp + 0x20a]
push 0
push edx
mov word [esp + 0x210], 0
call fcn.00429d70
push esi
push 0x441b3c
push 0x200
lea eax, [esp + 0x21c]
push 0x100
push eax
call fcn.00425032
add esp, 0x20
lea ecx, [esp + 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x405358
test eax, eax
je 0x405358
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00424e88
add esp, 0x404
ret

Function at 0x4057e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [0x44cd88]
push edi
push 0x441b44
push 0x7e3
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
jne 0x405824
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x44cb80
push eax
mov eax, ebp
call fcn.004053e0
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x405850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [0x44cd88]
push edi
push 0x441b44
push 0x7e4
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
jne 0x405894
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x44cb80
push eax
mov eax, ebp
call fcn.004053e0
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4058c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [0x44cd88]
push edi
push 0x441b44
push 0x7e5
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
jne 0x405904
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov eax, ebp
call fcn.004053e0
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x405930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [0x44cd88]
push edi
push 0x441b44
push 0x7ef
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
jne 0x405974
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov eax, ebp
call fcn.004053e0
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4059a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [0x44cd88]
push edi
push 0x441b44
push 0x7f9
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
jne 0x4059e4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov eax, ebp
call fcn.004053e0
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x405a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x405a2d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x405a5f
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x405a5f
add edi, 1
cmp edi, ebx
jb 0x405a50
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x405b68
cmp eax, 3
jbe 0x405a94
xor esi, esi
mov al, byte [edi + 4]
test al, al
mov dword [esp + 0x10], ebp
je 0x405ad1
cmp al, 0xff
je 0x405ad1
and esi, 3
add esi, esi
or esi, 1
add ebp, 1
jmp 0x405a43
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x405a78
movzx ecx, byte [esi + 0x441c98]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x441c90], 0
mov al, byte [eax + 4]
je 0x405abd
test al, al
je 0x405abd
cmp al, 0xff
jne 0x405a78
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
add ebp, 1
jmp 0x405a43
movzx ecx, byte [edi + 2]
xor edx, edx
mov dh, al
movzx eax, byte [edi + 1]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
lea ebx, [ebx]
sub edx, ebp
sub edx, 5
test esi, esi
mov eax, edx
je 0x405b39
movzx edx, byte [esi + 0x441c98]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x405b1c
cmp bl, 0xff
jne 0x405b35
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, eax
jmp 0x405af0
mov ebx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and cl, 1
sub cl, 1
not cl
mov byte [edi + 4], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [edi + 3], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 2], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x405a43
cmp eax, 3
pop edi
pop ebx
jbe 0x405b7f
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
shl esi, cl
mov eax, ebp
and esi, 7
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret

Function at 0x405e20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x453700], ecx
add edx, 1
cmp edx, 0x100
jb 0x405e22
ret
Function at 0x405ee0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
push esi
mov esi, edx
jbe 0x405f0f
lea ebx, [ebx]
movzx edx, byte [esi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x453700]
sub ecx, 1
add esi, 1
test ecx, ecx
ja 0x405ef0
pop esi
ret
Function at 0x406da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x44cd90]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x44cd90]
push edi
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x406dce
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.00428690
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x406e26
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x406e28
xor esi, esi
mov ebp, dword [esp + 0x18]
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
cmp dword [ebp], eax
pop ebp
pop edi
pop esi
setne al
pop ebx
pop ecx
ret

Function at 0x407250
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, 0x450e98
call fcn.0041bc60
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00429d70
push 0x441b18
push 0x44e158
call fcn.004255c9
add esp, 0x14
test eax, eax
pop ebx
je 0x407375
mov eax, 0x450e98
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4072b0
sub eax, edx
sar eax, 1
jne 0x407375
mov eax, 0x44f838
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4072d0
sub eax, edx
sar eax, 1
jne 0x407375
push 0x44e158
push 0x441d18
push 0x208
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.00425032
add esp, 0x14
lea edx, [esp]
push edx
push 0x20006
push 0
push str.SOFTWARETencent
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x407339
lea eax, [esp]
push eax
push str.SOFTWARETencent
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407340
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp]
push ecx
lea edx, [esp + 8]
push edx
push 1
push 0
push str.OldQQCRMPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00424e88
add esp, 0x210
ret
Function at 0x407700
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [0x44cde0]
sub esp, 0x18
cmp ecx, edx
push esi
jge 0x407794
mov eax, dword [0x44cd94]
xor esi, esi
test eax, eax
jl 0x40772b
cmp eax, edx
jge 0x40772b
lea eax, [eax + eax*2]
mov esi, dword [eax*4 + 0x44cda0]
test esi, esi
mov dword [0x44cd94], ecx
je 0x407777
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0x41
push 0
push 0
push edx
push eax
mov eax, dword [0x44cd94]
lea ecx, [eax + eax*2]
mov edx, dword [ecx*4 + 0x44cda0]
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x18
ret
push 0x43
push 0
push 0
push 0
push 0
lea eax, [ecx + ecx*2]
mov ecx, dword [eax*4 + 0x44cda0]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
add esp, 0x18
ret
Function at 0x408090
Capabilities:
Hide graphical window

Disassembly:
test esi, esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
je 0x4080a1
push 0
push esi
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x4418d4
push esi
call fcn.00407d60
add esp, 0xc
test esi, esi
mov edi, eax
je 0x4080c3
push 5
push esi
call ebx
mov eax, edi
pop edi
pop ebx
ret

Function at 0x408550
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0
push 0
push eax
push ecx
push 0
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
Function at 0x40b600
Capabilities:
Get disk information

Disassembly:
sub esp, 0x414
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x410], eax
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x212]
push edi
push eax
mov word [esp + 0x218], di
call fcn.00429d70
push 0x206
lea ecx, [esp + 0x16]
push edi
push ecx
mov word [esp + 0x1c], di
call fcn.00429d70
push 0x44f018
push 0x441d18
push 0x208
lea edx, [esp + 0x230]
push 0x104
push edx
call fcn.00425032
add esp, 0x2c
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [esp + 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b683
sub eax, edx
sar eax, 1
je 0x40b84b
cmp word [esp + eax*2 + 0x20a], 0x5c
je 0x40b6c1
lea ecx, [esp + 0x20c]
push ecx
push 0x44210c
push 0x208
push 0x104
lea edx, [esp + 0x14]
push edx
jmp 0x40b6dd
lea eax, [esp + 0x20c]
push eax
push 0x441d18
push 0x208
push 0x104
lea ecx, [esp + 0x14]
push ecx
call fcn.00425032
lea eax, [esp + 0x18]
add esp, 0x14
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b6f0
sub eax, edx
sar eax, 1
mov edx, eax
je 0x40b773
movzx ecx, word [edx*2 + 0x44f018]
cmp cx, di
je 0x40b773
movzx ecx, cx
cmp cx, 0x2f
je 0x40b81c
cmp cx, 0x3a
je 0x40b81c
cmp cx, 0x2a
je 0x40b81c
cmp cx, 0x3f
je 0x40b81c
cmp cx, 0x22
je 0x40b81c
cmp cx, 0x3c
je 0x40b81c
cmp cx, 0x3e
je 0x40b81c
cmp cx, 0x7c
je 0x40b81c
movzx ecx, word [eax*2 + 0x44f01a]
add eax, 1
cmp cx, di
jne 0x40b713
push esi
xor esi, esi
cmp edx, edi
jbe 0x40b7dd
cmp word [edx*2 + 0x44f018], di
lea eax, [edx*2 + 0x44f018]
mov ecx, edx
je 0x40b7c5
lea ecx, [ecx]
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x40b7a4
cmp esi, edi
jne 0x40b7b1
mov esi, 1
jmp 0x40b7a6
xor esi, esi
mov word [edx*2 + 0x44f018], ax
add edx, 1
add ecx, 1
cmp word [ecx*2 + 0x44f018], di
lea eax, [ecx*2 + 0x44f018]
jne 0x40b790
cmp edx, ecx
jge 0x40b7dd
sub ecx, edx
xor eax, eax
shr ecx, 1
lea edi, [edx*2 + 0x44f018]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea edx, [esp + 8]
push edx
call esi
lea eax, [esp + 8]
push eax
call esi
cmp eax, 4
jne 0x40b800
mov dword [0x44e65c], 1
lea ecx, [esp + 8]
push ecx
call esi
cmp eax, 3
je 0x40b832
lea edx, [esp + 8]
push edx
call esi
cmp eax, 4
je 0x40b832
or eax, 0xffffffff
pop esi
pop edi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00424e88
add esp, 0x414
ret
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00424e88
add esp, 0x414
ret
mov ecx, dword [esp + 0x414]
pop edi
xor ecx, esp
or eax, 0xffffffff
call fcn.00424e88
add esp, 0x414
ret