joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5babe2a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x5ba4c634
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
call esi
cmp eax, ebx
jne 0x5babe304
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], 4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x5babe338
lea eax, [ebp - 4]
push eax
push 1
push ebx
push 0x5ba4c608
push edi
call esi
cmp eax, ebx
jne 0x5babe344
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x5babe344
xor eax, eax
cmp dword [ebp - 8], 1
sete al
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], ebx
mov esi, dword [entry0]
je 0x5babe354
push dword [ebp + 0xc]
call esi
cmp dword [ebp - 4], ebx
je 0x5babe35e
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x5babf0f9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push 0x5ba41d74
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5babf14d
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push 0
push 0x5ba4cc94
push dword [ebp + 0xc]
call sub.SHLWAPI.dll_SHQueryValueExA
push dword [ebp + 0xc]
call dword [entry0]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x5babf165
push edi
push 0x5ba41db0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
pop edi
xor eax, eax
pop esi
leave
ret 8
Function at 0x5bac8dc0
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5bb70c3c]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x12c], eax
mov dword [eax], ebx
call fcn.5ba8f946
cmp eax, ebx
mov dword [ebp - 0x11c], eax
jl 0x5bac8f6e
mov edi, dword [esi + 0x128]
cmp dword [esi + 0x124], edi
mov dword [ebp - 0x11c], 0x80004005
jne 0x5bac8e53
add edi, 8
lea ecx, [edi + edi*4]
shl ecx, 2
lea eax, [esi + 0x120]
push ecx
push eax
call fcn.5ba56401
test eax, eax
jne 0x5bac8e34
mov eax, 0x8007000e
jmp 0x5bac8f74
mov edx, dword [esi + 0x124]
mov dword [esi + 0x128], edi
mov edi, dword [esi + 0x120]
push 0x28
lea edx, [edx + edx*4]
pop ecx
xor eax, eax
lea edi, [edi + edx*4]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x124]
mov ecx, dword [esi + 0x120]
lea eax, [eax + eax*4]
push ebx
lea eax, [ecx + eax*4]
push 0x5ba440d8
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x14]
push 0x10
push eax
mov dword [ebp - 0x120], ebx
call sub.SHLWAPI.dll_wnsprintfA
lea ecx, [ebp - 0x14]
push ecx
lea eax, [esi + 0xc]
push eax
push 0x5ba4cb94
lea eax, [ebp - 0x118]
push 0x104
push eax
call sub.SHLWAPI.dll_wnsprintfA
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x5bac8ef7
push dword [ebp - 0x124]
call dword [entry0]
cmp dword [ebp - 0x128], 2
lea eax, [ebp - 0x14]
jne 0x5bac8f23
inc dword [ebp - 0x120]
push dword [ebp - 0x120]
push 0x5ba440d8
push 0x10
push eax
call sub.SHLWAPI.dll_wnsprintfA
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0xc]
push eax
push 0x5ba4cb94
lea eax, [ebp - 0x118]
push 0x104
push eax
call sub.SHLWAPI.dll_wnsprintfA
add esp, 0x24
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
push dword [esi + 8]
call edi
test eax, eax
je 0x5bac8ea8
jmp 0x5bac8f6e
mov edi, dword [ebp - 0x130]
push 0x10
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
mov ecx, esi
call fcn.5bac8bc4
cmp eax, ebx
mov dword [ebp - 0x11c], eax
jl 0x5bac8f5e
inc dword [esi + 0x124]
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x12c]
mov dword [ecx], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x5bac8f6e
lea eax, [ebp - 0x118]
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.5bb3f314
leave
ret 4

Function at 0x5bac8fbc
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.5ba8f946
mov edi, eax
test edi, edi
jl 0x5bac900e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 8]
lea eax, [esi + 0xc]
push 1
push 0x5ba4cc2c
push eax
push dword [esi + 8]
call sub.SHLWAPI.dll_SHSetValueA
test eax, eax
jne 0x5bac9009
push 0x10
push dword [ebp + 8]
add esi, 0x110
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x5bac900e
mov edi, 0x80004005
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x5bac9786
Capabilities:
Check if file exists
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
imul ebx, ebx, 0x34
add ebx, dword [eax]
cmp dword [ebx + 0x30], 0
je 0x5bac97a7
xor eax, eax
jmp 0x5bac991b
push esi
push edi
push 0x3fd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
mov edi, esi
neg edi
sbb edi, edi
add edi, 0x400
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jne 0x5bac9821
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebp + 0xc]
call ebx
push 3
pop ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x102b
push dword [ebp + 0xc]
call ebx
neg esi
sbb esi, esi
push 0x36
add esi, 0x11c5
push esi
jmp 0x5bac98c4
inc eax
test esi, esi
mov dword [ebp + 0x14], eax
jne 0x5bac98d4
and dword [ebp + 0x10], esi
add eax, eax
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.5ba561af
test eax, eax
je 0x5bac98e2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.SHLWAPI.dll_Ordinal_95
push dword [ebp + 0x10]
call sub.SHLWAPI.dll_PathFileExistsW
test eax, eax
je 0x5bac9883
push dword [ebp + 0x10]
call sub.SHLWAPI.dll_PathIsDirectoryW
test eax, eax
jne 0x5bac9883
mov eax, dword [0x5bb73714]
push dword [ebx + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x24], eax
jmp 0x5bac990c
mov eax, dword [0x5bb73714]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebp + 0xc]
call esi
push 3
pop ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x102b
push dword [ebp + 0xc]
call esi
push 0x36
push 0x180d
push edi
push dword [ebp + 8]
call fcn.5bad2078
mov eax, 0x80004005
jmp 0x5bac9919
push eax
lea eax, [ebp - 8]
push eax
call fcn.5ba561af
test eax, eax
jne 0x5bac98e9
mov eax, 0x8007000e
jmp 0x5bac9919
push dword [ebp + 0x14]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [0x5bb73714]
push dword [ebx + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov dword [ebx + 0x28], eax
xor eax, eax
test esi, esi
sete al
inc eax
mov dword [ebx + 0x2c], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x5bacb75c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5bb70c3c]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], eax
lea eax, [ebx + 8]
push edi
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp dword [ebx + 0x2c], eax
jne 0x5bacb984
cmp dword [0x5bb738d8], 2
jne 0x5bacb7ce
push 5
pop ecx
mov esi, 0x5ba441e8
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push eax
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5bacb984
push dword [ebp - 0x20]
call dword [entry0]
xor eax, eax
cmp dword [ebx + 0x670], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x5bacb8cf
push 0x8000
call edi
push 0x5ba4ec54
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [ebp - 0x20]
mov dword [ebx + 0x670], eax
call edi
mov eax, dword [ebx + 0x670]
test eax, eax
je 0x5bacb984
push 0x5ba4ec8c
push eax
call esi
push 0x5ba4ec98
push dword [ebx + 0x670]
mov dword [ebx + 0x684], eax
call esi
push 0x5ba4ecac
push dword [ebx + 0x670]
mov dword [ebx + 0x688], eax
call esi
push 0x5ba4ecbc
push dword [ebx + 0x670]
mov dword [ebx + 0x68c], eax
call esi
push 0x5ba4ecd4
push dword [ebx + 0x670]
mov dword [ebx + 0x690], eax
call esi
push 0x5ba4ece8
push dword [ebx + 0x670]
mov dword [ebx + 0x694], eax
call esi
push 0x5ba4ecf4
push dword [ebx + 0x670]
mov dword [ebx + 0x698], eax
call esi
push 0x5ba4ed0c
push dword [ebx + 0x670]
mov dword [ebx + 0x69c], eax
call esi
push 0x5ba4ed3c
push dword [ebx + 0x670]
mov dword [ebx + 0x6a0], eax
call esi
push 0x5ba4ed24
push dword [ebx + 0x670]
mov dword [ebx + 0x6a4], eax
call esi
mov dword [ebx + 0x6b0], eax
xor eax, eax
cmp dword [ebx + 0x674], eax
jne 0x5bacb938
cmp dword [0x5bb738d8], 2
jne 0x5bacb938
push 0x8000
call edi
push 0x5ba4419c
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [ebp - 0x20]
mov dword [ebx + 0x674], eax
call edi
mov eax, dword [ebx + 0x674]
test eax, eax
je 0x5bacb984
push 0x5ba441a8
push eax
lea edi, [ebx + 0x6a8]
call esi
push 0x5ba441b4
push dword [ebx + 0x674]
mov dword [edi], eax
call esi
cmp dword [edi], 0
mov dword [ebx + 0x6ac], eax
je 0x5bacb984
test eax, eax
je 0x5bacb984
xor eax, eax
cmp dword [ebx + 0x684], eax
je 0x5bacb984
cmp dword [ebx + 0x688], eax
je 0x5bacb984
cmp dword [ebx + 0x68c], eax
je 0x5bacb984
cmp dword [ebx + 0x690], eax
je 0x5bacb984
cmp dword [ebx + 0x694], eax
je 0x5bacb984
cmp dword [ebx + 0x698], eax
je 0x5bacb984
cmp dword [ebx + 0x69c], eax
je 0x5bacb984
cmp dword [ebx + 0x6a0], eax
je 0x5bacb984
cmp dword [ebx + 0x6a4], eax
je 0x5bacb984
xor esi, esi
jmp 0x5bacb990
mov dword [ebx + 0x2c], 1
mov esi, 0x800412dc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.5bb3f314
leave
ret
Function at 0x5bacba64
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x5bb70c3c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 4], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test ebx, ebx
mov dword [ebp - 0xac], eax
je 0x5bacba99
mov ecx, esi
call fcn.5bacb75c
test eax, eax
jge 0x5bacbaa0
xor eax, eax
jmp 0x5bacbb2b
push 0
push dword [esi + 0x34]
call dword [0x5bb70ae4]
test eax, eax
mov dword [ebp - 0xa8], eax
jne 0x5bacbb25
push edi
push 0x28
pop ecx
lea edi, [ebp - 0xa4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
push eax
push ebx
mov dword [ebp - 0xa4], 0xa0
call dword [esi + 0x690]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5bacbb18
cmp dword [ebp - 0xa0], 0x2001
je 0x5bacbb1d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
sub eax, dword [ebp - 0xac]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jae 0x5bacbb1d
push 0
call edi
lea eax, [ebp - 0xa4]
push eax
push ebx
call dword [esi + 0x690]
cmp eax, 6
jne 0x5bacbae1
push 0x7d0
call edi
pop edi
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.5bb3f314
leave
ret 8
Function at 0x5bacdb50
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x20]
cmp eax, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x30], ecx
jne 0x5bacdbc8
cmp dword [ebp + 0x20], ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
je 0x5bacdbac
push eax
jmp 0x5bacdba2
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0x28], eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x5bacdb95
push esi
push 0x5bacd0a3
push dword [ebp + 8]
push 0x57
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esi + 0x20], eax
jmp 0x5bacdbe8
push ecx
push ecx
push 0x464
push 0x3e8
push eax
call edi
push eax
call ebx
push 0
push 0
push 0x402
push dword [esi + 0x1c]
call ebx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.5baccece
push dword [ebp + 0x10]
mov ecx, esi
call fcn.5bacce5d
cmp dword [ebp + 0x18], 0
je 0x5bacdc1f
movzx eax, word [ebp + 0x18]
push eax
push dword [0x5bb73708]
push 0x464
push 0x3e8
push dword [esi + 0x20]
call edi
push eax
call ebx
cmp dword [esi + 0x2c], 0
jne 0x5bacdc79
push 0
push 2
push dword [esi + 0x20]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20]
push eax
push 2
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call edi
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x20]
call edi
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x1c]
call edi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 6
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x5bacedaf
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
cmp dword [0x5bb72084], eax
jne 0x5bacedc4
pop ebp
jmp fcn.5bace0ff
pop ebp
ret 4
Function at 0x5bad0205
Capabilities:
Enumerate services
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
xor ebx, ebx
cmp dword [0x5bb72aac], ebx
jne 0x5bad034d
mov eax, dword [0x5bb738d8]
push esi
xor esi, esi
inc esi
cmp eax, esi
jne 0x5bad0290
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x5ba44c30
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5bad0346
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x5ba44c20
push dword [ebp - 8]
mov dword [ebp - 0xc], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5bad0282
cmp byte [ebp - 4], 0x31
jne 0x5bad0282
cmp byte [ebp - 3], bl
jne 0x5bad0282
mov dword [0x5bb72aa8], esi
push dword [ebp - 8]
call dword [entry0]
jmp 0x5bad0346
cmp eax, 2
jne 0x5bad0346
push SysReAllocString
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x5bad0346
cmp dword [0x5bb72aa8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], esi
jne 0x5bad033d
push edi
cmp dword [ebp - 8], ebx
jbe 0x5bad033c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x240
lea eax, [ebp - 0x250]
push eax
push esi
push 0x30
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x5bad02fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x5bad02fe
cmp eax, 0xea
jne 0x5bad033c
xor edi, edi
cmp dword [ebp - 4], ebx
jbe 0x5bad0334
lea esi, [ebp - 0x250]
push 0x5ba44c18
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x5bad0327
inc edi
add esi, 0x24
cmp edi, dword [ebp - 4]
jb 0x5bad030b
jmp 0x5bad0331
mov dword [0x5bb72aa8], 1
xor esi, esi
inc esi
cmp dword [0x5bb72aa8], ebx
je 0x5bad02c0
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [0x5bb72aac], esi
pop esi
mov eax, dword [0x5bb72aa8]
pop ebx
leave
ret

Function at 0x5bad2380
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x5ba4c690
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5bad23d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x5ba4d4ec
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [entry0]
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x5bad3799
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x1c]
push edi
push 0x54
push esi
push 0x41c
push ebx
mov dword [ebp + 0x10], esi
call fcn.5bad1dd9
push 0x55
push esi
push 0x41d
push ebx
call fcn.5bad1dd9
push 0xf1
push esi
push 0x8ac
push ebx
call fcn.5bad1dd9
push 0xf3
push esi
push 0x8ad
push ebx
call fcn.5bad1dd9
push 0xfa
push esi
push 0x8c2
push ebx
call fcn.5bad1dd9
push 0x28
push dword [esi]
call fcn.5ba5c71c
xor ecx, ecx
cmp eax, 3
setne cl
push 1
add ecx, 0x85e
push ecx
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x32
call fcn.5ba5c700
test eax, eax
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x5bad384e
push 0
push 0x85e
push ebx
call esi
push eax
call edi
push 0
push 0x85f
push ebx
call esi
push eax
call edi
push 0xf2
call fcn.5ba5c700
test eax, eax
je 0x5bad3869
push 0
push 0x8ac
push ebx
call esi
push eax
call edi
push 0xf4
call fcn.5ba5c700
test eax, eax
je 0x5bad3884
push 0
push 0x8ad
push ebx
call esi
push eax
call edi
test byte [0x5bb7381c], 1
je 0x5bad397b
push 0
push 0x84e
push ebx
call esi
push eax
call edi
push 0
push 0x851
push ebx
call esi
push eax
call edi
push 0
push 0x41c
push ebx
call esi
push eax
call edi
push 0
push 0x41d
push ebx
call esi
push eax
call edi
push 0
push 0x41e
push ebx
call esi
push eax
call edi
push 0
push 0x453
push ebx
call esi
push eax
call edi
push 0
push 0x454
push ebx
call esi
push eax
call edi
push 0
push 0x84f
push ebx
call esi
push eax
call edi
push 0
push 0x852
push ebx
call esi
push eax
call edi
push 0
push 0x845
push ebx
call esi
push eax
call edi
push 0
push 0x840
push ebx
call esi
push eax
call edi
push 0
push 0x846
push ebx
call esi
push eax
call edi
push 0
push 0xdad
push ebx
call esi
push eax
call edi
push 0
push 0xdae
push ebx
call esi
push eax
call edi
push 0
push 0xdaf
push ebx
call esi
push eax
call edi
push 0
push 0xdb0
push ebx
call esi
push eax
call edi
push 0
push 0xdb2
push ebx
call esi
push eax
call edi
push 0
push 0x871
push ebx
call esi
push eax
call edi
mov eax, dword [ebp + 0x10]
mov edi, dword [0x5ba56044]
push 1
push 0xf
push dword [eax + 0x18]
call edi
push eax
push 1
push 0x172
push 0x870
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [ebp + 0x10]
push 1
push 0x10
push dword [eax + 0x18]
call edi
push eax
push 1
push 0x172
push 0x871
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
call fcn.5ba8cb0f
test eax, eax
jne 0x5bad39eb
push eax
push 0x454
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x453
push ebx
call esi
push eax
call edi
jmp 0x5bad39fe
push 0xde
push dword [ebp + 0x10]
push 0x454
push ebx
call fcn.5bad1dd9
push dword [ebp + 0x10]
push 8
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push ebx
push 0x46d
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 0xc
Function at 0x5bad4656
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xffffffc2
add eax, 0x6d
push edi
push eax
mov eax, esi
neg eax
sbb eax, eax
push ebx
add eax, 0x88f
push eax
push dword [ebp + 8]
call fcn.5bad1e07
mov eax, esi
neg eax
sbb eax, eax
add eax, 0x893
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
inc edi
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.5ba561af
test eax, eax
jne 0x5bad46b9
inc eax
jmp 0x5bad46f1
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
inc eax
push 0
neg esi
push eax
push dword [ebp + 0xc]
sbb esi, esi
and esi, 0xffffffc2
add esi, 0x6e
push esi
push dword [ebx]
call fcn.5ba5c229
mov eax, dword [0x5bb73714]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc