joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425a54
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push 0x18
mov eax, 0x4efc47
call fcn.004bcf9c
mov esi, ecx
lea ecx, [ebp - 0x24]
call fcn.004965b9
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00496e23
push str.SeDebugPrivilege
lea ecx, [ebp - 0x24]
call fcn.00496856
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x425aba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x425aa7
call fcn.00424a9b
mov edi, eax
jmp 0x425aac
mov edi, 0x80004005
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004965f3
jmp 0x425ad2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [esi + 0x230], 1
call fcn.004965f3
mov edi, ebx
test edi, edi
js 0x425b33
push 0x22c
lea edi, [esi + 4]
push ebx
push edi
call fcn.004bf240
add esp, 0xc
mov dword [edi], 0x22c
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x425b29
mov eax, ebx
cmp dword [esi + 0x230], ebx
je 0x425b06
mov eax, dword [esi + 0xc]
cmp dword [ebp + 8], eax
je 0x425b3d
push 0x22c
push ebx
push edi
call fcn.004bf240
add esp, 0xc
mov dword [edi], 0x22c
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [esi + 0x230], eax
test eax, eax
jne 0x425af9
xor eax, eax
call fcn.004bcf6a
ret 4
xor eax, eax
inc eax
jmp 0x425b35

Function at 0x426143
Capabilities:
Check if file exists
Get common file path
Get file attributes
Persist via run registry key

Disassembly:
push 0x42c
mov eax, 0x4efcd8
call fcn.004bcfcf
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x428], eax
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], edi
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], edi
call fcn.00426042
test eax, eax
jne 0x426268
push 0x208
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x438], 0x105
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
push str.Common_AppData
call fcn.004260d0
lea ecx, [ebp - 0x434]
mov esi, eax
call fcn.00426028
test esi, esi
jne 0x426227
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426227
test al, 0x10
je 0x426227
lea eax, [ebp - 0x424]
jmp 0x426246
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x426268
lea eax, [ebp - 0x218]
push ebx
push eax
push str._s_s
push 0x104
push dword [ebp - 0x428]
call fcn.004c03dd
add esp, 0x14
cmp eax, 0xffffffff
je 0x426268
xor edi, edi
inc edi
lea ecx, [ebp - 0x434]
call fcn.00426028
mov eax, edi
call fcn.004bcf7e
ret
Function at 0x42627b
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x694
mov eax, 0x4efd0b
call fcn.004bd03b
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x69c], edi
mov dword [ebp - 0x698], edi
mov dword [ebp - 0x694], edi
push 0x20019
push str.SOFTWAREKingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x69c]
mov byte [ebp - 4], 1
call fcn.00426042
test eax, eax
jne 0x426484
push 0x62
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x6a0], 0x32
lea eax, [ebp - 0x6a0]
lea ecx, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x78]
push eax
push str.Lang
call fcn.004260d0
test eax, eax
je 0x426322
lea ecx, [ebp - 0x69c]
call fcn.00426028
lea ecx, [ebp - 0x69c]
call fcn.00426028
xor eax, eax
jmp 0x426492
xor eax, eax
push 0x206
mov word [ebp - 0x690], ax
lea eax, [ebp - 0x68e]
push edi
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x6a0], 0x104
lea eax, [ebp - 0x6a0]
lea ecx, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x690]
push eax
push str.ProgramPath
call fcn.004260d0
lea ecx, [ebp - 0x69c]
mov esi, eax
call fcn.00426028
test esi, esi
jne 0x426310
xor eax, eax
push 0x206
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x27e]
push edi
push eax
call fcn.004bf240
lea ecx, [ebp - 0x280]
mov esi, edi
lea edi, [ebp - 0x690]
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4263ca
movzx eax, word [edi + ecx]
test ax, ax
je 0x4263ca
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4263ae
test edx, edx
jne 0x4263d6
sub ecx, 2
mov esi, 0x8007007a
xor eax, eax
mov word [ecx], ax
test esi, esi
js 0x426310
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x280]
push str.ressrc
push eax
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
push str.uplive.svr
lea eax, [ebp - 0x280]
push eax
call esi
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426310
test al, 0x10
jne 0x426310
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x488], ax
lea eax, [ebp - 0x486]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push 0x104
lea eax, [ebp - 0x488]
push eax
push 0x50f91c
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x488]
mov ecx, ebx
push eax
call fcn.00406d50
lea ecx, [ebp - 0x69c]
call fcn.00426028
xor eax, eax
inc eax
call fcn.004bcf8d
ret
Function at 0x426a85
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x270], ax
mov edi, ecx
lea eax, [ebp - 0x26e]
push ebx
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x426ae3
lea edx, [ebp - 0x270]
mov ecx, str.productidinfo.ini
call fcn.00420a63
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426b4b
test al, 0x10
jne 0x426b4b
push esi
lea eax, [ebp - 0x270]
push eax
push ebx
push 0x5116c4
push str.productidinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
xor eax, eax
push 0x62
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push ebx
push eax
call fcn.004bf240
push esi
push 0x5113cc
lea eax, [ebp - 0x68]
push 0x32
push eax
call fcn.0040a0d0
add esp, 0x1c
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00406d50
xor eax, eax
inc eax
pop esi
jmp 0x426b4d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret

Function at 0x426cf4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf240
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push esi
push 0x5113cc
movzx edi, ax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040a0d0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x10
push dword [ebx]
push eax
push str.SystemDefaultUILanguage
push str.SystemInfo
call esi
push edi
push 0x5113cc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040a0d0
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebx]
push eax
push str.UserDefaultUILanguage
push str.SystemInfo
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x426db1
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
lea eax, [ebp - 0x24c]
mov edi, ecx
push 0
push eax
call fcn.004bf240
xor eax, eax
mov dword [ebp - 0x250], 0x40
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004bf240
add esp, 0x18
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x244]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [ebp - 0x240]
shr eax, 0x14
mov eax, dword [ebp - 0x23c]
shrd ecx, eax, 0x14
push ecx
shr eax, 0x14
push str._d_MB____d_MB__free_total_
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0040a0d0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x210]
add esp, 0x14
mov ebx, str.SystemInfo
push dword [edi]
push eax
push str.global_physical_memory
push ebx
call esi
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [ebp - 0x230]
shr eax, 0x14
mov eax, dword [ebp - 0x22c]
shrd ecx, eax, 0x14
push ecx
shr eax, 0x14
push str._d_MB____d_MB__free_total_
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0040a0d0
add esp, 0x14
lea eax, [ebp - 0x210]
push dword [edi]
push eax
push str.global_pageFile_memory
push ebx
call esi
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [ebp - 0x220]
shr eax, 0x14
mov eax, dword [ebp - 0x21c]
shrd ecx, eax, 0x14
push ecx
push str._d_MB____d_MB__free_total_
shr eax, 0x14
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0040a0d0
add esp, 0x14
lea eax, [ebp - 0x210]
push dword [edi]
push eax
push str.global_virtual_memory
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x426f20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x165c
call fcn.004bf2f0
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1658]
mov dword [ebp - 0x1654], ecx
push eax
push 0x1000
lea eax, [ebp - 0x1620]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x4270f4
mov ebx, dword [ebp - 0x1658]
xor eax, eax
shr ebx, 2
mov dword [ebp - 0x164c], eax
test ebx, ebx
je 0x4270f4
mov ecx, dword [ebp + eax*4 - 0x1620]
mov dword [ebp - 0x1650], ecx
test ecx, ecx
je 0x4270e5
push 5
pop ecx
push 0x1f4
lea eax, [ebp - 0x1fc]
mov esi, str._unknown_
lea edi, [ebp - 0x210]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bf240
add esp, 0xc
push dword [ebp - 0x1650]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4270df
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4270d8
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x1644]
push 0x28
rep stosd dword es:[edi], eax
pop eax
push eax
mov dword [ebp - 0x1648], eax
lea eax, [ebp - 0x1648]
push eax
push esi
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x427075
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.004bf240
mov eax, dword [ebp - 0x1640]
mov edi, 0x104
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x163c]
shr eax, 0x14
push eax
push str.___d_MB__d_MB_
lea eax, [ebp - 0x418]
push edi
push eax
call fcn.0040a0d0
add esp, 0x20
lea eax, [ebp - 0x418]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00426b5d
jmp 0x42707a
mov edi, 0x104
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push eax
call fcn.004bf240
mov eax, dword [ebp - 0x164c]
push dword [ebp + eax*4 - 0x1620]
lea eax, [ebp - 0x620]
push str.running_process__d
push edi
push eax
call fcn.0040a0d0
mov eax, dword [ebp - 0x1654]
add esp, 0x1c
push dword [eax]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x620]
push eax
push str.SystemInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x164c]
inc eax
mov dword [ebp - 0x164c], eax
cmp eax, ebx
jb 0x426f7a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4275ae
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004bf240
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.00420b5c
mov edi, eax
cmp edi, 0xffffffff
je 0x427693
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x427693
push ebx
push 0x511914
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x427692
push edi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x427692
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x42768b
push 0x2b0
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4c0], esi
push esi
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x4c0]
push 0x100
push 0x2b4
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
cmovne esi, dword [ebp - 0x4c0]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x428f0c
Capabilities:
Read .ini file

Disassembly:
push 0x2c
mov eax, 0x4effe9
call fcn.004bcfcf
mov dword [ebp - 0x38], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
call fcn.00403c20
push 0x511084
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406d50
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00428dbd
cmp eax, 9
jb 0x429045
mov esi, dword [ebp - 0x34]
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x428f7e
mov eax, dword [esi]
jmp 0x428f80
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebx + 0x110]
push eax
push 0x28
pop edx
call fcn.00420f63
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], edi
jb 0x428f9c
mov eax, dword [eax]
push dword [esi + 0x28]
lea ecx, [ebx + 0x160]
push eax
push 0x28
pop edx
call fcn.00420f63
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], edi
jb 0x428fb8
mov eax, dword [eax]
push dword [esi + 0x40]
lea ecx, [ebx + 0x70]
push eax
push 0x28
pop edx
call fcn.00420f63
lea eax, [esi + 0x48]
cmp dword [eax + 0x14], edi
jb 0x428fd1
mov eax, dword [eax]
push dword [esi + 0x58]
lea ecx, [ebx + 0xc0]
push eax
push 0x28
pop edx
call fcn.00420f63
lea eax, [esi + 0x90]
cmp dword [eax + 0x14], edi
jb 0x428ff0
mov eax, dword [eax]
push eax
call fcn.004bfd01
mov dword [ebx], eax
mov eax, dword [esi + 0xd0]
add esi, 0xc0
pop ecx
cmp dword [esi + 0x14], edi
jb 0x42900c
mov esi, dword [esi]
push eax
push esi
push 0x28
lea ecx, [ebx + 0x20]
pop edx
call fcn.00420f63
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x28]
add eax, 0x68
cmp dword [eax + 0x14], edi
jb 0x429029
mov eax, dword [eax]
push eax
push 0xc
lea eax, [ebx + 8]
push eax
push 0
push str.Value
push str.DumpKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
inc edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00402a40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409810
mov eax, edi
call fcn.004bcf7e
ret 8

Function at 0x429e49
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x5e0], 1
mov dword [edi + 0x248], 0x1000
jne 0x429e91
push str.Force_Upload...
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
mov ecx, edi
mov esi, eax
call fcn.00429753
test esi, esi
je 0x429e8a
push 5
jmp 0x429e8c
push 0
push dword [edi + 4]
call ebx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x429f61
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x250], esi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi + 0x28]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a252
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x52fe80]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], edi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0x10
pop esi
push 0
push 0
push 0xf2
push dword [edi + 4]
mov ebx, eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
lea edi, [esp + 0x1c]
mov eax, 0x210
cmovne esi, eax
and dword [esp + 0x18], 0
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push 4
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [esp + 0x68]
push 0x104
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffffa
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
sub eax, 0x1e
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
push eax
call ebx
imul eax, eax, 0xe
mov esi, dword [esp + 0x1c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
sub eax, 0x18
push eax
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [eax + 0x24]
push esi
call edi
mov esi, eax
lea eax, [esp + 0x68]
push eax
call ebx
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call ebx
imul eax, eax, 0xe
mov ebx, dword [esp + 0x20]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
add eax, 0x14
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push ebx
call edi
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a70d
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4f0129
call fcn.004bcfcf
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.00406c40
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
add eax, 0xbc
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412410
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406d10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00402a40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
push 0x511078
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a40
xor eax, eax
call fcn.004bcf7e
ret 0x10

Function at 0x42a790
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4f015e
call fcn.004bcfcf
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.00406c40
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
add eax, 0xbc
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412410
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406d10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00402a40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
push 0x511078
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a40
xor eax, eax
call fcn.004bcf7e
ret 0x10

Function at 0x42a813
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0x224
mov eax, 0x4f018e
call fcn.004bcfcf
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x2e0], edi
je 0x42a8d1
mov dword [ebp - 0x21c], edi
lea ecx, [ebp - 0x230]
push edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
call fcn.00403c20
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42a87f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406d50
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x230]
call fcn.00407250
lea ecx, [esi + 0x2d0]
cmp dword [ecx + 0x14], 8
jb 0x42a89d
mov ecx, dword [ecx]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push edi
push ecx
push eax
push 0x511078
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402a40
xor eax, eax
call fcn.004bcf7e
ret 0x10
Function at 0x42add5
Capabilities:
Initialize winsock library

Disassembly:
push 0x1a4
mov eax, 0x4f0223
call fcn.004bcfcf
mov edi, ecx
lea esi, [edi + 0x1008]
mov dword [ebp - 0x1b0], edi
xor ebx, ebx
mov dword [ebp - 0x1a8], esi
push ecx
mov dword [ebp - 0x1ac], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0040b5b0
mov dword [esi], eax
test eax, eax
je 0x42ae1f
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
push 2
pop ecx
lea eax, [ebp - 0x1a4]
mov dword [ebp - 4], ecx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
or dword [edi], 0xffffffff
mov eax, 0x1f90
or dword [ebp - 4], 0xffffffff
mov word [edi + 0x1024], ax
mov eax, edi
mov dword [edi + 0x1020], ebx
call fcn.004bcf7e
ret