joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460970
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48e658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00487375
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00460310
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004872a3
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00483b6c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00483b6c
push 1
push 0
push 0
mov ecx, esi
call fcn.00483b14
push 1
push 0
push 1
mov ecx, esi
call fcn.00483b14
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004873e7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x460af0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48e678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00487375
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00460310
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004872a3
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x460bb4
cmp dword [esp + 0x40], 1
jne 0x460bb2
cmp ecx, eax
jge 0x460bb4
mov eax, ecx
cmp eax, 0xc8
jge 0x460bc0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00460970
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004873e7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x461340
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48e6e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00481f87
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048761d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00488b7c
test eax, eax
je 0x46145c
mov ecx, dword [esp + 0x3c]
call fcn.0048764a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x461420
push edi
mov ecx, esi
call fcn.00484cb7
mov ecx, esi
call fcn.004615c0
cmp dword [esp + 0x38], 1
jne 0x461455
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00484df2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x463e80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x463eb3
push esi
call fcn.00466f70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x463eac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x463f39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x463f22
mov eax, dword [esi + 8]
test eax, eax
je 0x463ed7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x463f1e
cmp eax, 2
je 0x463f22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x463eca
cmp eax, 3
je 0x463efd
cmp eax, 1
jne 0x463eca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x463eca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x463eca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00463f60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x463f48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00463f60
add esp, 4
pop esi
ret

Function at 0x482d7d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x482db5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00480e31
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00480e09
jmp 0x482dc1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x484474
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4844b6
call fcn.00489f6c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4844b6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4844ad
xor eax, eax
jmp 0x4844be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004844c4
pop edi
pop esi
pop ebx
ret 4

Function at 0x48a49c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48a4ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48a4e8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048a402
jmp 0x48a4e8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a4e8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048a402
test edi, edi
mov eax, edi
jne 0x48a4d2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440d98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x452650]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov eax, dword [0x452650]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], eax
call fcn.00416f1e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401e9b
push 0x80004005
call fcn.00402e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x264]
mov dword [esp + 0x50], 0
call fcn.00412243
mov edx, dword [esp + 8]
push edx
call fcn.0042ad50
add esp, 4
mov dword [esp + 0x3c], eax
push 0x20
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x210]
call fcn.0041502b
lea ecx, [esp + 0xc]
push ecx
lea ebx, [esi + 0x88]
call fcn.00407540
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401f1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042aa3b
add esp, 0x48
ret
Function at 0x403290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4032a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4032e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4032e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4032e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4032d0
cmp esi, eax
jb 0x4032ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405bd0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [edi + 0x20]
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
mov dword [esp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004052a0
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push ebx
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xc]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [edi + 0x20]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4067a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x10
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406920
mov ecx, dword [ebx + 0x78]
cmp ecx, 0xffffffff
jle 0x406920
mov eax, dword [ebx + 0x7c]
cmp eax, 0xffffffff
jle 0x406920
push ebp
push esi
sub eax, ecx
lea ecx, [eax + eax + 3]
push edi
push ecx
call fcn.00409021
mov ebp, dword [ebx + 0x78]
mov esi, eax
add esp, 4
cmp ebp, dword [ebx + 0x7c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
jg 0x4068ba
lea ecx, [ebp*4]
mov dword [esp + 0x14], ecx
test ebp, ebp
jl 0x406855
mov eax, dword [ebx + 0x58]
mov edx, eax
shr edx, 2
sub edx, 1
cmp ebp, edx
jg 0x406855
test ecx, ecx
jl 0x406821
cmp ecx, eax
jg 0x406821
mov dword [ebx + 0x5c], ecx
mov esi, dword [ebx + 0x5c]
lea edx, [esi + 4]
cmp edx, eax
mov edi, 4
jle 0x406836
sub eax, esi
mov edi, eax
js 0x40685d
mov eax, dword [ebx + 0x60]
push edi
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00431200
mov ecx, dword [esp + 0x20]
add esp, 0xc
add esi, edi
mov dword [ebx + 0x5c], esi
jmp 0x40685d
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x18], 0xff
lea esi, [eax + 0x18]
jne 0x406870
cmp byte [eax + 0x19], 0
jg 0x4068a3
mov edx, dword [esp + 0x10]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x406878
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406890
mov ecx, dword [esp + 0x14]
sub eax, edx
add dword [esp + 0x10], eax
add ebp, 1
add ecx, 4
cmp ebp, dword [ebx + 0x7c]
mov dword [esp + 0x14], ecx
jle 0x406803
mov esi, dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4068c5
sub eax, edx
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [esp + 0x1c]
mov edi, eax
push edi
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, edi
mov cl, byte [esi]
mov byte [eax], cl
add esi, 1
add eax, 1
test cl, cl
jne 0x4068f0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call fcn.00409026
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x406a00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x74
mov eax, dword [0x452650]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406b88
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov dword [esp + 0x14], esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406a42
sub eax, edx
je 0x406b58
mov ecx, dword [ebx + 0x78]
or ebp, 0xffffffff
cmp ecx, ebp
jle 0x406a7d
mov eax, dword [ebx + 0x7c]
cmp eax, ebp
jle 0x406a7d
test ecx, ecx
jl 0x406a77
sub eax, ecx
add eax, 1
push eax
push ecx
lea edi, [ebx + 0x54]
call fcn.00403a00
mov dword [ebx + 0x78], ebp
mov dword [ebx + 0x7c], ebp
xor ebp, ebp
mov eax, esi
mov dword [esp + 0x10], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406a88
sub eax, edx
test eax, eax
jle 0x406b58
mov ecx, 0xd
lea esi, [ebx + 0x88]
lea edi, [esp + 0x40]
mov dword [esp + 0x74], 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov al, byte [edi + ebp]
test al, al
jge 0x406b0a
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov byte [esp + ecx + 0x34], al
jne 0x406b01
push ebx
lea esi, [esp + 0x20]
mov byte [esp + 0x3a], 0
call fcn.00404730
mov edx, dword [ebx + 0x74]
mov ecx, esi
push ecx
push edx
lea eax, [ebx + 0x54]
push eax
call fcn.00403920
add dword [ebx + 0x74], 1
mov ecx, dword [ebx + 0x74]
call fcn.004064a0
mov dword [esp + 0x10], 0
jmp 0x406b3d
add ecx, 1
mov dword [esp + 0x10], ecx
jmp 0x406b3d
cmp al, 0xa
je 0x406b3d
push ebx
lea esi, [esp + 0x20]
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0
call fcn.00404730
mov edx, dword [ebx + 0x74]
mov ecx, esi
push ecx
push edx
lea eax, [ebx + 0x54]
push eax
call fcn.00403920
add dword [ebx + 0x74], 1
mov ecx, dword [ebx + 0x74]
call fcn.004064a0
mov eax, edi
add ebp, 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406b45
sub eax, edx
cmp ebp, eax
jl 0x406a9b
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
call fcn.004048c0
mov edx, dword [ebx + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowCaret]
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042aa3b
add esp, 0x74
ret
Function at 0x407660
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x50
mov eax, dword [0x452650]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
push edi
jne 0x407684
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00410f4e
mov ebx, eax
test ebx, ebx
je 0x4076df
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4076df
mov edx, dword [esi + 0x20]
mov ecx, esi
mov dword [esp + 0x10], edx
call fcn.00414ab8
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x14], eax
add esi, 0x88
mov dword [esp + 0x18], 0x401
mov ecx, 0xd
lea edi, [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push ecx
push 0x4e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042aa3b
add esp, 0x50
ret

Function at 0x407bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x440f70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push edi
mov eax, dword [0x452650]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x34], edi
push 0x100000
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.00409021
add esp, 4
push 0x100000
push edi
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0x100000
call fcn.0042c580
mov ebx, 1
mov byte [esp + 0x40], bl
mov edi, dword [esp + 0x48]
add esp, 8
add edi, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebp, esp
push edi
call fcn.00403350
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [ebp], eax
call fcn.004082d0
mov ebp, dword [esp + 0x24]
mov ecx, dword [esi + 0x74]
lea eax, [esi + 0x88]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.00407cc0
mov eax, esi
call fcn.004048c0
add dword [esi + 0x74], ebx
mov ecx, dword [esi + 0x74]
mov ebx, esi
call fcn.004064a0
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
mov byte [esp + 0x38], 0
call fcn.00409026
add esp, 4
mov dword [esp + 0x34], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407ca6
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x408210
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x440f40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x452650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x408252
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1002
push esi
lea ecx, [esp + 0x10]
call fcn.004178af
mov byte [esp + 0x24], 1
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.0041701a
lea ecx, [esp + 8]
call fcn.0041726a
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.004173d9
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4082b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 4

Function at 0x4082d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x440ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x452650]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x452650]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x434], ebx
mov edi, dword [esp + 0x43c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4083a5
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push ecx
push ebx
push edx
call fcn.0042c580
add esp, 0xc
push ebx
push edi
lea ecx, [esp + 0x1c]
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call fcn.004178af
push 0x400
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], 1
call fcn.00416fda
cmp eax, ebx
jle 0x40838c
lea ecx, [esp + 0x24]
push ecx
mov ebx, eax
call fcn.00408170
push 0x400
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.00416fda
test eax, eax
jg 0x408367
xor ebx, ebx
lea ecx, [esp + 0x14]
call fcn.0041726a
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], bl
call fcn.004173d9
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x434], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0042aa3b
add esp, 0x428
ret 4