joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f33c
Capabilities:
Access the windows event log
Clear windows event logs
Set current directory

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffdcc
mov dword [esp], edx
push edi
push ecx
push edx
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov eax, dword [esp + 4]
push eax
push esi
push ebp
call sub.kernel32.dll_SetDefaultCommConfigA
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_UnhookWindowsHook
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, dword [esp + 0x14]
push eax
call sub.gdi32.dll_FlattenPath
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.user32.dll_GetDlgItem
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.advapi32.dll_IsTextUnicode
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.advapi32.dll_RegUnLoadKeyA
mov eax, dword [esp + 0x34]
push eax
call sub.user32.dll_IsWindowUnicode
lea eax, [esp + 0xac]
push eax
mov eax, dword [esp + 0x3c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
call sub.advapi32.dll_ClearEventLogA
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push eax
call sub.wininet.dll_HttpSendRequestExW
mov eax, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push eax
call sub.kernel32.dll_SetThreadPriorityBoost
mov eax, dword [esp + 0x70]
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
push eax
call sub.gdi32.dll_PlayMetaFileRecord
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push eax
call sub.gdi32.dll_EnumFontFamiliesA
mov eax, dword [esp + 0x84]
push eax
call sub.gdi32.dll_GetEnhMetaFileA
lea edx, [esp + 0x1ec]
mov eax, dword [esp + 0x88]
call fcn.0042b1f0
mov eax, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push eax
call sub.user32.dll_SetWindowsHookExA
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x228]
push eax
mov eax, dword [esp + 0xac]
push eax
lea eax, [esp + 0x220]
push eax
mov eax, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xb0]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x234
pop ebp
pop edi
pop esi
ret
Function at 0x49f580
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
push edx
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, ebx
call fcn.004079e8
push esi
call sub.gdi32.dll_GetPixelFormat
mov eax, dword [esp]
push eax
push ebp
push edi
call sub.user32.dll_GetClipboardFormatNameA
mov eax, dword [esp + 4]
call fcn.004079a8
mov eax, dword [esp + 8]
call fcn.0042b180
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_GetListBoxInfo
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00406e80
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49f5e0
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff40
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
push ecx
push edi
lea ecx, [esp + 0xc]
push ecx
push ebp
push edx
push eax
call sub.advapi32.dll_LookupAccountSidA
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push ebx
push esi
call sub.gdi32.dll_GetTextExtentPointA
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_GetDriveTypeW
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
call fcn.0042b1d4
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.gdi32.dll_GetTextExtentPointA
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
call fcn.0042b190
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push eax
call sub.user32.dll_GetMenuItemInfoW
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [esp + 0x9c]
call fcn.0049f2e8
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
call sub.gdi32.dll_SelectClipPath
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.0042cb04
add esp, 0xc0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49f6b8
Capabilities:
Get common file path
Read .ini file

Disassembly:
push esi
push edi
push ebp
add esp, 0xffffffdc
push ecx
push edx
push eax
call sub.kernel32.dll_GetPrivateProfileSectionNamesA
push esi
call sub.comctl32.dll_ImageList_DragLeave
push ebp
push edi
call sub.kernel32.dll_GetTempPathA
mov eax, dword [esp]
push eax
call sub.user32.dll_GetMenuContextHelpId
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.wininet.dll_HttpSendRequestA
mov eax, dword [esp + 0x18]
call fcn.0042b208
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.kernel32.dll_GetCurrentDirectoryA
add esp, 0x24
pop ebp
pop edi
pop esi
ret
Function at 0x49f808
Capabilities:
Create process on windows
Manipulate console buffer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff9c
push edx
push eax
call sub.kernel32.dll_SetProcessAffinityMask
push ebp
push ebx
call sub.kernel32.dll_SetProcessPriorityBoost
push esp
call sub.gdi32.dll_CreatePalette
push esi
push edi
call sub.user32.dll_LoadKeyboardLayoutA
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
call fcn.0042b11c
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
call sub.wininet.dll_FtpGetFileA
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
call fcn.00407a70
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.kernel32.dll_WinExec
add esp, 0x64
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49fd6c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x49fd91
cmp dword [esp + 4], 5
jb 0x49fd91
mov al, 1
jmp 0x49fd93
xor eax, eax
add esp, 0x94
ret
Function at 0x10001230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
je 0x1000123f
xor al, al
pop ebp
ret 0xc
push 0
push 0
push 0
push 0x10001010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, 0xffffffff
je 0x10001260
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret 0xc

Function at 0x10001530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10005380]
xor eax, ebp
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10033b60]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1000157e
mov eax, dword [ebp - 0x10]
sub eax, 5
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100015a0
mov eax, 0xa
jmp 0x10001687
cmp dword [ebp + 0xc], 0
je 0x100015ec
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x10]
add ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100015ea
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x1c]
mov byte [edx + 1], 0xf9
jmp 0x10001628
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10001613
push 7
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10001628
push 5
mov edx, dword [ebp - 0xc]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x14], cl
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100031e8
mov esp, ebp
pop ebp
ret
Function at 0x100016f0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10005380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x1000182e
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10001824
cmp dword [ebp - 0x20], 0x10
jb 0x10001808
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10001808
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10001808
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10001798
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x100337e4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10001796
jmp 0x10001824
jmp 0x100017e8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100017e8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x100337e4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100017d2
jmp 0x10001824
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10001732
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100031e8
mov esp, ebp
pop ebp
ret
Function at 0x10001960
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100016f0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100019fd
mov dword [ebp - 4], 0
jmp 0x100019a9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100019fd
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100019fb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10001d30
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100019a0
mov esp, ebp
pop ebp
ret

Function at 0x10001eb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10001f24
mov dword [ebp - 4], 0
jmp 0x10001ed0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x10001f10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001f0e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10001ec7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100337e4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret
Function at 0x10002030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10033b5c]
mov dword [ebp - 4], eax
jmp 0x10002048
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000205e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000205c
mov eax, dword [ebp - 4]
jmp 0x100020d9
jmp 0x10002040
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100020d6
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10002098
mov edx, dword [ebp - 4]
mov eax, dword [0x10033b5c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10033b5c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10002590
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100025d9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100025d9
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100025d9
xor eax, eax
jmp 0x1000261a
mov dword [ebp - 4], 1
jmp 0x100025eb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10002615
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10002613
xor eax, eax
jmp 0x1000261a
jmp 0x100025e2
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x46326fac
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6dc10121
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4019e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b70d0]
jne 0x4019ea
repz ret
jmp fcn.00402886

Function at 0x40f868
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.0040340a
and dword [ebp - 4], 0
cmp dword [0x4c0100], 0
mov ebx, eax
jne 0x40f919
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f9ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f9ca
push eax
call fcn.00403398
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c0100], eax
call esi
push eax
call fcn.00403398
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c0104], eax
call esi
push eax
call fcn.00403398
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c0108], eax
call esi
push eax
call fcn.00403398
pop ecx
mov dword [0x4c0110], eax
test eax, eax
je 0x40f919
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403398
pop ecx
mov dword [0x4c010c], eax
mov eax, dword [0x4c010c]
cmp eax, ebx
je 0x40f971
cmp dword [0x4c0110], ebx
je 0x40f971
push eax
call fcn.00403413
push dword [0x4c0110]
mov esi, eax
call fcn.00403413
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f971
test edi, edi
je 0x40f971
call esi
test eax, eax
je 0x40f968
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f968
test byte [ebp - 0xc], 1
jne 0x40f971
or dword [ebp + 0x10], 0x200000
jmp 0x40f9aa
mov eax, dword [0x4c0104]
cmp eax, ebx
je 0x40f9aa
push eax
call fcn.00403413
pop ecx
test eax, eax
je 0x40f9aa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9aa
mov eax, dword [0x4c0108]
cmp eax, ebx
je 0x40f9aa
push eax
call fcn.00403413
pop ecx
test eax, eax
je 0x40f9aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c0100]
call fcn.00403413
pop ecx
test eax, eax
je 0x40f9ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f9cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b23f2
Capabilities:
Create pipe

Disassembly:
mov eax, dword [eax]
sub esp, 0x18
push ebx
mov ebx, dword [0x4c05ac]
push esi
mov esi, dword [0x4c04f4]
call fcn.004b2345
cmp dword [0x4c05ac], 0x2f
jne 0x4b2437
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
pop edi
push esi
call fcn.004b236b
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4b2739
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, 0x1540bf
xor esi, esi
cmp dword [0x4c05ac], 0xbf9
jne 0x4b2754
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
cmp dword [0x4c05ac], 0x3dc
mov dword [0x4c05a0], 0x8e468c6a
jne 0x4b2783
push esi
push 0x4b580c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.nokiwubuferugenalef
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x4b2742
cmp esi, 0x8465cb
jne 0x4b279d
mov eax, dword [0x4bf564]
add eax, 0xa231
mov dword [0x4c05ac], eax
cmp dword [0x4c05ac], 0x141
jne 0x4b27ba
or dword [0x4c0274], 0xffffffff
mov dword [0x4c0270], 0xec58acac
inc esi
cmp esi, 0x123c19c
jl 0x4b2786
call fcn.004b2444
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x4f59c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xe0000
lea edi, [esi - 0x9f000]
push edi
jmp 0x4f59da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f59e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f59d0
mov eax, 1
add ebx, ebx
jne 0x4f59f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f5a04
jne 0x4f5a23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a23
dec eax
add ebx, ebx
jne 0x4f5a10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f59e8
add ebx, ebx
jne 0x4f5a1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f5a75
xor ecx, ecx
sub eax, 3
jb 0x4f5a3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f5aaa
sar eax, 1
mov ebp, eax
jmp 0x4f5a46
add ebx, ebx
jne 0x4f5a46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a14
inc ecx
add ebx, ebx
jne 0x4f5a54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a14
add ebx, ebx
jne 0x4f5a61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f5a56
jne 0x4f5a72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f5a56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f5a94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f5a86
jmp 0x4f59d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f5a94
add edi, ecx
jmp 0x4f59d6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f5ab2
cmp byte [edi], 0x11
jne 0x4f5ab2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f5ab7
lea edi, [esi + 0xee000]
mov eax, dword [edi]
or eax, eax
je 0x4f5b2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1123d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11254c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f5ae4
mov ecx, edi
jns 0x4f5b13
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x112550]
or eax, eax
je 0x4f5b29
mov dword [ebx], eax
add ebx, 4
jmp 0x4f5b01
call dword [esi + 0x112560]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f5b60
cmp al, 0xef
ja 0x4f5b53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f5b35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f5b42
mov ebp, dword [esi + 0x112554]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f5b94
sub esp, 0xffffff80
jmp 0x427f4a