joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb49
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x244], edi
jg 0x42cb66
xor eax, eax
jmp 0x42cd37
mov eax, esi
call fcn.0042c59b
mov ebx, eax
cmp dword [esi + 0x254], edi
je 0x42cbb4
cmp dword [esi + 0x268], edi
jl 0x42cbb4
cmp dword [esi + 0x26c], edi
jl 0x42cbb4
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov edi, 0x10000
test edi, eax
jne 0x42cbac
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x42cbb9
mov ebx, dword [esi + 0x26c]
jmp 0x42cbb9
mov edi, 0x10000
mov eax, dword [ebp + 8]
sub eax, 0x21
je 0x42cc6a
dec eax
je 0x42cc47
dec eax
je 0x42cc3e
dec eax
je 0x42cc36
dec eax
dec eax
je 0x42cc1f
dec eax
dec eax
je 0x42cc02
sub eax, 0x19
jne 0x42cb5f
cmp dword [esi + 0x254], eax
je 0x42cb5f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x42cb5f
call fcn.0042c3e7
jmp 0x42cb5f
mov edi, ebx
inc edi
inc ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x278], 0
je 0x42cc5b
cmp dword [esi + 0x244], edi
jg 0x42cc7e
jmp 0x42cc7c
mov edi, ebx
inc edi
dec ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x278], 0
jne 0x42cc3a
test edi, edi
jge 0x42cc86
xor edi, edi
jmp 0x42cc86
test edi, edi
jge 0x42cc86
mov edi, dword [esi + 0x244]
dec edi
jmp 0x42cc7e
cmp ebx, 0xffffffff
jne 0x42cc50
xor edi, edi
jmp 0x42cc5b
mov eax, esi
call fcn.0042cacd
mov edi, eax
add edi, ebx
mov eax, dword [esi + 0x244]
dec eax
cmp eax, edi
jge 0x42cc7e
mov edi, eax
jmp 0x42cc7e
cmp ebx, 0xffffffff
je 0x42cc36
mov eax, esi
call fcn.0042cacd
sub ebx, eax
mov edi, ebx
jns 0x42cc86
xor edi, edi
test edi, edi
jl 0x42cb5f
cmp dword [esi + 0x254], 0
je 0x42cce2
cmp dword [esi + 0x268], 0
jl 0x42cce2
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call ebx
cwde
test eax, 0x10000
jne 0x42ccbc
push 0xa1
call ebx
cwde
test eax, 0x10000
je 0x42cce2
mov ebx, dword [esi + 0x268]
mov dword [esp + 0xc], ebx
call fcn.0042c6e3
mov ecx, ebx
mov eax, edi
mov ebx, esi
call fcn.0042c7fa
mov eax, dword [esp + 0xc]
mov dword [esi + 0x268], eax
jmp 0x42ccf8
call fcn.0042c6e3
xor eax, eax
push edi
inc eax
mov ecx, esi
call fcn.0042c389
mov dword [esi + 0x268], edi
push 0
lea ebx, [esi + 0x118]
push dword [ebx]
mov eax, esi
push dword [0x488808]
mov dword [esi + 0x274], edi
mov dword [esi + 0x26c], edi
call fcn.0042749c
mov ecx, dword [esi + 0x260]
test ecx, ecx
je 0x42cd2b
push dword [ebx]
mov eax, dword [ecx]
call dword [eax]
mov eax, edi
mov ecx, esi
call fcn.0042cafc
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431208
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x4312b6
cmp dword [esi + 0x24], ebx
jne 0x4312b6
push edi
push 0x4784dc
call fcn.00404d77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0x431250
push str.GetDpiForMonitor
push eax
call edi
push str.SetProcessDpiAwareness
push dword [esi + 0x20]
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
jmp 0x431256
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
push str.user32.dll
call fcn.00404d77
pop ecx
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x4312a9
push str.SetProcessDpiAwarenessContext
push eax
call edi
push str.SetDialogControlDpiChangeBehavior
push dword [esi + 0x24]
mov dword [esi + 8], eax
call edi
push str.GetDpiForWindow
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call edi
push str.SystemParametersInfoForDpi
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call edi
push str.EnableNonClientDpiScaling
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x4312b5
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop edi
pop ebx
ret
Function at 0x431677
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x78
cmp dword [eax + 0x28], 2
push esi
push edi
jne 0x4317b8
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [eax + 4]
call edi
mov esi, eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffec
push dword [eax + 4]
and esi, 0xff7fffff
or esi, 0x400000
call edi
xor edi, edi
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0xc]
sub dword [ebx], eax
mov eax, dword [esp + 0x10]
sub dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
sub dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
sub dword [ebx + 0xc], eax
push edi
push 0x4785c8
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 8], eax
cmp eax, edi
je 0x4317b8
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
call esi
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x40]
call fcn.0043162c
mov esi, dword [esp + 8]
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
push eax
push 4
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x68], esi
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test al, 1
je 0x4317b8
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4317b8
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x4317ae
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jle 0x4317a3
inc dword [ebx]
jmp 0x4317b8
jge 0x4317aa
inc dword [ebx + 4]
jmp 0x4317b8
cmp eax, dword [esp + 0x1c]
jle 0x4317b5
dec dword [ebx + 0xc]
jmp 0x4317b8
dec dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x435653
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00435b81
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
je 0x435718
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
jne 0x4356aa
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x43571a
cmp ebx, 0xf4240
jle 0x4356bd
push ebx
push esi
call fcn.004363ad
test eax, eax
je 0x435718
lea eax, [ebx + 2]
push eax
push 1
call fcn.004478cd
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x43569d
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435708
cmp dword [ebp - 4], ebx
jne 0x435708
mov edi, dword [ebp + 8]
mov eax, esi
call fcn.00435721
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0044783f
xor eax, eax
pop ecx
inc eax
jmp 0x43571a
push esi
call fcn.0044783f
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4363ad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469c00
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x484060]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, 0x186a0
cmp dword [ebp + 0xc], ebx
jge 0x4363e6
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00448d71
mov edi, eax
xor esi, esi
pop ecx
mov dword [esp + 0x18], edi
cmp edi, esi
jne 0x4363fd
xor eax, eax
jmp 0x436474
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.004355bd
push esi
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push dword [ebp + 8]
mov dword [esp + 0x84], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x43644b
cmp dword [esp + 0x14], ebx
jne 0x43644b
mov eax, edi
lea edi, [esp + 0x1c]
call fcn.00435721
test eax, eax
je 0x43644b
cmp dword [esp + 0x24], esi
je 0x43644b
mov dword [esp + 0x10], 1
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esp + 0x18]
call fcn.0044783f
or dword [esp + 0x74], 0xffffffff
pop ecx
lea eax, [esp + 0x1c]
push eax
call fcn.0043562c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4382de
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
push edi
xor ebp, ebp
push ebp
mov eax, esi
call fcn.0043835c
push ebp
mov edi, 0x80
push edi
push 2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x438349
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x438345
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push 2
push 0
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x438349
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x438359
push ebx
call fcn.0044a68e
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop ecx
mov dword [esi + 0x18], eax
pop edi
pop ebp
ret

Function at 0x43859c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], eax
jmp 0x4385ef
and dword [ebp - 4], 0
mov esi, 0x1000000
cmp edi, 0x1000000
ja 0x4385bd
mov esi, edi
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4385fa
cmp esi, dword [ebp - 4]
jb 0x4385fe
cmp dword [ebp - 4], 0
jne 0x4385e7
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
sub edi, eax
add dword [ebp - 8], eax
test edi, edi
jne 0x4385aa
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x4385f6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x4385fa
and dword [ebp - 8], 0
push 0x47cd2c
lea eax, [ebp - 8]
push eax
call fcn.00457f1a
int3
Function at 0x43861b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [esi], 0
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 4], eax
jmp 0x438660
and dword [ebp - 8], 0
mov edi, 0x1000000
cmp ebx, edi
ja 0x43863b
mov edi, ebx
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43866b
mov eax, dword [ebp - 8]
add dword [esi], eax
cmp eax, edi
jb 0x438664
sub ebx, eax
add dword [ebp - 4], eax
test ebx, ebx
jne 0x43862c
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
xor eax, eax
jmp 0x438667

Function at 0x43866f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x43867a
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x43872c
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4c0]
inc ecx
sub edi, 8
dec esi
jne 0x438691
pop ebx
test edi, edi
je 0x438745
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46f4c0]
inc ecx
dec edi
jne 0x438730
pop esi
not eax
pop edi
ret
Function at 0x441be0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x441be8
mov dword [ecx*4 + 0x489c80], eax
inc ecx
cmp ecx, 0x100
jb 0x441be3
mov edx, 0x800
jmp 0x441c35
mov eax, dword [ecx*4 + 0x489880]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x489c80]
inc ecx
mov dword [ecx*4 + 0x489c7c], eax
cmp ecx, edx
jb 0x441c14
mov eax, 0x443f3f
mov esi, 0x443fdb
mov dword [0x489c60], eax
mov dword [0x48bc80], eax
mov dword [0x489c5c], esi
call fcn.00444176
test eax, eax
jne 0x441c62
mov dword [0x48bc80], esi
pop esi
ret

Function at 0x445367
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
push edi
xor edi, edi
and edx, 7
cmp ecx, 5
jae 0x445386
xor eax, eax
jmp 0x445489
sub ecx, 4
add ecx, eax
push ebx
mov dword [ebp - 4], ecx
push esi
lea esi, [edi + eax]
jmp 0x4453a0
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4453a5
inc esi
cmp esi, dword [ebp - 4]
jb 0x445395
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, eax
sub edi, eax
cmp esi, dword [ebp - 4]
jae 0x445473
cmp ecx, 2
jbe 0x445441
xor edx, edx
movzx ecx, byte [esi + 4]
lea ebx, [ecx + 1]
test bl, 0xfe
jne 0x445468
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 2]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 1]
shl ecx, 8
or ecx, ebx
add edi, 5
mov ebx, ecx
sub ebx, edi
test edx, edx
je 0x44541e
and edx, 6
shl edx, 2
mov ecx, edx
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], ecx
inc eax
test al, 0xfe
jne 0x445419
mov eax, 0x100
shl eax, cl
dec eax
xor ebx, eax
sub ebx, edi
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, ebx
shr ecx, 8
mov byte [esi + 1], bl
mov byte [esi + 2], cl
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
and bl, 1
neg bl
mov byte [esi + 3], cl
mov byte [esi + 4], bl
jmp 0x445390
shr edx, cl
test edx, edx
je 0x4453c3
cmp edx, 4
ja 0x445468
cmp edx, 3
je 0x445468
mov ecx, edx
shr ecx, 1
movzx ecx, byte [ecx + esi + 1]
inc ecx
test cl, 0xfe
jne 0x4453c3
or edx, 8
shr edx, 1
inc edi
jmp 0x445390
push 2
pop eax
shr edx, cl
cmp eax, ecx
mov ecx, dword [ebp + 0xc]
sbb eax, eax
not eax
and eax, edx
pop esi
mov dword [ecx], eax
mov eax, edi
pop ebx
pop edi
leave
ret
Function at 0x44742e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x487368], 0
push esi
jne 0x4473a1
call fcn.004472c7
test eax, eax
je 0x4473e4
mov eax, dword [0x487368]
cmp eax, 1
jne 0x4473c2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4473e4
pop esi
ret
push eax
call dword [0x487370]
test eax, eax
jne 0x44742c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4473e8
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x487368]
call dword [0x487370]
mov edi, eax
test edi, edi
je 0x44740d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x447429
mov edi, esi
add esi, 0xff0
push edi
push dword [0x487368]
call dword [0x48736c]
add edi, 0x10
cmp edi, esi
jb 0x447415
mov eax, edi
pop edi
pop esi
ret
jmp 0x44738e

Function at 0x447554
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x484060]
jne 0x44755e
repz ret
jmp fcn.0044c22c

Function at 0x45dddb
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.0044c3a4
and dword [ebp - 4], 0
cmp dword [0x487f40], 0
mov ebx, eax
jne 0x45de8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45df3d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45df3d
push eax
call fcn.0044c332
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x487f40], eax
call esi
push eax
call fcn.0044c332
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x487f44], eax
call esi
push eax
call fcn.0044c332
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x487f48], eax
call esi
push eax
call fcn.0044c332
pop ecx
mov dword [0x487f50], eax
test eax, eax
je 0x45de8c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044c332
pop ecx
mov dword [0x487f4c], eax
mov eax, dword [0x487f4c]
cmp eax, ebx
je 0x45dee4
cmp dword [0x487f50], ebx
je 0x45dee4
push eax
call fcn.0044c3ad
push dword [0x487f50]
mov esi, eax
call fcn.0044c3ad
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45dee4
test edi, edi
je 0x45dee4
call esi
test eax, eax
je 0x45dedb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45dedb
test byte [ebp - 0xc], 1
jne 0x45dee4
or dword [ebp + 0x10], 0x200000
jmp 0x45df1d
mov eax, dword [0x487f44]
cmp eax, ebx
je 0x45df1d
push eax
call fcn.0044c3ad
pop ecx
test eax, eax
je 0x45df1d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45df1d
mov eax, dword [0x487f48]
cmp eax, ebx
je 0x45df1d
push eax
call fcn.0044c3ad
pop ecx
test eax, eax
je 0x45df1d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x487f40]
call fcn.0044c3ad
pop ecx
test eax, eax
je 0x45df3d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45df3f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x461c46
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x461cae
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x461cae
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00461823
push eax
push esi
push dword [ebp + 8]
call fcn.004617d8
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00461813
loopne 0x461c36
and eax, 0x7c9d889f
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00461813
sbb eax, dword [bx + di - 0x726e]
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x461e91
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x461ec7
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x461ec2
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x461eac
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x461eb4
cmp edx, ebx
jne 0x462002
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x461e83
add eax, dword [eax + 4]
jmp 0x461e70
mov dword [ebp + 0xc], ebx
jmp 0x461ed2
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x461eea
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x461f08
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x461f66
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x461f4d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x461f56
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x461f60
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x461f42
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x461ecc
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x461fb3
dec eax
je 0x461faa
sub eax, 3
je 0x461fa1
mov dword [ebp - 4], 0x40
jmp 0x461fd0
mov dword [ebp - 4], 4
jmp 0x461fb6
mov dword [ebp - 4], 0x20
jmp 0x461fb6
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x462002
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x461f82
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00461813
jae 0x462044
div byte [edi]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x46200e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov al, 0xfc
invalid