joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ecx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41328b
xor al, al
jmp 0x4132f9
push str.SHGetKnownFolderPath
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4132a7
xor al, al
jmp 0x4132f9
lea ecx, [ebp - 0x18]
push ecx
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4132d5
xor al, al
jmp 0x4132f9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047ddf0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4132f7
xor al, al
jmp 0x4132f9
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret 8

Function at 0x413360
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0047d440
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00413310
movzx edx, al
test edx, edx
jne 0x4133e9
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047dc42
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4133e9
jmp 0x41345a
push 0x56fcd8
lea edx, [ebp - 0x210]
push edx
call fcn.0047ddc6
add esp, 8
push 0x56fcdc
lea eax, [ebp - 0x210]
push eax
call fcn.0047ddc6
add esp, 8
push 0x56fcf8
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047ddc6
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413445
lea eax, [ebp - 0x210]
push eax
call fcn.00414ab0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x40
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret
Function at 0x413470
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0047d440
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00413310
movzx edx, al
test edx, edx
jne 0x4134f9
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047dc42
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4134f9
jmp 0x41356a
push 0x56fcfc
lea edx, [ebp - 0x210]
push edx
call fcn.0047ddc6
add esp, 8
push 0x56fd00
lea eax, [ebp - 0x210]
push eax
call fcn.0047ddc6
add esp, 8
push 0x56fd28
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047ddc6
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413555
lea eax, [ebp - 0x210]
push eax
call fcn.00414ab0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.00403660
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret

Function at 0x413580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x62c], ecx
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.0047d440
add esp, 0xc
push 0x56fd2c
lea ecx, [ebp - 0x420]
push ecx
call fcn.0047ddf0
add esp, 8
push 0x56fd40
lea edx, [ebp - 0x420]
push edx
call fcn.0047ddc6
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x40
call fcn.00401800
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0047ddf0
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x24
call fcn.00401800
push eax
lea ecx, [ebp - 0x628]
push ecx
call fcn.0047ddf0
add esp, 8
lea edx, [ebp - 4]
push edx
push 2
push 0
lea eax, [ebp - 0x420]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x413683
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 1
push 0
push 0x56fd60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push 0x56fd78
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret
Function at 0x4137a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0047d440
add esp, 0xc
mov ecx, dword [ebp - 0x218]
add ecx, 0x104
call fcn.00401800
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x56fe10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401610
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413fb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566c97
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4f4], 0
lea ecx, [ebp - 0x4f0]
call fcn.004035f0
mov dword [ebp - 4], 1
cmp dword [ebp + 0xc], 0
jne 0x41402b
mov ecx, dword [ebp + 8]
call fcn.004035f0
mov eax, dword [ebp - 0x4f4]
or eax, 1
mov dword [ebp - 0x4f4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401650
mov eax, dword [ebp + 8]
jmp 0x4141b8
lea ecx, [ebp - 0x40c]
push ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41418f
mov dword [ebp - 0x14], 0
jmp 0x414057
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp + eax*2 - 0x40c]
test ecx, ecx
je 0x41418f
push 0x57018c
mov edx, dword [ebp - 0x14]
lea eax, [ebp + edx*2 - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41409e
push 0x570194
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + ecx*2 - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4140a0
jmp 0x41404e
mov eax, dword [ebp - 0x14]
mov cx, word [ebp + eax*2 - 0x40c]
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 0x14]
mov ax, word [ebp + edx*2 - 0x40a]
mov word [ebp - 0x1e], ax
mov word [ebp - 0x1c], 0
push 0x64
lea ecx, [ebp - 0x4d4]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x414109
mov ecx, dword [ebp + 8]
call fcn.004035f0
mov eax, dword [ebp - 0x4f4]
or eax, 1
mov dword [ebp - 0x4f4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401650
mov eax, dword [ebp + 8]
jmp 0x4141b8
lea ecx, [ebp - 0x4d4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x4d4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047ff6c
add esp, 0xc
test eax, eax
jne 0x41418a
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x4f0]
call fcn.004037c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
push edx
lea ecx, [ebp - 0x4f0]
call fcn.004037c0
lea eax, [ebp - 0x4f0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403610
mov ecx, dword [ebp - 0x4f4]
or ecx, 1
mov dword [ebp - 0x4f4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401650
mov eax, dword [ebp + 8]
jmp 0x4141b8
jmp 0x41404e
mov ecx, dword [ebp + 8]
call fcn.004035f0
mov edx, dword [ebp - 0x4f4]
or edx, 1
mov dword [ebp - 0x4f4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.00401650
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret
Function at 0x414ab0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.0047dc42
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045d45b
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0047ddf0
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x414b1a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x414b88
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x414b86
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414b6f
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414b6f
mov byte [ebp - 1], 0
jmp 0x414b88
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x414b11
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0045d460
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x416ec0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x416f05
xor eax, eax
jmp 0x417004
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x5703dc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416fe2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [ebp - 0x428], 0
push 0x206
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.0047d440
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x428]
push ecx
call fcn.0047ddc6
add esp, 8
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416fc8
xor eax, eax
jmp 0x417004
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047ddf0
add esp, 8
mov eax, 1
jmp 0x417004
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047ddf0
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret
Function at 0x417440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x444], 1
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push str.htmlfile
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x417513
xor eax, eax
jmp 0x417607
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x5704bc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x417546
xor eax, eax
jmp 0x417607
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push 0x5704c8
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41757c
xor eax, eax
jmp 0x417607
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x5704e4
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
push ecx
call fcn.0047fb92
add esp, 4
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.00405d10
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x417602
xor eax, eax
jmp 0x417607
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret
Function at 0x417e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.0047dc42
add esp, 4
test eax, eax
jne 0x417e78
jmp 0x417ecb
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0x30], 0x570610
mov dword [ebp - 0x38], 0x200
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x57061c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x417ecb
mov ecx, dword [ebp + 8]
push ecx
call fcn.00418080
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x417f90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.0047d440
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x570640
lea eax, [ebp - 0x7d8]
push eax
call fcn.0047d5b8
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41801a
jmp 0x41806b
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x418051
cmp dword [ebp + 0x10], 0
jle 0x418033
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x834], edx
jmp 0x41803d
mov dword [ebp - 0x834], 0xffffffff
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [ebp - 0x7e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x7e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret

Function at 0x418080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.0047d440
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x570648
lea eax, [ebp - 0x7d8]
push eax
call fcn.0047d5b8
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41810a
jmp 0x418124
mov ecx, dword [ebp - 0x7e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x7e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret
Function at 0x418310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x418330
xor eax, eax
jmp 0x418489
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0047d440
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0047ddf0
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.0048100e
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x450], 0
push 0x228
push 0
lea ecx, [ebp - 0x44c]
push ecx
call fcn.0047d440
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x4183c4
xor eax, eax
jmp 0x418489
mov dword [ebp - 0x450], 0x22c
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41847a
mov word [ebp - 0x660], 0
push 0x206
push 0
lea ecx, [ebp - 0x65e]
push ecx
call fcn.0047d440
add esp, 0xc
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x660]
push eax
call fcn.0047ddf0
add esp, 8
lea ecx, [ebp - 0x660]
push ecx
call fcn.0048100e
add esp, 4
mov dword [ebp - 0x454], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x454]
push eax
call fcn.00480e22
add esp, 8
test eax, eax
jne 0x41845f
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x448]
jmp 0x418489
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4183e9
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret

Function at 0x418b70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x418b94
xor eax, eax
jmp 0x418c05
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x418c02
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x419640
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 1
test eax, eax
je 0x4196d1
mov word [ebp - 0x218], 0
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0047d440
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4196a1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4196bc
jmp 0x4196d1
cmp dword [ebp - 8], 0xa
jl 0x4196c6
xor eax, eax
jmp 0x4196d6
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x419661
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret

Function at 0x419ab0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push str..del
mov eax, dword [ebp + 8]
push eax
call fcn.00405d10
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x419af0
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x419be3
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov edx, 1
test edx, edx
je 0x419bd5
mov dword [ebp - 0x10], 1
mov word [ebp - 0x220], 0
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.0047d440
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x419b51
mov ecx, dword [ebp + 8]
push ecx
push str._s.del
lea edx, [ebp - 0x220]
push edx
call fcn.0047d5b8
add esp, 0xc
jmp 0x419b6d
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s.del_d
lea edx, [ebp - 0x220]
push edx
call fcn.0047d5b8
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419b8e
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x419baa
cmp dword [ebp - 0xc], 0xa
jl 0x419b9c
jmp 0x419be3
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x419afe
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00481077
add esp, 8
push 5
push 0
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x419be3
push 5
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret