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

Disassembly:
push 0xffffffffffffffff
push 0x5a4620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x65ca8c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ebp
call fcn.00586cbc
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004ad100
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [esp + 0x14]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.00586c6c
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x65ca8c]
mov dword [esp + 0x30], edx
cmp ebp, 1
mov byte [esp + 0x28], 1
jne 0x4ac91b
mov eax, 0x63700c
jmp 0x4ac941
cmp ebp, 4
jne 0x4ac927
mov eax, 0x636ff8
jmp 0x4ac941
cmp ebp, 2
jne 0x4ac933
mov eax, 0x637000
jmp 0x4ac941
test ebp, ebp
mov eax, 0x636fe8
je 0x4ac941
mov eax, 0x636ff0
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.0057f8fb
add esp, 0x10
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x660ff8
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4ac9ac
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push 4
push ecx
push 4
push eax
push str.number
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00586b33
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4ac9e0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x63700c
mov ebx, ecx
push esi
call fcn.0056cc60
add esp, 0xc
test eax, eax
jne 0x4aca0b
mov dword [esp + 0x10], 1
jmp 0x4aca64
push 7
push 0x636ff8
push esi
call fcn.0056cc60
add esp, 0xc
test eax, eax
jne 0x4aca29
mov dword [esp + 0x10], 4
jmp 0x4aca64
push 8
push 0x637000
push esi
call fcn.0056cc60
add esp, 0xc
test eax, eax
jne 0x4aca47
mov dword [esp + 0x10], 2
jmp 0x4aca64
push 6
push 0x636ff0
push esi
call fcn.0056cc60
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.0056aa70
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4acb78
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 0x4acb78
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4acb2f
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [edi + ecx]
push eax
call fcn.0056bf52
add esp, 8
test eax, eax
jne 0x4acac4
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + edx + 4]
je 0x4acad1
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4acaa3
jmp 0x4acb2f
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.004093e0
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4acaee
test edi, edi
je 0x4acb2c
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.0056b940
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 0x660ff8
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4acb78
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 0x4aeb80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a48b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x6614e8]
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 0x4aec19
mov ecx, dword [0x6614e8]
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 0x4aec19
push eax
lea ecx, [esp + 0xc]
call fcn.004ea000
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.00582ac6
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00582707
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4b1340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6614e8]
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 0x4b1376
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4b42d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a5530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ca8c]
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.00583dde
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.00466760
mov eax, dword [0x65ca8c]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.00583dde
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 [0x6614e8]
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.0056b6f5
add esp, 8
test eax, eax
je 0x4b4380
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.00586b33
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4b51e0
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 [0x6614e8]
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 0x4b5253
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00585f2e
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6614e8]
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 0x4b52a0
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00585f2e
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 0x4b6250
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.0040e5e0
test eax, eax
je 0x4b628b
mov ecx, dword [esi + 0x98]
call fcn.0040e840
mov eax, dword [0x6614e8]
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 0x4b62dd
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00585f2e
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6614e8]
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 0x4b632a
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00585f2e
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 0x4ba130
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ca8c]
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.0058e910
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp dword [eax + 8], ebx
jle 0x4ba1bd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.0056bf52
add esp, 8
test eax, eax
je 0x4ba257
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x20
cmp edi, dword [eax + 8]
jl 0x4ba191
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4ba1cd
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4ba1dd
lea edi, [esi + 0x94]
push eax
call fcn.0056aeae
mov edx, dword [0x6614e8]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push str.LocalPathW
push edx
call edi
mov eax, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push eax
call ebp
mov edx, dword [0x6614e8]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push str.RememberLastSave
push edx
mov dword [esp + 0x2c], eax
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edx, dword [esi + 0x8c]
shl edi, 5
mov eax, dword [edx + 4]
mov edx, dword [esi + 0x90]
push edx
lea ecx, [eax + edi + 0x10]
call fcn.00402e20
mov eax, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push eax
call ebp
mov edx, dword [esi + 0x8c]
test eax, eax
mov eax, dword [edx + 4]
setne cl
mov byte [eax + edi + 0x1c], cl
mov ecx, dword [esi + 0x8c]
call fcn.0047b710
jmp 0x4ba233
Function at 0x4bb160
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ca8c]
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.0058e910
mov esi, dword [0x661bb4]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb1e1
test cl, cl
je 0x4bb1dd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb1e1
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb1bd
xor eax, eax
jmp 0x4bb1e6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bb210
mov ecx, dword [0x6614e8]
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 0x4bb2d4
mov eax, dword [0x6614e8]
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 [0x661bb0]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb265
test cl, cl
je 0x4bb261
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb265
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb241
xor eax, eax
jmp 0x4bb26a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bb278
mov dword [esp + 8], 1
jmp 0x4bb2b7
mov esi, dword [0x661bac]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb2a4
test cl, cl
je 0x4bb2a0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb2a4
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb280
xor eax, eax
jmp 0x4bb2a9
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 [0x6614e8]
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.00586b33
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4bb17d
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ca8c]
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.0058e910
mov esi, dword [0x661bb4]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb1e1
test cl, cl
je 0x4bb1dd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb1e1
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb1bd
xor eax, eax
jmp 0x4bb1e6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bb210
mov ecx, dword [0x6614e8]
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 0x4bb2d4
mov eax, dword [0x6614e8]
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 [0x661bb0]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb265
test cl, cl
je 0x4bb261
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb265
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb241
xor eax, eax
jmp 0x4bb26a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bb278
mov dword [esp + 8], 1
jmp 0x4bb2b7
mov esi, dword [0x661bac]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb2a4
test cl, cl
je 0x4bb2a0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb2a4
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb280
xor eax, eax
jmp 0x4bb2a9
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 [0x6614e8]
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.00586b33
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4bebf0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x65ca8c]
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.00586cbc
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00586cbc
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.0046c070
mov esi, eax
test esi, esi
jne 0x4bec99
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bec6a
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004a89a0
mov ecx, edi
call fcn.004c0030
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00586cbc
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.00586c6c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.00586c6c
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.00586ba1
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.00586ea9
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 0x4becf7
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.00587013
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x660ff8
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 0x647c30
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 0x647c24
push ecx
call fcn.0053df80
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.00586b33
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.00586b33
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00586b33
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 0x4bedb0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a68b0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4beecd
mov ebp, dword [esp + 0x28]
push ebp
call fcn.0057f9ac
xor edx, edx
div dword [edi + 8]
mov eax, dword [edi + 4]
mov esi, dword [eax + edx*4]
test esi, esi
lea ebx, [eax + edx*4]
je 0x4beecd
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.0056bf52
add esp, 8
test eax, eax
je 0x4bee17
mov ebx, esi
mov esi, dword [esi]
test esi, esi
jne 0x4bedf9
jmp 0x4beecd
mov ecx, dword [esi]
xor ebp, ebp
mov dword [ebx], ecx
lea ebx, [esi + 0xc]
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x20], 0
call fcn.00586b33
mov ecx, ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.00586b33
add ebx, 8
mov edx, ebp
dec ebp
mov dword [esp + 0x14], ebx
test edx, edx
jne 0x4bee24
lea eax, [esi + 8]
push 1
push eax
call fcn.0057f988
mov ecx, dword [edi + 0x10]
mov dword [esi], ecx
mov eax, dword [edi + 0xc]
dec eax
mov dword [edi + 0x10], esi
mov dword [edi + 0xc], eax
jne 0x4beecd
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebp
je 0x4beead
mov eax, dword [edi + 8]
xor ebx, ebx
cmp eax, ebp
jbe 0x4beead
mov edx, dword [edi + 4]
mov esi, dword [edx + ebx*4]
cmp esi, ebp
je 0x4beea5
lea eax, [esi + 0xc]
push 1
push eax
call fcn.004c0000
lea ecx, [esi + 8]
push 1
push ecx
call fcn.0057f988
mov esi, dword [esi]
cmp esi, ebp
jne 0x4bee89
mov eax, dword [edi + 8]
inc ebx
cmp ebx, eax
jb 0x4bee7f
mov eax, dword [edi + 4]
push eax
call fcn.00582ef5
mov ecx, dword [edi + 0x14]
add esp, 4
mov dword [edi + 4], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
call fcn.00581a14
mov dword [edi + 0x14], ebp
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.00586ba1
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x24], 1
call fcn.00586ea9
mov eax, dword [esp + 0x10]
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4bfa00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a6a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ca8c]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push 1
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx + 0x24]
push ecx
mov ecx, dword [0x661510]
push edx
push eax
mov dword [esp + 0x30], 0
call fcn.004be2b0
test eax, eax
je 0x4bfb15
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x4bfa6d
push eax
call fcn.00582ef5
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00582ecc
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0xc], edx
jne 0x4bfa98
push str.URL::set_userName:_Not_enough_memory__n
mov ecx, ebx
call fcn.00546070
jmp 0x4bfab7
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4bfacb
push eax
call fcn.00582ef5
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00582ecc
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x10], edx
jne 0x4bfaf6
push str.URL::set_password:_Not_enough_memory__n
mov ecx, ebx
call fcn.00546070
jmp 0x4bfb15
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
call fcn.00586b33
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret