joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ece0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.00449a10
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
js 0x40ed6b
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ed52
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
jmp 0x40ed76
xor eax, eax
push eax
mov word [esi], ax
push 0x4678b8
mov ecx, esi
call fcn.00403570
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00444627
mov esp, ebp
pop ebp
ret

Function at 0x410720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d7f4
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], vtable.LanAgent::laProcessProviderObserver.0
mov dword [esi + 8], vtable.LanAgent::laWindowsProviderObserver.0
mov dword [esi], vtable.LanAgent::laApplicationMonitor.0
mov dword [esi + 4], vtable.LanAgent::laApplicationMonitor.1.0
mov dword [esi + 8], vtable.LanAgent::laApplicationMonitor.2.0
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov word [esi + 0x14], cx
xor edx, edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov word [esi + 0x30], dx
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov word [esi + 0x4c], cx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov word [esi + 0x68], dx
mov byte [ebp - 4], 4
push 0x28
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
call fcn.00444804
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4107d8
push edi
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x4107da
xor edi, edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x98], eax
mov dword [0x477bb0], esi
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 4
Function at 0x411350
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f05b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xc], 0
je 0x4114eb
mov esi, dword [edi + 0x90]
lea ebx, [edi + 8]
call fcn.00422770
mov esi, dword [edi + 0x90]
cmp byte [esi + 4], 0
je 0x4113e2
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esi + 8]
push eax
call ebx
mov byte [esi + 4], 0
mov ecx, dword [edi + 0x90]
test ecx, ecx
je 0x4113f4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [0x477d70]
mov esi, dword [ecx + 0x50]
lea ebx, [edi + 4]
call fcn.00425030
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
xor ebx, ebx
cmp dword [edi + 0x84], ebx
je 0x411487
mov edx, dword [edi + 0x88]
push ebx
push ebx
push 0x12
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [edi + 0x84]
push 1
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x411474
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x84]
push ebx
push ecx
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x411468
push eax
call esi
mov dword [edi + 0x94], ebx
push ebx
push 0x4660f8
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov edx, dword [edi + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x84], ebx
mov eax, dword [0x477bcc]
cmp eax, ebx
je 0x41149d
push eax
call dword [sym.imp.USER32.dll_UnhookWinEvent]
mov dword [0x477bcc], ebx
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x4114b0
push eax
call esi
mov dword [edi + 0x94], ebx
push ebx
push 0x4660f8
call dword [sym.imp.USER32.dll_UnregisterClassW]
push 4
push 2
lea esi, [esp + 0x1c]
call fcn.00405930
push str.Application_monitor_stopped.
mov esi, eax
mov dword [esp + 0xc4], ebx
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x14]
call fcn.00405e90
mov byte [edi + 0xc], bl
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x411d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], cx
lea edx, [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x88]
push edx
lea edx, [esi + 0x28]
call fcn.00410040
mov edi, eax
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x28], 8
mov dword [esp + 0x10], edi
jb 0x411dca
mov eax, dword [esp + 0x14]
push eax
call fcn.00444884
add esp, 4
test edi, edi
je 0x411e05
mov edi, dword [esi]
call fcn.00411ac0
cmp dword [esp + 0x10], 0x25
jne 0x411df8
push 0
push 0
push 0
push 0x411d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
push 0x2b
lea ecx, [ebx - 4]
call fcn.00412520
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret 4

Function at 0x411e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
lea edi, [esi + 0x84]
lea ecx, [esi + 0x28c]
push edi
mov dword [esp + 0x14], ebx
call fcn.00411b60
test al, al
jne 0x411f6e
xor eax, eax
mov word [esp + 0x14], ax
mov eax, edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411ea6
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00403570
lea ecx, [esi + 0x494]
mov dword [esp + 0x40], 0
push ecx
mov ecx, dword [ebx + 0x84]
lea edx, [esp + 0x18]
call fcn.00410040
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x28], 8
mov ebx, eax
jb 0x411efc
mov edx, dword [esp + 0x14]
push edx
call fcn.00444884
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
test ebx, ebx
jne 0x411f24
mov ecx, dword [esp + 0x10]
push ebx
push esi
push 2
add ecx, 0xfffffff8
jmp 0x411f69
mov edi, dword [esi + 0x4cc]
call fcn.00411ac0
cmp ebx, 0x25
jne 0x411f50
push 0
push 0
push 0
push 0x411d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
push 0
push esi
push 2
lea ecx, [edi - 8]
call fcn.004128c0
push 0
push esi
push 0x2b
lea ecx, [edi - 8]
call fcn.004128c0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret 4
Function at 0x413dd0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dce0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
jne 0x413e0c
mov dword [esi + 0x10], edi
jmp 0x413e20
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
mov eax, dword [edx]
jne 0x413e1a
push esi
jmp 0x413e1b
push edi
call eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
push edi
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
push eax
mov word [ecx], dx
call fcn.00403e20
fldz
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fstp qword [esi + 0x38]
lea ecx, [ebp - 0x18]
lea edi, [esi + 0x38]
push ecx
call ebx
fild qword [ebp - 0x18]
lea edx, [ebp - 0x18]
push edx
fmul qword [0x477bc0]
mov dword [esi + 0x48], edi
fstp qword [esi + 0x40]
call ebx
fild qword [ebp - 0x18]
fmul qword [0x477bc0]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x20]
fstp qword [esi + 0x40]
test ecx, ecx
je 0x413e98
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp + 0x10]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
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 0x20
Function at 0x415650
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f873
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x473b80]
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
push str.GlobalSettingsFileMap
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x415775
push 0x1c84
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
setne al
mov byte [ebp - 0xc9], al
test al, al
je 0x415766
cmp dword [esi + 0xc], 0
jne 0x4156dd
push 4
push 0x1000
push 0x1c84
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x415758
push 0x1c84
push edi
push 0x1c84
push eax
call fcn.00444f59
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.004169f0
add esp, 0x14
push 0xc
push 1
lea esi, [ebp - 0xc8]
mov dword [ebp - 4], 0
call fcn.00405930
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x415729
lea ecx, [ebp - 0x2c]
push ecx
push str.Settings_mapped_successfully.__s
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [ebp - 0xc8]
call fcn.00405e90
cmp dword [ebp - 0x18], 8
jb 0x41575f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00444884
add esp, 4
jmp 0x41575f
mov byte [ebp - 0xc9], 0
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xc9]
jmp 0x415777
xor al, al
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.00444627
mov esp, ebp
pop ebp
ret

Function at 0x4157a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x48]
call fcn.00415d10
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.004034d0
mov esi, 8
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x4157f3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp eax, 1
sete bl
cmp dword [ebp - 0x18], esi
jb 0x415811
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00444884
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x415836
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00444884
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x415990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x74]
push edi
push eax
mov esi, ecx
call fcn.00449a10
xor ecx, ecx
add esp, 0xc
xor edx, edx
mov eax, esi
mov word [ebp - 0x20], dx
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], cx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4159e0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.00403570
xor eax, eax
mov esi, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0xc], esi
jae 0x415a17
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x78]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
sete bl
test bl, bl
je 0x415a58
mov eax, dword [ebp - 0x30]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x30]
push edx
call edi
cmp dword [ebp - 0xc], esi
jb 0x415a69
mov eax, dword [ebp - 0x20]
push eax
call fcn.00444884
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x417740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4609b7
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x10], bl
je 0x417790
mov al, 1
jmp 0x417924
lea eax, [edi + 0x18]
push eax
push ebx
push ebx
push 0x417600
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x14], eax
cmp eax, ebx
jne 0x4177ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
push 4
lea esi, [esp + 0x34]
mov dword [edi + 0x1c], eax
call fcn.00405930
mov dword [esp + 0x170], ebx
mov ecx, dword [edi + 0x1c]
push ecx
push str.Unable_to_create_clipboard_monitor_source_thread._Error_code:__d
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x2c]
call fcn.00405e90
mov byte [edi + 0x10], bl
xor al, al
jmp 0x417924
mov edx, dword [edi + 8]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x417860
push 6
push 4
lea esi, [esp + 0x34]
call fcn.00405930
push str.A_window_for_clipboard_monitor_was_not_created.
mov esi, eax
mov dword [esp + 0x174], 1
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x2c]
call fcn.00405e90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x41784a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], ebx
push ebx
push 0x466e24
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov byte [edi + 0x10], bl
xor al, al
jmp 0x417924
or esi, 0xffffffff
cmp dword [edi + 0x58], ebx
jne 0x4178aa
mov ecx, dword [0x477d70]
push str.clipboard.dat
call fcn.00415b80
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040b490
add esp, 0xc
push eax
lea ecx, [edi + 0x48]
mov dword [esp + 0x174], 2
call fcn.00403f40
lea ecx, [esp + 0x10]
mov dword [esp + 0x170], esi
call fcn.00404210
cmp dword [edi + 0x74], ebx
jne 0x4178dc
lea ecx, [esp + 0x10]
call fcn.0040eee0
push eax
lea ecx, [edi + 0x64]
mov dword [esp + 0x174], 3
call fcn.00403f40
lea ecx, [esp + 0x10]
mov dword [esp + 0x170], esi
call fcn.00404210
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push 4
push 2
lea esi, [esp + 0xcc]
mov dword [edi + 0xc], eax
call fcn.00405930
push str.Clipboard_monitor_started.
mov esi, eax
mov dword [esp + 0x174], 4
call fcn.00405b80
add esp, 4
lea esi, [esp + 0xc4]
call fcn.00405e90
mov al, 1
mov byte [edi + 0x10], al
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x417950
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f05b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x10], bl
je 0x417a6d
mov eax, dword [edi + 0x18]
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [edi + 0x14]
push 1
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x417a02
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [edi + 0x24]
push esi
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x14]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4179f6
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], ebx
push ebx
push 0x466e24
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
mov dword [edi + 0x14], ebx
cmp eax, ebx
je 0x417a21
mov ecx, dword [edi + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_ChangeClipboardChain]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x417a32
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], ebx
push ebx
push 0x466e24
call dword [sym.imp.USER32.dll_UnregisterClassW]
push 4
push 2
lea esi, [esp + 0x1c]
call fcn.00405930
push str.Clipboard_monitor_stopped.
mov esi, eax
mov dword [esp + 0xc4], ebx
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x14]
call fcn.00405e90
mov byte [edi + 0x10], bl
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x418780
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460abc
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x14], 0
jne 0x41891b
cmp dword [edi + 0x78], 0
mov esi, 8
jne 0x418826
mov ecx, dword [0x477d70]
push 0x467078
call fcn.00415b80
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040b490
add esp, 0xc
push eax
lea ecx, [edi + 0x68]
mov dword [esp + 0x174], 0
call fcn.00403f40
mov dword [esp + 0x170], 0xffffffff
cmp dword [esp + 0x24], esi
jb 0x418826
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00444884
add esp, 4
cmp dword [edi + 0x5c], 0
jne 0x418867
lea ecx, [esp + 0x10]
call fcn.0040eee0
push eax
lea ecx, [edi + 0x4c]
mov dword [esp + 0x174], 1
call fcn.00403f40
mov dword [esp + 0x170], 0xffffffff
cmp dword [esp + 0x24], esi
jb 0x418867
mov edx, dword [esp + 0x10]
push edx
call fcn.00444884
add esp, 4
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [edi + 0x9c]
push ecx
push 0
push 0
push 0x4199a0
test ax, ax
push 0
setne al
push 0
mov byte [edi + 0xa], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x98], eax
test eax, eax
jne 0x4188e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
push 4
lea esi, [esp + 0x34]
mov dword [edi + 0x18], eax
call fcn.00405930
mov dword [esp + 0x170], 2
mov edx, dword [edi + 0x18]
push edx
push str.Unable_to_create_keyboard_monitor_hook_thread._Error_code:__d
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x2c]
call fcn.00405e90
mov byte [edi + 0x14], 0
xor al, al
jmp 0x41891d
push 4
push 2
lea esi, [esp + 0xcc]
call fcn.00405930
push str.Keyboard_monitor_started.
mov esi, eax
mov dword [esp + 0x174], 3
call fcn.00405b80
add esp, 4
lea esi, [esp + 0xc4]
call fcn.00405e90
mov byte [edi + 0x14], 1
mov al, 1
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x418940
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f05b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x14], bl
jne 0x418990
mov al, 1
jmp 0x418af7
lea esi, [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call fcn.00419270
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x9c]
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [edi + 0x98]
push 1
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x418a04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi + 0x98]
push ebx
push edx
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4189f8
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], ebx
push ebx
push str.laKeyboardWndClass
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [edi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x477d08]
mov dword [edi + 0x98], ebx
mov eax, dword [ecx + 0x10]
cmp eax, ebx
je 0x418a34
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [0x477d08]
mov dword [ecx + 0x10], ebx
mov ecx, dword [ecx + 0xc]
cmp ecx, ebx
je 0x418a4b
push ecx
call dword [sym.imp.USER32.dll_UnhookWinEvent]
mov ecx, dword [0x477d08]
mov dword [ecx + 0xc], ebx
lea esi, [edi + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x84]
cmp eax, ebx
je 0x418a6d
push eax
push ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x84], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x418a85
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], ebx
push ebx
push str.laKeyboardWndClass
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov edx, dword [edi + 0x8c]
mov eax, dword [edx + 4]
push eax
lea ecx, [edi + 0x88]
call fcn.0041a1f0
mov eax, dword [edi + 0x8c]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x8c]
mov dword [eax], eax
mov eax, dword [edi + 0x8c]
push 4
mov dword [eax + 8], eax
push 2
lea esi, [esp + 0x1c]
mov dword [edi + 0x90], ebx
call fcn.00405930
push str.Keyboard_monitor_stopped.
mov esi, eax
mov dword [esp + 0xc4], ebx
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x14]
call fcn.00405e90
mov byte [edi + 0x14], bl
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret