joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438ce0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push 0
push eax
mov ebx, edx
mov esi, ecx
movups xmmword [ebp - 0x14], xmm0
call fcn.0058c9e0
xor eax, eax
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], ax
xor ecx, ecx
mov eax, dword [esi + 0x10]
mov edx, 2
inc eax
mov dword [ebp - 0x2c], 1
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00573b64
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x438d41
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
inc eax
push eax
push 0
push edi
call fcn.0058c9e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x438d59
mov esi, dword [esi]
push esi
push 0x620044
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov byte [ebp - 1], 1
cmp dword [ecx + 0x10], 0
ja 0x438d7a
xor esi, esi
jmp 0x438d81
call fcn.00421f60
mov esi, eax
cmp dword [ebx + 0x10], 0
ja 0x438d8b
xor eax, eax
jmp 0x438d92
mov ecx, ebx
call fcn.00421f60
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push esi
push 0
push 0x20
push 1
push 0
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
and bl, byte [ebp - 1]
cmp eax, 0xffffffff
je 0x438dc7
push eax
call esi
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x438dd2
push eax
call esi
push 2
push edi
call fcn.00573bc8
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x63606c]
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.0058c9e0
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 0x438e74
cmp ebx, 0xffffffff
je 0x438e61
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.00573b53
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 0x438fbc
mov ecx, dword [ebp - 0x468]
call fcn.00421f60
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0059497b
add esp, 8
test eax, eax
jne 0x438fa6
cmp dword [edi + 0x10], eax
jne 0x438ed3
lea eax, [ebp - 0x454]
mov ecx, esi
push eax
call fcn.00439390
mov byte [ebp - 0x45d], 1
jmp 0x438fa6
push dword [ebp - 0x454]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x438fa0
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.0058c9e0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x438fa0
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00423700
cmp dword [edi + 0x14], 8
jb 0x438f3d
mov ecx, dword [edi]
jmp 0x438f3f
mov ecx, edi
push dword [edi + 0x10]
push 0
push ecx
mov ecx, eax
call fcn.0042cb40
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x46c], eax
cmp ecx, 8
jb 0x438f76
inc ecx
push ecx
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x22c]
call fcn.004237a0
mov eax, dword [ebp - 0x46c]
cmp eax, 0xffffffff
je 0x438f94
mov ecx, dword [ebp - 0x464]
lea eax, [ebp - 0x454]
push eax
call fcn.00439390
mov byte [ebp - 0x45d], 1
cmp esi, 0xffffffff
je 0x438fa0
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 0x438e91
cmp ebx, 0xffffffff
je 0x438fc8
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.00573b53
mov esp, ebp
pop ebp
ret
Function at 0x43b140
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x63606c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0058c9e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x43b1ce
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x43b1a3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x43b1b6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x43b1ff
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x43b1ff
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x43b1f0
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x43b1ff
cmp eax, 2
mov eax, 5
je 0x43b204
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret

Function at 0x43b220
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba1de
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x63606c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.nbase::FrameworkThread.1.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x10], vtable.nbase::FrameworkThread.0
mov word [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 3
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], 0
mov byte [esi + 0x30], 0
cmp byte [edx], 0
jne 0x43b2d9
xor ecx, ecx
jmp 0x43b2e9
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b2e0
sub ecx, ebx
push ecx
push edx
lea ecx, [esi + 0x30]
call fcn.004229d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b3a0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b82f6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x63606c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ebx, 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 0x43b43b
call fcn.0043b500
mov eax, dword [esi + 8]
test eax, eax
je 0x43b435
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43b422
mov eax, dword [esi + 8]
test eax, eax
je 0x43b435
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
test al, al
jne 0x43b422
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0x14], 0
mov eax, dword [esi + 0x44]
lea edi, [esi + 0x30]
cmp eax, 0x10
jb 0x43b451
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00423930
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x43b467
mov edi, dword [edi]
mov byte [edi], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x43b474
push eax
call ebx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x24]
test edi, edi
je 0x43b4a3
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x43b4a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x43b4a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esi], vtable.nbase::Thread.0
test eax, eax
je 0x43b4eb
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43b4d8
mov eax, dword [esi + 8]
test eax, eax
je 0x43b4eb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x43b4d8
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
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
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b630
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba27c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x63606c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0043b810
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call ebx
test eax, eax
jne 0x43b6a0
push 0x14
call fcn.00573b72
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.0043b810
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call fcn.0043b810
push dword [eax]
call ebx
test eax, eax
je 0x43b6b1
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 0x43b6cb
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
call dword [eax]
jmp 0x43b730
push 0xb8
cmp eax, 2
jne 0x43b6f0
call fcn.00573b72
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0043d660
jmp 0x43b729
cmp eax, 1
jne 0x43b710
call fcn.00573b72
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0043d550
jmp 0x43b729
call fcn.00573b72
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0043be90
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.0043c510
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp dword [edi + 0x18], 3
mov ecx, dword [edi + 0x1c]
je 0x43b76a
test ecx, ecx
je 0x43b7be
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x43b7be
test ecx, ecx
je 0x43b774
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 0x24]
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 3
test esi, esi
je 0x43b7b7
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x43b7b1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x43b7b1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x1c], 0
mov dword [edi + 4], 0
call fcn.0043b810
push dword [eax]
call ebx
call fcn.0043b810
push dword [eax]
call ebx
mov esi, eax
test esi, esi
je 0x43b7fe
call fcn.0043b810
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x14
push esi
call fcn.00573bc8
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 0x43b810
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x642800]
sub esp, 0x18
push esi
cmp eax, 2
je 0x43b8e0
push 0
push 1
push 0x642800
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x43b8bd
push 4
call fcn.00573b72
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 [0x642804], esi
mov dword [ebp - 8], 0x642800
mov dword [ebp - 0xc], 0x43b8f0
mov dword [ebp - 0x18], 0x43b8f0
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], 0x43b8f0
mov dword [eax + 8], 0x642800
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0x642800
mov dword [eax + 0x24], eax
call fcn.0043ef00
mov eax, dword [0x642804]
add esp, 0x28
mov dword [0x642800], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x43b8e0
mov eax, dword [0x642800]
cmp eax, 2
je 0x43b8e0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x642800]
cmp eax, 2
jne 0x43b8d2
mov eax, dword [0x642804]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43bbf0
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 0x43bc42
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43bc2b
mov eax, dword [esi + 8]
test eax, eax
je 0x43bc42
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x43bc2b
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 0x43bc53
push 0x10
push esi
call fcn.00573bc8
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x43bcc0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0
push esi
push 0x43bd80
push 0
push 0
call fcn.00594745
add esp, 0x18
mov dword [esi + 8], eax
cmp eax, 2
jae 0x43bcf1
mov dword [esi + 8], 0
mov dword [edi], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x43bd68
or eax, 0xffffffff
cmp ecx, 1
jne 0x43bd19
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 0x43bd35
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 0x43bd53
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 0x43d730
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x642808]
sub esp, 0x18
push esi
cmp eax, 2
je 0x43d800
push 0
push 1
push 0x642808
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x43d7dd
push 4
call fcn.00573b72
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 [0x64280c], esi
mov dword [ebp - 8], 0x642808
mov dword [ebp - 0xc], 0x43b8f0
mov dword [ebp - 0x18], 0x43b8f0
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], 0x43b8f0
mov dword [eax + 8], 0x642808
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0x642808
mov dword [eax + 0x24], eax
call fcn.0043ef00
mov eax, dword [0x64280c]
add esp, 0x28
mov dword [0x642808], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x43d800
mov eax, dword [0x642808]
cmp eax, 2
je 0x43d800
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x642808]
cmp eax, 2
jne 0x43d7f2
mov eax, dword [0x64280c]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43f930
Capabilities:
Get thread local storage value

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baab3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x63606c]
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.00440050
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 0x43fcb0
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 0x4403a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bab38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x63606c]
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 0x4403f8
call fcn.0043d730
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x4403f8
mov bl, 1
jmp 0x4403fa
xor bl, bl
test esi, esi
je 0x440405
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 0x440450
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bab7c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x63606c]
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 0x44051f
call fcn.0043d730
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
je 0x44051f
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
lea ecx, [ebp - 0x4c]
call fcn.00440580
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.0043ca00
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x44051d
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 0x44052a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x440536
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.00573b53
mov esp, ebp
pop ebp
ret

Function at 0x444a60
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 0x444a83
or esi, 1
push 1
call edi
test ax, ax
jns 0x444a8f
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x444a9b
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x444aa7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44755b
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.00476815
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4475b1
push ebx
lea ecx, [esi + 0x298]
mov byte [ebp + 0xb], 0
call fcn.004420fb
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 0x447611
lea ecx, [esi + 0x298]
inc ebx
call fcn.00476815
cmp ebx, eax
jl 0x44757a
sub edi, 0x100
je 0x447677
sub edi, 4
je 0x447615
dec edi
sub edi, 1
jne 0x44766c
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00595363
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 0x448e32
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x44766c
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 0x44766e
cmp dword [esi + 0x1e8], 0
je 0x44766c
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.00444a60
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 0x44766c
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x4476d0
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4476d0
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x4476d0
mov ecx, dword [esi + 0x1e8]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0058c75d
pop ecx
pop ecx
test eax, eax
je 0x4476d0
mov ecx, dword [esi + 0x1e8]
call fcn.004617b8
test al, al
jne 0x44766c
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x447718
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x447718
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x447718
mov ecx, dword [esi + 0x1e8]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0058c75d
pop ecx
pop ecx
test eax, eax
jne 0x44766c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.004487a8
jmp 0x447611