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

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xc62d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xc62d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xc62d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xc62d94
push eax
push esi
call fcn.00c6520b
add esp, 8
pop esi
ret 0x10

Function at 0xc62da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc62e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xc62e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xc7b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00c64dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xc62dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xc62e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc62ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xc62eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xc7b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00c64dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xc62eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xc62e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xc63000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xc63131
push esi
call fcn.00c66145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00c55080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xc63131
push 0
push ebp
call fcn.00c553a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00c55260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xc6308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00c552f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xc63121
push 0xc7b918
push edi
call fcn.00c643f0
push eax
push ebx
push esi
call fcn.00c62f60
push 0xc7b8f8
push edi
call fcn.00c643f0
push eax
push ebx
push esi
call fcn.00c62f60
push 0xc7b8d8
push edi
call fcn.00c643f0
push eax
push ebx
push esi
call fcn.00c62f60
push 0xc7b8c0
push edi
call fcn.00c643f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00c62f60
push 0xc7b8a0
push edi
call fcn.00c643f0
push eax
push ebx
push esi
call fcn.00c62f60
push 0xc7b888
push edi
call fcn.00c643f0
push eax
push ebx
push esi
call fcn.00c62f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xc641b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c64140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c64140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c64140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c64140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc64bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc64c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc7687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc64c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc64c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401e00
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fad0
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x47c1b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
push str.CREATE_SUSPENDED
call dword [eax + 0x14]
push 0x400
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x44
lea eax, [ebp - 0x858]
push 0
push eax
call fcn.00405800
add esp, 0xc
mov ecx, esi
push edi
mov dword [ebp - 4], 0
call fcn.004035a0
push 0x47d2f8
lea ecx, [ebp - 0x858]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x401ea6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004047a4
mov esp, ebp
pop ebp
ret 4
Function at 0x402f10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fd10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47c1b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
push dword [0x47d2fc]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov eax, dword [esi]
mov ecx, esi
jne 0x402f7b
push str.NORUN
call dword [eax + 0x14]
mov eax, 0x12c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x421c74
call dword [eax + 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4032c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4032d3
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403314
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403310
jmp 0x403300
cmp esi, edx
jae 0x403314
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x403300
cmp esi, edx
jb 0x403318
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x403810
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x40fe08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c1b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
inc eax
push eax
mov dword [esp + 0x2c], 0
call fcn.00403f9b
cmp dword [esp + 0x54], 0x10
lea ecx, [esp + 0x40]
cmovae ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
inc ecx
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.0040553c
mov ebp, dword [esp + 0x5c]
mov eax, dword [esi]
add esp, 0x10
mov ecx, esi
push str.XOR_Start
inc ebp
call dword [eax + 0x14]
push ebx
call fcn.00405305
mov edi, eax
mov eax, dword [esp + 0x38]
add esp, 4
xor esi, esi
mov dword [esp + 0x14], edi
cmp eax, ebx
jae 0x4038d9
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x14]
add edi, eax
sub ebx, eax
lea esp, [esp]
xor eax, eax
cmp esi, ebp
cmove esi, eax
lea edi, [edi + 1]
lea eax, [esi - 1]
cdq
idiv ebp
mov eax, dword [esp + 0x18]
inc esi
mov al, byte [edx + eax + 1]
inc al
xor al, byte [ecx + edi - 1]
mov byte [edi - 1], al
dec ebx
jne 0x4038b0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push str.XOR_END
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [esp + 0x50], 0x10
jb 0x4038fa
push dword [esp + 0x3c]
call fcn.0040401d
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x24
Function at 0x403b20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fe60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47c1b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ecx]
push 0x41b24c
call dword [eax + 0x14]
mov esi, dword [ebp + 8]
push 0x4000
push dword [esi + 0x50]
mov dword [ebp - 4], 0
push dword [esi + 0x34]
push dword [0x47d2f8]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [0x47d2f8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408ac3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47c1b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00408621
mov dword [ebp - 0x14], eax
cmp dword [0x47dfd8], edi
jne 0x408bb4
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x408b41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408c94
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x408c94
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408c94
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x47dfd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x47dfdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x47dfe0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47dfe8], eax
test eax, eax
je 0x408bb1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47dfe4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x408bd9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408bcc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x408bee
push 4
pop eax
jmp 0x408c96
cmp dword [ebp - 0x14], edi
je 0x408bee
push dword [0x47dfd8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x408bd3
mov eax, dword [0x47dfe4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x408c4c
cmp dword [0x47dfe8], esi
je 0x408c4c
push eax
call ebx
push dword [0x47dfe8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408c4c
test eax, eax
je 0x408c4c
call ecx
test eax, eax
je 0x408c41
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x408c41
test byte [ebp - 8], 1
jne 0x408c4c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x408c7c
mov eax, dword [0x47dfdc]
cmp eax, esi
je 0x408c79
push eax
call ebx
test eax, eax
je 0x408c79
call eax
mov edi, eax
test edi, edi
je 0x408c79
mov eax, dword [0x47dfe0]
cmp eax, esi
je 0x408c79
push eax
call ebx
test eax, eax
je 0x408c79
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x47dfd8]
call ebx
test eax, eax
je 0x408c94
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x408c96
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004047a4
leave
ret
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x50ca5ae6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x21740f7
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401200
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec ebx
imul esi
dec esi
sbb eax, 0xf0
and ebx, 0x95
neg eax
bswap ebx
not edi
bswap ebx
not edx
inc edi
rcr edi, 0x29
inc edx
add edi, 0x76
imul edx
neg eax
and edi, 0xcd
imul eax
imul eax
bswap eax
not esi
sbb edx, 0x76
inc edi
mov ebx, 0x53
rcl esi, 0xd7
not ebx
neg edi
and esi, 0xab
not edx
and ebx, 0x71
rcl eax, 0xe
imul edi
rcr ebx, 0x82
neg eax
dec esi
bswap edx
mov ebx, 0x72
sbb edi, 0x52
sbb esi, 0x1b
bswap eax
sbb esi, 0x77
not edi
bswap ebx
not edi
and ebx, 0xcd
rcr edx, 0xbc
rcr edi, 0xa2
imul ebx
add esi, 0xd4
neg ebx
xor ecx, ecx
xor edi, edi
and edi, 0xf0
sub edi, 0xcc
rcr edx, 1
mov edi, 0xd1
rcl edx, 0x8a
and eax, 0x6d
inc edx
sub eax, 0xf9
mov edx, 0x4e
or edi, 0xe0
add edi, 0xf3
imul esi
dec esi
or edx, 0x66
rcr edi, 0x52
bswap edx
add esi, 0x23
mov ebx, 0x7b
rol edx, 6
neg esi
sub ebx, 0xc6
rcr esi, 0xdf
not eax
rol eax, 0xb
and edx, 0
mov edx, 0xa9
dec edx
rcl edx, 0x7a
and edx, 0xcd
mov ebx, 0xa5
rcr edi, 0xdd
and ebx, 0xe5
or edx, 0xf4
not ebx
imul ebx
rcl esi, 0x34
neg esi
rcl eax, 0x3e
dec edx
inc edi
or edi, 0x13
neg edi
dec ebx
sub esi, 0x6d
not edx
rcl edi, 0x5e
mov esi, 0xe0
add ebx, 0x87
and eax, 0x42
or edx, 0xeb
mov ecx, dword [ebp + 0xc]
or edx, 0xa4
imul eax
inc eax
bswap ebx
add edx, 0xaf
rcr edi, 0xb6
rcl edx, 0x64
dec ebx
rcl edi, 0xc5
sbb ebx, 0x78
mov edx, 0x28
not edx
dec edx
bswap ebx
imul edi
dec esi
inc edx
neg edi
add esi, 0xc8
sbb ebx, 0xc8
inc edi
inc edi
not eax
add eax, 0xf1
sub eax, 0x20
inc esi
bswap eax
imul eax
neg esi
and esi, 0xa1
neg ebx
imul eax
ror eax, 0x56
sbb esi, 0x7e
mov esi, 0x96
not ebx
rol edx, 0x34
neg edx
and ebx, 0x89
rol edx, 0x78
bswap esi
rcl ebx, 0xe7
bswap edi
dec edx
neg ebx
rcl edi, 9
rol ebx, 0x5e
bswap eax
or edx, 0xd9
not eax
mov edi, dword [ebp + 8]
mov esi, ebx
xor esi, eax
xor esi, eax
not byte [edi]
mov ebx, ebx
xor esi, eax
xor eax, ebx
mov esi, ebx
xor esi, esi
xor esi, esi
xor eax, esi
xor ebx, ebx
xor esi, esi
add byte [edi], 0x34
mov eax, esi
xor ebx, ebx
mov ebx, eax
xor ebx, ebx
mov eax, eax
xor eax, eax
mov esi, eax
xor eax, eax
mov esi, esi
sub byte [edi], 0x75
xor ebx, eax
xor ebx, eax
mov esi, esi
xor eax, esi
xor ebx, eax
mov eax, eax
mov ebx, esi
mov esi, esi
mov esi, ebx
imul byte [edi]
inc edi
loop 0x4013d5
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4076a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4108f0]
jne 0x4076ae
repz ret
jmp fcn.0040bba5
Function at 0x408013
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.0040593a
and dword [ebp - 4], 0
cmp dword [0x4115cc], 0
mov ebx, eax
jne 0x4080c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408175
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408175
push eax
call fcn.004058c8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4115cc], eax
call esi
push eax
call fcn.004058c8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4115d0], eax
call esi
push eax
call fcn.004058c8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4115d4], eax
call esi
push eax
call fcn.004058c8
pop ecx
mov dword [0x4115dc], eax
test eax, eax
je 0x4080c4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004058c8
pop ecx
mov dword [0x4115d8], eax
mov eax, dword [0x4115d8]
cmp eax, ebx
je 0x40811c
cmp dword [0x4115dc], ebx
je 0x40811c
push eax
call fcn.00405943
push dword [0x4115dc]
mov esi, eax
call fcn.00405943
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40811c
test edi, edi
je 0x40811c
call esi
test eax, eax
je 0x408113
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408113
test byte [ebp - 0xc], 1
jne 0x40811c
or dword [ebp + 0x10], 0x200000
jmp 0x408155
mov eax, dword [0x4115d0]
cmp eax, ebx
je 0x408155
push eax
call fcn.00405943
pop ecx
test eax, eax
je 0x408155
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408155
mov eax, dword [0x4115d4]
cmp eax, ebx
je 0x408155
push eax
call fcn.00405943
pop ecx
test eax, eax
je 0x408155
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4115cc]
call fcn.00405943
pop ecx
test eax, eax
je 0x408175
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408177
xor eax, eax
pop edi
pop esi
pop ebx
leave
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
mov ebx, 0x40915c
mov ecx, 0x57344425
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x24ae11b2
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
jmp 0x401219