joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405bd9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x405d4c
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.004089fd
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x405d43
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x405d3a
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.00449330
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x405d3a
cmp dword [ebp - 0x70], edi
jne 0x405d2a
mov esi, 0x47b858
push esi
call fcn.004492a0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044a5e5
add esp, 0x10
test eax, eax
jne 0x405d04
mov dword [ebp - 0x6c], ebx
jmp 0x405d3a
cmp dword [ebp - 0x70], edi
jne 0x405d2a
push esi
call fcn.004492a0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044a5e5
add esp, 0x10
test eax, eax
je 0x405d2a
mov dword [ebp - 0x6c], 2
jmp 0x405d3a
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d93
add ebp, 0xa4
leave
ret
Function at 0x406021
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0x48
mov eax, 0x46d0c8
call fcn.0045199e
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edi, [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x49], bl
call fcn.00406255
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x406051
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4060fc
push 1
lea edi, [ebp - 0x2c]
call fcn.00406255
pop ecx
lea eax, [ebp - 0x48]
push eax
call fcn.0040670c
test al, al
pop ecx
jne 0x4060cf
mov eax, edi
push eax
call fcn.0040670c
test al, al
pop ecx
je 0x4060cf
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x4060a3
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4060af
lea eax, [ebp - 0x28]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4060cf
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4060c8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4060db
lea eax, [ebp - 0x28]
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
call esi
push ebx
push 1
lea esi, [ebp - 0x2c]
mov edi, eax
call fcn.00407256
cmp edi, 0xffffffff
je 0x40612f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x10
jb 0x406128
push ebx
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406128
cmp dword [ebp - 0x50], esi
jne 0x406128
mov byte [ebp - 0x49], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00407256
mov al, byte [ebp - 0x49]
call fcn.00451a21
ret 4
Function at 0x406149
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x46d0c8
call fcn.0045199e
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edi, [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x49], bl
call fcn.00406255
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x406179
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4061cd
push 1
lea edi, [ebp - 0x2c]
call fcn.00406255
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x4061ac
lea eax, [ebp - 0x28]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call esi
push ebx
push 1
lea esi, [ebp - 0x2c]
mov edi, eax
call fcn.00407256
cmp edi, 0xffffffff
je 0x4061f3
push ebx
lea eax, [ebp - 0x50]
push eax
push 0x10
push dword [ebp - 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4061ec
cmp dword [ebp - 0x50], 0x10
jne 0x4061ec
mov byte [ebp - 0x49], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00407256
mov al, byte [ebp - 0x49]
call fcn.00451a21
ret 4

Function at 0x406255
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x230
mov eax, 0x46d08d
call fcn.0045199e
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [ebp - 0x220], edi
mov word [edi + 4], bx
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push ebx
mov dword [ebp - 4], ebx
inc esi
push eax
mov dword [ebp - 0x21c], esi
call fcn.00449330
mov al, byte [ebp + 8]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x406326
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
call fcn.00406876
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push ebx
mov esi, edi
call fcn.00407bd7
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.00407256
cmp byte [ebp + 8], bl
je 0x4062fe
push str.TencentDeskUpdate
jmp 0x406303
push str.TencentDesktop
push edi
call fcn.004068cb
mov ecx, edi
call fcn.0040632e
test al, al
jne 0x40631b
mov ecx, edi
call fcn.004063fc
push str.Global.db
push edi
call fcn.004068cb
mov eax, edi
call fcn.00451a21
ret
Function at 0x409d3c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x214]
push edx
push 0x2001f
mov eax, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x409e59
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x409daa
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x409e59
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
jmp 0x409e1d
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00409d3c
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x409e7c
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
je 0x409de2
cmp dword [ebp - 0x210], esi
je 0x409e43
push dword [ebp - 0x210]
call ebx
mov dword [ebp - 0x210], esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x210], esi
je 0x409e69
push dword [ebp - 0x210]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d93
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x409e8c
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x409e6b

Function at 0x409ec3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00449330
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x409f17
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x409f25
cmp dword [ebp - 0x7c], 6
jne 0x409f25
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x409f27
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.00448d93
add ebp, 0xa0
leave
ret
Function at 0x409f3d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
xor esi, esi
cmp edi, esi
je 0x409fdc
lea ecx, [ebp - 0x7c]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409fdc
cmp dword [ebp - 0x7c], esi
je 0x409fdc
push 0x20a
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.00449330
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push ebx
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x20b
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409fcf
push 0x103
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.0044cbc8
add esp, 0xc
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x409fde
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.00448d93
add ebp, 0x198
leave
ret

Function at 0x409ff4
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test byte [0x492b58], 1
mov dword [ebp - 0x214], esi
jne 0x40a040
mov eax, dword [0x491894]
or dword [0x492b58], 1
mov ecx, 0x491894
call dword [eax + 0xc]
add eax, 0x10
push 0x46e3fa
mov dword [0x492b40], eax
call fcn.00448fb6
pop ecx
mov eax, dword [0x492b40]
cmp dword [eax - 0xc], esi
jne 0x40a0c4
push edi
push 0x20a
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.00449330
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
mov edi, 0x492b40
push edi
call fcn.004015d9
mov eax, dword [0x492b40]
cmp dword [eax - 0xc], esi
jle 0x40a0c3
call fcn.00409e94
push 0x47ba88
push edi
call fcn.00401a16
push dword [0x492b40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a0c3
push esi
push dword [0x492b40]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
pop edi
mov eax, dword [0x492b40]
add eax, 0xfffffff0
call fcn.0040166c
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ebx], eax
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.00448d93
leave
ret
Function at 0x40dd85
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40dd98
push 0x80004005
call fcn.004019be
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40dd9f
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x413681
Capabilities:
Create process on windows

Disassembly:
sub eax, 0x3ef
push ebx
push esi
push edi
push 1
mov esi, ecx
pop edi
je 0x4137a6
dec eax
je 0x41379f
sub eax, 7
je 0x41374a
dec eax
je 0x4136cb
sub eax, 4
jne 0x4137df
push edi
xor ebx, ebx
push ebx
push ebx
push str.http:__browser.qq.com_license.html
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4137df
push 8
lea eax, [esi + 0x30]
call fcn.00423487
xor ebx, ebx
push ebx
lea eax, [esi + 0x114]
call fcn.00423487
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xd8
push 0x10
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
lea eax, [esi + 0x84]
push ebx
call fcn.00423419
push 0xc3c3c3
push 0xa
lea eax, [esi + 0x84]
call fcn.00422d9d
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0xd69
jmp 0x4137d1
push 8
lea eax, [esi + 0x30]
call fcn.00423487
xor ebx, ebx
push ebx
lea eax, [esi + 0xcc]
call fcn.00423487
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xd8
push 0x10
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0xd6c
jmp 0x4137d1
call fcn.00413cd5
jmp 0x4137df
xor ebx, ebx
cmp byte [esi + 0x2c], bl
je 0x4137da
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4137df
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0xd62
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4137df
call fcn.00413ca7
mov eax, dword [esp + 0x10]
mov dword [eax], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x41494a
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push str.RT_RCDATA
xor esi, esi
push 0x69
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x41497f
xor eax, eax
jmp 0x4149cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x41497b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x41497b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x4149c8
push esi
push 0x80
push 2
push esi
push 1
push 0x10000000
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4149d9
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00448d93
leave
ret
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4149f8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4149ca
xor esi, esi
inc esi
jmp 0x4149ed

Function at 0x4149fd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x46b95a
call fcn.00451935
xor edi, edi
push 0x208
mov dword [ebp - 4], edi
lea eax, [ebp + 2]
mov esi, ecx
push edi
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0x14], esi
mov word [ebp], di
call fcn.00449330
add esp, 0xc
mov ecx, 0x491894
call fcn.004014cf
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
push 0x15
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x414a73
lea eax, [ebp]
push eax
push esi
call fcn.004015d9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00448d93
add ebp, 0x210
leave
ret
Function at 0x414a98
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.00466880
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0xf9c
lea eax, [ebp - 0x1204]
push ebx
push eax
mov dword [ebp - 0x1208], ebx
call fcn.00449330
add esp, 0xc
push 0x206
lea eax, [ebp - 0x256]
push ebx
push eax
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x258], bx
call fcn.00449330
add esp, 0xc
push 0x40
lea eax, [ebp - 0x4e]
push ebx
push eax
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x50], bx
call fcn.00449330
xor eax, eax
add esp, 0xc
cmp eax, str.071132e14ea664c6eaedb1417e589b86
je 0x414c2a
lea eax, [ebp - 0x260]
push eax
push 0xfa0
lea eax, [ebp - 0x1208]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x414c2a
mov eax, dword [ebp - 0x260]
cmp eax, ebx
je 0x414c2a
shr eax, 2
mov dword [ebp - 0x268], eax
mov eax, ebx
mov dword [ebp - 0x264], eax
je 0x414c2a
push dword [ebp + eax*4 - 0x1208]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x414c11
push 0x208
lea eax, [ebp - 0x258]
push ebx
push eax
mov dword [ebp - 0x25c], ebx
call fcn.00449330
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push 4
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x414c0a
push 0x104
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x414c0a
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x258]
push eax
call fcn.00448d7d
pop ecx
push eax
lea esi, [ebp - 0x50]
lea ecx, [ebp - 0x258]
call fcn.00446e30
test al, al
pop ecx
je 0x414c0a
push str.071132e14ea664c6eaedb1417e589b86
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x414c3b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x264]
inc eax
cmp eax, dword [ebp - 0x268]
mov dword [ebp - 0x264], eax
jb 0x414b5c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d93
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x414c2c
Function at 0x415409
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 8], 0
push ebx
push edi
xor eax, eax
and dword [ebp - 0x10], eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004495c0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 8]
mov ebx, 0x3ec
sub eax, ebx
je 0x41547b
sub eax, 3
je 0x415470
dec eax
dec eax
jne 0x4154f9
mov ecx, esi
call fcn.004171b5
jmp 0x4154f9
push 0
mov edi, esi
call fcn.00415fd8
jmp 0x4154f9
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x4154c8
push 1
call edi
and ax, 0xff00
cmp ax, 0xff00
je 0x4154c8
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4154d4
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp dword [esi + 0xf8], 0
je 0x4154f9
push 1
call edi
and ax, 0xff00
cmp ax, 0xff00
mov eax, esi
je 0x4154f4
call fcn.00416e28
jmp 0x4154f9
call fcn.00416dc2
mov eax, dword [ebp + 0xc]
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret 8
Function at 0x4159c8
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
mov eax, dword [ebp + 0x7d4]
push ebx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x34]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x4159fc
lea ecx, [eax + 0x20]
jmp 0x4159fe
xor ecx, ecx
cmp ecx, ebx
je 0x415a08
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
xor edi, edi
inc edi
cmp dword [ebp + 0x7d0], ebx
mov dword [esi + 0xf4], edi
jne 0x415a90
push 0x802
lea eax, [ebp - 0x3e]
push ebx
push eax
mov word [ebp - 0x40], bx
call fcn.00449330
push str.SoftwareTencentQQBrowser
lea edi, [ebp - 0x40]
mov ebx, 0x480e54
call fcn.00409f3d
add esp, 0x10
test eax, eax
je 0x415a79
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00449330
mov eax, edi
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x40
mov dword [ebp - 0x64], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
push 0
push 0xd63
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
inc edi
jmp 0x415adf
cmp dword [ebp + 0x7d0], edi
jne 0x415aaa
push ebx
push ebx
push 0xd63
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x415adf
cmp dword [ebp + 0x7d0], 2
jne 0x415adf
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x415adf
push 0x105
push ebx
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x20]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
lea ecx, [esi + 0x20]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x7c4]
mov dword [eax], edi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00448d93
add ebp, 0x7c8
leave
ret 8
Function at 0x416cd1
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x2c
mov eax, 0x46e028
call fcn.00451935
lea ecx, [ebp - 0x14]
call fcn.004149fd
lea ecx, [ebp - 0x10]
push str.dr.dll
push ecx
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004039d1
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004019a6
push dword [ebp - 0x10]
call fcn.0041494a
cmp eax, esi
pop ecx
jne 0x416d38
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416d38
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004019a6
mov eax, esi
call fcn.00451a0d
ret
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
call fcn.00406876
mov byte [ebp - 4], 3
call fcn.0046a850
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.0046aa60
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.00407256
cmp byte [0x492707], bl
mov esi, dword [0x4927d8]
setne al
mov byte [0x4927ea], al
call fcn.0046a850
push 0x4927cc
mov dword [eax], 0x7e2
mov dword [eax + 4], ebx
mov dword [eax + 0x10], esi
call fcn.0046a850
mov edi, eax
call fcn.00417f66
cmp dword [ebp - 0x18], ebx
je 0x416db1
call fcn.0046a850
mov edi, eax
call fcn.0046a9f0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
jmp 0x416d25