joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402260
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4022e5
push 0x106
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.00406c10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401c46
add esp, 0xc
push 0x1e
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00406c10
add esp, 0xc
mov dword [ebp - 0x124], 3
lea edx, [ebp - 0x108]
mov dword [ebp - 0x120], edx
mov word [ebp - 0x118], 0x10
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esp, ebp
pop ebp
ret

Function at 0x4022e9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00407290
mov dword [ebp - 0x1004], 0x15f8f
mov eax, dword [ebp - 0x1004]
cmp eax, dword [ebp + 0xc]
jae 0x402319
mov ecx, dword [ebp - 0x1004]
mov dword [ebp - 0x1020], ecx
jmp 0x402322
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1020], edx
mov eax, dword [ebp - 0x1020]
mov dword [ebp - 0x1014], eax
push 0
push 0
mov ecx, dword [ebp - 0x1014]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1008], 0x78ef8fef
push 0x1000
push 0
lea eax, [ebp - 0x1000]
push eax
call fcn.00406c10
add esp, 0xc
mov ecx, dword [ebp + 0xc]
sub ecx, 4
mov dword [ebp - 0x1004], ecx
cmp dword [ebp - 0x1004], 0
je 0x4024b7
mov dword [ebp - 0x1010], 0xffc
mov edx, dword [ebp - 0x1010]
cmp edx, dword [ebp - 0x1004]
jbe 0x4023a0
mov eax, dword [ebp - 0x1004]
mov dword [ebp - 0x1010], eax
push 0
lea ecx, [ebp - 0x100c]
push ecx
mov edx, dword [ebp - 0x1010]
push edx
lea eax, [ebp - 0xffc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4023d3
mov edx, dword [ebp - 0x1010]
cmp edx, dword [ebp - 0x100c]
je 0x4023d8
jmp 0x4024b7
mov eax, dword [ebp - 0x100c]
sub eax, 4
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x1018], 0
jmp 0x402402
mov ecx, dword [ebp - 0x1018]
add ecx, 1
mov dword [ebp - 0x1018], ecx
mov edx, dword [ebp - 0x1018]
cmp edx, dword [ebp - 0x1010]
jae 0x40246f
mov eax, dword [ebp - 0x1018]
movsx ecx, byte [ebp + eax - 0x1000]
movsx edx, byte [ebp - 0x1008]
cmp ecx, edx
jne 0x40246d
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp + eax - 0x1000]
mov dword [ebp - 0x101c], ecx
push 4
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp + eax - 0x1000]
push ecx
call fcn.004071e0
add esp, 0xc
test eax, eax
jne 0x40246d
mov eax, dword [ebp - 0x1014]
add eax, dword [ebp - 0x1018]
jmp 0x4024b9
jmp 0x4023f3
push 4
mov edx, dword [ebp - 0x100c]
lea eax, [ebp + edx - 0x1000]
push eax
lea ecx, [ebp - 0x1000]
push ecx
call fcn.00406ea0
add esp, 0xc
mov edx, dword [ebp - 0x1004]
sub edx, dword [ebp - 0x100c]
mov dword [ebp - 0x1004], edx
mov eax, dword [ebp - 0x1014]
add eax, dword [ebp - 0x100c]
mov dword [ebp - 0x1014], eax
jmp 0x40236f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4033c1
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e210
push 0x4073b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff7e8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40e260
push 1
push 0
push 0x40e250
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x4034a9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [eax + 0x50]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
call dword [ecx + 0x24]
push 5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
call dword [ecx + 0x3c]
lea eax, [ebp - 0x24]
push eax
push 0x40e240
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
call dword [edx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x40349d
push 0x400
lea ecx, [ebp - 0x824]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040179d
add esp, 0xc
push 1
lea eax, [ebp - 0x824]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x828], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x828]
jmp 0x4034d3
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404cc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov byte [eax], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404d1c
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push str.ProgramFilesDir
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x404d20
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov byte [eax], 0
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x41371c]
add edx, 0x14
push edx
call fcn.00401739
add esp, 0xc
movsx eax, byte [ebp - 0xc]
test eax, eax
je 0x404d9d
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.SoftwareEFSoftware
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404d9d
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
jne 0x404db1
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
test eax, eax
jne 0x404e97
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404cc4
add esp, 8
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x404dde
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
jne 0x404e64
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [ebp + 8]
push edx
call fcn.00401923
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401b4b
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.00406c90
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Programme
call fcn.004019f5
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004014d0
add esp, 4
test eax, eax
je 0x404e64
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.Program_Files
call fcn.004019f5
add esp, 0xc
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x404e97
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401b4b
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x41371c]
add eax, 0x18
push eax
call fcn.00401c0d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x404e9b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x41371c]
add ecx, 0x14
push ecx
call fcn.00401739
add esp, 0xc
movsx edx, byte [ebp - 8]
test edx, edx
je 0x404f24
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x404f24
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareEFSoftware
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404f24
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406c90
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x404f28
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [0x41371c]
add ecx, 0x18
push ecx
call fcn.00401739
add esp, 0xc
push 0x200
lea edx, [ebp - 0x224]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
call fcn.00401739
add esp, 0xc
push 0x200
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004019f5
add esp, 0xc
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x224]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40507d
lea edx, [ebp - 0x24]
push edx
call fcn.00406c90
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0
push str.DisplayName
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 8]
push edx
call fcn.00406c90
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
push 1
push 0
push str.UninstallString
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406c90
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push str.DisplayIcon
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x410abd
call fcn.00406c90
add esp, 4
add eax, 1
push eax
push 0x410abd
push 1
push 0
push str.Publisher
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.https:__www.efsoftware.com
call fcn.00406c90
add esp, 4
add eax, 1
push eax
push str.https:__www.efsoftware.com
push 1
push 0
push str.URLInfoAbout
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x405563
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x41371c]
movsx ecx, byte [eax + 0x899]
test ecx, ecx
je 0x4055d0
push 0x400
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00403c00
add esp, 0xc
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [0x41371c]
add edx, 0x899
push edx
call fcn.00406ac0
add esp, 8
test eax, eax
je 0x4055d0
push 1
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [0x41371c]
add ecx, 0x899
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esp, ebp
pop ebp
ret

Function at 0x4058ad
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push 0x400
lea eax, [ebp - 0x800]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401c46
add esp, 0xc
push 0x400
lea edx, [ebp - 0x800]
push edx
call fcn.00401b4b
add esp, 8
push 0x400
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x800]
push ecx
call fcn.00401c46
add esp, 0xc
push 0x400
lea edx, [ebp - 0x800]
push edx
push str.PSAPI.DLL
call fcn.004019f5
add esp, 0xc
push 0x400
lea eax, [ebp - 0x400]
push eax
push 0x410c08
call fcn.004019f5
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x400]
push ecx
push str.PSAPI.DLL
call fcn.004019f5
add esp, 0xc
lea edx, [ebp - 0x400]
push edx
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esp, ebp
pop ebp
ret

Function at 0x405960
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x548
push 0x400
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401c46
add esp, 0xc
push 0x400
lea edx, [ebp - 0x400]
push edx
push 0x410cc8
call fcn.00401ba2
add esp, 0xc
push 0x400
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401c0d
add esp, 0xc
push 0x400
lea edx, [ebp - 0x400]
push edx
push 0x410ccc
call fcn.004019f5
add esp, 0xc
lea eax, [ebp - 0x540]
push eax
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x544], eax
cmp dword [ebp - 0x544], 0xffffffff
je 0x405ab7
lea edx, [ebp - 0x514]
push edx
call fcn.00406c90
add esp, 4
mov dword [ebp - 0x548], eax
cmp dword [ebp - 0x548], 6
jle 0x405a8e
push str..LNG
mov eax, dword [ebp - 0x548]
lea ecx, [ebp + eax - 0x518]
push ecx
call fcn.00406ac0
add esp, 8
test eax, eax
je 0x405a4e
push str..CHM
mov edx, dword [ebp - 0x548]
lea eax, [ebp + edx - 0x518]
push eax
call fcn.00406ac0
add esp, 8
test eax, eax
jne 0x405a8e
push 0x400
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401c46
add esp, 0xc
push 0x400
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x514]
push ecx
call fcn.00401ba2
add esp, 0xc
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x540]
push eax
mov ecx, dword [ebp - 0x544]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4059f2
mov edx, dword [ebp - 0x544]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret
Function at 0x4062e5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push 0x400
lea eax, [ebp - 0x400]
push eax
call fcn.00404d20
add esp, 8
lea ecx, [ebp - 0x400]
push ecx
push 0x408
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
call fcn.0040338c
test eax, eax
jne 0x406339
push 0
push 0x413
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x400]
push ecx
call fcn.004014d0
add esp, 4
test eax, eax
je 0x406381
push 1
push 0x411
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push 0x412
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push 0x413
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x406394
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004061a1
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x403b60
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
mov esi, ecx
push 0x105
lea edi, [esi + 0x418]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x410], eax
test eax, eax
jbe 0x403bb1
push ebx
push edi
lea ebx, [esi + 0x51d]
push str._skernel32.dll
push ebx
call fcn.0041417b
add esp, 0xc
mov dword [esi + 0x414], eax
test eax, eax
jle 0x403bb0
push ebx
call ebp
mov dword [esi + 0x630], eax
pop ebx
cmp dword [esi + 0x630], 0
jne 0x403bc7
push 0x427c70
call ebp
mov dword [esi + 0x630], eax
mov eax, dword [esi + 0x630]
test eax, eax
je 0x403be3
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x638], eax
cmp dword [esi + 0x638], 0
je 0x403c19
lea eax, [esi + 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi + 0x638]
push eax
call ecx
test eax, eax
jne 0x403c19
mov edx, dword [esi + 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [esi + 0x630]
test eax, eax
je 0x403c2a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x634]
pop edi
pop esi
pop ebp
ret

Function at 0x403c40
Capabilities:
Copy file

Disassembly:
sub esp, 0x230
mov eax, dword [0x431d18]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov esi, dword [esp + 0x240]
push 0x104
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x14], esi
call fcn.00413c40
push 0x104
lea ecx, [esp + 0x140]
push 0
push ecx
call fcn.00413c40
lea edx, [esp + 0x44]
add esp, 0x18
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403c98
push ebx
push edi
lea edi, [esp + 0x34]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403cb0
mov bl, byte [0x427d34]
lea edx, [esp + 0x138]
mov byte [edi], bl
mov eax, ebp
sub edx, ebp
jmp 0x403cd0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403cd0
lea edi, [esp + 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403ce2
xor eax, eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
lea edx, [esp + 0x14]
lea eax, [esp + 0x138]
mov ecx, 0x2014
push edx
mov byte [edi], bl
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
pop edi
mov esi, eax
pop ebx
push ebp
test esi, esi
jne 0x403d5c
mov eax, dword [esp + 0xc]
push eax
push str.Copy_from__s_To__s_success_n
call fcn.00402190
add esp, 0xc
jmp 0x403d78
mov ecx, dword [esp + 0xc]
push ecx
push str.Error:Copy_from__s_To__s_failure
call fcn.00402190
push str.Error:Copy_File_failure
call fcn.00402240
add esp, 0x10
mov ecx, dword [esp + 0x234]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call int.00413235
add esp, 0x230
ret 8
Function at 0x403da0
Capabilities:
Delete file

Disassembly:
sub esp, 0x128
mov eax, dword [0x431d18]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
mov ebx, dword [esp + 0x130]
push esi
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00413c40
lea edx, [esp + 0x34]
add esp, 0xc
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403de0
push edi
lea edi, [esp + 0x2c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403df0
mov cl, byte [0x427d34]
xor eax, eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
mov eax, edx
mov dword [esp + 0x14], edx
mov byte [edi], cl
lea edx, [esp + 0xc]
mov ecx, 0x2014
push edx
mov dword [esp + 0x14], 3
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
pop edi
test esi, esi
jne 0x403e65
push ebx
push str.Delete__s_Success_n
call fcn.00402190
add esp, 8
jmp 0x403e72
push str.Delete_File_Error_n
call fcn.00402240
add esp, 4
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call int.00413235
add esp, 0x128
ret 4
Function at 0x403e90
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x431d18]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push 0x104
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.00413c40
add esp, 0xc
mov ecx, esi
call fcn.00403b60
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
test eax, eax
je 0x403fdb
lea ecx, [esp + 0x14]
push str._sTelRun64.exe
push ecx
call fcn.0041417b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call esi
test eax, eax
je 0x403f1e
push str.RegOpenKeyEx_n
call fcn.00402240
add esp, 4
mov edx, dword [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 1
push 0
push str.TelRun_
push edx
call edi
test eax, eax
je 0x403f57
push str.RegSetValueEx_n
call fcn.00402240
mov eax, dword [esp + 0x10]
add esp, 4
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRun_
push 0x80000002
call esi
test eax, eax
je 0x403f8b
push str.RegOpenKeyEx_n
call fcn.00402240
add esp, 4
mov ecx, dword [esp + 0xc]
push 0x104
lea eax, [esp + 0x18]
push eax
push 1
push 0
push str.TelRun
push ecx
call edi
pop edi
test eax, eax
je 0x404078
push str.RegSetValueEx_n
call fcn.00402240
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call int.00413235
add esp, 0x110
ret
lea eax, [esp + 0x14]
push str._sTelRun.exe
push eax
call fcn.0041417b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404025
push str.RegOpenKeyEx_n
call fcn.00402240
add esp, 4
mov ecx, dword [esp + 8]
push 0x104
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.TelRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x404078
push str.RegSetValueEx_n
call fcn.00402240
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call int.00413235
add esp, 0x110
ret
push str.set_the_telrun_is_success_n
call fcn.00402190
mov eax, dword [esp + 0xc]
add esp, 4
push eax
call ebx
mov ecx, dword [esp + 0x114]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call int.00413235
add esp, 0x110
ret