joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2e60
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using curve25519

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x13c]
mov dword [esp + 0x138], eax
mov eax, edx
mov ebx, ecx
lea edx, [esp + 0x118]
mov ecx, 0x20
call fcn.00402d40
and byte [esp + 0x118], 0xf8
and byte [esp + 0x137], 0x7f
movzx eax, byte [esp + 0x137]
or eax, 0x40
mov byte [esp + 0x137], al
mov edx, ebx
mov eax, esp
call fcn.004ad030
lea eax, [esp + 0x78]
call fcn.004a9650
lea eax, [esp + 0x28]
call fcn.004a96a0
lea eax, [esp + 0xa0]
call fcn.004a96a0
lea edx, [esp + 0x50]
mov eax, esp
mov ecx, 0x28
call fcn.00402d40
xor ebx, ebx
mov esi, 0xff
mov esi, esi
sub esi, 1
mov eax, esi
mov edx, eax
sar edx, 0x1f
and edx, 7
add eax, edx
sar eax, 3
movzx eax, byte [esp + eax + 0x118]
mov edx, esi
and edx, 7
mov ecx, edx
shr eax, cl
and eax, 1
mov edi, eax
xor eax, ebx
mov ebx, eax
mov ecx, ebx
lea edx, [esp + 0x50]
lea eax, [esp + 0x28]
call fcn.004ace90
mov ecx, ebx
lea edx, [esp + 0xa0]
lea eax, [esp + 0x78]
call fcn.004ace90
mov ebx, edi
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x50]
lea eax, [esp + 0xc8]
call fcn.004a9750
lea ecx, [esp + 0x78]
lea edx, [esp + 0x28]
lea eax, [esp + 0xf0]
call fcn.004a9750
lea ecx, [esp + 0x78]
lea edx, [esp + 0x28]
lea eax, [esp + 0x28]
call fcn.004a96f0
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x50]
lea eax, [esp + 0x78]
call fcn.004a96f0
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc8]
lea eax, [esp + 0xa0]
call fcn.004a9c70
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x78]
lea eax, [esp + 0x78]
call fcn.004a9c70
lea edx, [esp + 0xf0]
lea eax, [esp + 0xc8]
call fcn.004ab040
lea edx, [esp + 0x28]
lea eax, [esp + 0xf0]
call fcn.004ab040
lea ecx, [esp + 0x78]
lea edx, [esp + 0xa0]
lea eax, [esp + 0x50]
call fcn.004a96f0
lea ecx, [esp + 0x78]
lea edx, [esp + 0xa0]
lea eax, [esp + 0x78]
call fcn.004a9750
lea ecx, [esp + 0xc8]
lea edx, [esp + 0xf0]
lea eax, [esp + 0x28]
call fcn.004a9c70
lea ecx, [esp + 0xc8]
lea edx, [esp + 0xf0]
lea eax, [esp + 0xf0]
call fcn.004a9750
lea edx, [esp + 0x78]
lea eax, [esp + 0x78]
call fcn.004ab040
lea edx, [esp + 0xf0]
lea eax, [esp + 0xa0]
call fcn.004ac660
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
call fcn.004ab040
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xc8]
lea eax, [esp + 0xc8]
call fcn.004a96f0
lea ecx, [esp + 0x78]
mov edx, esp
lea eax, [esp + 0xa0]
call fcn.004a9c70
lea ecx, [esp + 0xc8]
lea edx, [esp + 0xf0]
lea eax, [esp + 0x78]
call fcn.004a9c70
test esi, esi
jg 0x4b2ee8
mov ecx, ebx
lea edx, [esp + 0x50]
lea eax, [esp + 0x28]
call fcn.004ace90
mov ecx, ebx
lea edx, [esp + 0xa0]
lea eax, [esp + 0x78]
call fcn.004ace90
lea edx, [esp + 0x78]
lea eax, [esp + 0x78]
call fcn.004acad0
lea ecx, [esp + 0x78]
lea edx, [esp + 0x28]
lea eax, [esp + 0x28]
call fcn.004a9c70
mov eax, dword [esp + 0x138]
lea edx, [esp + 0x28]
call fcn.004ad380
lea eax, [esp + 0x118]
xor cl, cl
mov edx, 0x20
call fcn.00402d80
lea esp, [esp + 0x13c]
pop edi
pop esi
pop ebx
ret
Function at 0x4b3670
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xb0]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004b3650
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 3
mov eax, 0x56e578
call fcn.004b3ae0
mov dword [ebp - 0xc], eax
xor eax, eax
push fcn.004b3640
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.0049a990
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004b3640
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
and al, 0xf8
mov edx, dword [ebp - 0x10]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x1f]
and ax, 0x3f
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x1f], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x1f]
or eax, 0x40
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x1f], al
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xb0]
call fcn.004adee0
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xb0]
call fcn.004adbf0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004b3650
mov esp, ebp
pop ebp
ret

Function at 0x4b51f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 4]
mov edi, eax
mov eax, edx
lea edx, [edi + 0x50]
mov esi, eax
mov ecx, 0x10
call fcn.00402d40
mov ecx, 0xffffffff
nop
add ecx, 1
lea edx, [edi + 0x40]
mov al, byte [edx + ecx + 0x10]
mov dl, byte [edx + ecx]
xor dl, al
mov byte [edi + ecx + 0x60], dl
cmp ecx, 0xf
jl 0x4b5210
mov byte [esp], 0
mov ebx, 0xffffffff
lea esi, [esi]
add ebx, 1
movzx ecx, byte [esp]
mov dl, byte [edi + 0x40]
mov cl, byte [ecx + str._.C]
xor cl, dl
mov byte [edi + 0x40], cl
xor eax, eax
nop
add eax, 1
lea ecx, [edi + 0x40]
movzx edx, byte [ecx + eax - 1]
mov dl, byte [edx + str._.C]
mov cl, byte [ecx + eax]
xor cl, dl
mov byte [edi + eax + 0x40], cl
cmp eax, 0x2f
jl 0x4b5250
movzx edx, byte [edi + 0x6f]
add edx, ebx
and edx, 0xff
mov byte [esp], dl
cmp ebx, 0x11
jl 0x4b5238
lea ecx, [edi + 0x30]
mov dl, byte [esi]
mov al, byte [ecx + 0xf]
xor al, dl
and eax, 0xff
mov edx, ecx
mov al, byte [eax + str._.C]
mov dl, byte [edx]
xor dl, al
mov byte [edi + 0x30], dl
xor eax, eax
lea esi, [esi]
nop
add eax, 1
lea ebx, [edi + 0x30]
mov dl, byte [ebx + eax - 1]
mov cl, byte [esi + eax]
xor cl, dl
movzx edx, cl
mov dl, byte [edx + str._.C]
mov cl, byte [ebx + eax]
xor cl, dl
mov byte [edi + eax + 0x30], cl
cmp eax, 0xf
jl 0x4b52a8
lea esp, [esp + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x4015e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x4a9430
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2ba8
push eax
mov dword fs:[0], esp
sub esp, 0x504
cmp dword [0x8c7658], 0x5b1
push ebx
push esi
push edi
jne 0x4016b2
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.00401c40
push 0
mov dword [ebp - 4], 0
call fcn.00403b68
add esp, 4
jmp 0x4015d0
mov eax, dword [0x8c7658]
add eax, 0x1134b
push eax
push 0
mov dword [0x8c7658], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x8c7658]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x8c65ac], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
jmp 0x4016f0
cmp esi, 0x2710
jge 0x401703
lea eax, [ebp - 0x510]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4016f0
mov ecx, dword [0x8c7658]
xor esi, esi
test ecx, ecx
jbe 0x401779
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
jmp 0x401730
mov ecx, dword [0x8c765c]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x8c65ac]
mov byte [eax + esi], dl
mov ecx, dword [0x8c7658]
cmp ecx, 0xa8
jne 0x401774
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x110]
push edx
call ebx
mov ecx, dword [0x8c7658]
inc esi
cmp esi, ecx
jb 0x401730
xor eax, eax
jmp 0x401780
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x40181c
inc eax
cmp eax, 0x39621
jl 0x401780
call fcn.004014d0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ad
call fcn.004015b0
inc esi
cmp esi, 0x6753f
jl 0x4017a1
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 [0x8c7658], 0x86
jne 0x401800
push 0
push 0
call esi
push 0
push 0x4a4e88
push str.erixiguxokudepe_vih_nukaxakutepisoxekuposu_nujuf
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub dword [ebp - 0x10], 1
jne 0x4017d0
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 0x401830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x8c7658], 0x400
push esi
push edi
jne 0x40187c
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
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.00401980
mov ecx, esi
call fcn.004019a0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetClipboardViewer]
xor esi, esi
cmp esi, 0xa5a
jge 0x401894
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2afe5b
jle 0x4018aa
cmp edi, 0x78e8e445
jne 0x4018b3
inc esi
cmp esi, 0x1bf9
jl 0x401888
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x4018de
inc esi
cmp esi, 0x4f6a4
jl 0x4018c1
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
lea esp, [esp]
push 0
call edi
cmp esi, 0x2b259d
jle 0x401904
cmp ebx, 0x785074d5
jne 0x40190d
inc esi
cmp esi, 0x11915
jl 0x4018f0
mov ecx, dword [0x4a84cc]
mov edx, dword [0x4a84a0]
mov dword [0x8c7658], ecx
mov dword [0x8c765c], edx
call fcn.004015e0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
jmp 0x401940
cmp dword [0x8c7658], 0x51f
jne 0x40195c
push 0
lea eax, [ebp - 0x424]
push eax
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x401940
mov eax, dword [0x8c65ac]
mov dword [0x8c6bec], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4044cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7218]
jne 0x4044d5
repz ret
jmp fcn.0040884c
Function at 0x40a69f
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.00407142
and dword [ebp - 4], 0
cmp dword [0x4a9314], 0
mov ebx, eax
jne 0x40a750
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a801
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a801
push eax
call fcn.004070d0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a9314], eax
call esi
push eax
call fcn.004070d0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a9318], eax
call esi
push eax
call fcn.004070d0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a931c], eax
call esi
push eax
call fcn.004070d0
pop ecx
mov dword [0x4a9324], eax
test eax, eax
je 0x40a750
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004070d0
pop ecx
mov dword [0x4a9320], eax
mov eax, dword [0x4a9320]
cmp eax, ebx
je 0x40a7a8
cmp dword [0x4a9324], ebx
je 0x40a7a8
push eax
call fcn.0040714b
push dword [0x4a9324]
mov esi, eax
call fcn.0040714b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7a8
test edi, edi
je 0x40a7a8
call esi
test eax, eax
je 0x40a79f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a79f
test byte [ebp - 0xc], 1
jne 0x40a7a8
or dword [ebp + 0x10], 0x200000
jmp 0x40a7e1
mov eax, dword [0x4a9318]
cmp eax, ebx
je 0x40a7e1
push eax
call fcn.0040714b
pop ecx
test eax, eax
je 0x40a7e1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a7e1
mov eax, dword [0x4a931c]
cmp eax, ebx
je 0x40a7e1
push eax
call fcn.0040714b
pop ecx
test eax, eax
je 0x40a7e1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a9314]
call fcn.0040714b
pop ecx
test eax, eax
je 0x40a801
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a803
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x309b2f6f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
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
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5c6319e0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40105f
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4030d0], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x4030d4], eax
push 0x1f4
push dword [0x4030d0]
call sub.user32.dll_LoadIconA
mov dword [0x4030d8], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x4030dc], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov dword [0x4030e0], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov dword [0x4030e4], eax
call 0x40105f
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0x404
lea eax, [ebp - 0x18]
push eax
call sub.comctl32.dll_InitCommonControlsEx
mov edx, 0x403108
xor eax, eax
mov dword [edx], 0x30
mov dword [edx + 4], eax
mov dword [edx + 8], 0x40140a
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
push dword [0x4030d0]
pop dword [edx + 0x14]
mov dword [edx + 0x18], eax
push dword [0x4030dc]
pop dword [edx + 0x1c]
mov dword [edx + 0x20], 0xd
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], str.OurChildClass
mov dword [edx + 0x2c], eax
push edx
call sub.user32.dll_RegisterClassExA
push 0x10
push dword [0x4030dc]
push dword [0x4030d8]
push str.Prostart_Class
push 0x40120b
call fcn.00401179
push 0x46
push dword [0x4030e0]
call fcn.004017c0
mov dword [ebp - 4], eax
push 0x46
push dword [0x4030e4]
call fcn.004017c0
mov dword [ebp - 8], eax
push dword [0x4030e0]
push dword [ebp - 4]
call fcn.00401422
mov dword [ebp - 0xc], eax
push dword [0x4030e4]
push dword [ebp - 8]
call fcn.00401422
mov dword [ebp - 0x10], eax
push 0
push dword [0x4030d0]
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0xcf0000
push str.Prostart_Template
push str.Prostart_Class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x4030e8], eax
push 1
push dword [0x4030e8]
call sub.user32.dll_ShowWindow
push dword [0x4030e8]
call sub.user32.dll_UpdateWindow
call fcn.004011dc
leave
ret
Function at 0x40512b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410400]
jne 0x405135
repz ret
jmp fcn.0040759b

Function at 0x406c9a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410400]
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.004041f1
and dword [ebp - 0x14], 0
cmp dword [0x411b34], 0
mov dword [ebp - 0x18], eax
jne 0x406d4d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406df5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406df5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40e15c
push ebx
mov dword [0x411b34], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411b38], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411b3c], eax
call edi
push eax
call esi
mov dword [0x411b44], eax
test eax, eax
je 0x406d4d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411b40], eax
mov eax, dword [0x411b40]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406da6
cmp dword [0x411b44], ecx
je 0x406da6
push eax
call esi
push dword [0x411b44]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406da6
test ebx, ebx
je 0x406da6
call edi
test eax, eax
je 0x406d9d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406d9d
test byte [ebp - 8], 1
jne 0x406da6
or dword [ebp + 0x10], 0x200000
jmp 0x406dd9
mov eax, dword [0x411b38]
cmp eax, dword [ebp - 0x18]
je 0x406dd9
push eax
call esi
test eax, eax
je 0x406dd9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406dd9
mov eax, dword [0x411b3c]
cmp eax, dword [ebp - 0x18]
je 0x406dd9
push eax
call esi
test eax, eax
je 0x406dd9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411b34]
call esi
test eax, eax
je 0x406df5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406df7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040512b
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 0x431000
Capabilities:
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
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x23d020b3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x22fc082a
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x40193e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401951
push esp
mov dword [ebp - 0x24], 0x4016b5
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019f0
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019d1
pop ebp
ret 0x10
Function at 0x818058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81806a
add dl, dl
jne 0x818089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8180dc
xor eax, eax
add dl, dl
jne 0x818096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81817d
add dl, dl
jne 0x8180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x818075
mov eax, 1
add dl, dl
jne 0x8180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8180e1
sub eax, ebx
mov ebx, 1
jne 0x818128
mov ecx, 1
add dl, dl
jne 0x81810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x818119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818136
cmp eax, 0x7d00
jae 0x81816d
cmp eax, 0x500
jb 0x818168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
cmp eax, 0x7f
ja 0x818170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x818075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219