joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1157318
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1284c01
call fcn.01160458
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x1157330
cmp dword [ebp + 0xc], esi
jne 0x1157337
mov eax, 0x80004003
jmp 0x115738e
cmp dword [ebp + 0x10], 1
je 0x115734a
cmp dword [ebp + 0x10], 2
je 0x115734a
mov eax, 0x80004005
jmp 0x115738e
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
call fcn.01157191
cmp eax, esi
jl 0x115737e
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.01044c64
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x11573a2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1284c18
call fcn.01160458
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x11573bb
cmp dword [ebp + 0xc], edi
jne 0x11573c2
mov eax, 0x80004003
jmp 0x1157432
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x11573d1
mov eax, 0x80004003
jmp 0x1157431
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
lea eax, [ebp + 0x10]
push eax
call fcn.0115722c
test eax, eax
jl 0x1157420
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 0x115740d
mov edi, eax
jmp 0x1157423
cmp dword [ebp - 0x14], 1
je 0x1157417
push 0xd
jmp 0x1157422
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [esi], eax
jmp 0x1157423
push 3
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.01044c64
mov eax, edi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x11575b9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1284c5e
call fcn.01160458
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 0x11575fb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11575f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x11576be
cmp dword [ebp - 0x10], ebx
jne 0x115761b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1157611
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x11576be
lea ecx, [ebp - 0x18]
call fcn.01045169
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.01032a72
lea ecx, [ebp - 0x14]
call fcn.01052b2a
push 0x105
lea ecx, [ebp - 0x18]
call fcn.0105604f
cmp eax, ebx
je 0x115766b
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.010329e8
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.01052b7d
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.01046095
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11576bc
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 0x11578ea
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1284c97
call fcn.01160458
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.0115788e
xor edi, edi
cmp eax, edi
jl 0x1157a8c
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x28], edi
call fcn.011570e6
cmp eax, edi
jl 0x1157a8c
push dword [ebp - 0x28]
mov ecx, ebx
push dword [0x1003354]
call fcn.011572be
cmp eax, edi
jl 0x1157a8c
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x28], edi
call fcn.01265202
cmp eax, edi
jl 0x1157a8c
push dword [ebp - 0x28]
mov ecx, ebx
push dword [0x10032ac]
call fcn.011572be
cmp eax, edi
jl 0x1157a8c
lea ecx, [ebp - 0x2c]
call fcn.01045169
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0115757a
cmp eax, edi
jge 0x11579a3
mov esi, eax
jmp 0x1157a7e
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov esi, 0x10030fc
cmp ecx, esi
mov dword [ebp - 0x30], eax
jne 0x11579be
mov esi, 0x80004003
jmp 0x1157a7e
cmp eax, edi
je 0x11579b4
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.01157191
cmp eax, edi
mov dword [ebp - 0x34], eax
jge 0x11579ec
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.01044c64
mov esi, dword [ebp - 0x34]
jmp 0x1157a18
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.01044c64
cmp esi, edi
jl 0x1157a7e
lea eax, [ebp - 0x21]
push eax
mov ecx, ebx
mov byte [ebp - 0x21], 0
call fcn.01157135
cmp eax, edi
jl 0x115799c
movzx eax, byte [ebp - 0x21]
push eax
push 0x1003150
mov ecx, ebx
call fcn.011572be
cmp eax, edi
jl 0x115799c
lea eax, [ebp - 0x21]
push eax
mov ecx, ebx
mov byte [ebp - 0x21], 1
call fcn.0115716e
cmp eax, edi
jl 0x115799c
movzx eax, byte [ebp - 0x21]
push eax
push 0x1003124
mov ecx, ebx
call fcn.011572be
cmp eax, edi
jl 0x115799c
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01045295
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.0116015a
leave
ret
Function at 0x11583ea
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 0x115845b
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.0105604f
test eax, eax
je 0x115844e
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.010329e8
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x1158482
and dword [ebp - 4], 0
jmp 0x1158472
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103262a
test eax, eax
mov dword [ebp - 4], eax
jne 0x11584ab
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
push dword [ebp + 8]
call fcn.01158391
jmp 0x11584ab
cmp dword [ebp + 0x18], 0
je 0x11584ab
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x11584ab
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
push dword [ebp + 8]
call fcn.01158359
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18

Function at 0x1159985
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1284dde
call fcn.01160458
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 0x1159a50
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.0103297b
test eax, eax
je 0x1159a43
push edi
push eax
mov ecx, ebx
call fcn.0105994b
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329e8
cmp byte [esi + 0x84], 0
jne 0x1159a18
mov eax, dword [esi + 0x80]
test eax, eax
je 0x1159a18
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 0x64]
lea ecx, [ecx + eax*8 + 4]
jmp 0x1159a28
mov ecx, dword [esi + 0x64]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x80]
lea ecx, [ecx + eax*8]
call fcn.01044de0
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.010328fe
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x115a58a
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1284ed0
call fcn.01160458
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp di, 9
mov esi, ecx
je 0x115a5c0
cmp di, 0xd
je 0x115a5c0
push dword [ebp + 0x10]
lea ecx, [esi + 0x88]
push edi
push dword [ebp + 8]
call fcn.0115974f
jmp 0x115a725
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 0x115a628
cmp di, 9
jne 0x115a628
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x115a60c
push dword [ebp + 0x10]
push 9
push 0x100
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x115a6e0
cmp byte [esi + 0x84], 0
je 0x115a61f
dec eax
mov byte [ebp + 0xf], 0
jmp 0x115a6dd
mov byte [ebp + 0xf], 1
jmp 0x115a6e0
cmp byte [esi + 0x84], 0
je 0x115a64f
cmp dword [esi + 0x80], 0
jne 0x115a646
mov dword [ebp + 8], 1
jmp 0x115a6e0
mov byte [ebp + 0xf], 0
jmp 0x115a6e0
mov eax, dword [esi + 0x68]
cmp eax, 0x32
jge 0x115a6c2
mov eax, dword [esi + 0x78]
lea ecx, [eax - 1]
cmp dword [esi + 0x80], ecx
jne 0x115a6ca
xor edi, edi
push edi
inc eax
push edi
lea ecx, [ebp - 0x14]
mov dword [esi + 0x78], eax
call fcn.01159cb2
mov dword [ebp - 4], edi
push eax
lea ecx, [esi + 0x64]
call fcn.0115a2be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0108f269
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.011483f2
push dword [esi + 0x70]
mov ecx, edi
push 1
call fcn.010a1990
push dword [esi + 0xb8]
mov ecx, edi
push 1
call fcn.010a19c4
jmp 0x115a6ca
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 0x115a6e0
inc eax
mov byte [ebp + 0xf], 1
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
cmp dword [esi + 0x80], edi
jne 0x115a6f6
mov al, byte [esi + 0x84]
cmp al, byte [ebp + 0xf]
je 0x115a723
mov ecx, esi
call fcn.01159985
mov al, byte [ebp + 0xf]
mov ecx, esi
mov dword [esi + 0x80], edi
mov byte [esi + 0x84], al
call fcn.01159d1f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.01159899
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x115caea
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov eax, 0x1285241
call fcn.01160458
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.0107cca6
push eax
push SysReAllocString
lea ecx, [ebp - 0x34]
call fcn.01044c82
cmp eax, esi
jne 0x115cb57
push 0x100f900
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.01044cbe
cmp eax, esi
jne 0x115cb57
cmp dword [ebp - 0x38], esi
je 0x115cb57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.01044c64
xor eax, eax
inc eax
jmp 0x115cbc1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.01044c64
mov eax, dword [0x12cf8a0]
cmp eax, 0xffffffff
jne 0x115cbc1
mov dword [0x12cf8a0], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp ax, si
mov word [0x12d324c], ax
je 0x115cbbc
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 0x115cbbc
test byte [ebp - 0x21], 8
je 0x115cbbc
xor eax, eax
mov ax, word [0x12d324c]
push eax
call fcn.0115cab6
test eax, eax
je 0x115cbbc
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.0116015a
leave
ret
Function at 0x115cf57
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1285287
call fcn.01160458
sub esp, 0xc
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x115cf79
mov eax, 0x80004003
jmp 0x115d10e
mov eax, dword [0x12ce0a0]
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
push 0x28
lea ecx, [ebp - 0x14]
call fcn.0103297b
cmp eax, ebx
jne 0x115cf9d
mov esi, 0x8007000e
jmp 0x115d0ff
push 0x28
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, ebx
jne 0x115cfb5
mov esi, 0x80004005
jmp 0x115d0ff
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.010329e8
mov ecx, 0x12d2398
call fcn.0107cca6
push eax
lea ecx, [ebp - 0x10]
call fcn.01039a07
mov byte [ebp - 4], 1
push dword [0x12cf8a4]
lea ecx, [ebp - 0x10]
call fcn.01052ada
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.01044f22
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.01061aa6
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
jne 0x115d024
mov esi, 0x80004005
jmp 0x115d0e8
movzx eax, byte [edi + 0x10]
push dword [0x12cf8a8]
lea ecx, [ebp + 8]
push eax
call fcn.01061afb
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115d01a
movzx eax, byte [edi + 0x11]
push dword [0x12cf8ac]
lea ecx, [ebp + 8]
push eax
call fcn.01061afb
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115d01a
push dword [0x12cf8c0]
mov eax, dword [edi + 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.01044d1b
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115d01a
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 0x115d01a
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 0x115d01a
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 0x115d01a
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.01044c64
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010328fe
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x115e80b
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x12854fe
call fcn.01160458
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.0105d927
mov byte [ebp - 4], 3
mov ecx, 0x12d2398
mov dword [ebp - 0xa8], ebx
call fcn.0107cca6
push eax
lea ecx, [ebp - 0xa0]
call fcn.01039a07
mov byte [ebp - 4], 4
push dword [0x12cf8a4]
lea ecx, [ebp - 0xa0]
call fcn.01052ada
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 4], 5
push 0xf003f
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
push SysReAllocString
call fcn.01044c82
test eax, eax
jne 0x115e966
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x28
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0xa4], ebx
push ebx
jmp 0x115e938
inc dword [ebp - 0xa4]
lea ecx, [ebp - 0x98]
call fcn.0115cd48
mov byte [ebp - 4], 6
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.0115d123
test eax, eax
jl 0x115e91d
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.0115dbd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.0115cd76
push 0x28
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
call edi
test eax, eax
je 0x115e8e4
push dword [0x12cf8bc]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.01044cbe
test eax, eax
je 0x115e966
mov dword [ebp - 0xa8], ebx
push ebx
push dword [ebp - 0xa8]
mov ecx, esi
call fcn.0115e075
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.01044c64
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.010328fe
mov byte [ebp - 4], 2
cmp byte [ebp - 0xac], bl
je 0x115e9a9
lea ecx, [ebp - 0xb0]
call fcn.0105d95a
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.0116015a
leave
ret

Function at 0x115ea18
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 0x115fb63
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 0x115fbb6
cmp dword [ebp - 0xc], 8
jne 0x115fbb6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x115fbb6
push dword [ebp - 8]
mov ecx, esi
call fcn.0115fbc9
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
inc eax
pop esi
leave
ret 0x10
Function at 0x1160272
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x100fbc8
call fcn.011608d4
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x11602af
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x11602af
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x11602c7
cmp eax, 0x20b
je 0x11602b4
mov dword [ebp - 0x1c], ebx
jmp 0x11602db
cmp dword [ecx + 0x84], 0xe
jbe 0x11602af
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x11602d5
cmp dword [ecx + 0x74], 0xe
jbe 0x11602af
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x12d53b4], 0xffffffff
or dword [0x12d53b8], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x12d3290]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x12d328c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x12d53b0], eax
call fcn.01123ab4
cmp dword [0x12cf8d0], ebx
jne 0x1160336
push fcn.01123ab4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.011608bb
push 0x12ce09c
push 0x12ce098
call sub.msvcrt.dll__initterm
mov eax, dword [0x12d3288]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x12d3284]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x12ce094
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x11603cc
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x11603a0
cmp al, 0x22
jne 0x1160392
cmp byte [esi], 0x22
jne 0x11603a9
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x11603b3
cmp al, 0x20
jbe 0x11603a5
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x11603d7
movzx eax, word [ebp - 0x50]
jmp 0x11603da
cmp byte [esi], 0x20
jbe 0x11603a9
inc esi
mov dword [ebp - 0x20], esi
jmp 0x11603cc
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x11603f7
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x116042c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0116090f
ret
Function at 0x1160c7f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x12d3294], 0
push esi
jne 0x1160bed
call fcn.01160ae4
test eax, eax
je 0x1160c30
mov eax, dword [0x12d3294]
cmp eax, 1
jne 0x1160c0e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1160c30
pop esi
ret
push eax
call dword [0x12d329c]
test eax, eax
jne 0x1160c78
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1160c34
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x12d3294]
call dword [0x12d329c]
mov edi, eax
test edi, edi
je 0x1160c59
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1160c75
mov edi, esi
add esi, 0xff0
push edi
push dword [0x12d3294]
call dword [0x12d3298]
add edi, 0x10
cmp edi, esi
jb 0x1160c61
mov eax, edi
pop edi
pop esi
ret
jmp 0x1160bda