joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4fc0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7211ad
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 0x29], 1
push eax
push 0
push 0
push 0x15
push dword [esi + 8]
mov dword [ebp - 0x30], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4b517d
call edi
cmp eax, 0x7a
jne 0x4b517d
mov ebx, dword [ebp - 0x30]
xor eax, eax
inc ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ebx, 7
ja 0x4b5071
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4b5062
mov ecx, ebx
lea edi, [ebp - 0x28]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [ebp + ebx*2 - 0x28], ax
mov edx, dword [ebp - 0x28]
jmp 0x4b5105
cmp ebx, 0x7ffffffe
ja 0x4b51c4
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4b50a1
mov eax, 0xfffffffe
mov esi, bind
push eax
call fcn.00481880
add esp, 4
mov edx, eax
jmp 0x4b50e2
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4b51c9
add eax, eax
cmp eax, 0x1000
jb 0x4b50cf
push eax
call fcn.00481880
add esp, 4
mov edx, eax
jmp 0x4b50e2
test eax, eax
je 0x4b50e0
push eax
call fcn.0051dec4
add esp, 4
mov edx, eax
jmp 0x4b50e2
xor edx, edx
mov eax, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov ecx, ebx
xor eax, eax
mov esi, dword [ebp - 0x34]
shr ecx, 1
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [edx + ebx*2], ax
mov dword [ebp - 0x28], edx
push 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, edx
push eax
push 0
push 0x15
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4b5146
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004b51d0
mov bl, byte [ebp - 0x29]
lea ecx, [ebp - 0x28]
call fcn.004813b0
jmp 0x4b51a6
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpModule::CollectHeaders
push str._s___Error_of_WinHttpQueryHeaders:__lu
push 0x14f
push 0x815510
push 0x46
mov dword [esi + 0x90], eax
call fcn.0050ff70
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.004813b0
jmp 0x4b51a6
xor bl, bl
call edi
push eax
push str.WinHttpModule::CollectHeaders
push str._s___Fail_to_get_headers_size._lu
push 0x156
push 0x815510
push 0x49
mov dword [esi + 0x90], eax
call fcn.0050ff70
add esp, 0x18
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
call fcn.00481190
call fcn.004810b0
int3
Function at 0x4c0a30
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x834
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
push 0x20a
lea eax, [esp + 0x2c]
xor bl, bl
push 0
push eax
call fcn.00520480
xor eax, eax
push 0x200
push eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x64c]
push eax
call fcn.00520480
push 0x200
lea eax, [esp + 0x454]
push 0
push eax
call fcn.00520480
push 0x200
lea eax, [esp + 0x260]
push 0
push eax
call fcn.00520480
add esp, 0x30
lea eax, [esp + 0x28]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x100
lea eax, [esp + 0x23c]
push eax
push 0x100
lea eax, [esp + 0x444]
push eax
push 0x100
lea eax, [esp + 0x64c]
push eax
push 3
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00540ea4
add esp, 0x24
lea eax, [esp + 0x18]
push 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4c0ba6
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov esi, dword [esp + 0x14]
shrd edi, esi, 0x14
shr esi, 0x14
push esi
push edi
push eax
push str.Free_space_for__Drive:_s__in_MB____lld_.
push 0x31
push 0x817c58
push str.UnhandledExceptionHelper::CheckDiskSpaceAvailableToGenerateDump
push 0x44
push 4
call fcn.0050ef60
add esp, 0x24
test esi, esi
jne 0x4c0b8f
cmp edi, 0xc8
ja 0x4c0b8f
push 0xc8
push esi
push edi
push str.Disk_free_space___lld__is_less_than_dump_available_space_setting___d_.
push 0x3a
push 0x817c58
push str.UnhandledExceptionHelper::CheckDiskSpaceAvailableToGenerateDump
push 0x44
push 4
call fcn.0050ef60
add esp, 0x24
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_get_disk_free_space:___d_.
push 0x3f
push 0x817c58
push str.UnhandledExceptionHelper::CheckDiskSpaceAvailableToGenerateDump
push 0x45
push 4
call fcn.0050ef60
mov ecx, dword [esp + 0x858]
add esp, 0x1c
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
Function at 0x4c14e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 0xc], 0
or ecx, 0x20019
cmp dword [eax + 0x14], 0x10
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1512
mov eax, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c155c
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 8], eax
jb 0x4c1532
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c1570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 0xc], 0
or ecx, 0x20019
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c15a2
mov eax, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c15ec
cmp dword [esi + 0x14], 8
mov dword [ebp - 8], eax
jb 0x4c15c2
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c1600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor bl, bl
or ecx, 0xf003f
mov dword [ebp - 8], 0
cmp dword [eax + 0x14], 0x10
push edi
mov edi, dword [ebp + 0x10]
jb 0x4c1636
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c1685
mov eax, dword [esi + 0x10]
inc eax
cmp dword [esi + 0x14], 0x10
jb 0x4c165f
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x4c1667
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4c16a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor bl, bl
or ecx, 0xf003f
mov dword [ebp - 8], 0
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x4c16d6
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c172b
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
jb 0x4c1705
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4c170d
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4c1740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726016
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x4c17a4
mov byte [eax], 0
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], 0
call fcn.00489380
mov eax, dword [ebp - 0x18]
or eax, 0x20019
mov dword [ebp - 0x20], 2
cmp dword [ebx + 0x14], 0x10
jb 0x4c17ca
mov ebx, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c189a
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x18], eax
mov eax, esi
jb 0x4c17f0
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c1891
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4c1891
inc ebx
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0051e499
push ebx
mov edi, eax
push 0
push edi
call fcn.00520480
add esp, 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 6
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x4c1844
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c1885
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov byte [edi + eax - 1], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1868
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x24]
push edi
call fcn.00489500
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4c1885
mov byte [eax], 1
push edi
call fcn.0051e494
mov edi, dword [ebp - 0x24]
add esp, 4
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4c18f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 0x10
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1922
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c1969
cmp dword [esi + 0x14], 0x10
jb 0x4c1947
mov esi, dword [esi]
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4c1980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c19b2
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c19f9
cmp dword [esi + 0x14], 8
jb 0x4c19d7
mov esi, dword [esi]
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4c1a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4c1a33
mov byte [esi], 0
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
or ecx, 0x20019
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x10], 0
jb 0x4c1a4e
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c1aa2
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
jb 0x4c1a75
mov edi, dword [edi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c1a99
mov ebx, dword [ebp - 8]
test esi, esi
je 0x4c1a99
mov byte [esi], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4c1ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4c1ae3
mov byte [esi], 0
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
or ecx, 0x20019
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10], 0
jb 0x4c1afe
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1b52
cmp dword [edi + 0x14], 8
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
jb 0x4c1b25
mov edi, dword [edi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c1b49
mov ebx, dword [ebp - 8]
test esi, esi
je 0x4c1b49
mov byte [esi], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4c1b70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 0x10
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1ba2
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c1be9
cmp dword [esi + 0x14], 0x10
jb 0x4c1bc7
mov esi, dword [esi]
push 8
lea eax, [ebp + 0x14]
push eax
push 0xb
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4c1c00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1c32
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c1c79
cmp dword [esi + 0x14], 8
jb 0x4c1c57
mov esi, dword [esi]
push 8
lea eax, [ebp + 0x14]
push eax
push 0xb
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4c1c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4c1cb3
mov byte [esi], 0
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x1c]
or ecx, 0x20019
mov dword [ebp - 0x14], 0
cmp dword [eax + 0x14], 0x10
jb 0x4c1cd4
mov eax, dword [eax]
lea edx, [ebp - 0x14]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c1d38
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 8
jb 0x4c1d00
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c1d2a
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4c1d2a
mov byte [esi], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
jmp 0x4c1d3b
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4c1d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4c1d73
mov byte [esi], 0
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x1c]
or ecx, 0x20019
mov dword [ebp - 0x14], 0
cmp dword [eax + 0x14], 8
jb 0x4c1d94
mov eax, dword [eax]
lea edx, [ebp - 0x14]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1df8
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 8
jb 0x4c1dc0
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c1dea
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4c1dea
mov byte [esi], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
jmp 0x4c1dfb
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4c1e10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 0x10
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1e42
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c1e77
cmp dword [esi + 0x14], 0x10
jb 0x4c1e5f
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c1e90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1ec2
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1ef7
cmp dword [esi + 0x14], 8
jb 0x4c1edf
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c1f10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0x3003f
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1f42
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1f77
cmp dword [esi + 0x14], 8
jb 0x4c1f5f
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10