joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c6f10
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
cmp eax, 0xffffffff
jne 0x5c6f4e
cmp dword [esi + 0x1c], 0
jne 0x5c6f4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5c6f4e
xor eax, eax
pop esi
ret 4
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.00621c40
add dword [esi + 0x18], eax
mov ecx, dword [esi + 0x18]
adc dword [esi + 0x1c], edx
mov eax, dword [esi + 0x1c]
mov edx, ecx
or edx, eax
je 0x5c6f48
push edi
mov edi, dword [esi + 0x88]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
test edi, edi
je 0x5c6fb7
mov edx, dword [esi + 0x84]
test edx, edx
je 0x5c6fb7
test eax, eax
jg 0x5c6fa5
jl 0x5c6fa1
cmp ecx, 0x5e0000
jae 0x5c6fa5
mov eax, ecx
jmp 0x5c6faa
mov eax, 0x5e0000
cmp eax, edx
jbe 0x5c6fcd
push edi
call fcn.0061e83c
add esp, 4
cmp dword [esi + 0x1c], 0
jg 0x5c6fd7
jl 0x5c6fc8
cmp dword [esi + 0x18], 0x5e0000
jae 0x5c6fd7
mov eax, dword [esi + 0x18]
jmp 0x5c6fdc
pop edi
mov eax, 1
pop esi
ret 4
mov eax, 0x5e0000
push eax
mov dword [esi + 0x84], eax
call fcn.0061f92f
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x88], eax
pop edi
pop esi
mov eax, ecx
ret 4

Function at 0x5c7440
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
xor edx, edx
sub ecx, dword [esi + 0x20]
push edi
sbb eax, dword [esi + 0x24]
mov edi, ecx
or edi, eax
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], edx
je 0x5c74a5
cmp eax, edx
mov edi, dword [esi + 0x84]
jl 0x5c7474
jg 0x5c7472
cmp ecx, edi
jbe 0x5c7474
mov ecx, edi
push edx
mov edx, dword [esi + 0x8c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x88]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5c749f
mov eax, dword [esp + 8]
cmp eax, dword [esi + 0x7c]
je 0x5c74a5
pop edi
xor eax, eax
pop esi
pop ecx
ret
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x5c7730
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x5c773f
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 8]
push edi
mov edi, dword [esp + 0x10]
add eax, edi
cmp eax, dword [esi + 0xc]
jb 0x5c7799
call fcn.005c6d00
test eax, eax
je 0x5c7792
cmp edi, dword [esi + 0xc]
jb 0x5c7799
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5c7792
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c7789
cmp edi, dword [esp + 0x10]
je 0x5c77b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
pop edi
xor eax, eax
pop esi
ret 8
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xc]
add ecx, dword [esi + 4]
push edi
push eax
push ecx
call fcn.0061eea0
add esp, 0xc
add dword [esi + 8], edi
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x5c8690
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0xa34
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov esi, dword [esp + 0xa44]
push edi
mov edi, dword [esp + 0xa50]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push esi
mov dword [esp + 0x30], ecx
call ebp
mov ebx, eax
mov eax, dword [esp + 0xa4c]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x20], 0
mov dword [edi], 0
call fcn.005c7d10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call ebx
cmp edi, 1
jne 0x5c87c9
cmp dword [esp + 0x10], 0
je 0x5c87c9
lea edx, [esp + 0x18]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5c8721
lea eax, [esp + 0x18]
add eax, 0xfffffffe
jmp 0x5c8740
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x5c8740
mov edx, dword [str..tmp]
mov ecx, dword [0x6b0224]
mov dword [eax], edx
mov dx, word [0x6b0228]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea ecx, [esp + 0x30]
push ecx
call ebp
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push esi
mov edi, eax
call ebp
mov edx, dword [esp + 0xa4c]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push edx
push eax
push edi
push esi
call fcn.005c8450
push esi
call ebx
push edi
call ebx
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xa40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0xa34
ret 0xc

Function at 0x5c8870
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5c8880
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x5c88a2
xor word [edx + eax*2], 0xf
inc eax
cmp eax, ecx
jl 0x5c8898
ret

Function at 0x5c88b0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [ecx + 0x474]
jmp fcn.00568c40
Function at 0x5c88c0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x834]
sub esp, 0x834
push 0xffffffffffffffff
push 0x663510
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x755898]
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 0x5c891e
push esi
call fcn.005b3950
cmp eax, ebx
jne 0x5c8a50
mov eax, dword [ebp + 0x844]
cmp eax, ebx
je 0x5c8a29
push eax
push str.SoftwareDownloadManager_ld
lea eax, [ebp + 0x800]
push eax
call fcn.006201db
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp + 0x800]
cmp dword [ebp + 0x848], ebx
je 0x5c8967
push ecx
push 0xf003f
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5c8985
lea eax, [ebp - 0x20]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5c8a29
cmp esi, ebx
je 0x5c89fe
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5c8996
sub eax, edx
cmp eax, 0x7ff
jbe 0x5c89d5
push 0x7ff
push esi
lea eax, [ebp]
push eax
call fcn.0061eb60
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 0x5c89f8
mov edx, dword [edi + 0xa8]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5c89e0
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 0x5c8a50
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.0061d2ff
add ebp, 0x834
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5c8c60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x75c7cc], 0
jne 0x5c8d2b
mov eax, dword [0x75c7c8]
test eax, eax
jne 0x5c8d03
mov edx, dword [0x75abd8]
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 0x5c8cfa
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.0061faa0
add esp, 8
test eax, eax
je 0x5c8cfa
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push str._sidmftype.dll
push edx
mov byte [eax], 0
call fcn.006201db
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x75c7c8], eax
jmp 0x5c8cff
mov eax, dword [0x75c7c8]
test eax, eax
je 0x5c8d2b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IDMFileType
push eax
call esi
mov ecx, dword [0x75c7c8]
push str.IDMExtensionForMimeType
push ecx
mov dword [0x75c7cc], eax
call esi
mov dword [0x75c7d0], eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x210
ret
Function at 0x5c8d80
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x755898]
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 0x5c8f3e
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x5c8dd9
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 0x5c8dc0
jmp 0x5c8e07
cmp eax, 1
jne 0x5c8f3e
xor eax, eax
jmp 0x5c8df0
movzx ecx, word [eax + str.secur32.dll]
mov word [esp + eax + 0x98], cx
add eax, 2
test cx, cx
jne 0x5c8df0
cmp dword [esi + 0x1b4], 0
jne 0x5c8e26
lea ecx, [esp + 0x98]
push ecx
call fcn.00447580
add esp, 4
mov dword [esi + 0x1b4], eax
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x5c8f3e
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 0x5c8f27
cmp dword [esi + 0x1c0], 0
je 0x5c8f27
cmp dword [esi + 0x1bc], 0
je 0x5c8f27
cmp dword [esi + 0x1c4], 0
je 0x5c8f27
cmp dword [esi + 0x1c8], 0
je 0x5c8f27
cmp dword [esi + 0x1d0], 0
je 0x5c8f27
mov eax, 1
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.0061d2ff
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.0061d2ff
add esp, 0x2a0
ret
Function at 0x5c94d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643528
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x47c], 0
je 0x5c9588
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 0x5c9542
lea eax, [esp + 0xc]
push eax
call fcn.005c8870
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x5c9557
lea eax, [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edx + edx + 2]
mov edx, dword [esi + 0x47c]
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.00401210
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x1c
ret
Function at 0x5cc180
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 0x5cc1d4
cmp dword [esi + 0x47c], 0
jne 0x5cc1a8
push eax
call fcn.005cc020
test al, al
je 0x5cc1d4
mov eax, dword [esi + 0x47c]
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 0x5cc290
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.00620e21
lea ecx, [esp + 0xc]
push ecx
call fcn.0062393a
lea edx, [eax + 0x14]
push edx
add eax, 4
push eax
lea edi, [esi + 0x44]
push str._.15s__.4s
push edi
call fcn.006201db
mov eax, dword [esi + 0xa8]
add esp, 0x18
test eax, eax
je 0x5cc2e1
push eax
call fcn.005f15b7
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5cc337
cmp dword [esi + 0x47c], 0
jne 0x5cc2fe
push eax
mov ecx, esi
call fcn.005cc020
test al, al
je 0x5cc337
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cc303
sub eax, edx
inc eax
push eax
mov eax, dword [esi + 0x47c]
push edi
push 1
push 0
push str.lastTryDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x47c]
push str.lastResult
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x5cc340
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
call fcn.00620e21
lea ecx, [esp + 0xc]
push ecx
call fcn.0062393a
lea edx, [eax + 0x14]
push edx
add eax, 4
push eax
lea edi, [esi + 0x74]
push str._.15s__.4s
push edi
call fcn.006201db
mov eax, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x5cc3b8
cmp dword [esi + 0x47c], 0
jne 0x5cc391
push eax
mov ecx, esi
call fcn.005cc020
test al, al
je 0x5cc3b8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cc396
sub eax, edx
inc eax
push eax
mov eax, dword [esi + 0x47c]
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 0x5ccc30
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x5cccee
cmp dword [esi + 0x47c], 0
jne 0x5ccc56
push eax
call fcn.005cc020
test al, al
je 0x5cccee
cmp byte [esi + 0x330], 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0xc], 1
je 0x5ccc87
mov ecx, dword [esi + 0x47c]
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 0x5ccca9
mov eax, dword [esi + 0x47c]
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 0x5ccccb
mov edx, dword [esi + 0x47c]
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 0x5ccced
mov ecx, dword [esi + 0x47c]
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 0x5ccdb0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x5ccdf3
cmp dword [esi + 0x47c], 0
jne 0x5ccdce
push eax
call fcn.005cc020
test al, al
je 0x5ccdf3
mov ecx, dword [esi + 0x47c]
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 0x5cd0d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x5cd11a
cmp dword [esi + 0x47c], 0
jne 0x5cd0ee
push eax
call fcn.005cc020
test al, al
je 0x5cd11a
mov edx, dword [esi + 0x47c]
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 0x5ce6a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x663fd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x755898]
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 0x5ce6e5
push eax
call fcn.005f15b7
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x5ce705
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 0x5ce710
sub eax, edx
je 0x5ce6ec
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5ce720
sub eax, edx
inc eax
push eax
call fcn.005f15c2
add esp, 4
mov dword [edi + 0x20], eax
cmp eax, ebx
jne 0x5ce75f
push str.URL::set_LastModified__:_Not_enough_memory__n
mov ecx, edi
call fcn.005c88b0
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 0x5ce763
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x5ce6ef
cmp dword [edi + 0x47c], ebx
jne 0x5ce7a5
push eax
mov ecx, edi
call fcn.005cc020
test al, al
jne 0x5ce7a5
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 0x5ce7b0
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.LastModified
mov eax, dword [edi + 0x47c]
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 0x5ceee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x664070
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x755898]
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 + 0x47c], 0
jne 0x5cef4b
mov eax, dword [ebp + 0x214]
push eax
call fcn.005cc020
test al, al
jne 0x5cef4b
mov eax, 1
jmp 0x5cf038
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 + 0x47c]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x5cef41
lea ecx, [ebp]
push ecx
call fcn.006200a3
add esp, 4
test eax, eax
jne 0x5cef41
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.005c87f0
test eax, eax
jne 0x5cef41
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push 0
push 0
push 0x68489c
mov edx, dword [esi + 0x47c]
push edx
call edi
test eax, eax
jne 0x5cef41
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.005cb250
test eax, eax
jne 0x5cef41
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 + 0x47c]
push eax
call edi
test eax, eax
jne 0x5cef41
lea edx, [ebp]
mov eax, dword [esi + 0x474]
add eax, 4
lea esp, [esp]
movzx ecx, word [edx]
mov word [eax], cx
add edx, 2
add eax, 2
test cx, cx
jne 0x5cf000
xor eax, eax
jmp 0x5cf038
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.0061d2ff
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 4
Function at 0x5cf060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x6640a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
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.00402f70
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
mov edx, dword [ebp - 0x14]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5cf128
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 0x5cf13d
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 0x5cf20d
lea ecx, [ebp]
push ecx
call fcn.006200a3
add esp, 4
test eax, eax
je 0x5cf153
mov edx, dword [ebp - 0x18]
push edx
jmp 0x5cf122
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.005c87f0
test eax, eax
je 0x5cf169
mov ecx, dword [ebp - 0x18]
push ecx
jmp 0x5cf122
mov dword [ebp - 0x1c], edi
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x68489c
mov ecx, dword [ebp - 0x18]
push ecx
call esi
test eax, eax
jne 0x5cf14d
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.005cb250
test eax, eax
jne 0x5cf163
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 0x5cf14d
lea edx, [ebp]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x474]
add eax, 4
movzx ecx, word [edx]
mov word [eax], cx
add edx, 2
add eax, 2
cmp cx, bx
jne 0x5cf1c0
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 0x5cf20d
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.0061d2ff
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8
Function at 0x5cf240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x47c]
test eax, eax
je 0x5cf2aa
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x6b2644
push eax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5cf2aa
lea eax, [esp + 8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cf290
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.0061d2ff
add esp, 0x210
ret