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

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x48f600]
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 0x405d1c
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.004089ca
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 0x405d13
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 0x405d0a
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.0044a1a0
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 0x405d0a
cmp dword [ebp - 0x70], edi
jne 0x405cfa
mov esi, 0x47c878
push esi
call fcn.0044a110
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044b01b
add esp, 0x10
test eax, eax
jne 0x405cd4
mov dword [ebp - 0x6c], ebx
jmp 0x405d0a
cmp dword [ebp - 0x70], edi
jne 0x405cfa
push esi
call fcn.0044a110
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044b01b
add esp, 0x10
test eax, eax
je 0x405cfa
mov dword [ebp - 0x6c], 2
jmp 0x405d0a
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.00449d43
add ebp, 0xa4
leave
ret
Function at 0x405ff1
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0x48
mov eax, 0x46e188
call fcn.00452180
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.00406225
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x406021
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 0x4060cc
push 1
lea edi, [ebp - 0x2c]
call fcn.00406225
pop ecx
lea eax, [ebp - 0x48]
push eax
call fcn.004066dc
test al, al
pop ecx
jne 0x40609f
mov eax, edi
push eax
call fcn.004066dc
test al, al
pop ecx
je 0x40609f
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x406073
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40607f
lea eax, [ebp - 0x28]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40609f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x406098
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4060ab
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.00407226
cmp edi, 0xffffffff
je 0x4060ff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x10
jb 0x4060f8
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 0x4060f8
cmp dword [ebp - 0x50], esi
jne 0x4060f8
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.00407226
mov al, byte [ebp - 0x49]
call fcn.00452203
ret 4
Function at 0x406119
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x46e188
call fcn.00452180
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.00406225
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x406149
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 0x40619d
push 1
lea edi, [ebp - 0x2c]
call fcn.00406225
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x40617c
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.00407226
cmp edi, 0xffffffff
je 0x4061c3
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 0x4061bc
cmp dword [ebp - 0x50], 0x10
jne 0x4061bc
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.00407226
mov al, byte [ebp - 0x49]
call fcn.00452203
ret 4

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

Disassembly:
push 0x230
mov eax, 0x46e14d
call fcn.00452180
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.0044a1a0
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 0x4062f6
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
call fcn.00406846
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push ebx
mov esi, edi
call fcn.00407ba7
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.00407226
cmp byte [ebp + 8], bl
je 0x4062ce
push str.TencentDeskUpdate
jmp 0x4062d3
push str.TencentDesktop
push edi
call fcn.0040689b
mov ecx, edi
call fcn.004062fe
test al, al
jne 0x4062eb
mov ecx, edi
call fcn.004063cc
push str.Global.db
push edi
call fcn.0040689b
mov eax, edi
call fcn.00452203
ret
Function at 0x409d65
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x48f600]
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 0x409e82
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x409dd3
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x409e82
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 0x409e46
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00409d65
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x409ea5
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 0x409e0b
cmp dword [ebp - 0x210], esi
je 0x409e6c
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 0x409e92
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.00449d43
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x409eb5
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x409e94

Function at 0x409eec
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x48f600]
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.0044a1a0
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 0x409f40
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x409f4e
cmp dword [ebp - 0x7c], 6
jne 0x409f4e
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x409f50
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.00449d43
add ebp, 0xa0
leave
ret
Function at 0x409f66
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48f600]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
xor esi, esi
cmp edi, esi
je 0x40a005
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 0x40a005
cmp dword [ebp - 0x7c], esi
je 0x40a005
push 0x20a
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.0044a1a0
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 0x409ff8
push 0x103
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.0044db3f
add esp, 0xc
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x40a007
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.00449d43
add ebp, 0x198
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48f600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test byte [0x493c48], 1
mov dword [ebp - 0x214], esi
jne 0x40a069
mov eax, dword [0x492934]
or dword [0x493c48], 1
mov ecx, 0x492934
call dword [eax + 0xc]
add eax, 0x10
push 0x46f7da
mov dword [0x493c30], eax
call fcn.00449f66
pop ecx
mov eax, dword [0x493c30]
cmp dword [eax - 0xc], esi
jne 0x40a0ed
push edi
push 0x20a
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.0044a1a0
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, 0x493c30
push edi
call fcn.004015b4
mov eax, dword [0x493c30]
cmp dword [eax - 0xc], esi
jle 0x40a0ec
call fcn.00409ebd
push 0x47caa8
push edi
call fcn.004019e6
push dword [0x493c30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a0ec
push esi
push dword [0x493c30]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
pop edi
mov eax, dword [0x493c30]
add eax, 0xfffffff0
call fcn.00401647
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ebx], eax
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.00449d43
leave
ret
Function at 0x40ddee
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40de01
push 0x80004005
call fcn.0040198e
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 0x40de08
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 0x413904
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [esp + 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x1f4], 0
je 0x4139f4
mov dword [esp + 0x10], 1
mov esi, dword [ebx + 0x1f4]
mov ecx, dword [esi + 8]
add esi, 4
test ecx, ecx
je 0x4139f4
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4139f4
call fcn.00414357
mov esi, dword [ebx + 0x1f4]
add esi, 4
xor edi, edi
mov dword [esp + 0x14], eax
call fcn.00414357
mov ecx, dword [esp + 0x14]
push dword [ecx]
push dword [eax]
call fcn.0041311d
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4139eb
push 0x28
call fcn.0044b6ac
test eax, eax
pop ecx
je 0x4139a1
call fcn.004297a6
mov esi, eax
jmp 0x4139a3
xor esi, esi
test esi, esi
mov dword [esp + 0x14], esi
je 0x4139e3
push dword [ebx + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
push 0
push edi
push edi
mov ecx, esi
call dword [eax + 0x38]
mov eax, dword [esi]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
mov ecx, esi
call dword [eax + 0x1c]
lea esi, [ebx + 0x1e4]
lea ebx, [esp + 0x14]
call fcn.00414376
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
inc dword [esp + 0x10]
jmp 0x413936
push 0x34
call fcn.0044b6ac
test eax, eax
pop ecx
je 0x413a09
mov edi, eax
call fcn.00429eed
jmp 0x413a0b
xor eax, eax
test eax, eax
mov dword [ebx + 0x78], eax
je 0x413a65
push dword [ebx + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
xor esi, esi
inc esi
push esi
push 0x481b58
call dword [eax + 0x38]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
push esi
push 0
push 0
push 9
push 0x4812e8
call dword [eax + 0x3c]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx]
push esi
mov eax, 0x494949
push eax
push eax
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xd8
push 0xf
call dword [eax + 0x1c]
push 0x30
call fcn.0044b6ac
mov esi, eax
test esi, esi
pop ecx
je 0x413a8e
call fcn.004295ee
xor eax, eax
mov dword [esi], vtable.CVirProgress.0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
jmp 0x413a90
xor esi, esi
test esi, esi
mov dword [ebx + 0x7c], esi
je 0x413ad8
push dword [ebx + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ecx]
push 1
push 0xc5
push 0xc4
call dword [eax + 0x38]
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ecx]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xbd
push 0xf
call dword [eax + 0x1c]
mov ebx, dword [ebx + 0x7c]
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414dbe
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48f600]
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 0x414df3
xor eax, eax
jmp 0x414e3f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x414def
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x414def
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x414e3c
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 0x414e4d
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449d43
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 0x414e6c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x414e3e
xor esi, esi
inc esi
jmp 0x414e61
Function at 0x414f3c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.00467460
mov eax, dword [0x48f600]
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.0044a1a0
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.0044a1a0
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.0044a1a0
xor eax, eax
add esp, 0xc
cmp eax, str.071132e14ea664c6eaedb1417e589b86
je 0x4150ce
lea eax, [ebp - 0x260]
push eax
push 0xfa0
lea eax, [ebp - 0x1208]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4150ce
mov eax, dword [ebp - 0x260]
cmp eax, ebx
je 0x4150ce
shr eax, 2
mov dword [ebp - 0x268], eax
mov eax, ebx
mov dword [ebp - 0x264], eax
je 0x4150ce
push dword [ebp + eax*4 - 0x1208]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x4150b5
push 0x208
lea eax, [ebp - 0x258]
push ebx
push eax
mov dword [ebp - 0x25c], ebx
call fcn.0044a1a0
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 0x4150ae
push 0x104
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x4150ae
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x258]
push eax
call fcn.00449d2d
pop ecx
push eax
lea esi, [ebp - 0x50]
lea ecx, [ebp - 0x258]
call fcn.00447de0
test al, al
pop ecx
je 0x4150ae
push str.071132e14ea664c6eaedb1417e589b86
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4150df
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 0x415000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449d43
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x4150d0
Function at 0x415634
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
push 0xe8
mov eax, 0x46edc4
call fcn.00452180
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov dword [0x493880], 0x7e6
mov byte [0x49386c], 0xc8
mov dword [ebp - 0x80], 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x47cae8
lea eax, [ebp - 0xbc]
call fcn.00406846
push eax
xor ebx, ebx
push 0x481c48
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], ebx
call fcn.00406846
push eax
push 0x481c4c
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.00406846
push eax
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x84], esp
push esi
mov byte [ebp - 4], 2
call fcn.00406846
lea ecx, [ebp - 0x78]
call fcn.0040a55d
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.00407226
push ebx
push edi
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00407226
push ebx
push edi
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.00407226
push 0x481c54
lea eax, [ebp - 0xa0]
call fcn.00406846
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.00418456
push ebx
push edi
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00407226
cmp dword [ebp - 0x80], edi
mov ecx, dword [ebp - 0x7c]
jne 0x41574c
mov byte [0x4937a5], bl
xor eax, eax
jmp 0x415755
mov byte [0x4937a5], 1
mov eax, edi
call fcn.0041543d
call fcn.00414f3c
dec eax
neg eax
sbb al, al
push ebx
inc al
push ebx
mov byte [0x4937a7], al
mov eax, dword [ebp - 0x7c]
push 0xd60
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040a667
call fcn.00452203
ret 4
Function at 0x4158fb
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.0044a360
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 0x41596d
sub eax, 3
je 0x415962
dec eax
dec eax
jne 0x4159eb
mov ecx, esi
call fcn.0041772c
jmp 0x4159eb
push 0
mov edi, esi
call fcn.004163f5
jmp 0x4159eb
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 0x4159ba
push 1
call edi
and ax, 0xff00
cmp ax, 0xff00
je 0x4159ba
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4159c6
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp dword [esi + 0xf8], 0
je 0x4159eb
push 1
call edi
and ax, 0xff00
cmp ax, 0xff00
mov eax, esi
je 0x4159e6
call fcn.00417354
jmp 0x4159eb
call fcn.004172ee
mov eax, dword [ebp + 0xc]
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret 8
Function at 0x4171fd
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x2c
mov eax, 0x46f0e8
call fcn.00452117
lea ecx, [ebp - 0x14]
call fcn.00414e71
lea ecx, [ebp - 0x10]
push str.dr.dll
push ecx
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004039a1
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401976
push dword [ebp - 0x10]
call fcn.00414dbe
cmp eax, esi
pop ecx
jne 0x417264
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417264
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401976
mov eax, esi
call fcn.004521ef
ret
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
call fcn.00406846
mov byte [ebp - 4], 3
call fcn.0046b930
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.0046bb40
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.00407226
cmp byte [0x4937a7], bl
mov esi, dword [0x493878]
setne al
mov byte [0x49388a], al
call fcn.0046b930
push 0x49386c
mov dword [eax], 0x7e6
mov dword [eax + 4], ebx
mov dword [eax + 0x10], esi
call fcn.0046b930
mov edi, eax
call fcn.00418585
cmp dword [ebp - 0x18], ebx
je 0x4172dd
call fcn.0046b930
mov edi, eax
call fcn.0046bad0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
jmp 0x417251