joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cbaa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c84c

Function at 0x41cbb5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c9db

Function at 0x41cfaf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040bb30
mov eax, dword [0x435040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041aae9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41cff1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d14d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427e50
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483628]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041e17f
mov ecx, dword [esi*4 + 0x483628]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41d146
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d146
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d146
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041e17f
add esp, 0x14
test edx, edx
jl 0x41d146
jg 0x41d0bc
test eax, eax
jb 0x41d146
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d146
jl 0x41d0d6
cmp dword [ebp - 0x1008], eax
ja 0x41d146
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d0f4
test ebx, ebx
je 0x41d12d
cmp ecx, edi
jae 0x41d12d
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d10e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d11a
cmp byte [ecx + 1], 0xa
jne 0x41d11a
inc ecx
jmp 0x41d11a
movzx eax, al
movsx eax, byte [eax + 0x435310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d0f4
cmp edx, ebx
jne 0x41d0f4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d14b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040afc3
leave
ret
Function at 0x41d61d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483628]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d65d
cmp byte [ebx], 0xa
jne 0x41d65d
or byte [eax + edi + 0x28], 4
jmp 0x41d662
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d760
mov al, byte [edx]
cmp al, 0x1a
je 0x41d742
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d691
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d6b6
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d6c0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d673
jmp 0x41d760
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d73d
cmp dword [ebp - 0xc], 0
je 0x41d73d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483628]
test byte [eax + edi + 0x28], 0x48
je 0x41d717
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d702
mov byte [esi], dl
jmp 0x41d713
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483628]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d760
cmp byte [ebp - 1], 0xa
jne 0x41d726
cmp esi, ebx
jne 0x41d726
mov byte [esi], 0xa
jmp 0x41d75f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041e19d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d760
mov byte [esi], 0xd
jmp 0x41d75f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483628]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d75c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d760
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d769
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x483628]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d7ac
cmp word [esi], dx
jne 0x41d7ac
or byte [edi + eax + 0x28], 4
jmp 0x41d7b1
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d904
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d8e4
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d7f3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d829
cmp eax, edx
jae 0x41d835
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d7cb
jmp 0x41d904
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d8e0
cmp dword [ebp - 0x14], 0
je 0x41d8e0
mov eax, dword [ebx*4 + 0x483628]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d8b8
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d881
mov word [esi], cx
jmp 0x41d8b4
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483628]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483628]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483628]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d904
pop ebx
cmp word [ebp - 4], bx
jne 0x41d8c9
cmp esi, dword [ebp + 0xc]
jne 0x41d8c9
mov word [esi], bx
jmp 0x41d901
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041e19d
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d904
push 0xd
jmp 0x41d8fd
mov ecx, dword [ebx*4 + 0x483628]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d8fb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d904
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x405010
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498398
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b3da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add eax, 0x8e8
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a290
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x900
call fcn.00406c20
jmp 0x405072
push 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.004075e0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x900
call fcn.00406c50
push eax
lea ecx, [ebp - 0x18]
call fcn.00407620
movzx ecx, al
test ecx, ecx
je 0x4050bc
push 0
lea ecx, [ebp - 0x18]
call fcn.004075c0
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x18]
call fcn.004075c0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405064
mov ecx, dword [ebp - 0x2c]
add ecx, 0x900
call fcn.00407460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4050f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4987a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x34]
add eax, 0x38
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401b20
mov dword [ebp - 4], 0
push 0x4aaf20
lea ecx, [ebp - 0x2c]
call fcn.00401b60
push 0x4aaf24
lea ecx, [ebp - 0x2c]
call fcn.00401b60
push 1
push 0x4aaf3c
push 0x4aaf40
lea ecx, [ebp - 0x2c]
call fcn.00401f60
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
call fcn.00404910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret
Function at 0x4051b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.00419080
add esp, 4
push str.ZIPINSTALL
push 0x6d
call fcn.00419000
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4051e5
xor al, al
jmp 0x405290
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00419000
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40520f
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x405290
mov eax, dword [ebp - 0xc]
push eax
call fcn.00419000
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0
jne 0x40522e
xor al, al
jmp 0x405290
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.004182b2
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x405268
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.00480a90
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00419090
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x405b80
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00480a10
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x49a5cc
push 1
push 0
push 0x49a5dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jge 0x405beb
xor eax, eax
jmp 0x405c7d
mov ecx, dword [ebp + 8]
call fcn.00401f60
push eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ecx + 0x50]
call eax
lea ecx, [ebp - 4]
push ecx
push 0x49a5fc
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jge 0x405c37
xor eax, eax
jmp 0x405c7d
push 2
mov ecx, dword [ebp + 0xc]
call fcn.00401f60
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret
Function at 0x405c90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498778
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_seeyou
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x38], eax
push 0x4ab1b8
lea ecx, [ebp - 0x34]
call fcn.00406a20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401e70
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f60
push eax
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
cmp dword [0x4b8508], 0
je 0x405d4c
mov eax, dword [0x4b8508]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x34]
call fcn.004014b0
push str.uninstall.exe
lea ecx, [ebp - 0x34]
call fcn.00401b60
lea ecx, [ebp - 0x34]
call fcn.00401e70
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f60
push eax
push 1
push 0
push str.UninstallString
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
cmp dword [0x4b8508], 0
je 0x405dab
mov edx, dword [0x4b8508]
add edx, 0x1c
push edx
lea ecx, [ebp - 0x34]
call fcn.004014b0
push 0x4ab21c
lea ecx, [ebp - 0x34]
call fcn.00401b60
push 0x4ab220
lea ecx, [ebp - 0x34]
call fcn.00401b60
lea ecx, [ebp - 0x34]
call fcn.00401e70
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f60
push eax
push 1
push 0
push str.DisplayIcon
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
cmp dword [0x4b8508], 0
je 0x405e14
mov ecx, dword [0x4b8508]
add ecx, 0x54
call fcn.00401e70
shl eax, 1
push eax
mov ecx, dword [0x4b8508]
add ecx, 0x54
call fcn.00401f60
push eax
push 1
push 0
push str.DisplayShortcut
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x10], 0
je 0x405e24
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret
Function at 0x405e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x814], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x405f08
lea ecx, [ebp - 8]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x405efa
xor edx, edx
mov word [ebp - 0x810], dx
push 0x7fe
push 0
lea eax, [ebp - 0x80e]
push eax
call fcn.00480a10
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x405ee8
lea eax, [ebp - 0x810]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406a20
mov ecx, dword [ebp - 0x814]
or ecx, 1
mov dword [ebp - 0x814], ecx
mov eax, dword [ebp + 8]
jmp 0x405f27
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x4ab270
mov ecx, dword [ebp + 8]
call fcn.00406a20
mov edx, dword [ebp - 0x814]
or edx, 1
mov dword [ebp - 0x814], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret
Function at 0x406300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4986cd
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.00480a10
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x814]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x4064f7
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x834]
call fcn.00406a20
mov dword [ebp - 4], 0
push 0x4ab318
lea ecx, [ebp - 0x834]
call fcn.00401b60
lea ecx, [ebp - 0x834]
push ecx
call fcn.0040e170
add esp, 4
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x4064e5
push 0x4ab328
lea edx, [ebp - 0x834]
push edx
lea eax, [ebp - 0x86c]
push eax
call fcn.00401a10
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x86c]
call fcn.00401f60
push eax
lea ecx, [ebp - 0x888]
call fcn.00406a20
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.00401f60
push eax
lea ecx, [ebp - 0x8a4]
call fcn.00406a20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x888]
push ecx
lea edx, [ebp - 0x8a4]
push edx
call fcn.00405b80
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a4]
call fcn.00401490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x888]
call fcn.00401490
push 0x4ab344
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x850]
push ecx
call fcn.00401a10
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x850]
call fcn.00401f60
push eax
lea ecx, [ebp - 0x8c0]
call fcn.00406a20
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
call fcn.00401f60
push eax
lea ecx, [ebp - 0x8dc]
call fcn.00406a20
mov byte [ebp - 4], 6
lea edx, [ebp - 0x8c0]
push edx
lea eax, [ebp - 0x8dc]
push eax
call fcn.00405b80
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8dc]
call fcn.00401490
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c0]
call fcn.00401490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x850]
call fcn.00401490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x86c]
call fcn.00401490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x834]
call fcn.00401490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret
Function at 0x40dee0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4982a0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x87c
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x888], ecx
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40df38
xor eax, eax
jmp 0x40e02d
xor eax, eax
mov word [ebp - 0x880], ax
push 0x206
push 0
lea ecx, [ebp - 0x87e]
push ecx
call fcn.00480a10
add esp, 0xc
mov dword [ebp - 0x678], 0x22c
mov dword [ebp - 0x448], 0x428
lea edx, [ebp - 0x678]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40e008
lea ecx, [ebp - 0x654]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409a20
add esp, 8
mov byte [ebp - 0x889], al
movzx eax, byte [ebp - 0x889]
test eax, eax
je 0x40dff0
mov ecx, dword [ebp - 0x670]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x884], eax
cmp dword [ebp - 0x884], 0
je 0x40dff0
push 0
mov edx, dword [ebp - 0x884]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x884]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
jne 0x40dff0
jmp 0x40e008
lea ecx, [ebp - 0x678]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x14], eax
jmp 0x40df7e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40e021
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret 8