joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bc00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x46bc18
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sar ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46bc70
mov eax, 1
jmp 0x46bc72
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x46bc80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46bcbf
mov eax, 1
jmp 0x46bcc1
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x46bcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46bd08
mov eax, 1
jmp 0x46bd0a
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46c230
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46c251
xor eax, eax
jmp 0x46c281
mov edx, dword [ebp - 4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46c27f
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov eax, dword [ebp - 8]
jmp 0x46c281
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x46c930
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x400
lea eax, [ebp - 4]
push eax
push 0x5c5c08
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ecx, 2
imul eax, ecx, 0
add eax, 0x5c5c08
mov esp, ebp
pop ebp
ret
Function at 0x46c9f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x596e3c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
add ecx, dword [ebp - 8]
and ecx, 0xffff
mov word [ebp - 4], cx
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x46cbd0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c3be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x818
mov eax, dword [0x5c6408]
and eax, 1
jne 0x46cc2c
mov ecx, dword [0x5c6408]
or ecx, 1
mov dword [0x5c6408], ecx
mov dword [ebp - 4], 0
mov ecx, 0x5c640c
call fcn.00407e90
push 0x562170
call fcn.00518d07
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5c640c
call fcn.00404120
movzx edx, al
test edx, edx
je 0x46cd41
xor eax, eax
mov word [ebp - 0x824], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x822]
push ecx
call fcn.00516d90
add esp, 0xc
lea edx, [ebp - 0x824]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0046caa0
add esp, 8
test eax, eax
jne 0x46ccb3
movzx edx, word [ebp - 0x18]
push edx
movzx eax, word [ebp - 0x14]
push eax
call fcn.0046c9f0
movzx ecx, ax
push ecx
call fcn.0046c960
movzx edx, ax
push edx
call fcn.0046c930
push eax
push str._s_d_d_d_d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x46ccdd
call fcn.0046c9f0
movzx ecx, ax
push ecx
call fcn.0046c960
movzx edx, ax
push edx
call fcn.0046c930
push eax
push str._s_d_d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov dword [ebp - 0x1c], 0x1505
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], 0
je 0x46cd13
mov edx, dword [ebp - 0x1c]
shl edx, 5
add edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
jmp 0x46cce4
movzx eax, word [ebp - 0x18]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._ld__d__d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x5c640c
call fcn.00407ff0
mov ecx, 0x5c640c
call fcn.00408050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46cd60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
call fcn.00404210
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x2d4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408050
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x46cec4
mov ecx, dword [ebp - 0x2d4]
and ecx, 0x10
je 0x46ce09
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x84]
call fcn.00404180
mov byte [ebp - 4], 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042ef70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.004041c0
jmp 0x46ce9f
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00404180
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0045e1e0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.004041c0
push 0x596e5c
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00414890
add esp, 8
movzx edx, al
test edx, edx
jne 0x46ce68
push 0x596e40
lea eax, [ebp - 0x3c]
push eax
call fcn.00414890
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46ce93
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00404180
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042ef70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.004041c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004041c0
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46cdc5
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x46ceed
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0045e890
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0042f090
mov eax, dword [ebp + 8]
jmp 0x46cf14
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.0045e890
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0042f090
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46d7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c50b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xc8]
call fcn.0046d740
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x70]
call fcn.00407ff0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x46d936
xor edx, edx
mov word [ebp - 0x6e0], dx
push 0x616
push 0
lea eax, [ebp - 0x6de]
push eax
call fcn.00516d90
add esp, 0xc
mov dword [ebp - 0x10], 0x30c
mov dword [ebp - 0x10], 0x30c
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x6e0]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.UninstallString
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x46d8a6
lea edx, [ebp - 0x6e0]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00407ff0
mov dword [ebp - 0x10], 0x30c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x6e0]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.DisplayIcon
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x46d8ee
lea ecx, [ebp - 0x6e0]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00407ff0
mov dword [ebp - 0x10], 0x30c
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x596eac
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x46d936
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00407ff0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0046d980
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00438360
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46ddd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb1c
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46de17
mov eax, dword [ebp - 0x10]
jmp 0x46dfbe
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46de50
mov eax, dword [ebp - 0x10]
jmp 0x46dfbe
cmp dword [ebp - 0x1c], 0
jbe 0x46dfa3
mov dword [ebp - 0x18], 0
jmp 0x46de6c
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jae 0x46dfa1
mov dword [ebp - 0x24], 0x208
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xb28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46df8d
xor eax, eax
mov word [ebp - 0x718], ax
push 0x616
push 0
lea ecx, [ebp - 0x716]
push ecx
call fcn.00516d90
add esp, 0xc
lea edx, [ebp - 0xb28]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x596f38
lea ecx, [ebp - 0x718]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x718]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x100]
push ecx
call fcn.0046d7d0
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp - 0xac], 0
jne 0x46df79
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0xc4]
push edx
call fcn.00407e30
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0046dab0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x90]
call fcn.00407ec0
lea ecx, [ebp - 0x54]
call fcn.004041c0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0046e290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.00438360
jmp 0x46df9c
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x46dfbe
jmp 0x46de63
jmp 0x46dfb2
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x46dfbe
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46fa30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46facd
xor ecx, ecx
mov word [ebp - 0x62c], cx
push 0x616
push 0
lea edx, [ebp - 0x62a]
push edx
call fcn.00516d90
add esp, 0xc
mov dword [ebp - 0xc], 0x30c
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.DisplayName
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46facd
lea ecx, [ebp - 0x62c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404180
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x46fae1
mov ecx, dword [ebp + 8]
call fcn.00407e90
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x470e60
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x258
mov dword [ebp + 0x74], ecx
mov dword [ebp - 0x1e0], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp + 0x70], eax
cmp dword [ebp + 0x70], 0xffffffff
jne 0x470e90
jmp 0x471059
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x470eb4
mov edx, dword [ebp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x471059
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x68]
call fcn.00406410
mov cl, byte [ebp + 0x6f]
mov byte [ebp + 0x6e], cl
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
mov dword [edx + 4], ecx
push str.360se.exe
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x470eff
push str.360tray.exe
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x470f17
mov dword [ebp + 0x5c], 0
lea ecx, [ebp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x74]
call fcn.00471060
jmp 0x471036
push str.HipsTray.exe
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x470f45
mov dword [ebp + 0x64], 3
lea eax, [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x74]
call fcn.00471060
jmp 0x471036
push str.avp.exe
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x470f73
mov dword [ebp + 0x4c], 5
lea edx, [ebp + 0x4c]
push edx
mov ecx, dword [ebp + 0x74]
call fcn.00471060
jmp 0x471036
push str.mfemms.exe
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x470fa1
mov dword [ebp + 0x54], 6
lea ecx, [ebp + 0x54]
push ecx
mov ecx, dword [ebp + 0x74]
call fcn.00471060
jmp 0x471036
push str.QQPCTray.exe
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x470fcc
mov dword [ebp + 0x60], 1
lea eax, [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x74]
call fcn.00471060
jmp 0x471036
push str.ksafe.exe
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x470ff8
push str.kxetray.exe
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x47100d
mov dword [ebp + 0x58], 2
lea eax, [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x74]
call fcn.00471060
jmp 0x471036
push str.2345SafeTray.exe
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x471036
mov dword [ebp + 0x50], 4
lea edx, [ebp + 0x50]
push edx
mov ecx, dword [ebp + 0x74]
call fcn.00471060
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x470ed3
mov edx, dword [ebp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebp, 0x78
mov esp, ebp
pop ebp
ret
Function at 0x472124
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
mov byte [ebp - 4], bl
mov esi, dword [edi + 8]
test esi, esi
je 0x47214e
push dword [esi]
call fcn.00472410
mov esi, dword [esi + 4]
xor bl, al
pop ecx
test esi, esi
jne 0x47213a
mov byte [ebp - 4], bl
push dword [ebp - 4]
push edi
call fcn.004721fc
pop ecx
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x472410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor dl, dl
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47243c
push esi
cmp dword [ecx], 4
je 0x472434
mov eax, dword [ecx + 4]
dec eax
js 0x472434
mov esi, dword [ecx + 8]
xor dl, byte [esi + eax]
dec eax
jns 0x47242e
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x472420
pop esi
mov al, dl
pop ebp
ret

Function at 0x473af9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x5c0020], 0
jne 0x473b0d
call fcn.00473c09
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x1e
jbe 0x473b1e
or eax, 0xffffffff
jmp 0x473c04
push ebx
push edi
mov edi, dword [ebp + 0x14]
push esi
push 0
push edi
call fcn.00516d90
add esp, 0xc
cmp byte [esi + 0x5c05aa], 0
jne 0x473b3f
push esi
call fcn.00473c62
pop ecx
lea eax, [esi - 2]
xor ebx, ebx
imul edx, eax, 0x1f
mov dword [ebp - 4], ebx
add edx, 0x5c0228
mov dword [ebp - 8], edx
cmp dword [ebp + 8], ebx
jbe 0x473c00
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp + 0x10]
movzx ecx, byte [ebx + eax]
movzx eax, byte [edi]
xor ecx, eax
mov al, byte [ecx + 0x5c0128]
mov ecx, 0xff
mov byte [ebp + 0xf], al
cmp al, cl
je 0x473baf
xor ecx, ecx
inc ecx
cmp esi, ecx
jbe 0x473baf
movzx eax, al
lea ebx, [esi - 1]
mov dword [ebp - 0xc], eax
add ebx, edx
movzx eax, byte [ebx]
add eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x10]
mov al, byte [edx + 0x5c0028]
xor byte [ecx + edi], al
inc ecx
dec ebx
cmp ecx, esi
jb 0x473b93
mov ebx, dword [ebp - 4]
lea eax, [esi - 1]
push eax
lea eax, [edi + 1]
push eax
push edi
call fcn.00516e20
mov cl, byte [ebp + 0xf]
mov eax, 0xff
add esp, 0xc
cmp cl, al
je 0x473beb
mov eax, dword [ebp - 8]
movzx ecx, cl
movzx eax, byte [eax]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov al, byte [edx + 0x5c0028]
mov byte [esi + edi - 1], al
jmp 0x473bf0
mov byte [esi + edi - 1], 0
mov edx, dword [ebp - 8]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 8]
jb 0x473b63
pop edi
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x473c62
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x80], 1
mov esi, ecx
test edi, edi
je 0x473ce5
mov ecx, 0xff
push ebx
mov dword [ebp + esi*4 - 0x7c], 1
mov ebx, esi
test esi, esi
je 0x473cc3
mov eax, dword [ebp + ebx*4 - 0x80]
xor edx, edx
movzx eax, byte [eax + 0x5c0128]
add eax, esi
div ecx
movzx eax, byte [edx + 0x5c0028]
xor eax, dword [ebp + ebx*4 - 0x84]
mov dword [ebp + ebx*4 - 0x80], eax
dec ebx
jne 0x473c9d
mov eax, dword [ebp - 0x80]
xor edx, edx
movzx eax, byte [eax + 0x5c0128]
add eax, esi
div ecx
inc esi
movzx eax, byte [edx + 0x5c0028]
mov dword [ebp - 0x80], eax
cmp esi, edi
jb 0x473c8f
xor ecx, ecx
pop ebx
lea eax, [edi - 2]
imul edx, eax, 0x1f
mov eax, dword [ebp + ecx*4 - 0x80]
mov al, byte [eax + 0x5c0128]
mov byte [edx + ecx + 0x5c0228], al
inc ecx
cmp ecx, edi
jbe 0x473ceb
mov ecx, dword [ebp - 4]
mov byte [edi + 0x5c05aa], 1
xor ecx, ebp
pop edi
pop esi
call fcn.00516529
mov esp, ebp
pop ebp
ret
Function at 0x494060
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4940a9
mov al, byte [esi]
push eax
call fcn.00492780
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x494087
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x49fd70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x6f1], 0
je 0x49fdf3
cmp dword [edi + 0x1c0], 0
je 0x49fdbd
push esi
push 1
push edi
call fcn.0049abb0
push dword [edi + 0x154]
mov eax, dword [edi + 0x1c0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.0049abb0
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x49fdf3
push dword [edi + 0x150]
lea eax, [eax + eax*2]
push 1
add eax, 0x5689f0
push 2
push eax
call fcn.0051ec76
push dword [edi + 0x150]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0051ec76
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x49fe00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x6f1], 0
jne 0x49fe2d
cmp dword [edi + 0x158], 0
je 0x49ff0c
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push 0x100
push eax
call sym.XFPDFEditor.exe_curl_mvsnprintf
lea esi, [ebp - 0x108]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x49fe52
sub esi, ecx
mov ecx, dword [edi + 0x158]
test ecx, ecx
je 0x49fe88
cmp byte [edi + 0xcb7], al
jne 0x49fe88
lea edx, [ebp - 0x108]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x49fe73
mov byte [edi + 0xcb7], 1
mov byte [ebp + esi - 0x108], 0xa
inc esi
cmp byte [edi + 0x6f1], 0
je 0x49ff0b
cmp dword [edi + 0x1c0], 0
je 0x49fedf
push 1
push edi
call fcn.0049abb0
push dword [edi + 0x154]
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, dword [edi + 0x1c0]
push 0
push edi
call eax
push 0
push edi
call fcn.0049abb0
add esp, 0x24
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00516529
mov esp, ebp
pop ebp
ret
push dword [edi + 0x150]
push 1
push 2
push 0x5689f0
call fcn.0051ec76
push dword [edi + 0x150]
lea eax, [ebp - 0x108]
push 1
push esi
push eax
call fcn.0051ec76
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00516529
mov esp, ebp
pop ebp
ret