joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472220
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x61ff90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov esi, ecx
push 9
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.005eb511
xor ebp, ebp
cmp eax, ebp
jle 0x47227f
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.005e34ce
push eax
mov ecx, edi
mov dword [esp + 0x64], ebp
call fcn.005eb183
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.005eb04a
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.005e6f5c
mov esi, eax
mov eax, dword [esp + 0x68]
neg esi
sbb esi, esi
and esi, eax
je 0x47238c
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebp, ebp
mov eax, 0x69734c
jne 0x4722ba
mov eax, 0x6416c4
push eax
mov ecx, edi
call fcn.005eb426
test byte [esi], 0x10
je 0x4722d3
push 0x697344
mov ecx, edi
call fcn.005eb426
test byte [esi], 8
je 0x4722e4
push 0x69733c
mov ecx, edi
call fcn.005eb426
test byte [esi], 4
je 0x4722f5
push 0x697334
mov ecx, edi
call fcn.005eb426
test byte [esi], 1
je 0x472358
xor eax, eax
push 0
mov ax, word [esi + 2]
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x40
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005eb0b8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
call fcn.004720a0
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.005eb462
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.005eb04a
jmp 0x472363
mov cl, byte [esi + 2]
push ecx
mov ecx, edi
call fcn.005eb44d
mov ax, word [esi + 4]
mov ebp, 1
test ax, ax
je 0x47238c
and eax, 0xffff
lea edx, [eax*4]
sub edx, eax
neg edx
lea esi, [esi + edx*2]
test esi, esi
jne 0x4722ac
mov ecx, dword [esp + 0x58]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8
Function at 0x473b30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
push ebx
push ebp
mov ebp, dword [esp + 0x270]
push esi
push edi
mov edi, dword [esp + 0x280]
test edi, edi
mov esi, ecx
jne 0x473b72
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x274]
push eax
push 0
push 0
push ebp
push 0x68f3f0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
jmp 0x473b76
mov ebx, dword [esp + 0x10]
cmp ebx, 0x20
jbe 0x473b84
cmp edi, 1
jne 0x473c68
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
push 0x697668
push SysReAllocStringLen
mov ecx, esi
call dword [edx + 0xf8]
test eax, eax
jne 0x473c68
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x68]
push 0x6916d0
push ecx
call edi
mov edx, dword [esi]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x68]
push eax
push ecx
push SysReAllocStringLen
mov ecx, esi
call dword [edx + 0xf8]
test eax, eax
jne 0x473c68
lea edx, [esp + 0x68]
push 0x6916c8
push edx
call fcn.00461d87
add esp, 8
test eax, eax
jne 0x473c04
lea eax, [esp + 0x68]
push 0x6916c4
push eax
call fcn.00461d87
add esp, 8
test eax, eax
je 0x473c07
mov byte [eax], 0
lea ecx, [esp + 0x68]
push 0x68f88c
push ecx
call edi
lea edx, [esp + 0x68]
push ebp
push edx
call edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x473c64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret 0x10
mov ebx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x260
ret 0x10
Function at 0x4863e0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
sub esp, 0x80
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push 0x80
push eax
mov edi, ecx
push 0x69b638
call esi
test eax, eax
je 0x486418
lea ecx, [esp + 0x10]
push ecx
call fcn.00460f19
add esp, 4
mov ebp, eax
jmp 0x48641a
xor ebp, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebx
cmp ebp, eax
jne 0x486475
lea edx, [esp + 0x10]
push 0x80
push edx
push 0x69b624
call esi
test eax, eax
je 0x486475
lea eax, [esp + 0x10]
push eax
call fcn.00460f19
add esp, 4
lea ecx, [esp + 0x10]
mov dword [0x6ebab4], eax
push 0x80
push ecx
push 0x69b608
call esi
lea edx, [esp + 0x10]
push edx
call fcn.00460f19
add esp, 4
mov dword [0x6ebab8], eax
jmp 0x486501
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
lea ecx, [esp + 0x10]
push 0xa
push ecx
push eax
mov dword [0x6ebab4], eax
call fcn.00463ec0
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x69b624
call esi
lea eax, [esp + 0x10]
push 0xa
push eax
call ebx
push eax
call fcn.00463ec0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x69b638
call esi
mov edx, dword [0x6ebab4]
push 0x10
push 8
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [eax], 0xffffffff
lea ecx, [esp + 0x10]
add eax, 0xc
push 0xa
push ecx
push eax
mov dword [0x6ebab8], eax
call fcn.00463ec0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x69b608
call esi
mov dword [edi], 0
pop edi
pop esi
pop ebp
mov dword [0x6ebabc], 1
pop ebx
add esp, 0x80
ret

Function at 0x48b530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x621db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
test ecx, ecx
push esi
mov dword [esp + 4], 0
je 0x48b606
mov eax, dword [ecx + 4]
cmp eax, 3
jne 0x48b58b
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add ecx, 0xc
push eax
push ecx
push esi
call fcn.0048bca0
add esp, 0xc
mov eax, esi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp eax, 7
jne 0x48b606
push ecx
lea ecx, [esp + 0xc]
call fcn.0048dad0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.0048bb40
add esp, 0x10
mov esi, dword [esp + 0x2c]
lea edx, [esp + 4]
push edx
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00495880
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.00495920
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0048db40
mov eax, esi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004897f0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4ac4b0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x624b48
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push 0x69c370
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4ac5fd
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push esi
call edi
push 2
push esi
mov dword [0x6ebaec], eax
call edi
push 3
push esi
mov dword [0x6ebae8], eax
call edi
push 4
push esi
mov dword [0x6ebaf4], eax
call edi
push 5
push esi
mov dword [0x6ebaf0], eax
call edi
push ebp
mov dword [0x6ebae0], eax
call dword [0x6ebaec]
push 0x4ac480
call dword [0x6ebae8]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 8]
imul eax, ecx
add eax, 0x428
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x30], edi
call fcn.004904a0
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov esi, eax
mov ecx, dword [eax + 8]
neg ecx
mov dword [eax + 8], ecx
mov ecx, 0x10a
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 8]
test edi, edi
jle 0x4ac5bd
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x14], edx
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
sub edi, ebp
dec edi
mov edx, ecx
imul edi, ecx
imul edx, ebp
mov esi, eax
mov eax, dword [esp + 0x28]
add esi, edi
lea edi, [edx + eax + 0x428]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 8]
cmp ebp, edi
jl 0x4ac57b
mov edi, dword [esp + 0x28]
push edi
call dword [0x6ebaf4]
mov esi, eax
mov eax, dword [esp + 0x2c]
push 0
push esi
mov dword [0x6ebae4], eax
call dword [0x6ebaf0]
push esi
call dword [0x6ebae0]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00489810
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c6dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x625e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], edi
mov eax, dword [ebx]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], edi
mov ecx, dword [eax + 0x20]
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004c74b0
test eax, eax
jne 0x4c6e28
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.004c7510
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esi + 0x14]
mov dword [esp + 0x10], 0xff
cmp eax, edi
je 0x4c6e50
fld dword [eax + 0x3c]
fmul dword [0x646724]
push ecx
fstp dword [esp]
call fcn.0049bfa0
add esp, 4
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x20]
push ebp
mov ebp, 1
mov dword [esp + 0x18], edi
cmp dword [edx + 0x10], ebp
jne 0x4c6e79
mov ecx, esi
call fcn.0049dcc0
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x24]
call fcn.00490db0
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], edi
cmp dword [ecx + 0x18], ebp
je 0x4c6faa
mov edx, dword [esi + 0x30]
push 0x69b9c8
mov eax, dword [edx]
mov eax, dword [eax + 0xc]
mov ecx, eax
call fcn.0048c7b0
mov esi, eax
cmp esi, edi
je 0x4c6faa
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x4c6f26
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0048add0
push 0x69b9e0
push eax
mov byte [esp + 0x3c], 1
call fcn.00489cd0
add esp, 8
test al, al
jne 0x4c6f05
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0048add0
push 0x6a1b08
push eax
mov byte [esp + 0x3c], 2
call fcn.00489cd0
add esp, 8
lea ecx, [esp + 0x1c]
mov bl, al
mov byte [esp + 0x34], 1
call fcn.00489810
test bl, bl
je 0x4c6f07
mov bl, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.00489810
test bl, bl
je 0x4c6fa6
mov dword [esp + 0x3c], ebp
jmp 0x4c6fa6
cmp eax, 5
jne 0x4c6faa
cmp dword [esi + 0x10], edi
jbe 0x4c6faa
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.0048add0
push 0x69b9e0
push eax
mov byte [esp + 0x3c], 3
call fcn.00489cd0
add esp, 8
test al, al
jne 0x4c6f86
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0048add0
push 0x6a1b08
push eax
mov byte [esp + 0x3c], 4
call fcn.00489cd0
add esp, 8
lea ecx, [esp + 0x20]
mov bl, al
mov byte [esp + 0x34], 3
call fcn.00489810
test bl, bl
je 0x4c6f88
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0
call fcn.00489810
test bl, bl
je 0x4c6f9e
mov dword [esp + 0x3c], ebp
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jb 0x4c6f30
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004c7000
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0xffffffff
call fcn.004c7510
mov ecx, dword [esp + 0x2c]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4f2a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
lea eax, [esp + 0xc]
push esi
push eax
push 0x1968
mov dword [esp + 0x30], 0x47ae147b
mov dword [esp + 0x34], 0x3fe47ae1
mov dword [esp + 0x38], 0x51eb851f
mov dword [esp + 0x3c], 0x3fd51eb8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
mov dword [esp + 0x48], 0x33333333
mov dword [esp + 0x4c], 0x3fd33333
mov dword [esp + 0x50], 0x33333333
mov dword [esp + 0x54], 0x3fe33333
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3ff00000
mov dword [esp + 0x60], 0x33333333
mov dword [esp + 0x64], 0x3fc33333
mov dword [esp + 0x68], 0xeb851eb8
mov dword [esp + 0x6c], 0x3faeb851
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3ff00000
call fcn.00525670
call fcn.004f2b90
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004f2730
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
call fcn.00524f70
push 0x6a8268
push 0x646d6e64
push esi
call fcn.004eef20
push 0x6a829c
push 0x646d6464
push esi
call fcn.004eef20
push 0x6a829c
push 0x64657363
push esi
call fcn.004eef20
add esp, 0x3c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4f30d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4f3100
push esi
call fcn.0052d460
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4f30f9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4f3183
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4f316f
mov eax, dword [esi + 8]
test eax, eax
je 0x4f3124
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4f316b
cmp eax, 2
je 0x4f316f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f3117
cmp eax, 3
je 0x4f314a
cmp eax, 1
jne 0x4f3117
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4f3117
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4f3117
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004f31b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4f31a3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004f31b0
add esp, 4
pop esi
ret
Function at 0x524ea0
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test eax, eax
jle 0x524f02
push edi
mov edi, eax
mov eax, dword [esp + 0xc]
mov cl, byte [esi]
inc esi
mov byte [esp + 0xc], cl
mov ecx, 8
mov edx, dword [esp + 0xc]
test eax, 0x80000000
je 0x524ee2
and edx, 0xff
add eax, eax
shr edx, 7
xor edx, eax
xor edx, 0x4c11db7
mov eax, edx
jmp 0x524eef
and edx, 0xff
add eax, eax
shr edx, 7
xor eax, edx
mov dl, byte [esp + 0xc]
shl dl, 1
dec ecx
mov byte [esp + 0xc], dl
jne 0x524ec0
dec edi
jne 0x524eb4
pop edi
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x53b330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x48
push ebx
lea eax, [esp + 4]
push esi
xor esi, esi
push eax
push 1
push esi
push 0x691dd0
mov ebx, ecx
push SysReAllocStringLen
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x40
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x53b37c
mov eax, SysReAllocStringLen
pop esi
mov ecx, eax
mov dword [ebx + 0x104], eax
mov dword [ebx + 0x108], ecx
xor eax, eax
pop ebx
add esp, 0x48
ret
push ebp
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
push esi
push 0x6e4b28
push eax
call ebp
test eax, eax
jne 0x53b3f6
lea ecx, [esp + 0x18]
push 0x691d30
push ecx
xor edi, edi
call fcn.00462646
add esp, 8
test eax, eax
je 0x53b3ea
push eax
call fcn.00460e8e
push 0x691d30
push edi
mov esi, eax
call fcn.00462646
add esp, 0xc
test eax, eax
je 0x53b3ea
push eax
call fcn.00460e8e
add esp, 4
mov edi, eax
mov dword [ebx + 0x104], esi
mov dword [ebx + 0x108], edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0x6e4b1c
push ecx
call ebp
pop edi
pop ebp
test eax, eax
jne 0x53b433
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x10c]
push edx
call fcn.005eb1d3
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
add esp, 0x48
ret
Function at 0x53b450
Capabilities:
Set registry value

Disassembly:
sub esp, 0x48
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push 0x691dd0
mov esi, ecx
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x53b4b0
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x691dd0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x53b4b0
xor eax, eax
pop esi
add esp, 0x48
ret
mov eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x104]
push ebx
push edi
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x6e4b34
push edx
call fcn.00461ccb
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x14]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push 0x6e4b28
push ecx
call ebx
mov edi, dword [esi + 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
push 0x6e4b1c
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x48
ret
Function at 0x555c40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push SysReAllocStringLen
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555c93
mov ecx, dword [esp]
lea edx, [esp + 4]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 4]
xor eax, eax
cmp eax, edx
sbb eax, eax
neg eax
add esp, 8
ret

Function at 0x555ce0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push SysReAllocStringLen
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555d41
mov ecx, dword [esp]
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0
push 0x6e4dc8
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 8
ret

Function at 0x555de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push esi
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
push 1
push esi
push ecx
push SysReAllocStringLen
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555e43
mov ecx, dword [esp + 8]
lea edx, [esp + 0x30]
lea eax, [esp + 0xc]
push edx
push eax
push esi
push esi
push 0x6e4dd4
push ecx
mov dword [esp + 0x48], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push 0x6e4df8
push eax
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555e64
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret
lea ecx, [esp + 0xc]
push 0x6e4df0
push ecx
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555e85
pop edi
mov eax, 2
pop esi
add esp, 0x24
ret
lea edx, [esp + 0xc]
push 0x6e4de8
push edx
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555ea6
pop edi
mov eax, 3
pop esi
add esp, 0x24
ret
lea eax, [esp + 0xc]
push 0x690fd4
push eax
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555ec7
pop edi
mov eax, 4
pop esi
add esp, 0x24
ret
lea ecx, [esp + 0xc]
push 0x6e4e00
push ecx
call fcn.00460feb
add esp, 8
test eax, eax
mov eax, 5
je 0x555ee4
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret
Function at 0x555ef0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6297f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0055c530
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0
call fcn.00554320
lea ecx, [esp + 8]
call fcn.004b1a40
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esp + 0xc]
call fcn.004b1bd0
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jbe 0x555f94
mov esi, dword [esp + 0x1c]
push 0x68f88c
lea ecx, [esp + 0xc]
call fcn.004b1c70
mov edx, dword [esi]
lea ecx, [esp + 8]
push edx
call fcn.004b1bd0
push 0x68f88c
lea ecx, [esp + 0xc]
call fcn.004b1c70
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push eax
call fcn.004b1bd0
mov eax, dword [esp + 0x20]
inc edi
add esi, 8
cmp edi, eax
jb 0x555f53
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
inc ecx
push ecx
push edx
push 1
push 0
push 0x6e4e08
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov byte [esp + 0x30], 0
test eax, eax
sete cl
mov esi, ecx
lea ecx, [esp + 8]
call fcn.004b1a60
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055c5a0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4