joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a2db3
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0xc8]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp + 0x14]
lea ecx, [esi + 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010a2b9e
push 5
push dword [esi + 0xc8]
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x10a2e00
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test bl, 8
push esi
mov esi, ecx
je 0x10a2e3e
xor eax, eax
shr ebx, 0x10
test bx, bx
setge al
push 0
add eax, 0x322
movzx eax, ax
push eax
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10a2e78
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xc8]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp + 0x14]
lea ecx, [esi + 0x20]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.010a2bc4
push 5
push dword [esi + 0xc8]
call edi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x10a3d2c
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [eax], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
je 0x10a3e35
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10a3e35
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x10a3e35
lea edx, [ebp - 8]
add eax, 0x78
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10a3e35
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push ebx
mov ebx, dword [ebp - 8]
push eax
mov dword [ebp + 0x14], eax
call edi
test eax, eax
je 0x10a3e34
push ebx
call edi
test eax, eax
je 0x10a3e34
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
fldz
xor eax, eax
fstp qword [ebp - 0x10]
cmp dword [esi + 0x5c], eax
push eax
je 0x10a3df6
push dword [ebp + 0x14]
mov dword [esi + 0x5c], eax
call edi
push 5
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x433
push dword [ebp + 0x14]
call edi
lea eax, [ebp - 0x10]
push eax
push 0
push 0x430
push ebx
call edi
mov ecx, dword [esi + 0x10]
call fcn.010c3c6f
jmp 0x10a3e34
push ebx
mov dword [esi + 0x5c], 1
call edi
push 0
lea eax, [ebp - 0x10]
push eax
push 0x433
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x430
push dword [ebp + 0x14]
call ebx
push 5
push dword [ebp + 0x14]
call edi
mov esi, dword [esi + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x10a48ba
Capabilities:
Set registry value

Disassembly:
mov eax, 0x12786d3
call fcn.01160458
push ecx
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
setne cl
mov eax, ecx
test eax, eax
jne 0x10a48e4
mov eax, 0x80004005
jmp 0x10a49bf
mov eax, dword [ebx + 0x10]
lea eax, [eax*4 + 0x10]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
test eax, eax
jne 0x10a4911
or dword [ebp - 4], 0xffffffff
mov eax, 0x8007000e
jmp 0x10a49bf
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x1c], ecx
mov dword [eax], ecx
mov cl, byte [ebp + 0xc]
mov byte [ebx + 0x20], cl
movzx ecx, cl
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x24], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x10]
push esi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
push edi
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 1
push esi
push esi
push 0xf003f
push esi
push esi
mov ecx, 0x12d2398
call fcn.0107cca6
push eax
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.01061aa6
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
je 0x10a499d
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x18]
lea eax, [eax*4 + 0x10]
push eax
push dword [ebp - 0x10]
push 3
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
jne 0x10a49a2
mov esi, 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.01044c64
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x10a59fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1278883
call fcn.01160458
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov edi, ecx
je 0x10a5a19
cmp dword [ebp + 0x10], ebx
jne 0x10a5a23
mov eax, 0x80004003
jmp 0x10a5b4f
cmp dword [ebp + 0xc], ebx
jle 0x10a5a64
push esi
mov ecx, edi
call fcn.011a4b8b
test eax, eax
je 0x10a5ace
mov eax, dword [esi]
lea eax, [eax + eax*4]
lea eax, [eax*4 + 0x12ceeb8]
push eax
lea ecx, [edi + 0xc]
call fcn.011a4b8b
test eax, eax
je 0x10a5ace
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jne 0x10a5a5b
mov dword [edi + 0x1c], ebx
inc ebx
add esi, 4
cmp ebx, dword [ebp + 0xc]
jl 0x10a5a28
push dword [ebp + 0x10]
lea esi, [edi + 0x18]
mov ecx, esi
call fcn.01045196
or dword [edi + 0x24], 0xffffffff
and dword [ebp + 0xc], 0
mov byte [edi + 0x20], 1
and dword [ebp - 4], 0
push 0xf003f
mov ecx, 0x12d2398
call fcn.0107cca6
push eax
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.01044c82
test eax, eax
jne 0x10a5b3f
mov eax, dword [edi + 0x10]
lea eax, [eax*4 + 0x10]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
pop ecx
mov dword [ebp + 0x14], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x10a5ad5
mov byte [ebp - 4], al
mov esi, 0x8007000e
jmp 0x10a5b41
mov eax, 0x80004005
jmp 0x10a5b4f
mov eax, dword [edi + 0x10]
mov esi, dword [esi]
lea eax, [eax*4 + 0x10]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push ebx
lea eax, [ebp + 8]
push eax
push 0
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10a5b34
cmp dword [ebp + 8], 3
jne 0x10a5b34
mov ecx, dword [edi + 0x10]
lea eax, [ecx*4 + 0x10]
cmp dword [ebp + 0x10], eax
jne 0x10a5b34
cmp dword [ebx + 0xc], ecx
jne 0x10a5b34
mov eax, dword [ebx]
mov dword [edi + 0x1c], eax
cmp dword [ebx + 4], 0
lea esi, [ebx + 0x10]
setne al
mov byte [edi + 0x20], al
mov eax, dword [ebx + 8]
mov dword [edi + 0x24], eax
mov edi, dword [edi + 0xc]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01044c64
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x10a66a9
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
mov dword [ebp - 4], esi
jne 0x10a66c8
xor eax, eax
jmp 0x10a679f
mov eax, dword [ecx]
push ebx
lea edx, [ebp + 8]
push edx
push dword [ebp + 8]
xor ebx, ebx
inc ebx
push ebx
call dword [eax + 0x34]
test eax, eax
jl 0x10a679e
cmp eax, ebx
jne 0x10a66ec
xor eax, eax
jmp 0x10a679e
push edi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x1053
add esi, 0x7c
push dword [esi]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
cmp eax, 0xffffffff
jne 0x10a679b
push 0xd
pop ecx
xor eax, eax
push eax
push eax
push 0x1004
push dword [esi]
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x50], 7
call ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
or edi, 0xffffffff
push eax
mov ecx, esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
call fcn.010561bc
cmp eax, edi
jne 0x10a6761
mov eax, 0x80004005
jmp 0x10a679d
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd4], 0
jne 0x10a679b
lea ecx, [eax + 0x28]
mov eax, dword [ecx]
push 6
call dword [eax + 4]
test eax, eax
jl 0x10a679d
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x1053
push dword [esi]
call ebx
cmp eax, edi
je 0x10a679b
push 0
push eax
mov ecx, esi
call fcn.010563d7
test eax, eax
jl 0x10a679d
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x10b7a66
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x44
mov edi, ecx
call esi
push 0x45
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x4a0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetCapture]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x1b
call esi
push 0x1b
call esi
test ax, 0x7fff
jne 0x10b7b90
mov ecx, dword [ebp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0x205
mov dword [ebp + 0x10], ecx
jmp 0x10b7acc
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x4a0]
test eax, eax
je 0x10b7adb
add eax, 4
jmp 0x10b7add
xor eax, eax
mov eax, dword [eax]
push 2
push ecx
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x10b7b90
mov eax, dword [edi + 0x4a0]
test eax, eax
je 0x10b7b01
add eax, 4
jmp 0x10b7b03
xor eax, eax
mov eax, dword [eax]
push 1
mov ecx, 0x200
push ecx
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
je 0x10b7b82
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x4a0]
test eax, eax
je 0x10b7b32
add eax, 4
jmp 0x10b7b34
xor eax, eax
push 1
lea ecx, [ebp - 0x10]
push ecx
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 8], eax
jle 0x10b7b59
mov ecx, dword [ebp + 8]
sub ecx, eax
cmp ecx, dword [ebp - 4]
jg 0x10b7b94
cmp dword [ebp + 8], eax
jge 0x10b7b63
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jg 0x10b7b94
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
jle 0x10b7b78
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp - 8]
jg 0x10b7ba1
cmp dword [ebp + 0xc], eax
jge 0x10b7b82
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jg 0x10b7ba1
push 0x1b
call esi
test ax, 0x7fff
je 0x10b7ac9
xor esi, esi
jmp 0x10b7b97
xor esi, esi
inc esi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, esi
jmp 0x10b7baa
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10b88c7
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 0x364]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebp + 0x10]
push dword [esi + 4]
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
ret 0x10
Function at 0x10c36db
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 0x30], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
je 0x10c38ad
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
je 0x10c38ad
mov eax, dword [esi + 0x4a0]
cmp dword [eax + 0x208], 0
je 0x10c38ad
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call ebx
push 6
mov dword [ebp - 8], eax
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
xor edi, edi
lea ecx, [esi + 0x340]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.0108f096
mov dword [ebp - 0x20], edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x4a0]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [ebp - 0x20]
push eax
je 0x10c378f
mov eax, dword [esi + 0x4a0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 4]
jmp 0x10c37aa
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add dword [ebp - 0x1c], eax
sub dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x20]
push 3
mov dword [ebp - 8], eax
call ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x1c]
lea eax, [eax + edi*2]
add eax, edi
cmp ebx, eax
jg 0x10c37c5
mov ebx, eax
mov eax, dword [esi + 0x4a0]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add eax, 4
push dword [eax]
call edi
test eax, eax
je 0x10c3801
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0x15
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [esi + 0x4a0]
push ebx
push dword [ebp - 8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jne 0x10c389e
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x4a0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x40]
lea ecx, [esi + 0x418]
mov eax, dword [ecx]
push edx
call dword [eax]
cmp dword [esi + 0x4d4], 0
jne 0x10c389e
push dword [esi + 0x340]
call edi
test eax, eax
mov ebx, 0x322
mov edi, 0x323
je 0x10c386c
push 0
push ebx
lea ecx, [esi + 0x340]
call fcn.01062cf9
push 0
push edi
lea ecx, [esi + 0x340]
call fcn.01062cf9
push 1
push 0
lea ecx, [esi + 0x80]
push ebx
call fcn.010c361a
push 1
push 0
push edi
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.010c361a
push 1
push 0
push 0x9cf1
mov ecx, edi
call fcn.010c361a
push 0
push dword [esi + 0x364]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10c3c6f
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
jne 0x10c3ce9
push ebx
push edi
push dword [esi + 0x340]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebx, 0x322
mov edi, 0x323
je 0x10c3cb5
push 0
push ebx
lea ecx, [esi + 0x340]
call fcn.01062cf9
push 0
push edi
lea ecx, [esi + 0x340]
call fcn.01062cf9
push 1
push 0
lea ecx, [esi + 0x80]
push ebx
call fcn.010c361a
push 1
push 0
push edi
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.010c361a
push 1
push 0
push 0x9cf1
mov ecx, edi
call fcn.010c361a
pop edi
pop ebx
mov ecx, dword [esi + 0x4a0]
push 0
call fcn.01086c73
test eax, eax
jl 0x10c3d02
mov ecx, esi
pop esi
jmp fcn.010b83b7
pop esi
ret

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

Disassembly:
mov eax, 0x127acaa
call fcn.01160458
push ecx
push esi
mov esi, ecx
push edi
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi + 4], 0x102c6e4
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100b1a8
mov dword [esi + 4], 0x102c6e4
call fcn.01199f7e
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x10de7e2
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x44
mov edi, ecx
call esi
push 0x45
mov dword [ebp - 4], eax
call esi
push dword [edi + 8]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SetCapture]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x1b
call esi
push 0x1b
call esi
test ax, 0x7fff
jne 0x10de8ae
mov ebx, 0x200
push 2
mov eax, 0x205
push eax
push eax
push dword [edi + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x10de8ae
push 1
push ebx
push ebx
push dword [edi + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10de8a0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 8], eax
jle 0x10de877
mov ecx, dword [ebp + 8]
sub ecx, eax
cmp ecx, dword [ebp - 4]
jg 0x10de8b2
cmp dword [ebp + 8], eax
jge 0x10de881
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jg 0x10de8b2
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
jle 0x10de896
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp - 8]
jg 0x10de8b2
cmp dword [ebp + 0xc], eax
jge 0x10de8a0
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jg 0x10de8b2
push 0x1b
call esi
test ax, 0x7fff
je 0x10de829
xor eax, eax
jmp 0x10de8b5
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10ea463
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
add ecx, 0xffffffe4
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], 1
je 0x10ea4b9
push dword [ebp + 8]
push dword [esi + 4]
call edi
mov ebx, eax
mov eax, dword [ebp + 0x10]
shr eax, 1
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp dword [ebp + 0x14], eax
jge 0x10ea4f6
and dword [ebp - 4], 0
jmp 0x10ea4cf
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x10ea53a
push 0xffffffffffffffff
add esi, 0x1c
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
mov eax, esi
add esi, 0xffffffe4
neg eax
sbb eax, eax
and eax, esi
push dword [eax + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10ea53a
cmp dword [ebp + 0x18], 0
je 0x10ea53a
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
cmp eax, dword [ebp + 0x1c]
jle 0x10ea53a
push dword [ebp + 0xc]
call ebx
push 0xffffffffffffffff
add esi, 0x1c
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
mov eax, esi
add esi, 0xffffffe4
neg eax
sbb eax, eax
and eax, esi
push dword [eax + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x10fc672
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov byte [ebp - 1], 1
jne 0x10fc6c9
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call edi
push eax
push 0x4e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10fc724
shr eax, 2
test al, 1
je 0x10fc6f3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
jmp 0x10fc6c1
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x24]
push 0x1005688
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x10fc724
push 1
push ebx
push dword [esi + 4]
mov byte [esi + 0x48], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1101eb8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
add ecx, 0xffffffa0
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], 1
je 0x1101f2c
push ebx
push dword [ebp + 8]
push dword [esi + 4]
call edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp + 0x14], 0xffffffff
mov ebx, eax
push ebx
call fcn.0105604f
test eax, eax
je 0x1101f20
lea ecx, [ebx + 1]
push ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp + 0x14], eax
call fcn.010329e8
cmp dword [ebp + 0x14], ebx
pop ebx
jge 0x1101f6b
and dword [ebp - 4], 0
jmp 0x1101f44
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1101fa7
push 0xffffffffffffffff
add esi, 0x60
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
mov eax, esi
add esi, 0xffffffa0
neg eax
sbb eax, eax
and eax, esi
push dword [eax + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1101fa7
cmp dword [ebp + 0x18], 0
je 0x1101fa7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1101fa7
push 0xffffffffffffffff
add esi, 0x60
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
mov eax, esi
add esi, 0xffffffa0
neg eax
sbb eax, eax
and eax, esi
push dword [eax + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0x18

Function at 0x1103145
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x124]
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x1103197
mov ecx, edi
call fcn.0104525f
test eax, eax
jne 0x1103197
add esi, 0x130
mov eax, dword [esi]
test eax, eax
je 0x1103184
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1103197
mov eax, 0x80004005
jmp 0x1103199
xor eax, eax
pop edi
pop esi
ret