joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ccb
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
push eax
push 0x20019
push ebx
mov esi, 0x80000002
push 0x4012a4
push esi
mov dword [ebp - 8], ebx
call edi
cmp eax, ebx
jne 0x402d2c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402d21
cmp dword [ebp - 0xc], ebx
jne 0x402d21
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402d3c
cmp eax, 2
jne 0x402dcb
mov dword [ebp - 8], 1
cmp dword [ebp - 8], ebx
je 0x402dcb
call fcn.00402dd0
test eax, eax
mov ebx, 0x20006
je 0x402d8b
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0x40132c
push esi
call edi
test eax, eax
jne 0x402d8b
push 0x401358
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x401360
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0x4012a4
push esi
call edi
test eax, eax
jne 0x402db5
push 0x401300
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40132c
push esi
call fcn.00404233
push 0x401314
push esi
call fcn.00404233
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 8]
push ebx
xor ebx, ebx
push eax
push 1
push ebx
push 0x40132c
push 0x80000002
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e74
push esi
push edi
push 8
lea eax, [ebp - 4]
pop edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x401358
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x402e20
mov byte [ebp - 0x14], bl
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x401360
push dword [ebp - 8]
call esi
test eax, eax
je 0x402e3e
mov byte [ebp - 0x1c], bl
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x14]
push 0x401588
push eax
call esi
test eax, eax
jne 0x402e69
lea eax, [ebp - 0x1c]
push 0x401584
push eax
call esi
test eax, eax
jne 0x402e69
mov dword [ebp - 0xc], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
Function at 0x403bc3
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 4], esi
call fcn.0040396e
test eax, eax
je 0x403c18
lea eax, [ebp - 8]
push eax
push 1
push esi
push 0x401688
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c4a
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push 0x40166c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403c4a
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x10c]
push 0x401660
push eax
call fcn.00403529
lea eax, [ebp - 0x10c]
push eax
call fcn.0040391a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x403c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
mov dword [ebp - 4], 0x80004005
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x58], 0x44
cmp esi, edi
je 0x403c7b
mov dword [esi], edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403cf7
cmp esi, edi
mov dword [ebp - 4], edi
je 0x403ca3
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
cmp dword [ebp + 0xc], edi
je 0x403ce2
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.00403d19
test eax, eax
jne 0x403cbe
mov dword [ebp - 4], 0x80070102
cmp dword [ebp - 4], edi
jl 0x403ce2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
and eax, 0xff000000
cmp eax, 0xaa000000
jne 0x403ce2
mov dword [ebp - 4], edi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 4]
jmp 0x403d13
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x403d07
call esi
jmp 0x403d13
call esi
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
leave
ret 0x10

Function at 0x403d9b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
push esi
push esi
call fcn.0040396e
test eax, eax
je 0x403df5
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403df5
lea eax, [ebp - 0x10]
push eax
push 0x4016bc
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x408000
Capabilities:
Accept command line arguments
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Contain obfuscated stackstrings
Copy file
Delete file
Encode data using xor
Get common file path
Get file attributes
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x14], 0x3aa00
mov dword [ebp - 0x34], 0x325c3a43
mov dword [ebp - 0x30], 0x35313233
mov dword [ebp - 0x2c], 0x2e303237
mov dword [ebp - 0x28], 0x657865
call 0x408031
pop edx
mov ecx, 0x23e
add edx, 0xf
xor byte [edx], 0xf7
inc edx
loop 0x40803a
xchg ebx, eax
or dl, al
invalid
Function at 0x401127
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40117d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40117d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x40116f
cmp esi, ecx
jae 0x40117d
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x40115d
cmp esi, ecx
jae 0x40117d
cmp word [esi], 0
je 0x40117d
mov eax, esi
jmp 0x40117f
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40151a
Capabilities:
Create process memory minidump
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push 0x48
mov eax, 0x4032da
call fcn.00403257
mov esi, edx
cmp ecx, 6
jne 0x4016b7
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x4c]
call fcn.00401ab8
test eax, eax
js 0x4016bc
mov edx, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
call fcn.00401ab8
test eax, eax
js 0x4016bc
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
call fcn.00401ab8
mov edi, eax
test edi, edi
js 0x4016bc
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4016b7
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4016b7
xor eax, eax
push eax
push 0x80
push 3
push eax
push eax
push 0x40000000
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x4016b3
xor esi, esi
push esi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edx, eax
lea edi, [ebp - 0x28]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x50], edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xa
lea eax, [ebp - 0x44]
mov dword [ebp - 4], esi
push eax
push edx
mov dword [ebp - 0x44], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov edi, dword [ebp - 0x50]
cmp dword [ebp - 0x38], ebx
jne 0x401636
push dword [ebp - 0x3c]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x401634
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x401634
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push esi
call fcn.0040236c
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x40162e
mov dword [ecx], eax
jmp 0x401631
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor esi, esi
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4015ef
push esi
push esi
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x48]
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
jne 0x40167c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, 0x80004005
test edi, edi
cmovns edi, eax
jmp 0x40167e
mov edi, esi
mov ebx, dword [ebp - 0x28]
jmp 0x401696
mov esi, dword [ebx + 8]
mov ebx, dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x401683
lea ecx, [ebp - 0x28]
call fcn.00402301
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00402301
mov eax, edi
jmp 0x4016bc
mov eax, 0x800700a0
call fcn.00403215
ret
Function at 0x401cea
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x405008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 9
mov dword [ebp - 0x48], ecx
lea edi, [ebp - 0x44]
pop ecx
xor eax, eax
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.api_ms_win_core_memory_l1_1_5.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x401d94
push str.UnmapViewOfFile2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x401d94
push esi
mov esi, dword [ebp - 0x3c]
jmp 0x401d8a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x401d79
cmp dword [ebp - 8], 0x40000
je 0x401d6e
cmp dword [ebp - 8], 0x1000000
jne 0x401d7e
push 0
push esi
push edi
call dword [ebp - 0x4c]
test eax, eax
jne 0x401d7e
mov ebx, 0x80004005
mov edx, esi
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x20]
cmp edx, esi
jbe 0x401d8f
cmp esi, dword [ebp - 0x38]
jb 0x401d3d
mov eax, ebx
pop esi
jmp 0x401d96
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004023f8
leave
ret
Function at 0x4028cf
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x404968
call fcn.00402db0
push 1
call fcn.0040247c
pop ecx
test al, al
je 0x4028b9
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040244a
mov byte [ebp - 0x24], al
mov eax, dword [0x405050]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4028b9
test eax, eax
jne 0x4027d7
mov dword [0x405050], ecx
push 0x404020
push 0x404010
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4027ba
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4028a9
push 0x40400c
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x405050], 2
jmp 0x4027dc
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004025d0
pop ecx
call fcn.00402f24
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40280d
push esi
call fcn.0040253c
pop ecx
test al, al
je 0x40280d
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4061a4]
call esi
call fcn.00402f2a
mov esi, eax
cmp dword [esi], edi
je 0x40282b
push esi
call fcn.0040253c
pop ecx
test al, al
je 0x40282b
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.00402cff
test al, al
je 0x4028c0
test bl, bl
jne 0x40285e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.004025ed
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4028a9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00402bdc
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00535000
jmp 0x40274d
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41456e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004141e7
Function at 0x414de0
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edi
add eax, eax
add edx, 0x7de648c5
inc eax
add ecx, 4
cmp ecx, ebx
jne fcn.00414de0
inc esi
inc eax
add esi, 0x94094993
ret
Function at 0x40107e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
push edi
xor edi, edi
cmp dword [0x2afa6d4], 0x594
mov dword [ebp - 8], eax
jne 0x4010b2
push edi
lea eax, [ebp - 0x430]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x421c58]
mov dword [ebp - 0x20], eax
mov eax, dword [0x421c5c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.00401077
mov eax, dword [0x421c60]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x421c64]
add esi, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
cmp dword [0x2afa6d4], 0xc
mov dword [ebp - 4], eax
jne 0x40112d
push edi
lea eax, [ebp - 0x430]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push edi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2afa6d4]
cmp eax, 0xfa9
jne 0x401149
mov dword [0x2afa6d0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401164
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x2afa084], edi
mov ecx, dword [ebp - 0xc]
mov edx, ebx
lea eax, [esi + ebx]
shr edx, cl
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [0x2afa6cc], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea ecx, [esi + eax]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
shr eax, cl
add eax, dword [ebp - 0x24]
mov ecx, eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor dword [ebp - 4], ecx
sub ebx, dword [ebp - 4]
add esi, 0x61c88647
dec dword [ebp - 0x1c]
jne 0x4010ed
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x404598
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4218ac]
jne 0x4045a2
repz ret
jmp fcn.00406eac

Function at 0x406c6f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401d7c
and dword [ebp - 4], 0
cmp dword [0x425f90], 0
mov ebx, eax
jne 0x406d20
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406dd1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406dd1
push eax
call fcn.00401d0a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425f90], eax
call esi
push eax
call fcn.00401d0a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425f94], eax
call esi
push eax
call fcn.00401d0a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425f98], eax
call esi
push eax
call fcn.00401d0a
pop ecx
mov dword [0x425fa0], eax
test eax, eax
je 0x406d20
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00401d0a
pop ecx
mov dword [0x425f9c], eax
mov eax, dword [0x425f9c]
cmp eax, ebx
je 0x406d78
cmp dword [0x425fa0], ebx
je 0x406d78
push eax
call fcn.00401d85
push dword [0x425fa0]
mov esi, eax
call fcn.00401d85
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406d78
test edi, edi
je 0x406d78
call esi
test eax, eax
je 0x406d6f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406d6f
test byte [ebp - 0xc], 1
jne 0x406d78
or dword [ebp + 0x10], 0x200000
jmp 0x406db1
mov eax, dword [0x425f94]
cmp eax, ebx
je 0x406db1
push eax
call fcn.00401d85
pop ecx
test eax, eax
je 0x406db1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406db1
mov eax, dword [0x425f98]
cmp eax, ebx
je 0x406db1
push eax
call fcn.00401d85
pop ecx
test eax, eax
je 0x406db1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425f90]
call fcn.00401d85
pop ecx
test eax, eax
je 0x406dd1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406dd3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xcd44bb
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
call dword [0xd1b1b0]
mov dword [0xd2a00c], eax
call dword [0xd1b178]
mov dword [0xd2a008], eax
pushaw
mov eax, 1
cpuid
shr edx, 0x1a
and edx, 1
mov dword [0xd2a010], edx
popaw
call fcn.00cd51f7
test eax, eax
je 0xcd4566
mov esi, dword [0xd1b184]
xor edi, edi
mov ebx, 0xd2a068
inc edi
push 0xfffffffffffffff6
mov dword [0xd2a078], ebx
mov dword [0xd2a084], edi
call esi
push 0xfffffffffffffff5
mov dword [0xd2a088], eax
mov dword [0xd2a098], ebx
mov dword [0xd2a0a4], edi
call esi
push 0xfffffffffffffff4
mov dword [0xd2a0a8], eax
mov dword [0xd2a0b8], ebx
mov dword [0xd2a0c4], edi
call esi
push 0xd1b350
push 0xd1b34c
mov dword [0xd2a0c8], eax
call fcn.00cd43af
push 0xd1b348
push 0xd1b308
call fcn.00cd43af
add esp, 0x10
pop edi
pop esi
pop ebx
ret
push 0xffffffffffffffff
push 0x243
call fcn.00cd43eb
int3