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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x6c5104
mov ebx, ecx
push esi
call fcn.005e74f0
add esp, 0xc
test eax, eax
jne 0x4eb4cb
mov dword [esp + 0x10], 1
jmp 0x4eb542
push 7
push 0x6c50f0
push esi
call fcn.005e74f0
add esp, 0xc
test eax, eax
jne 0x4eb4e9
mov dword [esp + 0x10], 4
jmp 0x4eb542
push 7
push str.rtmpt:__
push esi
call fcn.005e74f0
add esp, 0xc
test eax, eax
jne 0x4eb507
mov dword [esp + 0x10], 5
jmp 0x4eb542
push 8
push 0x6c50f8
push esi
call fcn.005e74f0
add esp, 0xc
test eax, eax
jne 0x4eb525
mov dword [esp + 0x10], 2
jmp 0x4eb542
push 6
push 0x6c50e8
push esi
call fcn.005e74f0
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.005e51d0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4eb656
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 0x4eb656
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4eb60d
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [ecx + edi]
push eax
call fcn.005e695a
add esp, 8
test eax, eax
jne 0x4eb5a2
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + edi + 4]
je 0x4eb5af
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4eb581
jmp 0x4eb60d
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.0040c960
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4eb5cc
test edi, edi
je 0x4eb60a
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.005e6240
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 0x6f5cb8
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4eb656
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 0x4edcd0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x62337e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov edx, dword [0x6f6360]
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 0x4edd9e
mov ecx, dword [0x6f6360]
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 0x4edd9e
push eax
lea ecx, [esp + 0xc]
call fcn.00536930
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0
call fcn.005fd8c6
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], 2
call fcn.00504440
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.006093d5
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005fd507
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
add esp, 0xb4
ret
Function at 0x4f0e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x623d5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x5c0]
mov dword [esp + 0x10], 0x25
call fcn.006018cc
lea ecx, [esi + 0x5bc]
mov byte [esp + 0x10], 0x24
call fcn.006018cc
lea ecx, [esi + 0x5b8]
mov byte [esp + 0x10], 0x23
call fcn.006018cc
lea ecx, [esi + 0x5b4]
mov byte [esp + 0x10], 0x22
call fcn.006018cc
lea ecx, [esi + 0x5b0]
mov byte [esp + 0x10], 0x21
call fcn.006018cc
lea ecx, [esi + 0x5ac]
mov byte [esp + 0x10], 0x20
call fcn.006018cc
lea ecx, [esi + 0x5a8]
mov byte [esp + 0x10], 0x1f
call fcn.006018cc
lea ecx, [esi + 0x5a4]
mov byte [esp + 0x10], 0x1e
call fcn.006018cc
lea ecx, [esi + 0x5a0]
mov byte [esp + 0x10], 0x1d
call fcn.006018cc
lea ecx, [esi + 0x59c]
mov byte [esp + 0x10], 0x1c
call fcn.006018cc
lea ecx, [esi + 0x598]
mov byte [esp + 0x10], 0x1b
call fcn.006018cc
lea ecx, [esi + 0x594]
mov byte [esp + 0x10], 0x1a
call fcn.006018cc
lea ecx, [esi + 0x590]
mov byte [esp + 0x10], 0x19
call fcn.006018cc
mov byte [esp + 0x10], 0x18
lea ecx, [esi + 0x58c]
call fcn.006018cc
lea ecx, [esi + 0x588]
mov byte [esp + 0x10], 0x17
call fcn.006018cc
lea ecx, [esi + 0x584]
mov byte [esp + 0x10], 0x16
call fcn.006018cc
lea ecx, [esi + 0x578]
mov byte [esp + 0x10], 0x15
call fcn.00496f10
lea ecx, [esi + 0x53c]
mov byte [esp + 0x10], 0x14
call fcn.0060955d
lea ecx, [esi + 0x500]
mov byte [esp + 0x10], 0x13
call fcn.006093d5
lea ecx, [esi + 0x4c4]
mov byte [esp + 0x10], 0x12
call fcn.0060940d
lea ecx, [esi + 0x488]
mov byte [esp + 0x10], 0x11
call fcn.0060940d
lea ecx, [esi + 0x44c]
mov byte [esp + 0x10], 0x10
call fcn.0060940d
lea ecx, [esi + 0x410]
mov byte [esp + 0x10], 0xf
call fcn.0060940d
lea ecx, [esi + 0x3d4]
mov byte [esp + 0x10], 0xe
call fcn.006093d5
lea ecx, [esi + 0x398]
mov byte [esp + 0x10], 0xd
call fcn.006093d5
lea ecx, [esi + 0x35c]
mov byte [esp + 0x10], 0xc
call fcn.006093d5
lea ecx, [esi + 0x320]
mov byte [esp + 0x10], 0xb
call fcn.006093d5
lea ecx, [esi + 0x2e4]
mov byte [esp + 0x10], 0xa
call fcn.0060955d
lea ecx, [esi + 0x2a8]
mov byte [esp + 0x10], 9
call fcn.0060955d
lea ecx, [esi + 0x26c]
mov byte [esp + 0x10], 8
call fcn.0060955d
lea ecx, [esi + 0x230]
mov byte [esp + 0x10], 7
call fcn.0060955d
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x10], 6
call fcn.0060940d
lea ecx, [esi + 0x1b8]
mov byte [esp + 0x10], 5
call fcn.006093d5
lea ecx, [esi + 0x17c]
mov byte [esp + 0x10], 4
call fcn.0060955d
lea ecx, [esi + 0x140]
mov byte [esp + 0x10], 3
call fcn.006093d5
lea ecx, [esi + 0x104]
mov byte [esp + 0x10], 2
call fcn.0060940d
lea ecx, [esi + 0xc8]
mov byte [esp + 0x10], 1
call fcn.006093d5
lea ecx, [esi + 0x8c]
mov byte [esp + 0x10], 0
call fcn.0060940d
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.00609ccf
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f11a0
Capabilities:
Query or enumerate registry value

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

Function at 0x4f11e0
Capabilities:
Query or enumerate registry value

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

Function at 0x4f43f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6244f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6f175c]
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.005febde
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.00497360
mov eax, dword [0x6f175c]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.005febde
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 [0x6f6360]
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.005e5dd3
add esp, 8
test eax, eax
je 0x4f44a0
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.006018cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4f5420
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 [0x6f6360]
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 0x4f5493
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00601246
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6f6360]
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 0x4f54e0
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00601246
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 0x4f69e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
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.00416ac0
test eax, eax
je 0x4f6a1d
lea ecx, [esp + 0x18]
push ecx
call fcn.00417040
add esp, 4
mov ecx, dword [0x6f6360]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.LaunchOnStart
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4f6a70
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00601246
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
mov edx, dword [0x6f6360]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.MonitorUrlClipboard
push edx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4f6abd
mov ecx, dword [esp + 0x14]
xor ebx, ebx
test ecx, ecx
push 0x425
mov ecx, esi
setne bl
call fcn.00601246
mov eax, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4fa4e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6f6360]
push esi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.nHttpPrChbSt
push edx
mov dword [esp + 0x24], 4
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4fa536
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fa536
mov eax, dword [esi + 0x4a4]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6f6360]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.nFtpPrChbSt
push eax
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x4fa577
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fa577
mov ecx, dword [esi + 0x4e0]
push 0
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x6f6360]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.nHttpsPrChbSt
push ecx
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x4fa5b9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fa5b9
mov edx, dword [esi + 0x468]
push 0
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4fa5c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x4a4]
push 0
push 0
push 0xf0
push eax
call edi
mov ecx, dword [esi + 0x468]
push 0
neg eax
sbb eax, eax
push 0
neg eax
push 0xf0
push ecx
mov dword [esp + 0x18], eax
call edi
mov edx, dword [esi + 0x4e0]
push 0
neg eax
sbb eax, eax
push 0
neg eax
push 0xf0
push edx
mov dword [esp + 0x20], eax
call edi
neg eax
sbb eax, eax
mov ecx, dword [0x6f6360]
neg eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push 4
push eax
push 4
push 0
push str.nHttpPrChbSt
push ecx
call esi
mov eax, dword [0x6f6360]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x6f6360]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.nHttpsPrChbSt
push edx
call esi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4fc620
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6252c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6f175c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x298]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0x147
push ecx
mov dword [esp + 0x30], edi
call ebp
lea edx, [esp + 0x10]
lea ecx, [esi + 0x27c]
push edx
push eax
call fcn.0060951a
mov eax, dword [esi + 0x8c]
xor ebx, ebx
cmp dword [eax + 8], edi
jle 0x4fc6ad
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edi + 4]
push eax
push ecx
call fcn.005e695a
add esp, 8
test eax, eax
je 0x4fc747
mov eax, dword [esi + 0x8c]
inc ebx
add edi, 0x1c
cmp ebx, dword [eax + 8]
jl 0x4fc681
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4fc6bd
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4fc6cd
lea edi, [esi + 0x94]
push eax
call fcn.005e519b
mov ecx, dword [0x6f6360]
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 + 0x25c]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x6f6360]
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.006018cc
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 0x4fc757
lea ebp, [esi + 0x94]
mov edx, dword [esi + 0x8c]
lea edi, [ebx*8]
sub edi, ebx
mov eax, dword [edx + 4]
shl edi, 2
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 + 0x25c]
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.004b0d10
jmp 0x4fc723
Function at 0x4fd760
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6254a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6f175c]
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.0060951a
mov esi, dword [0x6f6d34]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fd7e1
test cl, cl
je 0x4fd7dd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fd7e1
add eax, 2
add esi, 2
test cl, cl
jne 0x4fd7bd
xor eax, eax
jmp 0x4fd7e6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fd810
mov ecx, dword [0x6f6360]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x6c80c8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4fd8d4
mov eax, dword [0x6f6360]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x6c80c8
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x6f6d30]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fd865
test cl, cl
je 0x4fd861
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fd865
add eax, 2
add esi, 2
test cl, cl
jne 0x4fd841
xor eax, eax
jmp 0x4fd86a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fd878
mov dword [esp + 8], 1
jmp 0x4fd8b7
mov esi, dword [0x6f6d2c]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fd8a4
test cl, cl
je 0x4fd8a0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fd8a4
add eax, 2
add esi, 2
test cl, cl
jne 0x4fd880
xor eax, eax
jmp 0x4fd8a9
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 [0x6f6360]
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.006018cc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x502dd0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x625c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6f175c]
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.00601a55
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00601a55
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.0049d270
mov esi, eax
test esi, esi
jne 0x502e79
mov eax, dword [edi + 4]
test eax, eax
jne 0x502e4a
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004d1f10
mov ecx, edi
call fcn.00504370
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00601a55
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.00601a05
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.00601a05
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.0060193a
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.00601bce
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 0x502ed7
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.00601d38
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6f5cb8
push 0
push ecx
push reloc.WS2_32.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 0x6cde04
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 0x6da53c
push ecx
call fcn.005b0fa0
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.006018cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.006018cc
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.006018cc
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 0x502f90
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x625c40
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 0x5030e8
mov ebx, dword [esp + 0x34]
push ebx
call fcn.005fa7ac
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 0x5030e8
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.005e695a
add esp, 8
test eax, eax
je 0x502ff7
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x502fd9
jmp 0x5030e8
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.006018cc
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.006018cc
add edi, 8
mov edx, ebx
dec ebx
mov dword [esp + 0x10], edi
test edx, edx
jne 0x503004
lea eax, [esi + 8]
push 1
push eax
call fcn.005fa788
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 0x5030e8
mov eax, dword [ebp + 4]
test eax, eax
je 0x5030c6
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x5030c6
mov edx, dword [ebp + 4]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x5030ba
lea esi, [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
call fcn.006018cc
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.006018cc
add esi, 8
mov eax, edi
dec edi
mov dword [esp + 0x18], esi
test eax, eax
jne 0x503078
lea ecx, [ebx + 8]
push 1
push ecx
call fcn.005fa788
mov ebx, dword [ebx]
test ebx, ebx
jne 0x50306f
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x503065
mov edx, dword [ebp + 4]
push edx
call fcn.005fdcf6
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.005fc814
mov dword [ebp + 0x14], esi
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x20]
call fcn.0060193a
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6f5cb8
push 0
push str.SoftwareDownloadManagerPasswords
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x503143
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.006018cc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret 4