joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aefa
Capabilities:
Delete registry key

Disassembly:
push 0xc
mov eax, 0x452f48
call fcn.0044729e
call fcn.0040a744
test eax, eax
jne 0x40af14
call fcn.0040a7c1
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push 0x456bbc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40af6b
mov edi, dword [ebp - 0x14]
push str.SOFTWARETencentQQPCMgrDownloader
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
je 0x40af57
push edi
call esi
xor edi, edi
xor eax, eax
test ebx, ebx
sete al
test edi, edi
mov ebx, eax
je 0x40af67
push edi
call esi
mov eax, ebx
jmp 0x40af6d
xor eax, eax
call fcn.00447321
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test byte [0x467814], 1
mov dword [ebp - 0x214], esi
jne 0x40b097
mov eax, dword [0x46652c]
or dword [0x467814], 1
mov ecx, 0x46652c
call dword [eax + 0xc]
add eax, 0x10
push 0x453ebb
mov dword [0x467810], eax
call fcn.0042bd1f
pop ecx
mov eax, dword [0x467810]
cmp dword [eax - 0xc], esi
jne 0x40b11c
push edi
push 0x20a
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.0042b930
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, 0x467810
push edi
call fcn.0040129a
mov eax, dword [0x467810]
cmp dword [eax - 0xc], esi
jle 0x40b11b
call fcn.0040a706
mov eax, 0x457ca0
mov ecx, edi
call fcn.00401c1e
push dword [0x467810]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b11b
push esi
push dword [0x467810]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
pop edi
mov eax, dword [0x467810]
add eax, 0xfffffff0
call fcn.00401bc6
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ebx], eax
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.0042ba38
leave
ret

Function at 0x40b74e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x24], 0
push edi
push 7
pop ecx
push dword [edx]
xor eax, eax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
push 0xf
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
push 0
push str.LastFailTime
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
pop edi
je 0x40b7a0
push 0xa
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042fd1f
add esp, 0xc
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor ecx, ebp
call fcn.0042ba38
leave
ret 4
Function at 0x410685
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [ebp - 4]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push eax
push dword [edi + 4]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4106c0
push 0x456bbc
push dword [ebp + 8]
call fcn.0040129a
mov eax, ebx
jmp 0x41070a
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
inc ebx
push 0x104
mov dword [ebp - 8], 0x208
mov dword [ebp - 0xc], ebx
call fcn.004015e6
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea esi, [edi + 0xc]
call fcn.0040fffb
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp + 8]
mov edi, eax
call fcn.0040b13d
test edi, edi
pop esi
jne 0x4106af
push 2
pop eax
pop edi
pop ebx
leave
ret 4

Function at 0x41257e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
xor ebx, ebx
inc ebx
push ebx
push 0
mov dword [ebp - 4], 0x100
call fcn.0040fffb
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4125e0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
call fcn.0040fffb
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4125e0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
leave
ret 0x10
mov esi, dword [ebp + 0x10]
call fcn.0040b13d
mov esi, dword [ebp + 0xc]
call fcn.0040b13d
xor bl, bl
jmp 0x4125cf
Function at 0x4125f4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x452158
call fcn.00447235
mov edi, dword [ebp + 0x10]
call fcn.004137cb
mov eax, dword [ebp + 0xc]
push 4
pop esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], esi
mov ebx, 0x208
jmp 0x412621
mov eax, dword [ebp + 0xc]
push 4
pop esi
mov ecx, dword [eax]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 4]
xor eax, eax
dec ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x41265d
dec ecx
je 0x41264e
dec ecx
dec ecx
jne 0x412671
push esi
call fcn.0042c1ea
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
jmp 0x41266d
push ebx
call fcn.0042c1ea
mov dword [ebp - 0x2c], 2
jmp 0x41266a
push ebx
call fcn.0042c1ea
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], ebx
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x28]
call fcn.0042b930
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x4126b9
cmp dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
je 0x4126b9
push dword [ebp - 0x28]
call fcn.0042b927
pop ecx
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.00409d4b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], esi
call fcn.004136ca
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
push esi
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x48]
mov dword [eax], ecx
call fcn.0040a106
add dword [ebp + 0xc], 8
dec dword [ebp - 0x10]
jne 0x41261b
xor eax, eax
inc eax
call fcn.0044730d
ret 0xc

Function at 0x412885
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.0042b930
add esp, 0xc
cmp dword [esi + 4], edi
jne 0x412938
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 5
push 0x45aac4
lea eax, [ebp - 0x20c]
jb 0x4128de
push str..Global_s
jmp 0x4128e3
push str.._s
push 0x104
push eax
call fcn.0042c119
add esp, 0x10
push edi
push 0x80
push 3
push edi
xor edi, edi
inc edi
push edi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x412920
push eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412938
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
je 0x412935
call ebx
cmp eax, 0x1f
jne 0x412937
mov dword [esi], edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042ba38
leave
ret
Function at 0x412fed
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 4], edi
jne 0x413002
xor eax, eax
jmp 0x41307f
push esi
mov esi, closesocket
push esi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x413025
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x41307b
push ebx
push esi
push str.QQPCRTP
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
cmp esi, edi
jne 0x41304c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x413075
lea eax, [ebp - 8]
push eax
push 0x24
push dword [ebp + 8]
mov dword [ebp - 8], edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x413072
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call ebx
push dword [ebp - 0xc]
call ebx
pop ebx
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret 8

Function at 0x41341d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413484
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push str.SVCStart
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x413484
xor eax, eax
cmp dword [ebp - 8], esi
sete al
jmp 0x413486
xor al, al
pop esi
leave
ret
Function at 0x414aaf
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x45344c
call fcn.00447235
mov esi, dword [ebp + 8]
mov ebx, 0x46652c
mov ecx, ebx
call fcn.0040124a
and dword [esi + 4], 0
lea eax, [esi + 8]
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], eax
call fcn.0040b7b1
lea edi, [esi + 0x40]
mov ecx, ebx
mov esi, edi
mov byte [ebp - 4], 3
call fcn.0040124a
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040b04b
mov byte [ebp - 4], 5
call fcn.004019f8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401550
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x414b3b
lea ecx, [eax - 1]
test ecx, ecx
jl 0x414b8a
mov eax, edi
call fcn.004019e2
cmp ax, 0x5c
je 0x414b3b
push 0x5c
mov eax, edi
call fcn.00401a39
mov eax, 0x45abec
mov ecx, edi
call fcn.00401c1e
push 0
push dword [edi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, str.History.ini
mov ecx, edi
call fcn.00401c1e
mov esi, edi
call fcn.0040fffb
mov esi, dword [ebp + 8]
push eax
call fcn.0040b711
mov esi, edi
call fcn.0040fffb
push eax
push dword [ebp - 0x14]
call fcn.0040b85e
mov eax, dword [ebp + 8]
call fcn.0044730d
ret 4
push 0x80070057
call fcn.00401568
int3

Function at 0x414be1
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [edi + 0x14], 0
push ebx
push esi
mov ebx, ecx
jne 0x414c05
xor al, al
jmp 0x414d31
push dword [ebx + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414bfe
xor esi, esi
push 0x206
lea eax, [ebp - 0x20e]
push esi
push eax
mov byte [ebp - 0x211], 0
mov word [ebp - 0x210], si
call fcn.0042b930
push 0xa
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [edi]
call fcn.00430e98
add esp, 0x1c
push dword [ebx]
lea eax, [ebp - 0x210]
push esi
push str.FailCount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
lea esi, [ebp - 0x210]
mov edx, ebx
mov dword [ebp - 0x218], eax
call fcn.0040b74e
push 0
mov ebx, eax
call fcn.0042c021
lea esi, [edi + 0x24]
mov dword [esp], 0x45aa2c
push esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
call fcn.00406eea
test eax, eax
jne 0x414cca
mov eax, dword [ebp - 0x218]
cmp dword [edi + 0x1c], eax
jg 0x414d3f
mov eax, dword [edi + 0x20]
imul eax, eax, 0x15180
cdq
push 0
add eax, ebx
pop ecx
adc edx, ecx
cmp dword [ebp - 0x21c], edx
jg 0x414d3f
jl 0x414d07
jmp 0x414cff
push 0x45ac48
push esi
call fcn.00406eea
test eax, eax
jne 0x414d10
mov eax, dword [ebp - 0x218]
cmp dword [edi + 0x1c], eax
jle 0x414d07
mov eax, dword [edi + 0x20]
imul eax, eax, 0x15180
cdq
push 0
add eax, ebx
pop ecx
adc edx, ecx
cmp dword [ebp - 0x21c], edx
jl 0x414d07
jg 0x414d3f
cmp dword [ebp - 0x220], eax
ja 0x414d3f
mov byte [ebp - 0x211], 1
jmp 0x414d2b
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
je 0x414cad
cmp dword [edi + 0x20], 0xffffffff
jne 0x414d2b
cmp eax, dword [ebp - 0x218]
setle byte [ebp - 0x211]
mov al, byte [ebp - 0x211]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ba38
leave
ret
mov byte [ebp - 0x211], 0
jmp 0x414d2b
Function at 0x414d48
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push ebx
push esi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov esi, ecx
call fcn.0042b930
push 0xa
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call fcn.00430e98
add esp, 0x1c
push dword [esi]
lea eax, [ebp - 0x20c]
push 0
push str.FailCount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
add esi, 8
push eax
lea ebx, [ebp - 0x20c]
call fcn.0040bc70
push 0
call fcn.0042c021
pop ecx
push eax
mov dword [ebp - 0x210], edx
call fcn.0040bcc2
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ba38
leave
ret 4

Function at 0x415f6c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx]
push edi
push dword [eax + 0x24]
call dword [edx + 0xc]
cmp dword [ebp + 8], 0
jne 0x415ff4
push dword [esi + 0x30]
call fcn.004177b5
test eax, eax
je 0x415ffb
mov eax, dword [esi + 0x30]
push dword [eax + 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415fdb
mov eax, dword [esi + 0x30]
push dword [eax + 0x38]
mov ecx, dword [eax + 0x34]
call fcn.00417cea
test eax, eax
je 0x415fdb
cmp dword [esi + 0x20], 1
jne 0x415fc6
mov ecx, dword [esi + 0x30]
call fcn.004172cd
jmp 0x415ffb
mov edi, dword [esi + 0x30]
call fcn.00417ebb
test al, al
jne 0x415ffb
mov byte [0x46747b], 0xb
jmp 0x415ffb
mov edi, dword [esi + 0x30]
call fcn.00417ebb
test al, al
je 0x415fd2
push dword [esi + 4]
mov ecx, dword [esi + 0x30]
call fcn.00417e41
jmp 0x416004
mov byte [0x46747b], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x416557
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x45adec
xor esi, esi
push eax
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x41658b
xor eax, eax
jmp 0x4165d7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x416587
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x416587
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x4165d4
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 0x4165e5
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042ba38
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 0x416604
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4165d6
xor esi, esi
inc esi
jmp 0x4165f9
Function at 0x4166d2
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.00440c80
mov eax, dword [0x464074]
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.0042b930
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.0042b930
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.0042b930
xor eax, eax
add esp, 0xc
cmp eax, str.071132e14ea664c6eaedb1417e589b86
je 0x416864
lea eax, [ebp - 0x260]
push eax
push 0xfa0
lea eax, [ebp - 0x1208]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x416864
mov eax, dword [ebp - 0x260]
cmp eax, ebx
je 0x416864
shr eax, 2
mov dword [ebp - 0x268], eax
mov eax, ebx
mov dword [ebp - 0x264], eax
je 0x416864
push dword [ebp + eax*4 - 0x1208]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x41684b
push 0x208
lea eax, [ebp - 0x258]
push ebx
push eax
mov dword [ebp - 0x25c], ebx
call fcn.0042b930
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 0x416844
push 0x104
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x416844
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x258]
push eax
call fcn.0042ba47
pop ecx
push eax
lea esi, [ebp - 0x50]
lea ecx, [ebp - 0x258]
call fcn.0041d4f0
test al, al
pop ecx
je 0x416844
push str.071132e14ea664c6eaedb1417e589b86
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x416875
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 0x416796
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ba38
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x416866
Function at 0x416a3a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, ebx
cdq
push 3
pop ecx
idiv ecx
mov eax, ebx
xor esi, esi
sub eax, edx
lea eax, [eax*4 + 0xc]
cdq
idiv ecx
inc eax
push eax
call fcn.0042f3fb
cmp ebx, 2
pop ecx
mov ecx, eax
jle 0x416adc
lea eax, [ebx - 3]
xor edx, edx
push 3
pop ebx
div ebx
inc eax
mov dword [ebp - 4], eax
imul eax, eax, 0xfffffffd
add dword [ebp + 8], eax
movzx edx, byte [edi]
mov eax, edx
shr eax, 2
mov al, byte [eax + 0x465668]
mov byte [ecx + esi], al
movzx eax, byte [edi + 1]
and edx, 3
shl edx, 4
mov ebx, eax
shr ebx, 4
mov dl, byte [ebx + edx + 0x465668]
inc esi
mov byte [ecx + esi], dl
movzx edx, byte [edi + 2]
and eax, 0xf
mov ebx, edx
shr ebx, 6
mov al, byte [ebx + eax*4 + 0x465668]
inc esi
mov byte [ecx + esi], al
and edx, 0x3f
mov al, byte [edx + 0x465668]
inc esi
mov byte [ecx + esi], al
inc esi
add edi, 3
dec dword [ebp - 4]
jne 0x416a81
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x416b34
movzx eax, byte [edi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + 0x465668]
and eax, 3
mov byte [ecx + esi], dl
inc esi
shl eax, 4
cmp ebx, 1
jle 0x416b20
movzx edx, byte [edi + 1]
mov edi, edx
shr edi, 4
mov al, byte [edi + eax + 0x465668]
mov byte [ecx + esi], al
inc esi
and edx, 0xf
mov al, byte [edx*4 + 0x465668]
mov byte [ecx + esi], al
jmp 0x416b2e
mov al, byte [eax + 0x465668]
mov byte [ecx + esi], al
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x416b3d
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x41773c
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x452b48
call fcn.00447235
mov eax, dword [esi + 0x54]
test eax, eax
je 0x41775a
push eax
call fcn.0044d580
and dword [esi + 0x54], 0
pop ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41776b
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x14], 0
and dword [esi + 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00416609
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x45b010
push ecx
mov ecx, eax
call fcn.00403acd
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401550
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401550
xor eax, eax
inc eax
call fcn.0044730d
ret
Function at 0x4177b5
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0x20
mov eax, 0x453a28
call fcn.00447235
lea ebx, [ebp - 0x1c]
call fcn.0040b04b
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00417f8a
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401550
mov dword [ebp - 0x10], edi
push 3
push 1
mov byte [ebp - 4], 3
push 0xc0000000
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0040fffb
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040b1ad
test eax, eax
jge 0x417835
cmp dword [ebp - 0x10], edi
je 0x417820
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401550
mov eax, edi
call fcn.0044730d
ret 4
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
call fcn.0040b24a
push dword [ebp - 0x20]
call fcn.0042c1ea
pop ecx
push edi
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x28], edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41786a
call fcn.0040c414
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push esi
mov dword [ebp - 0x1c], eax
call fcn.00416b48
add esp, 0xc
push esi
mov dword [ebp - 0x14], eax
call fcn.0042b927
cmp dword [ebp - 0x10], edi
pop ecx
je 0x417899
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
je 0x41790a
mov esi, dword [ebp - 0x1c]
add esi, esi
push esi
call fcn.0042c1ea
mov ebx, eax
cmp ebx, edi
pop ecx
je 0x4178fc
push esi
push edi
push ebx
call fcn.0042b930
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
dec esi
push eax
dec esi
push ebx
mov dword [ebp - 0x18], esi
call fcn.00407e01
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0042b927
add esp, 0xc
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
je 0x4178f5
mov ecx, dword [ebp + 8]
push ebx
call fcn.00417929
mov dword [ebp - 0x18], eax
push ebx
call fcn.0042b927
pop ecx
cmp dword [ebp - 0x14], edi
je 0x41790a
push dword [ebp - 0x14]
call fcn.0042b927
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], edi
je 0x417921
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
jmp 0x417820