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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc0]
xor ebx, ebx
cmp dword [edi], ebx
je 0x10952f1
call fcn.01091802
push ebx
mov ecx, esi
mov dword [edi], ebx
call fcn.01093197
jmp 0x1095303
cmp byte [esi + 0x2531], 0
je 0x1095303
mov eax, dword [esi + 0x38]
mov dword [esi + 0x2534], eax
mov eax, dword [esi + 0xcc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 4]
call ebx
cmp byte [ebp + 8], 0
je 0x10953a9
lea ecx, [esi + 0xd0]
call fcn.0114765c
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xcc]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
lea ecx, [esi + 0xd0]
neg ecx
sbb ecx, ecx
lea edx, [esi + 0xd4]
and ecx, edx
mov ecx, dword [ecx]
lea edi, [esi + 0x20]
mov dword [edi], ecx
push 0xffffffffffffffff
mov ecx, edi
mov dword [edi + 4], eax
call fcn.010907b3
push 2
push 2
mov ecx, edi
call fcn.0108ea76
push 0
lea ecx, [esi + 0xd0]
call fcn.0114765c
push eax
mov ecx, esi
call fcn.01036080
push 5
push dword [esi + 0xd4]
call ebx
mov eax, dword [esi + 0xc8]
push 0
push dword [eax + 4]
call ebx
mov byte [esi + 0x2530], 1
jmp 0x109547b
cmp byte [ebp + 0xc], 0
lea edi, [esi + 0x20]
je 0x1095430
mov eax, dword [esi + 0x2564]
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xcc]
mov edx, eax
add eax, 4
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edx]
mov edx, ecx
add ecx, 4
neg edx
sbb edx, edx
and edx, ecx
mov ecx, dword [edx]
mov dword [edi], ecx
push 0xffffffffffffffff
mov ecx, edi
mov dword [edi + 4], eax
call fcn.010907b3
push 2
push 0
mov ecx, edi
call fcn.0108ea76
push 0
push dword [esi + 0x2534]
mov ecx, esi
call fcn.01036080
push 0
push dword [esi + 0xd4]
call ebx
mov eax, dword [esi + 0xc8]
push 5
push dword [eax + 4]
call ebx
mov byte [esi + 0x2530], 0
mov byte [esi + 0x2531], 1
jmp 0x1095482
mov eax, dword [esi + 0xcc]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
and dword [edi], 0
push 1
mov ecx, edi
mov dword [edi + 4], eax
call fcn.010907b3
push 2
push 0
mov ecx, edi
call fcn.0108ea76
push 0
push dword [esi + 0xd4]
call ebx
mov eax, dword [esi + 0xc8]
push 0
push dword [eax + 4]
call ebx
mov byte [esi + 0x2530], 0
mov byte [esi + 0x2531], 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.01091838
cmp byte [esi + 0x2530], 0
jne 0x10954b0
cmp byte [esi + 0x2531], 0
jne 0x10954b0
push 0
jmp 0x10954b2
push 4
push dword [esi + 0x2548]
call ebx
mov ecx, edi
call fcn.01035b0b
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10a2aad
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.010a2898
push 5
push dword [esi + 0xc8]
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x10a2afa
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 0x10a2b38
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 0x10a2b72
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.010a28be
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 0x10a3a26
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 0x10a3b2f
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10a3b2f
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x10a3b2f
lea edx, [ebp - 8]
add eax, 0x78
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10a3b2f
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 0x10a3b2e
push ebx
call edi
test eax, eax
je 0x10a3b2e
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
fldz
xor eax, eax
fstp qword [ebp - 0x10]
cmp dword [esi + 0x5c], eax
push eax
je 0x10a3af0
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.010c3b88
jmp 0x10a3b2e
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 0x10a45bc
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1278775
call fcn.01160118
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 0x10a45e6
mov eax, 0x80004005
jmp 0x10a46c1
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 0x10a4613
or dword [ebp - 4], 0xffffffff
mov eax, 0x8007000e
jmp 0x10a46c1
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.0107c3e1
push eax
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.01061330
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
je 0x10a469f
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 0x10a46a4
mov esi, 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.01044a59
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 0x10a56fe
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1278925
call fcn.01160118
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov edi, ecx
je 0x10a571b
cmp dword [ebp + 0x10], ebx
jne 0x10a5725
mov eax, 0x80004003
jmp 0x10a5851
cmp dword [ebp + 0xc], ebx
jle 0x10a5766
push esi
mov ecx, edi
call fcn.011a48b7
test eax, eax
je 0x10a57d0
mov eax, dword [esi]
lea eax, [eax + eax*4]
lea eax, [eax*4 + 0x12ceeb8]
push eax
lea ecx, [edi + 0xc]
call fcn.011a48b7
test eax, eax
je 0x10a57d0
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jne 0x10a575d
mov dword [edi + 0x1c], ebx
inc ebx
add esi, 4
cmp ebx, dword [ebp + 0xc]
jl 0x10a572a
push dword [ebp + 0x10]
lea esi, [edi + 0x18]
mov ecx, esi
call fcn.01044f8b
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.0107c3e1
push eax
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.01044a77
test eax, eax
jne 0x10a5841
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 0x10a57d7
mov byte [ebp - 4], al
mov esi, 0x8007000e
jmp 0x10a5843
mov eax, 0x80004005
jmp 0x10a5851
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 0x10a5836
cmp dword [ebp + 8], 3
jne 0x10a5836
mov ecx, dword [edi + 0x10]
lea eax, [ecx*4 + 0x10]
cmp dword [ebp + 0x10], eax
jne 0x10a5836
cmp dword [ebx + 0xc], ecx
jne 0x10a5836
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.01044a59
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x10a63ce
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 0x10a63ed
xor eax, eax
jmp 0x10a64c4
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 0x10a64c3
cmp eax, ebx
jne 0x10a6411
xor eax, eax
jmp 0x10a64c3
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 0x10a64c0
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.01055b88
cmp eax, edi
jne 0x10a6486
mov eax, 0x80004005
jmp 0x10a64c2
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd4], 0
jne 0x10a64c0
lea ecx, [eax + 0x28]
mov eax, dword [ecx]
push 6
call dword [eax + 4]
test eax, eax
jl 0x10a64c2
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x1053
push dword [esi]
call ebx
cmp eax, edi
je 0x10a64c0
push 0
push eax
mov ecx, esi
call fcn.01055da3
test eax, eax
jl 0x10a64c2
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x10b7781
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 0x10b78ab
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 0x10b77e7
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x4a0]
test eax, eax
je 0x10b77f6
add eax, 4
jmp 0x10b77f8
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 0x10b78ab
mov eax, dword [edi + 0x4a0]
test eax, eax
je 0x10b781c
add eax, 4
jmp 0x10b781e
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 0x10b789d
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x4a0]
test eax, eax
je 0x10b784d
add eax, 4
jmp 0x10b784f
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 0x10b7874
mov ecx, dword [ebp + 8]
sub ecx, eax
cmp ecx, dword [ebp - 4]
jg 0x10b78af
cmp dword [ebp + 8], eax
jge 0x10b787e
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jg 0x10b78af
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
jle 0x10b7893
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp - 8]
jg 0x10b78bc
cmp dword [ebp + 0xc], eax
jge 0x10b789d
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jg 0x10b78bc
push 0x1b
call esi
test ax, 0x7fff
je 0x10b77e4
xor esi, esi
jmp 0x10b78b2
xor esi, esi
inc esi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, esi
jmp 0x10b78c5
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10b8662
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 0x10c35f4
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 0x10c37c6
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
je 0x10c37c6
mov eax, dword [esi + 0x4a0]
cmp dword [eax + 0x208], 0
je 0x10c37c6
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.0108ea2f
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 0x10c36a8
mov eax, dword [esi + 0x4a0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 4]
jmp 0x10c36c3
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 0x10c36de
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 0x10c371a
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 0x10c37b7
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 0x10c37b7
push dword [esi + 0x340]
call edi
test eax, eax
mov ebx, 0x322
mov edi, 0x323
je 0x10c3785
push 0
push ebx
lea ecx, [esi + 0x340]
call fcn.01062548
push 0
push edi
lea ecx, [esi + 0x340]
call fcn.01062548
push 1
push 0
lea ecx, [esi + 0x80]
push ebx
call fcn.010c3533
push 1
push 0
push edi
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.010c3533
push 1
push 0
push 0x9cf1
mov ecx, edi
call fcn.010c3533
push 0
push dword [esi + 0x364]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10c3b88
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
jne 0x10c3c02
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 0x10c3bce
push 0
push ebx
lea ecx, [esi + 0x340]
call fcn.01062548
push 0
push edi
lea ecx, [esi + 0x340]
call fcn.01062548
push 1
push 0
lea ecx, [esi + 0x80]
push ebx
call fcn.010c3533
push 1
push 0
push edi
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.010c3533
push 1
push 0
push 0x9cf1
mov ecx, edi
call fcn.010c3533
pop edi
pop ebx
mov ecx, dword [esi + 0x4a0]
push 0
call fcn.01086398
test eax, eax
jl 0x10c3c1b
mov ecx, esi
pop esi
jmp fcn.010b8152
pop esi
ret

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

Disassembly:
mov eax, 0x127ad4c
call fcn.01160118
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], 0x102c6cc
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100b1a8
mov dword [esi + 4], 0x102c6cc
call fcn.0105d453
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 0x10de718
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 0x10de7e4
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 0x10de7e4
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 0x10de7d6
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 8], eax
jle 0x10de7ad
mov ecx, dword [ebp + 8]
sub ecx, eax
cmp ecx, dword [ebp - 4]
jg 0x10de7e8
cmp dword [ebp + 8], eax
jge 0x10de7b7
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jg 0x10de7e8
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
jle 0x10de7cc
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp - 8]
jg 0x10de7e8
cmp dword [ebp + 0xc], eax
jge 0x10de7d6
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jg 0x10de7e8
push 0x1b
call esi
test ax, 0x7fff
je 0x10de75f
xor eax, eax
jmp 0x10de7eb
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10ea3ea
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 0x10ea440
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 0x10ea47d
and dword [ebp - 4], 0
jmp 0x10ea456
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 0x10ea4c1
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 0x10ea4c1
cmp dword [ebp + 0x18], 0
je 0x10ea4c1
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
cmp eax, dword [ebp + 0x1c]
jle 0x10ea4c1
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 0x10fc889
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 0x10fc8e0
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 0x10fc93b
shr eax, 2
test al, 1
je 0x10fc90a
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 0x10fc8d8
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 0x10fc93b
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