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

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x48e600]
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 0x405c93
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.00408944
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 0x405c8a
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 0x405c81
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.00448f20
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 0x405c81
cmp dword [ebp - 0x70], edi
jne 0x405c71
mov esi, 0x47b858
push esi
call fcn.00448e90
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044a1d5
add esp, 0x10
test eax, eax
jne 0x405c4b
mov dword [ebp - 0x6c], ebx
jmp 0x405c81
cmp dword [ebp - 0x70], edi
jne 0x405c71
push esi
call fcn.00448e90
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044a1d5
add esp, 0x10
test eax, eax
je 0x405c71
mov dword [ebp - 0x6c], 2
jmp 0x405c81
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.00448983
add ebp, 0xa4
leave
ret
Function at 0x405f68
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0x48
mov eax, 0x46cc18
call fcn.0045157e
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.0040619c
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x405f98
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 0x406043
push 1
lea edi, [ebp - 0x2c]
call fcn.0040619c
pop ecx
lea eax, [ebp - 0x48]
push eax
call fcn.00406653
test al, al
pop ecx
jne 0x406016
mov eax, edi
push eax
call fcn.00406653
test al, al
pop ecx
je 0x406016
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x405fea
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x405ff6
lea eax, [ebp - 0x28]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x406016
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40600f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x406022
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.0040719d
cmp edi, 0xffffffff
je 0x406076
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x10
jb 0x40606f
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 0x40606f
cmp dword [ebp - 0x50], esi
jne 0x40606f
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.0040719d
mov al, byte [ebp - 0x49]
call fcn.00451601
ret 4
Function at 0x406090
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x46cc18
call fcn.0045157e
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.0040619c
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x4060c0
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 0x406114
push 1
lea edi, [ebp - 0x2c]
call fcn.0040619c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x4060f3
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.0040719d
cmp edi, 0xffffffff
je 0x40613a
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 0x406133
cmp dword [ebp - 0x50], 0x10
jne 0x406133
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.0040719d
mov al, byte [ebp - 0x49]
call fcn.00451601
ret 4

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

Disassembly:
push 0x230
mov eax, 0x46cbdd
call fcn.0045157e
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.00448f20
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 0x40626d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
call fcn.004067bd
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push ebx
mov esi, edi
call fcn.00407b1e
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.0040719d
cmp byte [ebp + 8], bl
je 0x406245
push str.TencentDeskUpdate
jmp 0x40624a
push str.TencentDesktop
push edi
call fcn.00406812
mov ecx, edi
call fcn.00406275
test al, al
jne 0x406262
mov ecx, edi
call fcn.00406343
push str.Global.db
push edi
call fcn.00406812
mov eax, edi
call fcn.00451601
ret
Function at 0x409c7f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x48e600]
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 0x409d9c
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x409ced
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x409d9c
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 0x409d60
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00409c7f
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x409dbf
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 0x409d25
cmp dword [ebp - 0x210], esi
je 0x409d86
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 0x409dac
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.00448983
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x409dcf
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x409dae

Function at 0x409e06
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x48e600]
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.00448f20
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 0x409e5a
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x409e68
cmp dword [ebp - 0x7c], 6
jne 0x409e68
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x409e6a
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.00448983
add ebp, 0xa0
leave
ret
Function at 0x409e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor esi, esi
cmp edi, esi
je 0x409f21
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
push str.SoftwareTencentQQBrowser
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409f21
cmp dword [ebp - 0x7c], esi
je 0x409f21
push 0x20a
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.00448f20
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x480e04
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x20b
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409f14
push 0x103
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.0044c7b8
add esp, 0xc
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x409f23
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.00448983
add ebp, 0x198
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test byte [0x492b58], 1
mov dword [ebp - 0x214], esi
jne 0x409f85
mov eax, dword [0x491894]
or dword [0x492b58], 1
mov ecx, 0x491894
call dword [eax + 0xc]
add eax, 0x10
push 0x46df8a
mov dword [0x492b40], eax
call fcn.00448ba6
pop ecx
mov eax, dword [0x492b40]
cmp dword [eax - 0xc], esi
jne 0x40a009
push edi
push 0x20a
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.00448f20
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.0040152b
mov eax, dword [0x492b40]
cmp dword [eax - 0xc], esi
jle 0x40a008
call fcn.00409dd7
push 0x47ba80
push edi
call fcn.0040195d
push dword [0x492b40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a008
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.004015be
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ebx], eax
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.00448983
leave
ret
Function at 0x40dcb7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40dcca
push 0x80004005
call fcn.00401905
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 0x40dcd1
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 0x413588
Capabilities:
Create process on windows

Disassembly:
sub eax, 0x3ef
push ebx
push esi
push edi
push 1
mov esi, ecx
pop edi
je 0x4136ad
dec eax
je 0x4136a6
sub eax, 7
je 0x413651
dec eax
je 0x4135d2
sub eax, 4
jne 0x4136e6
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 0x4136e6
push 8
lea eax, [esi + 0x30]
call fcn.00423379
xor ebx, ebx
push ebx
lea eax, [esi + 0x114]
call fcn.00423379
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.0042330b
push 0xc3c3c3
push 0xa
lea eax, [esi + 0x84]
call fcn.00422c8f
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 0x4136d8
push 8
lea eax, [esi + 0x30]
call fcn.00423379
xor ebx, ebx
push ebx
lea eax, [esi + 0xcc]
call fcn.00423379
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 0x4136d8
call fcn.00413bdc
jmp 0x4136e6
xor ebx, ebx
cmp byte [esi + 0x2c], bl
je 0x4136e1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4136e6
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 0x4136e6
call fcn.00413bae
mov eax, dword [esp + 0x10]
mov dword [eax], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x414851
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48e600]
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 0x414886
xor eax, eax
jmp 0x4148d2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x414882
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x414882
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x4148cf
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 0x4148e0
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00448983
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 0x4148ff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4148d1
xor esi, esi
inc esi
jmp 0x4148f4
Function at 0x414904
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.00466460
mov eax, dword [0x48e600]
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.00448f20
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.00448f20
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.00448f20
xor eax, eax
add esp, 0xc
cmp eax, str.071132e14ea664c6eaedb1417e589b86
je 0x414a96
lea eax, [ebp - 0x260]
push eax
push 0xfa0
lea eax, [ebp - 0x1208]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x414a96
mov eax, dword [ebp - 0x260]
cmp eax, ebx
je 0x414a96
shr eax, 2
mov dword [ebp - 0x268], eax
mov eax, ebx
mov dword [ebp - 0x264], eax
je 0x414a96
push dword [ebp + eax*4 - 0x1208]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x414a7d
push 0x208
lea eax, [ebp - 0x258]
push ebx
push eax
mov dword [ebp - 0x25c], ebx
call fcn.00448f20
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 0x414a76
push 0x104
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x414a76
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x258]
push eax
call fcn.0044896d
pop ecx
push eax
lea esi, [ebp - 0x50]
lea ecx, [ebp - 0x258]
call fcn.00446a20
test al, al
pop ecx
je 0x414a76
push str.071132e14ea664c6eaedb1417e589b86
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x414aa7
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 0x4149c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448983
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x414a98
Function at 0x415261
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.004491b0
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 0x4152d3
sub eax, 3
je 0x4152c8
dec eax
dec eax
jne 0x415351
mov ecx, esi
call fcn.00416f35
jmp 0x415351
push 0
mov edi, esi
call fcn.00415dfa
jmp 0x415351
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 0x415320
push 1
call edi
and ax, 0xff00
cmp ax, 0xff00
je 0x415320
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x41532c
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp dword [esi + 0xf8], 0
je 0x415351
push 1
call edi
and ax, 0xff00
cmp ax, 0xff00
mov eax, esi
je 0x41534c
call fcn.00416ba8
jmp 0x415351
call fcn.00416b42
mov eax, dword [ebp + 0xc]
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret 8
Function at 0x415803
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x48e600]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
mov eax, dword [ebp + 0x7d4]
push ebx
push edi
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x34]
xor edi, edi
cmp eax, edi
je 0x415837
add eax, 0x20
jmp 0x415839
xor eax, eax
cmp eax, edi
je 0x415845
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 4]
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x7d0], edi
mov dword [esi + 0xf4], ebx
jne 0x4158b2
push 0x802
lea eax, [ebp - 0x3e]
push edi
push eax
mov word [ebp - 0x40], di
call fcn.00448f20
add esp, 0xc
lea edi, [ebp - 0x40]
call fcn.00409e80
test eax, eax
je 0x4158ac
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00448f20
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
jmp 0x4158bc
cmp dword [ebp + 0x7d0], ebx
jne 0x4158cc
push edi
push edi
push 0xd63
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x415901
cmp dword [ebp + 0x7d0], 2
jne 0x415901
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x415901
push 0x105
push edi
push edi
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 ebx
call dword [eax + 4]
lea ecx, [esi + 0x20]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x7c4]
mov dword [eax], ebx
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00448983
add ebp, 0x7c8
leave
ret 8
Function at 0x416a51
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x2c
mov eax, 0x46db78
call fcn.00451515
lea ecx, [ebp - 0x14]
call fcn.0041b1e7
lea ecx, [ebp - 0x10]
push str.dr.dll
push ecx
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00403918
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004018ed
push dword [ebp - 0x10]
call fcn.00414851
cmp eax, esi
pop ecx
jne 0x416ab8
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416ab8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004018ed
mov eax, esi
call fcn.004515ed
ret
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
call fcn.004067bd
mov byte [ebp - 4], 3
call fcn.0046a320
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.0046a530
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0040719d
cmp byte [0x492707], bl
mov esi, dword [0x4927d8]
setne al
mov byte [0x4927ea], al
call fcn.0046a320
push 0x4927cc
mov dword [eax], 0x7e2
mov dword [eax + 4], ebx
mov dword [eax + 0x10], esi
call fcn.0046a320
mov edi, eax
call fcn.00417c85
cmp dword [ebp - 0x18], ebx
je 0x416b31
call fcn.0046a320
mov edi, eax
call fcn.0046a4c0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
jmp 0x416aa5