joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439c40
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x640800]
sub esp, 0x18
push esi
cmp eax, 2
je 0x439d10
push 0
push 1
push 0x640800
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x439ced
push 4
call fcn.0057279d
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
sub esp, 0x28
mov eax, esp
mov dword [0x640804], esi
mov dword [ebp - 8], 0x640800
mov dword [ebp - 0xc], 0x439d20
mov dword [ebp - 0x18], 0x439d20
mov dword [eax], vtable.std::_Func_base_void___.0
mov dword [eax], vtable.std::_Func_impl_class_std::_Binder_struct_std::_Unforced__void____cdecl___void_____void_____class_std::allocator_int___void___.0
mov dword [eax + 4], 0x439d20
mov dword [eax + 8], 0x640800
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0x640800
mov dword [eax + 0x24], eax
call fcn.0043d870
mov eax, dword [0x640804]
add esp, 0x28
mov dword [0x640800], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x439d10
mov eax, dword [0x640800]
cmp eax, 2
je 0x439d10
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x640800]
cmp eax, 2
jne 0x439d02
mov eax, dword [0x640804]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43a020
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 0x43a072
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43a05b
mov eax, dword [esi + 8]
test eax, eax
je 0x43a072
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x43a05b
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 0x43a083
push 0x10
push esi
call fcn.005727f3
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x43a0f0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0
push esi
push 0x43a1b0
push 0
push 0
call fcn.00593375
add esp, 0x18
mov dword [esi + 8], eax
cmp eax, 2
jae 0x43a121
mov dword [esi + 8], 0
mov dword [edi], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x43a198
or eax, 0xffffffff
cmp ecx, 1
jne 0x43a149
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 0x43a165
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 0x43a183
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 0x43a1d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x458]
push 0x228
mov esi, edx
mov dword [ebp - 0x468], ecx
push 0
push eax
mov dword [ebp - 0x464], esi
call fcn.0058b610
add esp, 0xc
mov dword [ebp - 0x45c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x45c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43a254
cmp ebx, 0xffffffff
je 0x43a241
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057277e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x45c]
mov byte [ebp - 0x45d], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x43a39c
mov ecx, dword [ebp - 0x468]
call fcn.00421f60
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.005935ab
add esp, 8
test eax, eax
jne 0x43a386
cmp dword [edi + 0x10], eax
jne 0x43a2b3
lea eax, [ebp - 0x454]
mov ecx, esi
push eax
call fcn.0043a550
mov byte [ebp - 0x45d], 1
jmp 0x43a386
push dword [ebp - 0x454]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43a380
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.0058b610
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x43a380
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00423680
cmp dword [edi + 0x14], 8
jb 0x43a31d
mov ecx, dword [edi]
jmp 0x43a31f
mov ecx, edi
push dword [edi + 0x10]
push 0
push ecx
mov ecx, eax
call fcn.0042bfc0
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x46c], eax
cmp ecx, 8
jb 0x43a356
inc ecx
push ecx
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x22c]
call fcn.00423720
mov eax, dword [ebp - 0x46c]
cmp eax, 0xffffffff
je 0x43a374
mov ecx, dword [ebp - 0x464]
lea eax, [ebp - 0x454]
push eax
call fcn.0043a550
mov byte [ebp - 0x45d], 1
cmp esi, 0xffffffff
je 0x43a380
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x464]
lea eax, [ebp - 0x45c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43a271
cmp ebx, 0xffffffff
je 0x43a3a8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x45d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057277e
mov esp, ebp
pop ebp
ret
Function at 0x43c0a0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x640808]
sub esp, 0x18
push esi
cmp eax, 2
je 0x43c170
push 0
push 1
push 0x640808
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x43c14d
push 4
call fcn.0057279d
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
sub esp, 0x28
mov eax, esp
mov dword [0x64080c], esi
mov dword [ebp - 8], 0x640808
mov dword [ebp - 0xc], 0x439d20
mov dword [ebp - 0x18], 0x439d20
mov dword [eax], vtable.std::_Func_base_void___.0
mov dword [eax], vtable.std::_Func_impl_class_std::_Binder_struct_std::_Unforced__void____cdecl___void_____void_____class_std::allocator_int___void___.0
mov dword [eax + 4], 0x439d20
mov dword [eax + 8], 0x640808
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0x640808
mov dword [eax + 0x24], eax
call fcn.0043d870
mov eax, dword [0x64080c]
add esp, 0x28
mov dword [0x640808], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x43c170
mov eax, dword [0x640808]
cmp eax, 2
je 0x43c170
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x640808]
cmp eax, 2
jne 0x43c162
mov eax, dword [0x64080c]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43e2b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
call fcn.0043c0a0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x14], 0
lea eax, [ebp - 0x1c]
je 0x43e306
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x43e302
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 0x43e302
xor bl, bl
jmp 0x43e318
mov bl, 1
jmp 0x43e318
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 0x43e330
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.0043e200
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b93a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x63406c]
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.0043e9d0
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 0x43e630
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 0x43ed20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9428
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x63406c]
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 0x43ed78
call fcn.0043c0a0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x43ed78
mov bl, 1
jmp 0x43ed7a
xor bl, bl
test esi, esi
je 0x43ed85
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 0x43edd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b946c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x63406c]
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 - 0x50], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x43ee9f
call fcn.0043c0a0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
je 0x43ee9f
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043ef00
mov eax, dword [ebp - 0x4c]
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_V__WeakCallback_V___Binder_U_Unforced_std__AAP8MessageLoopProxy_nbase__BEXXZABQBV34__std___nbase__V__allocator_H_std__X__V_std__.0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x24]
push eax
call fcn.0043b360
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43ee9d
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov bl, 1
test esi, esi
je 0x43eeaa
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x43eeb6
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.0057277e
mov esp, ebp
pop ebp
ret

Function at 0x4433d7
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 0x4433fa
or esi, 1
push 1
call edi
test ax, ax
jns 0x443406
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x443412
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44341e
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x445ed2
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.0047530c
mov edi, dword [ebp + 8]
test eax, eax
jle 0x445f28
push ebx
lea ecx, [esi + 0x298]
mov byte [ebp + 0xb], 0
call fcn.00440ac5
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 0x445f88
lea ecx, [esi + 0x298]
inc ebx
call fcn.0047530c
cmp ebx, eax
jl 0x445ef1
sub edi, 0x100
je 0x445fee
sub edi, 4
je 0x445f8c
dec edi
sub edi, 1
jne 0x445fe3
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00593f93
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 0x4477a9
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x445fe3
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 0x445fe5
cmp dword [esi + 0x1e8], 0
je 0x445fe3
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.004433d7
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 0x445fe3
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x446047
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x446047
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x446047
mov ecx, dword [esi + 0x1e8]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0058b38d
pop ecx
pop ecx
test eax, eax
je 0x446047
mov ecx, dword [esi + 0x1e8]
call fcn.004602f1
test al, al
jne 0x445fe3
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x44608f
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x44608f
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x44608f
mov ecx, dword [esi + 0x1e8]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0058b38d
pop ecx
pop ecx
test eax, eax
jne 0x445fe3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0044711f
jmp 0x445f88
Function at 0x446e1a
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 0x446e46
cmp esi, dword [ebx + 0x1e8]
je 0x446e46
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x1e8]
cmp esi, eax
je 0x446f1d
push edi
test eax, eax
je 0x446ea5
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.004469cd
mov dword [ebx + 0x1e8], edi
test esi, esi
je 0x446f1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x446f1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x446f1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x446f1c
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.004469cd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x448070
Capabilities:
Terminate process

Disassembly:
push 0x2f0
mov eax, 0x5b9a95
call fcn.00573242
mov edi, ecx
push 0xfffffffffffffff0
call fcn.0047530c
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.0047530c
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0047530c
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.0047530c
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.00443018
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.004424f8
lea ecx, [ebp - 0x2f8]
call fcn.0046700c
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.004410c2
lea ecx, [ebp - 0xa4]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x448197
call dword [eax + 0x28]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0056c9b0
push eax
call fcn.00594f1c
pop ecx
lea ecx, [ebp - 0xa4]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.004409ca
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.0056c9b0
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.00467f2f
mov esi, eax
jmp 0x4481d5
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.0056c9b0
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2f8]
call fcn.00467f2f
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004409ca
test esi, esi
jne 0x44823e
push 0xffffffffffffffff
push 0x5bfd50
lea ecx, [ebp - 0xa4]
call fcn.004408e3
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.00440b15
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.004409ca
push 0x10
push str.Duilib
lea ecx, [ebp - 0xa4]
call fcn.0056c9b0
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.00442591
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.004423d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.004409ca
lea ecx, [ebp - 0x2f8]
call fcn.00466263
xor eax, eax
call fcn.005731fd
ret 0x10
Function at 0x448f5f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x448f91
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x45c4aa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x45c4ce
cmp dword [esi + 8], edi
jge 0x45c4c6
push esi
call fcn.00457e07
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x45c4f7
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x45c4da
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x45c511
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x45c502
xor dl, dl
jmp 0x45c507
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x45c4f9
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x45c546
push str.zlib_corrupt
call fcn.00457d30
add esp, 4
jmp 0x45c586
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x45c556
push str.read_past_buffer
jmp 0x45c53c
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x45c570
push edi
push ecx
push esi
call fcn.0045f073
add esp, 0xc
test eax, eax
je 0x45c586
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0058bc30
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x46215f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x614], edi
je 0x4621d6
cmp dword [ebp + 8], 0x100
jne 0x4621c5
cmp word [ebp + 0xc], 0xd
jne 0x4621c5
cmp byte [esi + 0x61a], 0
je 0x46219f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4621c5
cmp byte [esi + 0x61b], 0
jne 0x4621c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x4621c1
mov eax, dword [esi]
mov ecx, esi
push edi
push edi
push edi
push str.return
push esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004469cd
xor eax, eax
jmp 0x4621d9
mov eax, dword [esi + 0x614]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10