joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1155e7d
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1284be7
call fcn.01160118
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 2
mov dword [esi + 0x30c], 0xc
push dword [esi + 0x10]
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
jne 0x1155ebd
xor al, al
jmp 0x1156074
push dword [ebp - 0x14]
lea ecx, [esi + 0x2b0]
call fcn.0105a872
push 0x87b
push dword [esi + 0x10]
call edi
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x1155eed
push dword [ebp - 0x14]
lea ecx, [esi + 0x310]
call fcn.01100850
push 0x87c
push dword [esi + 0x10]
call edi
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x1155f0f
push dword [ebp - 0x14]
lea ecx, [esi + 0x370]
call fcn.01100850
lea ecx, [esi + 0xc8]
call fcn.01151103
xor eax, eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push eax
push eax
push ecx
mov dword [ecx], eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x18], esp
push dword [esi + 0x10]
lea ecx, [esi + 0x474]
call fcn.010343ce
push dword [esi + 0x474]
call ebx
test eax, eax
je 0x1155fdd
push 1
lea ecx, [esi + 0x474]
call fcn.01033f8a
lea eax, [ebp - 0x28]
push eax
lea ebx, [esi + 0x2a4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x10]
push 2
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x9cfc
lea ecx, [ebp - 0x10]
call fcn.01032a7e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.01032987
push 0x5ce
lea ecx, [ebp - 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x18], esp
push dword [esi + 0x10]
lea ecx, [esi + 0x474]
call fcn.010343fb
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0103290a
push 0x8a4
push dword [esi + 0x10]
call edi
mov ecx, dword [0x12ce0a0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
inc ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.01055a1b
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1156040
dec ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329f4
push 0x26
lea ecx, [ebp - 0x10]
call fcn.0113f977
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ebx, [esi + 0x3d0]
push 0x8a4
mov dword [ebx + 0x5c], 0x1c
push dword [esi + 0x10]
call edi
push eax
mov ecx, ebx
call fcn.0105a872
mov ecx, esi
call fcn.011540f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0103290a
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x11571e8
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1284ca3
call fcn.01160118
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x1157200
cmp dword [ebp + 0xc], esi
jne 0x1157207
mov eax, 0x80004003
jmp 0x115725e
cmp dword [ebp + 0x10], 1
je 0x115721a
cmp dword [ebp + 0x10], 2
je 0x115721a
mov eax, 0x80004005
jmp 0x115725e
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
call fcn.01157061
cmp eax, esi
jl 0x115724e
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01044a59
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x1157272
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1284cba
call fcn.01160118
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x115728b
cmp dword [ebp + 0xc], edi
jne 0x1157292
mov eax, 0x80004003
jmp 0x1157302
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x11572a1
mov eax, 0x80004003
jmp 0x1157301
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
lea eax, [ebp + 0x10]
push eax
call fcn.011570fc
test eax, eax
jl 0x11572f0
mov eax, dword [esi]
shl eax, 1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
mov dword [esi], edi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x11572dd
mov edi, eax
jmp 0x11572f3
cmp dword [ebp - 0x14], 1
je 0x11572e7
push 0xd
jmp 0x11572f2
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [esi], eax
jmp 0x11572f3
push 3
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.01044a59
mov eax, edi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x1157489
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1284d00
call fcn.01160118
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov edi, eax
cmp edi, ebx
jge 0x11574cb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11574c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x115758e
cmp dword [ebp - 0x10], ebx
jne 0x11574eb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11574e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x115758e
lea ecx, [ebp - 0x18]
call fcn.01044f5e
mov byte [ebp - 4], 1
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push 0x9c93
lea ecx, [ebp - 0x14]
call fcn.01032a7e
lea ecx, [ebp - 0x14]
call fcn.0105253b
push 0x105
lea ecx, [ebp - 0x18]
call fcn.01055a1b
cmp eax, ebx
je 0x115753b
push eax
push dword [ebp - 0x14]
push ebx
push ebx
push 0x800e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.010329f4
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0105258e
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.01045ebe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.0104508a
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x115758c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x11577ba
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1284d39
call fcn.01160118
sub esp, 0x28
mov eax, dword [0x12cf8c8]
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x1003404]
movsd dword es:[edi], dword [esi]
call fcn.0115775e
xor edi, edi
cmp eax, edi
jl 0x115795c
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x28], edi
call fcn.01265447
cmp eax, edi
jl 0x115795c
push dword [ebp - 0x28]
mov ecx, ebx
push dword [0x1003354]
call fcn.0115718e
cmp eax, edi
jl 0x115795c
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x28], edi
call fcn.01156fcc
cmp eax, edi
jl 0x115795c
push dword [ebp - 0x28]
mov ecx, ebx
push dword [0x10032ac]
call fcn.0115718e
cmp eax, edi
jl 0x115795c
lea ecx, [ebp - 0x2c]
call fcn.01044f5e
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0115744a
cmp eax, edi
jge 0x1157873
mov esi, eax
jmp 0x115794e
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov esi, 0x10030fc
cmp ecx, esi
mov dword [ebp - 0x30], eax
jne 0x115788e
mov esi, 0x80004003
jmp 0x115794e
cmp eax, edi
je 0x1157884
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.01157061
cmp eax, edi
mov dword [ebp - 0x34], eax
jge 0x11578bc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.01044a59
mov esi, dword [ebp - 0x34]
jmp 0x11578e8
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x30]
push 1
push edi
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.01044a59
cmp esi, edi
jl 0x115794e
lea eax, [ebp - 0x21]
push eax
mov ecx, ebx
mov byte [ebp - 0x21], 0
call fcn.01157005
cmp eax, edi
jl 0x115786c
movzx eax, byte [ebp - 0x21]
push eax
push 0x1003150
mov ecx, ebx
call fcn.0115718e
cmp eax, edi
jl 0x115786c
lea eax, [ebp - 0x21]
push eax
mov ecx, ebx
mov byte [ebp - 0x21], 1
call fcn.0115703e
cmp eax, edi
jl 0x115786c
movzx eax, byte [ebp - 0x21]
push eax
push 0x1003124
mov ecx, ebx
call fcn.0115718e
cmp eax, edi
jl 0x115786c
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0104508a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret
Function at 0x1157ebe
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
add ecx, 0xffffffcc
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x1157f2f
push ebx
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov edi, eax
push edi
call fcn.01055a1b
test eax, eax
je 0x1157f22
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.010329f4
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x1157f56
and dword [ebp - 4], 0
jmp 0x1157f46
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103261a
test eax, eax
mov dword [ebp - 4], eax
jne 0x1157f7f
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
push dword [ebp + 8]
call fcn.0113f9f8
jmp 0x1157f7f
cmp dword [ebp + 0x18], 0
je 0x1157f7f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1157f7f
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
push dword [ebp + 8]
call fcn.01157e65
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18

Function at 0x1159459
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1284e80
call fcn.01160118
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x88]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1159524
push edi
push 0
push dword [ebx]
lea edi, [esi + 0xb0]
mov byte [edi], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi], 0
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
push edi
lea ecx, [ebp - 0x10]
call fcn.01032987
test eax, eax
je 0x1159517
push edi
push eax
mov ecx, ebx
call fcn.0105925c
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329f4
cmp byte [esi + 0x84], 0
jne 0x11594ec
mov eax, dword [esi + 0x80]
test eax, eax
je 0x11594ec
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 0x64]
lea ecx, [ecx + eax*8 + 4]
jmp 0x11594fc
mov ecx, dword [esi + 0x64]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x80]
lea ecx, [ecx + eax*8]
call fcn.01044bd5
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]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0103290a
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x115a0d4
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1284f72
call fcn.01160118
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp di, 9
mov esi, ecx
je 0x115a10a
cmp di, 0xd
je 0x115a10a
push dword [ebp + 0x10]
lea ecx, [esi + 0x88]
push edi
push dword [ebp + 8]
call fcn.01159223
jmp 0x115a26f
mov eax, dword [esi + 0x80]
mov dword [ebp + 8], eax
mov al, byte [esi + 0x84]
push 0x10
mov byte [ebp + 0xf], al
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
test al, al
je 0x115a172
cmp di, 9
jne 0x115a172
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x115a156
push dword [ebp + 0x10]
push 9
push 0x100
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x115a22a
cmp byte [esi + 0x84], 0
je 0x115a169
dec eax
mov byte [ebp + 0xf], 0
jmp 0x115a227
mov byte [ebp + 0xf], 1
jmp 0x115a22a
cmp byte [esi + 0x84], 0
je 0x115a199
cmp dword [esi + 0x80], 0
jne 0x115a190
mov dword [ebp + 8], 1
jmp 0x115a22a
mov byte [ebp + 0xf], 0
jmp 0x115a22a
mov eax, dword [esi + 0x68]
cmp eax, 0x32
jge 0x115a20c
mov eax, dword [esi + 0x78]
lea ecx, [eax - 1]
cmp dword [esi + 0x80], ecx
jne 0x115a214
xor edi, edi
push edi
inc eax
push edi
lea ecx, [ebp - 0x14]
mov dword [esi + 0x78], eax
call fcn.0115970b
mov dword [ebp - 4], edi
push eax
lea ecx, [esi + 0x64]
call fcn.01159e08
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0108ec5d
mov eax, dword [esi + 0x70]
add dword [esi + 0x74], eax
mov eax, dword [esi + 0x74]
push 1
push eax
lea edi, [esi + 0x20]
push 1
mov ecx, edi
call fcn.01159b59
push dword [esi + 0x70]
mov ecx, edi
push 1
call fcn.0108ff45
push dword [esi + 0xb8]
mov ecx, edi
push 1
call fcn.0108ff11
jmp 0x115a214
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x80]
dec ecx
cmp eax, ecx
jge 0x115a22a
inc eax
mov byte [ebp + 0xf], 1
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
cmp dword [esi + 0x80], edi
jne 0x115a240
mov al, byte [esi + 0x84]
cmp al, byte [ebp + 0xf]
je 0x115a26d
mov ecx, esi
call fcn.01159459
mov al, byte [ebp + 0xf]
mov ecx, esi
mov dword [esi + 0x80], edi
mov byte [esi + 0x84], al
call fcn.01159778
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.0115936d
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x115c6ca
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov eax, 0x12852e3
call fcn.01160118
sub esp, 0x2c
mov eax, dword [0x12cf8c8]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], esi
push 0xf003f
mov ecx, 0x12d2398
call fcn.0107c3e1
push eax
push SysReAllocString
lea ecx, [ebp - 0x34]
call fcn.01044a77
cmp eax, esi
jne 0x115c737
push 0x100f900
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.01044ab3
cmp eax, esi
jne 0x115c737
cmp dword [ebp - 0x38], esi
je 0x115c737
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.01044a59
xor eax, eax
inc eax
jmp 0x115c7a1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.01044a59
mov eax, dword [0x12cf8a0]
cmp eax, 0xffffffff
jne 0x115c7a1
mov dword [0x12cf8a0], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp ax, si
mov word [0x12d324c], ax
je 0x115c79c
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x115c79c
test byte [ebp - 0x21], 8
je 0x115c79c
xor eax, eax
mov ax, word [0x12d324c]
push eax
call fcn.0115c696
test eax, eax
je 0x115c79c
mov dword [0x12cf8a0], 1
mov eax, dword [0x12cf8a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0115fe1a
leave
ret
Function at 0x115cb37
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1285329
call fcn.01160118
sub esp, 0xc
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x115cb59
mov eax, 0x80004003
jmp 0x115ccee
mov eax, dword [0x12ce0a0]
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
push 0x28
lea ecx, [ebp - 0x14]
call fcn.01032987
cmp eax, ebx
jne 0x115cb7d
mov esi, 0x8007000e
jmp 0x115ccdf
push 0x28
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, ebx
jne 0x115cb95
mov esi, 0x80004005
jmp 0x115ccdf
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.010329f4
mov ecx, 0x12d2398
call fcn.0107c3e1
push eax
lea ecx, [ebp - 0x10]
call fcn.01039819
mov byte [ebp - 4], 1
push dword [0x12cf8a4]
lea ecx, [ebp - 0x10]
call fcn.010524eb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.01044d17
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 2
push ebx
push ebx
push 0xf003f
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
push SysReAllocString
call fcn.01061330
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
jne 0x115cc04
mov esi, 0x80004005
jmp 0x115ccc8
movzx eax, byte [edi + 0x10]
push dword [0x12cf8a8]
lea ecx, [ebp + 8]
push eax
call fcn.01061385
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cbfa
movzx eax, byte [edi + 0x11]
push dword [0x12cf8ac]
lea ecx, [ebp + 8]
push eax
call fcn.01061385
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cbfa
push dword [0x12cf8c0]
mov eax, dword [edi + 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.01044b10
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cbfa
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 8
lea eax, [edi + 0x18]
push eax
push 3
push ebx
push dword [0x12cf8b0]
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cbfa
push 8
lea eax, [edi + 0x20]
push eax
push 3
push ebx
push dword [0x12cf8b4]
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cbfa
push 8
add edi, 0x28
push edi
push 3
push ebx
push dword [0x12cf8b8]
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cbfa
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.01044a59
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0103290a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0103290a
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x115e3eb
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x12855a0
call fcn.01160118
sub esp, 0xa8
mov eax, dword [0x12cf8c8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0xb4], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], 1
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], edi
mov byte [ebp - 0xac], bl
call fcn.0105d24c
mov byte [ebp - 4], 3
mov ecx, 0x12d2398
mov dword [ebp - 0xa8], ebx
call fcn.0107c3e1
push eax
lea ecx, [ebp - 0xa0]
call fcn.01039819
mov byte [ebp - 4], 4
push dword [0x12cf8a4]
lea ecx, [ebp - 0xa0]
call fcn.010524eb
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 4], 5
push 0xf003f
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
push SysReAllocString
call fcn.01044a77
test eax, eax
jne 0x115e546
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x28
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0xa4], ebx
push ebx
jmp 0x115e518
inc dword [ebp - 0xa4]
lea ecx, [ebp - 0x98]
call fcn.0115c928
mov byte [ebp - 4], 6
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.0115cd03
test eax, eax
jl 0x115e4fd
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.0115d7b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.0115c956
push 0x28
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
call edi
test eax, eax
je 0x115e4c4
push dword [0x12cf8bc]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.01044ab3
test eax, eax
je 0x115e546
mov dword [ebp - 0xa8], ebx
push ebx
push dword [ebp - 0xa8]
mov ecx, esi
call fcn.0115dc55
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.01044a59
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.0103290a
mov byte [ebp - 4], 2
cmp byte [ebp - 0xac], bl
je 0x115e589
lea ecx, [ebp - 0xb0]
call fcn.0105d27f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret

Function at 0x115e5f8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
xor eax, eax
mov edx, ecx
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
push 0x1073
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
leave
ret 0x10
Function at 0x115f823
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x115f876
cmp dword [ebp - 0xc], 8
jne 0x115f876
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x115f876
push dword [ebp - 8]
mov ecx, esi
call fcn.0115f889
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
inc eax
pop esi
leave
ret 0x10