joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4087e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e298d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4089c8
cmp byte [esi], 0
je 0x4089c8
push 0x5c
push esi
call fcn.004bdd50
mov edi, eax
add esp, 8
test edi, edi
je 0x4089c8
mov ecx, esi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408850
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403b90
sub edi, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
lea eax, [edi + 1]
push eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004022f0
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4088b3
mov ecx, eax
call fcn.00403170
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x78]
call fcn.00403170
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
je 0x4089b7
cmp eax, 5
je 0x4089b7
push esi
lea ecx, [ebp - 0x58]
call fcn.004025f0
push 0xffffffffffffffff
push dword [ebp - 0x60]
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.004022f0
push eax
lea ecx, [ebp - 0x58]
call fcn.00402570
lea ecx, [ebp - 0x78]
call fcn.00403170
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x4e7a88
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00403b90
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
xor esi, esi
mov byte [ebp - 4], 2
test ecx, ecx
je 0x408993
mov edx, dword [ebp - 0x48]
cmp ecx, esi
jbe 0x4089e7
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
lea edi, [ebp - 0x58]
cmova eax, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0xf
cmova edi, dword [ebp - 0x58]
mov al, byte [eax + esi]
test edx, edx
je 0x408988
push edx
movsx eax, al
push eax
push edi
call fcn.004bde80
add esp, 0xc
test eax, eax
je 0x408985
sub eax, edi
jns 0x408993
mov ecx, dword [ebp - 0x30]
jmp 0x40898b
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x408945
cmp eax, 0xffffffff
lea ecx, [ebp - 0x40]
sete byte [ebp - 0x59]
call fcn.00403170
lea ecx, [ebp - 0x58]
call fcn.00403170
lea ecx, [ebp - 0x28]
call fcn.00403170
mov al, byte [ebp - 0x59]
jmp 0x4089ca
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x59], 0
call fcn.00403170
mov al, byte [ebp - 0x59]
jmp 0x4089ca
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 4
call fcn.004028a0
int3
Function at 0x4089f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 5
push 0
push 0
push dword [ebp + 8]
push 0x50aea4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebp
ret 4

Function at 0x408a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e29cd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408a60
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403b90
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408a80
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004024e0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x3c
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x60], 0x440
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x408b00
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x408b30
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408b26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b4d
push ecx
push edx
call fcn.004bbade
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0xc
call fcn.004bff0f
int3
Function at 0x408b60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e29cd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408bb0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403b90
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408bd0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004024e0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x3c
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x60], 0x440
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x408c70
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408c66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c8d
push ecx
push edx
call fcn.004bbade
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0xc
call fcn.004bff0f
int3
Function at 0x409880
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2b10
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x231]
mov dword [ebp - 0x238], esi
call fcn.00407dc0
mov eax, dword [edi + 0x530]
lea ebx, [edi + 0x530]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4098e7
push ebx
push ecx
push eax
call fcn.004036a0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
push esi
mov ecx, edi
call fcn.00409d40
mov esi, dword [ebx]
cmp esi, dword [edi + 0x534]
je 0x4099b2
nop dword [eax]
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40990a
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00401c90
add esp, 8
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40995c
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov ecx, edi
cmova eax, dword [ebp - 0x230]
push eax
call fcn.0040a140
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x4099a3
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409999
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a54
push ecx
push edx
call fcn.004bbade
add esp, 8
add esi, 0x18
cmp esi, dword [edi + 0x534]
jne 0x409900
push dword [ebp - 0x238]
mov ecx, edi
call fcn.00409d40
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4099d8
push ebx
push ecx
push eax
call fcn.004036a0
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bda10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x238]
mov ecx, edi
push ebx
call fcn.00409d40
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x218]
push eax
call esi
push ebx
mov ecx, edi
call fcn.00409d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 4
call fcn.004bff0f
int3
Function at 0x409b10
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x42d]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x43c], eax
call fcn.00408220
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409b7c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004bda10
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push 0
push eax
call fcn.004bda10
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x409be8
mov esi, 0x80004005
jmp 0x409d08
lea eax, [ebp - 0x424]
push eax
push 0x4ea8fc
push 1
push 0
push 0x4ea90c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x409d08
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], 0
test eax, eax
je 0x409c46
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x4e8074
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x424]
jns 0x409c46
mov dword [ebp - 0x428], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x409cf4
mov eax, dword [ebp - 0x424]
mov edi, 0x50ae94
mov esi, dword [ebp - 0x434]
mov ecx, edi
test esi, esi
mov edx, dword [eax]
cmovne ecx, esi
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
js 0x409cf4
mov edx, dword [ebp - 0x438]
test edx, edx
je 0x409ca5
mov eax, dword [ebp - 0x424]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x409cf4
mov eax, dword [ebp - 0x424]
mov edx, dword [ebp - 0x43c]
test edx, edx
cmovne edi, edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
js 0x409cf4
push 0x104
push ebx
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004cbf96
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x420]
add esp, 0x10
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 0
test eax, eax
je 0x409d08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x409d1f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40a140
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x825]
push edi
mov dword [ebp - 0x82c], esi
call fcn.00407dc0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x40a2f4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x40a2f3
push 0x208
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004bda10
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004bda10
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x825]
call fcn.00408180
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004bda10
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004bda10
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004cb02e
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004bdf2d
add esp, 0x2c
test eax, eax
jne 0x40a233
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call fcn.004bdf2d
add esp, 8
test eax, eax
je 0x40a24b
add eax, 2
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004cb02e
add esp, 0xc
xor esi, esi
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004bda10
add esp, 0xc
lea eax, [ebp - 0x824]
test esi, esi
jne 0x40a28e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del
push eax
call fcn.00409300
add esp, 0x10
jmp 0x40a2ab
push esi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.00409300
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x40a2cd
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x40a2cd
cmp esi, 0xa
jge 0x40a2f3
inc esi
jmp 0x40a250
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x82c]
call fcn.004cccb9
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 4
Function at 0x40cde0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 9]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
call fcn.00407f00
lea eax, [ebp - 8]
push eax
movzx eax, byte [ebp + 0x18]
shl eax, 8
add eax, 2
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ce55
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40ce55
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0x14

Function at 0x40f1e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3275
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401350
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x18], xmm0
push 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004bbaae
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401670
add esp, 0x10
test al, al
je 0x40f296
cmp dword [ebp - 0x14], 1
jbe 0x40f296
mov edi, dword [ebp - 0x18]
mov esi, dword [edi]
cmp esi, edi
je 0x40f299
mov ebx, dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, ebx
je 0x40f290
push ebx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esi]
cmp esi, edi
jne 0x40f267
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov dword [eax], 0
mov eax, dword [edi]
test eax, eax
je 0x40f2bb
mov esi, dword [eax]
push 0xc
push eax
call fcn.004bbade
add esp, 8
mov eax, esi
test esi, esi
jne 0x40f2a8
push 0xc
push dword [ebp - 0x18]
call fcn.004bbade
mov ecx, dword [ebp - 0x1c]
add esp, 8
cmp ecx, 0xf
jbe 0x40f2f8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f2ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f314
push ecx
push edx
call fcn.004bbade
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret
call fcn.004bff0f
int3
Function at 0x413530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
push 0x413550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4

Function at 0x4138f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
mov byte [0x531e88], 0
push 0x413970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4

Function at 0x413920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push dword [ebp + 8]
mov esi, ecx
push 0x413a30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 4]
mov dword [ebp + 8], eax
cmp ecx, dword [esi + 8]
je 0x413952
mov dword [ecx], eax
add dword [esi + 4], 4
pop esi
pop ebp
ret 4
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00410850
pop esi
pop ebp
ret 4

Function at 0x413e70
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x413e91
nop
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esi, 4
cmp esi, ebx
jne 0x413e80
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x413e9b
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x415950
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x42d]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x43c], eax
call fcn.00407fa0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4159bc
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004bda10
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push 0
push eax
call fcn.004bda10
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x415a28
mov esi, 0x80004005
jmp 0x415b48
lea eax, [ebp - 0x424]
push eax
push 0x4ea8fc
push 1
push 0
push 0x4ea90c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x415b48
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], 0
test eax, eax
je 0x415a86
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x4e8074
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x424]
jns 0x415a86
mov dword [ebp - 0x428], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x415b34
mov eax, dword [ebp - 0x424]
mov edi, 0x50ae94
mov esi, dword [ebp - 0x434]
mov ecx, edi
test esi, esi
mov edx, dword [eax]
cmovne ecx, esi
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
js 0x415b34
mov edx, dword [ebp - 0x438]
test edx, edx
je 0x415ae5
mov eax, dword [ebp - 0x424]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x415b34
mov eax, dword [ebp - 0x424]
mov edx, dword [ebp - 0x43c]
test edx, edx
cmovne edi, edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
js 0x415b34
push 0x104
push ebx
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004cbf96
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x420]
add esp, 0x10
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 0
test eax, eax
je 0x415b48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x415b5f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0x14
Function at 0x417e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x15]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
call fcn.00407e60
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
movzx eax, byte [ebp + 0x14]
shl eax, 8
inc eax
mov dword [ebp - 8], 4
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417e8f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417e8f
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bbaec
mov esp, ebp
pop ebp
ret 0x10