joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be310
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x65bfd8
mov ebx, ecx
push esi
call fcn.0058b6b0
add esp, 0xc
test eax, eax
jne 0x4be33b
mov dword [esp + 0x10], 1
jmp 0x4be3b2
push 7
push 0x65bfc4
push esi
call fcn.0058b6b0
add esp, 0xc
test eax, eax
jne 0x4be359
mov dword [esp + 0x10], 4
jmp 0x4be3b2
push 7
push str.rtmpt:__
push esi
call fcn.0058b6b0
add esp, 0xc
test eax, eax
jne 0x4be377
mov dword [esp + 0x10], 5
jmp 0x4be3b2
push 8
push 0x65bfcc
push esi
call fcn.0058b6b0
add esp, 0xc
test eax, eax
jne 0x4be395
mov dword [esp + 0x10], 2
jmp 0x4be3b2
push 6
push 0x65bfbc
push esi
call fcn.0058b6b0
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push esi
call fcn.00589460
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4be4c6
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi - 2]
cmp ebp, eax
jae 0x4be4c6
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4be47d
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [ecx + edi]
push eax
call fcn.0058aad4
add esp, 8
test eax, eax
jne 0x4be412
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + edi + 4]
je 0x4be41f
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4be3f1
jmp 0x4be47d
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
lea eax, [esi + esi*2]
sub edi, esi
shl eax, 2
dec edi
mov dword [esp + 0x18], eax
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.00409460
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4be43c
test edi, edi
je 0x4be47a
mov eax, dword [ebx + 4]
lea edx, [edi + edi*2]
shl edx, 2
lea ecx, [esi + esi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.0058a490
add esp, 0xc
dec dword [ebx + 8]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6874e8
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4be4c6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4c04e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c4bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x687b54]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0
push str.bShTtRIT
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4c0579
mov ecx, dword [0x687b54]
lea eax, [esp]
push 4
push eax
push 4
push 0
push str.bShTtRIT
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c0579
push eax
lea ecx, [esp + 0xc]
call fcn.004ff090
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.005a17e3
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005a1424
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4c2e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x687b54]
lea eax, [esp]
push esi
lea ecx, [esp + 8]
xor esi, esi
push eax
push ecx
push esi
push esi
push str.FSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4c2e76
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4c5f50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c5950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x682f9c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
lea ecx, [esi + 0x104]
call fcn.005a2afb
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.00472a20
mov eax, dword [0x682f9c]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.005a2afb
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [0x687b54]
push 1
push eax
push str.Extensions
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x148]
push ecx
push eax
call fcn.0058a025
add esp, 8
test eax, eax
je 0x4c6000
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.005a584d
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4c6f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x220]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x687b54]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c6fd3
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005a4c4c
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x687b54]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c7020
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005a4c4c
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4c82f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x2d4]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x98]
call fcn.0040f8f0
test eax, eax
je 0x4c832b
mov ecx, dword [esi + 0x98]
call fcn.0040fb50
mov eax, dword [0x687b54]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c837d
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005a4c4c
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x687b54]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4c83ca
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005a4c4c
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4ca170
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c6210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x682f9c]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0x45e
mov dword [esp + 0x24], 0
call fcn.005a4c4c
mov ecx, dword [eax + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf0
push ecx
call ebp
mov ecx, dword [0x687b54]
xor edx, edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 1
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push str.UseHttpsProxy
sete dl
push ecx
mov dword [esp + 0x28], edx
call edi
lea edx, [esp + 0xc]
mov ecx, esi
push edx
push 0x45f
call fcn.005a2b43
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ca21a
inc eax
push eax
mov eax, dword [0x687b54]
push ecx
push 1
push 0
push str.HttpsProxy
push eax
call edi
jmp 0x4ca22c
mov ecx, dword [0x687b54]
push str.HttpsProxy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
push 0x461
call fcn.005a2b43
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ca25c
inc eax
push eax
mov eax, dword [0x687b54]
push ecx
push 1
push 0
push str.HttpsPort
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0x46a
mov ecx, esi
call fcn.005a2b43
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ca28f
mov edx, dword [0x687b54]
inc eax
push eax
push ecx
push 1
push 0
push str.HttpsUserName
push edx
call edi
jmp 0x4ca2a0
mov eax, dword [0x687b54]
push str.HttpsUserName
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0xc]
push ecx
push 0x46b
mov ecx, esi
call fcn.005a2b43
mov edx, dword [esp + 0xc]
mov eax, dword [0x687b54]
push 1
push edx
push str.HttpsEncPassword
push str.HttpsPasword
push eax
call fcn.0055a4a0
add esp, 0x14
mov ecx, esi
push 0x44e
call fcn.005a4c4c
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push ecx
call ebp
mov ecx, dword [0x687b54]
xor edx, edx
cmp eax, 1
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
sete dl
push str.UseHttpProxy
push ecx
mov dword [esp + 0x28], edx
call edi
push 0x454
mov ecx, esi
call fcn.005a4c4c
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push edx
call ebp
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
cmp eax, 1
mov eax, dword [0x687b54]
push 4
push 0
sete cl
push str.UseFtpProxy
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [0x682f9c]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x17c]
push edx
mov byte [esp + 0x24], 1
call fcn.005a2afb
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x26c]
push eax
call fcn.00472a20
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.005a584d
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4cbd70
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c6468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x682f9c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x220]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x147
push ecx
mov dword [esp + 0x30], ebx
call ebp
lea edx, [esp + 0x10]
lea ecx, [esi + 0x204]
push edx
push eax
call fcn.005ad49e
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp dword [eax + 8], ebx
jle 0x4cbdfd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.0058aad4
add esp, 8
test eax, eax
je 0x4cbe97
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x18
cmp edi, dword [eax + 8]
jl 0x4cbdd1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4cbe0d
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4cbe1d
lea edi, [esi + 0x94]
push eax
call fcn.00589432
mov ecx, dword [0x687b54]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push str.LocalPathW
push ecx
call edi
mov edx, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x687b54]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.RememberLastSave
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ebp, dword [esi + 0x90]
test ebp, ebp
jne 0x4cbea7
lea ebp, [esi + 0x94]
mov edx, dword [esi + 0x8c]
lea edi, [edi + edi*2]
shl edi, 3
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x10]
lea ebx, [eax + edi + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebp
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
mov edx, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x8c]
test eax, eax
mov edx, dword [ecx + 4]
setne al
mov byte [edx + edi + 0x14], al
mov ecx, dword [esi + 0x8c]
call fcn.00488580
jmp 0x4cbe73
Function at 0x4ccd40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c6648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x682f9c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.005ad49e
mov esi, dword [0x68827c]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ccdc1
test cl, cl
je 0x4ccdbd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ccdc1
add eax, 2
add esi, 2
test cl, cl
jne 0x4ccd9d
xor eax, eax
jmp 0x4ccdc6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ccdf0
mov ecx, dword [0x687b54]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.RememberDuplLinksA
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4cceb4
mov eax, dword [0x687b54]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.RememberDuplLinksA
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x688278]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4cce45
test cl, cl
je 0x4cce41
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4cce45
add eax, 2
add esi, 2
test cl, cl
jne 0x4cce21
xor eax, eax
jmp 0x4cce4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4cce58
mov dword [esp + 8], 1
jmp 0x4cce97
mov esi, dword [0x688274]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4cce84
test cl, cl
je 0x4cce80
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4cce84
add eax, 2
add esi, 2
test cl, cl
jne 0x4cce60
xor eax, eax
jmp 0x4cce89
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x687b54]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.DuplLinksA
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ccd5d
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c6648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x682f9c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.005ad49e
mov esi, dword [0x68827c]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ccdc1
test cl, cl
je 0x4ccdbd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ccdc1
add eax, 2
add esi, 2
test cl, cl
jne 0x4ccd9d
xor eax, eax
jmp 0x4ccdc6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ccdf0
mov ecx, dword [0x687b54]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.RememberDuplLinksA
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4cceb4
mov eax, dword [0x687b54]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.RememberDuplLinksA
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x688278]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4cce45
test cl, cl
je 0x4cce41
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4cce45
add eax, 2
add esi, 2
test cl, cl
jne 0x4cce21
xor eax, eax
jmp 0x4cce4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4cce58
mov dword [esp + 8], 1
jmp 0x4cce97
mov esi, dword [0x688274]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4cce84
test cl, cl
je 0x4cce80
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4cce84
add eax, 2
add esi, 2
test cl, cl
jne 0x4cce60
xor eax, eax
jmp 0x4cce89
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x687b54]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.DuplLinksA
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4d2070
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c6db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x682f9c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x2c], 0
call fcn.005a59d6
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.005a59d6
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.0041b5c0
mov esi, eax
test esi, esi
jne 0x4d2119
mov eax, dword [edi + 4]
test eax, eax
jne 0x4d20ea
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.00478350
mov ecx, edi
call fcn.004d3590
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.005a59d6
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx*4]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [ecx + edx*4], esi
add esi, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005a5986
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.005a5986
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.005a58bb
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.005a5b4f
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x125
jbe 0x4d2177
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.005a5cb9
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6874e8
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push eax
push eax
push 0x66d7c4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push 0
push eax
push str.EncPassword
push 0x66d7b8
push ecx
call fcn.0055a4a0
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.005a584d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.005a584d
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.005a584d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4d2230
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c6de0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 4]
test eax, eax
je 0x4d2388
mov ebx, dword [esp + 0x34]
push ebx
call fcn.0059e6c9
xor edx, edx
div dword [ebp + 8]
mov eax, dword [ebp + 4]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x4d2388
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.0058aad4
add esp, 8
test eax, eax
je 0x4d2297
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x4d2279
jmp 0x4d2388
mov ecx, dword [esi]
xor ebx, ebx
mov dword [edi], ecx
lea edi, [esi + 0xc]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [esp + 0x2c], 0
call fcn.005a584d
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005a584d
add edi, 8
mov edx, ebx
dec ebx
mov dword [esp + 0x10], edi
test edx, edx
jne 0x4d22a4
lea eax, [esi + 8]
push 1
push eax
call fcn.0059e6a5
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], eax
jne 0x4d2388
mov eax, dword [ebp + 4]
test eax, eax
je 0x4d2366
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x4d2366
mov edx, dword [ebp + 4]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x4d235a
lea esi, [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
call fcn.005a584d
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005a584d
add esi, 8
mov eax, edi
dec edi
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4d2318
lea ecx, [ebx + 8]
push 1
push ecx
call fcn.0059e6a5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4d230f
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4d2305
mov edx, dword [ebp + 4]
push edx
call fcn.005a1c12
mov ecx, dword [ebp + 0x14]
xor esi, esi
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
call fcn.005a0731
mov dword [ebp + 0x14], esi
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x20]
call fcn.005a58bb
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6874e8
push 0
push str.SoftwareDownloadManagerPasswords
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4d23e3
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.005a584d
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret 4