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

Disassembly:
push ebp
lea ebp, [esp - 0x834]
sub esp, 0x834
push 0xffffffffffffffff
push 0x658db0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x830], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 0x840]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x5bf48e
push esi
call fcn.005aa760
cmp eax, ebx
jne 0x5bf5c0
mov eax, dword [ebp + 0x844]
cmp eax, ebx
je 0x5bf599
push eax
push str.SoftwareDownloadManager_ld
lea eax, [ebp + 0x800]
push eax
call fcn.0061611b
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp + 0x800]
cmp dword [ebp + 0x848], ebx
je 0x5bf4d7
push ecx
push 0xf003f
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5bf4f5
lea eax, [ebp - 0x20]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x66b96c
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5bf599
cmp esi, ebx
je 0x5bf56e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5bf506
sub eax, edx
cmp eax, 0x7ff
jbe 0x5bf545
push 0x7ff
push esi
lea eax, [ebp]
push eax
call fcn.00614aa0
add esp, 0xc
mov byte [ebp + 0x7ff], bl
push 0x801
lea ecx, [ebp]
push ecx
push 1
push ebx
push str.lastResult
mov edx, dword [ebp - 0x14]
push edx
jmp 0x5bf568
mov edx, dword [edi + 0xa8]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5bf550
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.lastResult
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp + 0x83c]
mov dword [ebp - 0x1c], ecx
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push ebx
push str.dwnlrs
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x5bf5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x830]
xor ecx, ebp
call fcn.00613241
add ebp, 0x834
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5bf7d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x7505ec], 0
jne 0x5bf89b
mov eax, dword [0x7505e8]
test eax, eax
jne 0x5bf873
mov edx, dword [0x74ea0c]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.ExePath
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5bf86a
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.006159e0
add esp, 8
test eax, eax
je 0x5bf86a
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push str._sidmftype.dll
push edx
mov byte [eax], 0
call fcn.0061611b
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7505e8], eax
jmp 0x5bf86f
mov eax, dword [0x7505e8]
test eax, eax
je 0x5bf89b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IDMFileType
push eax
call esi
mov ecx, dword [0x7505e8]
push str.IDMExtensionForMimeType
push ecx
mov dword [0x7505ec], eax
call esi
mov dword [0x7505f0], eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00613241
add esp, 0x210
ret
Function at 0x5bf8f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x29c], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x5bfaae
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x5bf949
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + str.security.dll]
mov word [esp + eax + 0x98], cx
add eax, 2
test cx, cx
jne 0x5bf930
jmp 0x5bf977
cmp eax, 1
jne 0x5bfaae
xor eax, eax
jmp 0x5bf960
movzx ecx, word [eax + str.secur32.dll]
mov word [esp + eax + 0x98], cx
add eax, 2
test cx, cx
jne 0x5bf960
cmp dword [esi + 0x1b4], 0
jne 0x5bf996
lea ecx, [esp + 0x98]
push ecx
call fcn.00446c90
add esp, 4
mov dword [esi + 0x1b4], eax
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x5bfaae
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FreeCredentialsHandle
push eax
call edi
mov edx, dword [esi + 0x1b4]
push str.QuerySecurityPackageInfoA
push edx
mov dword [esi + 0x1b8], eax
call edi
mov dword [esi + 0x1c0], eax
mov eax, dword [esi + 0x1b4]
push str.AcquireCredentialsHandleA
push eax
call edi
mov ecx, dword [esi + 0x1b4]
push str.FreeContextBuffer
push ecx
mov dword [esi + 0x1bc], eax
call edi
mov edx, dword [esi + 0x1b4]
push str.InitializeSecurityContextA
push edx
mov dword [esi + 0x1c4], eax
call edi
mov dword [esi + 0x1c8], eax
mov eax, dword [esi + 0x1b4]
push str.CompleteAuthToken
push eax
call edi
mov ecx, dword [esi + 0x1b4]
push str.EnumerateSecurityPackagesA
push ecx
mov dword [esi + 0x1cc], eax
call edi
mov edx, dword [esi + 0x1b4]
push str.DeleteSecurityContext
push edx
mov dword [esi + 0x1d0], eax
call edi
cmp dword [esi + 0x1b8], 0
mov dword [esi + 0x1d4], eax
pop edi
je 0x5bfa97
cmp dword [esi + 0x1c0], 0
je 0x5bfa97
cmp dword [esi + 0x1bc], 0
je 0x5bfa97
cmp dword [esi + 0x1c4], 0
je 0x5bfa97
cmp dword [esi + 0x1c8], 0
je 0x5bfa97
cmp dword [esi + 0x1d0], 0
je 0x5bfa97
mov eax, 1
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00613241
add esp, 0x2a0
ret
mov eax, dword [esi + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1b4], 0
mov ecx, dword [esp + 0x2a0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00613241
add esp, 0x2a0
ret
Function at 0x5c0050
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65ad58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x478], 0
je 0x5c0108
mov ecx, dword [esi + 0x34]
xor eax, eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov word [esp + 0x10], ax
call fcn.004017f0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5c00c2
lea eax, [esp + 0xc]
push eax
call fcn.005bf3e0
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x5c00d7
lea eax, [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edx + edx + 2]
mov edx, dword [esi + 0x478]
push ecx
push eax
push 0
push 0
push str.EncLNFSW
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 8]
call fcn.004011f0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00613241
add esp, 0x1c
ret
Function at 0x5c2cf0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x300], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c2d44
cmp dword [esi + 0x478], 0
jne 0x5c2d18
push eax
call fcn.005c2b90
test al, al
je 0x5c2d44
mov eax, dword [esi + 0x478]
xor ecx, ecx
cmp dword [esi + 0x300], ecx
push 4
lea edx, [esp + 0xc]
push edx
push 4
setne cl
push 0
push str.needER
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8

Function at 0x5c2e00
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
call fcn.00616d61
lea ecx, [esp + 0xc]
push ecx
call fcn.0061987a
lea edx, [eax + 0x14]
push edx
add eax, 4
push eax
lea edi, [esi + 0x44]
push str._.15s__.4s
push edi
call fcn.0061611b
mov eax, dword [esi + 0xa8]
add esp, 0x18
test eax, eax
je 0x5c2e51
push eax
call fcn.005e76a7
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5c2ea7
cmp dword [esi + 0x478], 0
jne 0x5c2e6e
push eax
mov ecx, esi
call fcn.005c2b90
test al, al
je 0x5c2ea7
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c2e73
sub eax, edx
inc eax
push eax
mov eax, dword [esi + 0x478]
push edi
push 1
push 0
push str.lastTryDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x478]
push str.lastResult
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x5c2eb0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
call fcn.00616d61
lea ecx, [esp + 0xc]
push ecx
call fcn.0061987a
lea edx, [eax + 0x14]
push edx
add eax, 4
push eax
lea edi, [esi + 0x74]
push str._.15s__.4s
push edi
call fcn.0061611b
mov eax, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x5c2f28
cmp dword [esi + 0x478], 0
jne 0x5c2f01
push eax
mov ecx, esi
call fcn.005c2b90
test al, al
je 0x5c2f28
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c2f06
sub eax, edx
inc eax
push eax
mov eax, dword [esi + 0x478]
push edi
push 1
push 0
push str.dateAdded
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x5c37a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x5c385e
cmp dword [esi + 0x478], 0
jne 0x5c37c6
push eax
call fcn.005c2b90
test al, al
je 0x5c385e
cmp byte [esi + 0x330], 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0xc], 1
je 0x5c37f7
mov ecx, dword [esi + 0x478]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.bPHSBU
push ecx
call edi
cmp byte [esi + 0x331], 0
je 0x5c3819
mov eax, dword [esi + 0x478]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.bFLSBU
push eax
call edi
cmp byte [esi + 0x182], 0
je 0x5c383b
mov edx, dword [esi + 0x478]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.bRPCHK
push edx
call edi
cmp byte [esi + 0x17d], 0
je 0x5c385d
mov ecx, dword [esi + 0x478]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.bMUIMPV
push ecx
call edi
pop edi
pop esi
ret 4

Function at 0x5c3920
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x5c3963
cmp dword [esi + 0x478], 0
jne 0x5c393e
push eax
call fcn.005c2b90
test al, al
je 0x5c3963
mov ecx, dword [esi + 0x478]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.bSaved
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 4
Function at 0x5c3c40
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x5c3c8a
cmp dword [esi + 0x478], 0
jne 0x5c3c5e
push eax
call fcn.005c2b90
test al, al
je 0x5c3c8a
mov edx, dword [esi + 0x478]
xor eax, eax
cmp byte [esi + 0x17f], al
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
sete al
push 0
push str.bMPDDNUAS
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 4
Function at 0x5c5190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659890
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x5c51d5
push eax
call fcn.005e76a7
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x5c51f5
mov dword [edi + 0x20], ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5c5200
sub eax, edx
je 0x5c51dc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5c5210
sub eax, edx
inc eax
push eax
call fcn.005e76b2
add esp, 4
mov dword [edi + 0x20], eax
cmp eax, ebx
jne 0x5c524f
push str.URL::set_LastModified__:_Not_enough_memory__n
mov ecx, edi
call fcn.005bf420
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x5c5253
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x5c51df
cmp dword [edi + 0x478], ebx
jne 0x5c5295
push eax
mov ecx, edi
call fcn.005c2b90
test al, al
jne 0x5c5295
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edi + 0x20]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5c52a0
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.LastModified
mov eax, dword [edi + 0x478]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5c59d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x659930
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
cmp dword [esi + 0x478], 0
jne 0x5c5a3b
mov eax, dword [ebp + 0x214]
push eax
call fcn.005c2b90
test al, al
jne 0x5c5a3b
mov eax, 1
jmp 0x5c5b28
mov ebx, 0x208
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp]
push edx
push 0
push 0
push str.LocalPath
mov eax, dword [esi + 0x478]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x5c5a31
lea ecx, [ebp]
push ecx
call fcn.00615fe3
add esp, 4
test eax, eax
jne 0x5c5a31
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.005bf330
test eax, eax
jne 0x5c5a31
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push 0
push 0
push 0x67975c
mov edx, dword [esi + 0x478]
push edx
call edi
test eax, eax
jne 0x5c5a31
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.005c1dc0
test eax, eax
jne 0x5c5a31
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp]
push edx
push eax
push eax
push str.LogFileName
mov eax, dword [esi + 0x478]
push eax
call edi
test eax, eax
jne 0x5c5a31
lea edx, [ebp]
mov eax, dword [esi + 0x470]
add eax, 4
lea esp, [esp]
movzx ecx, word [edx]
mov word [eax], cx
add edx, 2
add eax, 2
test cx, cx
jne 0x5c5af0
xor eax, eax
jmp 0x5c5b28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00613241
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 4
Function at 0x5c5b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x659968
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x218]
push eax
mov ecx, dword [ebp + 0x214]
push ecx
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
lea edx, [ebp - 0x14]
push edx
call fcn.00402f80
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x66b96c
push ebx
mov edx, dword [ebp - 0x14]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5c5c18
mov edi, 0x208
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
push str.LocalPath
mov edx, dword [ebp - 0x18]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
je 0x5c5c2d
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov eax, 1
jmp 0x5c5cfd
lea ecx, [ebp]
push ecx
call fcn.00615fe3
add esp, 4
test eax, eax
je 0x5c5c43
mov edx, dword [ebp - 0x18]
push edx
jmp 0x5c5c12
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.005bf330
test eax, eax
je 0x5c5c59
mov ecx, dword [ebp - 0x18]
push ecx
jmp 0x5c5c12
mov dword [ebp - 0x1c], edi
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x67975c
mov ecx, dword [ebp - 0x18]
push ecx
call esi
test eax, eax
jne 0x5c5c3d
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.005c1dc0
test eax, eax
jne 0x5c5c53
mov dword [ebp - 0x1c], edi
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
push ebx
push ebx
push str.LogFileName
mov ecx, dword [ebp - 0x18]
push ecx
call esi
test eax, eax
jne 0x5c5c3d
lea edx, [ebp]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x470]
add eax, 4
movzx ecx, word [edx]
mov word [eax], cx
add edx, 2
add eax, 2
cmp cx, bx
jne 0x5c5cb0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
xor eax, eax
jmp 0x5c5cfd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00613241
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8
Function at 0x5c5d30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x478]
test eax, eax
je 0x5c5d9a
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x6a738c
push eax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5c5d9a
lea eax, [esp + 8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c5d80
sub eax, edx
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x18c]
call fcn.00402960
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.00613241
add esp, 0x210
ret
Function at 0x5c7340
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659a98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
test edi, edi
je 0x5c7450
push edi
lea ecx, [esp + 0x34]
call fcn.004030c0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00478130
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManager_sites_sf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5c743f
mov ebx, dword [esp + 0x38]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test ebx, ebx
je 0x5c7416
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c73d4
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x30]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c73e6
sub eax, esi
cmp edx, eax
jne 0x5c73f9
or dword [esp + 0x34], ebx
jmp 0x5c7416
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push edi
or eax, ebx
push edx
mov dword [esp + 0x30], eax
call ebp
cmp dword [esp + 0x34], 0
je 0x5c7434
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x38]
push eax
push 4
push 0
push ecx
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402570
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x5c7470
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x659a98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor ebp, ebp
cmp esi, ebp
je 0x5c74ed
push esi
lea ecx, [esp + 0x34]
call fcn.004030c0
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x30]
push eax
push esi
call fcn.00478130
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
push 0xf003f
push ebp
push str.SoftwareDownloadManager_sites_sf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5c7503
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402570
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push ebp
push esi
push ecx
mov dword [esp + 0x2c], 4
call ebx
test eax, eax
jne 0x5c7539
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x5c7596
mov edx, dword [esp + 0x34]
mov dword [edx], eax
jmp 0x5c7591
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c7540
mov edi, dword [esp + 0x30]
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c7554
sub eax, esi
cmp edx, eax
je 0x5c7596
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push edi
push edx
mov dword [esp + 0x2c], 4
call ebx
test eax, eax
jne 0x5c7596
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5c7596
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov ebp, 1
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402570
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret