joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445190
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4596
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x64306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], vtable.nbase::FrameworkThread.1.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x10], vtable.nbase::FrameworkThread.0
mov al, byte [esi + 0x14]
test al, al
je 0x44522a
call fcn.00445370
mov eax, dword [esi + 8]
test eax, eax
je 0x445224
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x445211
mov eax, dword [esi + 8]
test eax, eax
je 0x445224
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
test al, al
jne 0x445211
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.00425f80
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x44523c
push eax
call edi
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x44524f
call fcn.004353c0
mov eax, dword [esi + 8]
mov dword [esi], vtable.nbase::Thread.0
test eax, eax
je 0x445297
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x445284
mov eax, dword [esi + 8]
test eax, eax
je 0x445297
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x445284
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x445310
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x44536a
call fcn.00445370
mov eax, dword [esi + 8]
test eax, eax
je 0x445364
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44534d
mov eax, dword [esi + 8]
test eax, eax
je 0x445364
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x44534d
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0x14], 0
pop esi
ret
Function at 0x445460
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c462c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x64306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00445660
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call ebx
test eax, eax
jne 0x4454d2
push 0x14
call fcn.0057e13d
mov esi, eax
add esp, 4
mov dword [esi], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 4], 0
mov dword [esi + 0x10], 0
call fcn.00445660
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call fcn.00445660
push dword [eax]
call ebx
test eax, eax
je 0x4454e3
mov byte [eax + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x18]
cmp eax, 3
jne 0x4454fd
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
call dword [eax]
jmp 0x445562
push 0xb8
cmp eax, 2
jne 0x445522
call fcn.0057e13d
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00447b00
jmp 0x44555b
cmp eax, 1
jne 0x445542
call fcn.0057e13d
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00447a00
jmp 0x44555b
call fcn.0057e13d
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00446330
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x1c], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [edi + 0x28]
mov ecx, dword [edi + 0x1c]
call fcn.004469e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp dword [edi + 0x18], 3
mov ecx, dword [edi + 0x1c]
je 0x44559c
test ecx, ecx
je 0x4455ea
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x4455ea
test ecx, ecx
je 0x4455a6
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [edi + 0x24]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call fcn.0042dc00
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4455e3
call fcn.004353c0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x1c], 0
mov dword [edi + 4], 0
call fcn.00445660
push dword [eax]
call ebx
call fcn.00445660
push dword [eax]
call ebx
mov esi, eax
test esi, esi
je 0x44562a
call fcn.00445660
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x14
push esi
call fcn.0057e193
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445660
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x64f8e0]
cmp eax, 2
je 0x4456f0
push esi
push 0
push 1
push 0x64f8e0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4456cc
push 4
call fcn.0057e13d
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov edx, 0x64f8e0
mov ecx, 0x445700
mov dword [0x64f8e4], esi
call fcn.00449000
mov eax, dword [0x64f8e4]
mov dword [0x64f8e0], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x4456ef
mov eax, dword [0x64f8e0]
cmp eax, 2
je 0x4456ef
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x64f8e0]
cmp eax, 2
jne 0x4456e1
pop esi
mov eax, dword [0x64f8e4]
mov esp, ebp
pop ebp
ret

Function at 0x445ae0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], vtable.nbase::Thread.0
test eax, eax
je 0x445b32
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x445b1b
mov eax, dword [esi + 8]
test eax, eax
je 0x445b32
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x445b1b
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x445b43
push 0x10
push esi
call fcn.0057e193
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x445bb0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0
push esi
push 0x445cb0
push 0
push 0
call fcn.0059ec81
add esp, 0x18
mov dword [esi + 8], eax
cmp eax, 2
jae 0x445be1
mov dword [esi + 8], 0
mov dword [edi], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x445c58
or eax, 0xffffffff
cmp ecx, 1
jne 0x445c09
mov eax, 0xfffffffe
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
cmp ecx, 2
jne 0x445c25
or eax, 0xffffffff
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
cmp ecx, 3
jne 0x445c43
mov eax, 2
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret
cmp ecx, 4
mov edx, 0xf
cmove eax, edx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esi + 8], 1
pop edi
seta al
pop esi
ret

Function at 0x445c70
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x445ca5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x445c8e
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop esi
ret
Function at 0x445cd0
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x445cd7
xor al, al
ret
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x445cf6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x445cfa
xor al, al
pop esi
ret
cmp esi, 0xffffffff
je 0x445d06
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret

Function at 0x445d10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x228
mov dword [ebp - 0x458], eax
mov esi, edx
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x454], esi
push 0
push eax
mov dword [ebp - 0x45c], ecx
call fcn.00596fa0
add esp, 0xc
mov dword [ebp - 0x450], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x445d98
cmp edi, 0xffffffff
je 0x445d86
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e11e
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x450]
xor bh, bh
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x445eb4
mov ecx, dword [ebp - 0x45c]
call fcn.00422ca0
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0059eeb7
add esp, 8
test eax, eax
jne 0x445e9e
mov ecx, dword [ebp - 0x458]
call fcn.00422c70
test al, al
je 0x445df8
lea eax, [ebp - 0x448]
mov ecx, esi
push eax
call fcn.00445ff0
mov bh, 1
jmp 0x445e9e
push dword [ebp - 0x448]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x445e98
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00596fa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x445e98
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00425a30
push 0
push dword [ebp - 0x458]
mov ecx, eax
call fcn.00432400
cmp eax, 0xffffffff
lea ecx, [ebp - 0x224]
setne bl
call fcn.00425b70
test bl, bl
je 0x445e8c
mov ecx, dword [ebp - 0x454]
lea eax, [ebp - 0x448]
push eax
call fcn.00445ff0
mov bh, 1
cmp esi, 0xffffffff
je 0x445e98
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x454]
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x445db1
cmp edi, 0xffffffff
je 0x445ec0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bh
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0057e11e
mov esp, ebp
pop ebp
ret
Function at 0x447bc0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x64f8e8]
cmp eax, 2
je 0x447c50
push esi
push 0
push 1
push 0x64f8e8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x447c2c
push 4
call fcn.0057e13d
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov edx, 0x64f8e8
mov ecx, 0x445700
mov dword [0x64f8ec], esi
call fcn.00449000
mov eax, dword [0x64f8ec]
mov dword [0x64f8e8], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x447c4f
mov eax, dword [0x64f8e8]
cmp eax, 2
je 0x447c4f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x64f8e8]
cmp eax, 2
jne 0x447c41
pop esi
mov eax, dword [0x64f8ec]
mov esp, ebp
pop ebp
ret

Function at 0x449c40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
call fcn.00447bc0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x14], 0
lea eax, [ebp - 0x1c]
je 0x449c96
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x449c92
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x449c92
xor bl, bl
jmp 0x449ca8
mov bl, 1
jmp 0x449ca8
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
push 0
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test bl, bl
jne 0x449cc0
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00449b90
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4e53
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x64306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.nbase::WinIOMessagePump.0
mov dword [edi + 0x18], 0xffffffff
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044a480
push 1
mov dword [esi], eax
push 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], vtable.ObserverList_class_nbase::WinIOMessagePump::IOObserver_.0
push 0
push 0xffffffffffffffff
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
mov eax, dword [edi + 0x18]
cmp eax, 0xffffffff
je 0x449fe0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov dword [edi + 0x18], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a7a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x44a7f8
call fcn.00447bc0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x44a7f8
mov bl, 1
jmp 0x44a7fa
xor bl, bl
test esi, esi
je 0x44a805
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a850
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4f10
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
xor bl, bl
push esi
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x44a8e1
call fcn.00447bc0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
je 0x44a8e1
sub esp, 0x10
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0044a940
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.0044a9b0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x24]
push eax
call fcn.00446ea0
lea ecx, [ebp - 0x38]
call fcn.00432de0
mov bl, 1
test esi, esi
je 0x44a8ec
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x44a8f8
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057e11e
mov esp, ebp
pop ebp
ret

Function at 0x44eeb9
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x44eedc
or esi, 1
push 1
call edi
test ax, ax
jns 0x44eee8
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x44eef4
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44ef00
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4519b6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x298]
call fcn.004543a5
mov edi, dword [ebp + 8]
test eax, eax
jle 0x451a0c
push ebx
lea ecx, [esi + 0x298]
mov byte [ebp + 0xb], 0
call fcn.0044c56b
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x451a6c
lea ecx, [esi + 0x298]
inc ebx
call fcn.004543a5
cmp ebx, eax
jl 0x4519d5
sub edi, 0x100
je 0x451ad2
sub edi, 4
je 0x451a70
dec edi
sub edi, 1
jne 0x451ac7
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0059f8a3
pop ecx
mov ecx, dword [esi + 0x1e4]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_select
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x45328e
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x451ac7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x451ac9
cmp dword [esi + 0x1e8], 0
je 0x451ac7
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x1f8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x1fc]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0044eeb9
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1e8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x451ac7
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x451b2b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x451b2b
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x451b2b
mov ecx, dword [esi + 0x1e8]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00596d1d
pop ecx
pop ecx
test eax, eax
je 0x451b2b
mov ecx, dword [esi + 0x1e8]
call fcn.0046bd6e
test al, al
jne 0x451ac7
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x451b73
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x451b73
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x451b73
mov ecx, dword [esi + 0x1e8]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00596d1d
pop ecx
pop ecx
test eax, eax
jne 0x451ac7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00452c03
jmp 0x451a6c
Function at 0x4528fe
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x45292a
cmp esi, dword [ebx + 0x1e8]
je 0x45292a
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x1e8]
cmp esi, eax
je 0x452a01
push edi
test eax, eax
je 0x452989
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x1e8]
call fcn.004524b1
mov dword [ebx + 0x1e8], edi
test esi, esi
je 0x452a00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x452a00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x452a00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x452a00
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x1e8], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x1e8]
call fcn.004524b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x453b55
Capabilities:
Terminate process

Disassembly:
push 0x2f0
mov eax, 0x5c5536
call fcn.0057ebe2
mov edi, ecx
push 0xfffffffffffffff0
call fcn.004543a5
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.004543a5
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004543a5
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
xor esi, esi
sub eax, dword [ebp - 0x1c]
mov ecx, edi
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.004543a5
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
mov ecx, edi
call dword [eax + 0x2c]
push eax
push dword [edi + 4]
mov ecx, ebx
call fcn.0044eafa
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.0044dfc9
lea ecx, [ebp - 0x2f8]
call fcn.00472a89
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x24]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.0044cb71
lea ecx, [ebp - 0xa4]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x453c7c
call dword [eax + 0x28]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0044c580
push eax
call fcn.005a082c
pop ecx
lea ecx, [ebp - 0xa4]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.0044c470
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
and ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x128]
call fcn.0044c580
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.004739a9
mov esi, eax
jmp 0x453cba
call dword [eax + 0x28]
mov edx, edi
mov byte [ebp - 4], 3
neg edx
lea ecx, [edi + 0x28]
push esi
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push esi
call fcn.0044c580
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2f8]
call fcn.004739a9
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.0044c470
test esi, esi
jne 0x453d23
push 0xffffffffffffffff
push 0x5cbd60
lea ecx, [ebp - 0xa4]
call fcn.0044c389
mov eax, dword [edi]
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call dword [eax + 0x28]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.0044c5c4
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.0044c470
push 0x10
push str.Duilib
lea ecx, [ebp - 0xa4]
call fcn.0044c580
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.0044e073
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.0044dea8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.0044c470
lea ecx, [ebp - 0x2f8]
call fcn.00471ce0
xor eax, eax
call fcn.0057eb9d
ret 0x10