joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56e070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
push esi
push edi
mov dword [esp + 0x18], ebx
call edx
mov edi, dword [ebx + 0x7c]
sub edi, dword [ebx + 0x74]
mov ecx, eax
mov eax, dword [ebx + 0x80]
sub eax, dword [ebx + 0x78]
xor ebp, ebp
mov dword [esp + 0x44], eax
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x14], eax
jle 0x56e23a
jmp 0x56e0c5
mov ebp, dword [esp + 0x38]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x44]
mov ecx, ebx
call eax
mov esi, eax
test esi, esi
je 0x56e227
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
mov ecx, esi
call eax
test eax, eax
je 0x56e227
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
cmp dword [ebx + 0x138], 0
jne 0x56e1d3
cmp dword [esi + 0x120], 1
jne 0x56e14a
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov eax, edi
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov ebx, eax
sar ebx, 1
lea edi, [ebx + ecx]
jmp 0x56e199
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
sub edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esi]
xor edx, edx
mov dword [esp + 0x74], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov ecx, edi
sub ecx, ebx
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esi]
add eax, ecx
lea ecx, [edx + eax]
mov edx, dword [esp + 0x54]
add edx, ecx
sub esp, 0x10
mov dword [esp + 0x4c], edx
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x4c]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ecx
mov ecx, esi
call eax
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
jmp 0x56e227
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x30]
add ebp, edx
mov edx, dword [eax + 0xc0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
lea ecx, [eax + ebp]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x8c]
add edx, ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jl 0x56e0c1
mov ecx, ebx
call fcn.00554480
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56e250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
push esi
push edi
mov dword [esp + 0x10], ebx
call edx
mov ecx, dword [ebx + 0x7c]
sub ecx, dword [ebx + 0x74]
mov edi, dword [ebp + 8]
mov edx, dword [ebx + 0x80]
sub edx, dword [ebx + 0x78]
mov dword [edi], ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [edi + 4], edx
cmp dword [ebx + 0x138], ecx
jne 0x56e293
mov dword [edi + 4], ecx
jmp 0x56e295
mov dword [edi], ecx
cmp eax, ecx
mov dword [esp + 0xc], ecx
jle 0x56e3ca
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
push ecx
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x56e3b7
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
mov ecx, esi
call edx
test eax, eax
je 0x56e3b7
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
cmp dword [ebx + 0x138], 0
jne 0x56e38a
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebx + 0x7c]
sub eax, dword [ebx + 0x74]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
sub eax, dword [esp + 0x40]
mov ebx, dword [esi]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x54], ecx
xor edx, edx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov edx, dword [ebx + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
add ecx, eax
add ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add dword [edi + 4], ecx
cmp dword [edi], eax
jge 0x56e3b7
mov dword [edi], eax
jmp 0x56e3b7
mov edx, dword [esi]
mov edx, dword [edx + 0xc0]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add ecx, eax
add ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
add dword [edi], ecx
cmp dword [edi + 4], eax
jge 0x56e3b7
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jl 0x56e2a1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x570220
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
mov esi, eax
cmp dword [esi + 0x188], 0
push edi
je 0x5702e8
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edi, [esp + 0x10]
call fcn.00554ee0
mov ecx, dword [esi + 0x18c]
mov edx, dword [esp + 0x14]
sub ecx, edx
add ecx, dword [esp + 0xc]
jns 0x570262
xor ecx, ecx
mov eax, dword [esi + 0x170]
sub eax, dword [esi + 0x178]
mov edi, dword [esp + 0x1c]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x57028a
mov ecx, dword [esi + 0x170]
sub ecx, dword [esi + 0x178]
sub ecx, edx
add ecx, edi
test ecx, ecx
jne 0x570296
mov dword [esi + 0x180], ecx
jmp 0x5702d0
mov eax, dword [esi + 0x170]
sub eax, dword [esi + 0x178]
sub eax, edx
add eax, edi
cmp ecx, eax
jne 0x5702bc
mov ecx, dword [esi + 0x17c]
sub ecx, edi
add ecx, edx
mov dword [esi + 0x180], ecx
jmp 0x5702d0
mov eax, dword [esi + 0x17c]
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x180], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 0
push 0x4b0
mov ecx, esi
call eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 0x174]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x178]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00570400
test eax, eax
je 0x570350
mov eax, 1
cmp dword [esi + 0x158], eax
je 0x57036a
mov dword [esi + 0x158], eax
mov eax, esi
call fcn.00554e70
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x158], 0
je 0x57036a
mov eax, esi
mov dword [esi + 0x158], 0
call fcn.00554e70
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x570d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
cmp dword [eax + 0x10], 0
push esi
push edi
mov esi, edx
je 0x570d6f
call fcn.00570e50
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
jne 0x570d93
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005886fc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
push esi
call fcn.0057a7f0
test eax, eax
je 0x570d7c
push esi
lea ecx, [esp + 0x34]
push str._s.idx
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x570dc9
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, esi
call fcn.00571140
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
je 0x570e23
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
call fcn.00571140
test eax, eax
je 0x570e23
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x2c]
jne 0x570e23
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x28]
jne 0x570e23
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jne 0x570e23
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x20]
jne 0x570e23
mov esi, dword [ebx + 8]
lea eax, [esp + 0x30]
call fcn.0057ab90
test al, al
jne 0x570e35
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push edx
push ebx
mov ecx, eax
call fcn.00570ea0
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005886fc
mov esp, ebp
pop ebp
ret

Function at 0x572ae0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x572b0c
mov ecx, edi
mov eax, esi
call fcn.00406a80
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x572b33
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x572b37
push ecx
push eax
call fcn.0058a3a5
add esp, 8
test eax, eax
jl 0x572b4d
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x572b4d
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret
push 0x80070057
call fcn.00406af0
int3
Function at 0x573350
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0678
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x615370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x164]
mov dword [eax + 0x20], 0
mov eax, dword [ebx + 0x150]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x573447
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x573441
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x5733ce
xor eax, eax
jmp 0x5733fb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x5733e4
xor eax, eax
jmp 0x5733fb
lea eax, [edi + edi]
call fcn.00596be0
mov ecx, esp
mov eax, esi
push 3
mov edx, edi
mov esi, ecx
call fcn.0041a4a0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00406c20
lea edi, [ebx + 0x19c]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x573441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebx + 0x150]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea esp, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005886fc
mov esp, ebp
pop ebp
ret
Function at 0x574050
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 5
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5741fd
mov ecx, dword [ebp + 0xc]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x574174
lea edx, [esp + 0x28]
push edx
xor edi, edi
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x5740eb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
dec dword [esp + 0x10]
mov dword [esp + 0x14], edi
jmp 0x5741e8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
cmp eax, 0x100000
jb 0x574102
mov dword [esp + 0x18], 0x100000
mov eax, dword [esp + 0x18]
push eax
call fcn.00587d67
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x574167
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
nop
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x574140
test eax, eax
je 0x574156
push 0
lea ecx, [esp + 0x28]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x574120
jmp 0x57415e
mov dword [esp + 0x14], 1
push edi
call fcn.00588add
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x5741fd
mov esi, dword [ebp + 0x10]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call edi
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a8], eax
cmp eax, 0xffffffff
je 0x5741fd
call fcn.004e1a00
test eax, eax
je 0x5741da
push esi
push 0x618268
lea esi, [esp + 0x28]
mov dword [esp + 0x28], 0xffffffff
call fcn.00515fcf
test eax, eax
je 0x5741da
mov eax, dword [esp + 0x20]
cmp eax, 3
je 0x5741da
cmp eax, 0xffffffff
jne 0x5741fd
dec dword [esp + 0x10]
mov dword [esp + 0x14], 0
xor edi, edi
cmp dword [esp + 0x10], edi
jg 0x57406c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5746e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ab218
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x7c]
sub eax, dword [ebx + 0x74]
cmp dword [ebx + 0x140], 0
mov dword [esp + 0x2c], eax
je 0x574754
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
call edx
test eax, eax
je 0x574754
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
test eax, eax
jle 0x574826
mov ecx, dword [ebx + 0x164]
sub ecx, dword [ebx + 0x160]
sar ecx, 2
cmp edi, ecx
jb 0x574789
call fcn.00588c45
mov edx, dword [ebx + 0x160]
mov esi, dword [edx + edi*4]
lea eax, [edx + edi*4]
mov dword [esp + 0x20], esi
test esi, esi
je 0x5747a5
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov dword [esp + 0x70], 0
test esi, esi
je 0x574803
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov eax, ecx
imul eax, edi
lea edi, [ecx + eax]
sub esp, 0x10
mov ecx, esp
xor ebp, ebp
mov dword [ecx], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edi
mov ecx, esi
call edx
mov ebp, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
test esi, esi
je 0x574817
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
inc edi
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
jl 0x574771
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
mov esi, dword [ebx + 0x7c]
sub esp, 0x10
mov eax, esp
lea edi, [ecx + ebp]
mov ebp, dword [ebx]
mov dword [eax], edx
mov edx, dword [ebp + 0x4c]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov ecx, ebx
mov dword [eax + 0xc], edi
call edx
mov ecx, ebx
call fcn.00554480
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x577850
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0678
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x615370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x164]
mov dword [eax + 0x20], 0
mov eax, dword [ebx + 0x150]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x577947
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x577941
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x5778ce
xor eax, eax
jmp 0x5778fb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x5778e4
xor eax, eax
jmp 0x5778fb
lea eax, [edi + edi]
call fcn.00596be0
mov ecx, esp
mov eax, esi
push 3
mov edx, edi
mov esi, ecx
call fcn.0041a4a0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00406c20
lea edi, [ebx + 0x1a4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x577941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebx + 0x150]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea esp, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005886fc
mov esp, ebp
pop ebp
ret
Function at 0x579d70
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
mov esi, eax
cmp dword [esi + 0x188], 0
push edi
je 0x579e38
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edi, [esp + 0x10]
call fcn.00554ee0
mov ecx, dword [esi + 0x18c]
mov edx, dword [esp + 0x10]
sub ecx, edx
add ecx, dword [esp + 8]
jns 0x579db2
xor ecx, ecx
mov eax, dword [esi + 0x16c]
sub eax, dword [esi + 0x174]
mov edi, dword [esp + 0x18]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x579dda
mov ecx, dword [esi + 0x16c]
sub ecx, dword [esi + 0x174]
sub ecx, edx
add ecx, edi
test ecx, ecx
jne 0x579de6
mov dword [esi + 0x180], ecx
jmp 0x579e20
mov eax, dword [esi + 0x16c]
sub eax, dword [esi + 0x174]
sub eax, edx
add eax, edi
cmp ecx, eax
jne 0x579e0c
mov ecx, dword [esi + 0x17c]
sub ecx, edi
add ecx, edx
mov dword [esi + 0x180], ecx
jmp 0x579e20
mov eax, dword [esi + 0x17c]
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x180], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 0
push 0x4b2
mov ecx, esi
call eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 0x174]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x178]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
push edx
push eax
mov eax, esi
call fcn.00579f50
test eax, eax
je 0x579ea2
mov eax, 1
cmp dword [esi + 0x158], eax
je 0x579ebc
mov dword [esi + 0x158], eax
mov eax, esi
call fcn.00554e70
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x158], 0
je 0x579ebc
mov eax, esi
mov dword [esi + 0x158], 0
call fcn.00554e70
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x57a7f0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
push edi
test eax, eax
je 0x57a811
cmp dword [esi + 4], 0
je 0x57a80a
push eax
call fcn.0058870b
add esp, 4
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0xc]
push 0x5e420c
push eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.0058aaa8
mov edi, eax
add esp, 8
test edi, edi
jne 0x57a83c
pop edi
pop esi
ret 4
push ebx
push 2
push 0
push edi
call fcn.0058d9a6
push edi
call fcn.0058d8ae
push 0
push 0
push edi
mov ebx, eax
call fcn.0058d9a6
add esp, 0x1c
test ebx, ebx
jle 0x57a879
call fcn.0057a890
mov eax, dword [esi + 0x10]
test eax, eax
je 0x57a879
push edi
push 1
push ebx
push eax
call fcn.0058adb2
add esp, 0x10
push edi
call fcn.0058ae46
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
pop ebx
pop edi
setne al
pop esi
ret 4
Function at 0x57ab90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
push edi
mov edi, eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.0057b220
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
test edi, edi
je 0x57ac20
push 0x5e420c
push edi
call fcn.0058aaa8
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x57ac20
mov edx, dword [edi + 0x10]
push edx
call fcn.0058dd00
add esp, 4
push edi
push 1
mov ebx, eax
lea eax, [esp + 0x28]
push 8
push eax
call fcn.0058adb2
add esp, 0x10
cmp dword [esp + 0x20], 0x78646972
mov byte [esp + 0x13], 0
jne 0x57aca8
cmp dword [esp + 0x24], 0x8000
jb 0x57ac29
push edi
call fcn.0058ae46
add esp, 4
xor al, al
pop edi
pop ebp
pop ebx
add esp, 0x20
ret
lea ebp, [ebx - 8]
push ebp
call fcn.00588eb5
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x57aca8
push edi
push 1
push ebp
push ebx
call fcn.0058adb2
lea ecx, [ebx + ebp]
xor ebp, ebp
add esp, 0x10
cmp dword [esp + 0x24], ebp
mov eax, ebx
mov dword [esp + 0x1c], ecx
jle 0x57ac96
lea ecx, [ecx]
mov ecx, dword [eax + 0xc]
add ecx, 0x12
lea edi, [ecx + eax]
cmp edi, dword [esp + 0x1c]
ja 0x57ac92
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
add eax, 0x10
push eax
mov ebx, esi
call fcn.0057a8d0
mov ebx, dword [esp + 0x14]
inc ebp
cmp ebp, dword [esp + 0x24]
mov eax, edi
jl 0x57ac60
mov edi, dword [esp + 0x18]
push ebx
call fcn.0058870b
add esp, 4
cmp ebp, dword [esp + 0x24]
sete byte [esp + 0x13]
push edi
call fcn.0058ae46
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x20
ret