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

Disassembly:
push 0xffffffffffffffff
push 0x6485a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6f7b78]
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.00622f13
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.00501330
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.00622ec3
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x6f7b78]
mov dword [esp + 0x30], edx
cmp ebp, 1
mov byte [esp + 0x28], 1
jne 0x500b2b
mov eax, 0x6c9178
jmp 0x500b5d
cmp ebp, 4
jne 0x500b37
mov eax, 0x6c9164
jmp 0x500b5d
cmp ebp, 5
jne 0x500b43
mov eax, str.rtmpt:__
jmp 0x500b5d
cmp ebp, 2
jne 0x500b4f
mov eax, 0x6c916c
jmp 0x500b5d
test ebp, ebp
mov eax, 0x6c9154
je 0x500b5d
mov eax, 0x6c915c
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.0061fae1
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 0x6fc418
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x500bc8
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.00622d8a
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x500c00
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x6c9178
mov ebx, ecx
push esi
call fcn.0060bf70
add esp, 0xc
test eax, eax
jne 0x500c2b
mov dword [esp + 0x10], 1
jmp 0x500ca2
push 7
push 0x6c9164
push esi
call fcn.0060bf70
add esp, 0xc
test eax, eax
jne 0x500c49
mov dword [esp + 0x10], 4
jmp 0x500ca2
push 7
push str.rtmpt:__
push esi
call fcn.0060bf70
add esp, 0xc
test eax, eax
jne 0x500c67
mov dword [esp + 0x10], 5
jmp 0x500ca2
push 8
push 0x6c916c
push esi
call fcn.0060bf70
add esp, 0xc
test eax, eax
jne 0x500c85
mov dword [esp + 0x10], 2
jmp 0x500ca2
push 6
push 0x6c915c
push esi
call fcn.0060bf70
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.00609c00
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x500db6
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 0x500db6
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x500d6d
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [ecx + edi]
push eax
call fcn.0060b39a
add esp, 8
test eax, eax
jne 0x500d02
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + edi + 4]
je 0x500d0f
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x500ce1
jmp 0x500d6d
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.005009f0
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x500d2c
test edi, edi
je 0x500d6a
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.0060ac20
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 0x6fc418
push 0
push str.SoftwareDownloadManagerMCN
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x500db6
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 0x5035d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64889e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov edx, dword [0x6fcafc]
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 0x50369e
mov ecx, dword [0x6fcafc]
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 0x50369e
push eax
lea ecx, [esp + 0xc]
call fcn.00551120
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0
call fcn.006226c5
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], 2
call fcn.0051a8c0
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.0062e0bb
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00622306
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
add esp, 0xb4
ret
Function at 0x506de0
Capabilities:
Query or enumerate registry value

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

Function at 0x506e20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
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 0x506e56
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x50a360
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x649858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6f7b78]
push ebp
push edi
mov ebp, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
push ecx
lea ecx, [ebp + 0xc8]
call fcn.0062451a
push 0x6fc418
push 0x6c9178
lea ecx, [esp + 0x14]
call fcn.0061f504
push 0x6fc418
push 0x6c9154
lea ecx, [esp + 0x14]
call fcn.0061f504
push 0x6fc418
push 0x6c916c
lea ecx, [esp + 0x14]
call fcn.0061f504
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x118]
push edx
call fcn.004a74b0
mov eax, dword [0x6f7b78]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
push ecx
lea ecx, [ebp + 0x8c]
call fcn.0062451a
push 0x6c9030
push 0x6e50ec
lea ecx, [esp + 0x10]
call fcn.0061f504
mov edx, dword [esp + 8]
push 0x20
push edx
call fcn.0060ab40
mov edi, eax
add esp, 8
test edi, edi
je 0x50a464
push esi
mov esi, 0x6e50e8
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x50a458
test dl, dl
je 0x50a454
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x50a458
add ecx, 2
add esi, 2
test dl, dl
jne 0x50a434
xor ecx, ecx
jmp 0x50a45d
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
pop esi
jne 0x50a464
mov byte [edi], cl
mov ecx, dword [esp + 8]
push 2
push 0x6e50e4
push ecx
call fcn.00609d70
add esp, 0xc
test eax, eax
jne 0x50a4ca
mov edx, dword [0x6f7b78]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
add eax, 2
mov byte [esp + 0x1c], 2
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 8]
push edx
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.00622d8a
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [0x6fcafc]
push edx
push 1
push eax
push str.Extensions
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
mov eax, dword [ebp + 0x11c]
push edx
push eax
call fcn.0060a7ae
add esp, 8
test eax, eax
je 0x50a50f
mov byte [ebp + 0x120], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00622d8a
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x50b2b0
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 + 0x140]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6fcafc]
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 0x50b323
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.0062325c
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6fcafc]
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 0x50b370
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.0062325c
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 0x50c960
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 + 0x160]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x98]
call fcn.00418f90
test eax, eax
je 0x50c99d
lea ecx, [esp + 0x18]
push ecx
call fcn.00419510
add esp, 4
mov ecx, dword [0x6fcafc]
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 0x50c9f0
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.0062325c
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
mov edx, dword [0x6fcafc]
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 0x50ca3d
mov ecx, dword [esp + 0x14]
xor ebx, ebx
test ecx, ecx
push 0x425
mov ecx, esi
setne bl
call fcn.0062325c
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 0x50f4b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x64a030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], bx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
push eax
call fcn.0062325c
mov ebp, dword [eax + 0x1c]
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x50f52e
add esi, 3
lea ecx, [esi + esi]
push ecx
call fcn.00622acb
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x50f52e
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x50f525
push edi
lea ecx, [esp + 0x14]
call fcn.00401f20
push edi
call fcn.00622af4
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x50f53a
lea eax, [esp + 0x14]
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.00407ba0
add esp, 8
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x28], 1
call fcn.00622ec3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00622d8a
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x5108a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6fcafc]
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 0x5108f6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5108f6
mov eax, dword [esi + 0x240]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6fcafc]
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 0x510937
mov eax, dword [esp + 0x10]
test eax, eax
je 0x510937
mov ecx, dword [esi + 0x250]
push 0
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x6fcafc]
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 0x510979
mov eax, dword [esp + 0x10]
test eax, eax
je 0x510979
mov edx, dword [esi + 0x230]
push 0
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x510980
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 + 0x240]
push 0
push 0
push 0xf0
push eax
call edi
mov ecx, dword [esi + 0x230]
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 + 0x250]
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 [0x6fcafc]
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 [0x6fcafc]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x6fcafc]
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 0x5128d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64a378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov word [esp + 0x18], bp
mov eax, dword [esi + 0x14c]
push ebp
push ebp
push 0x147
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
push ecx
push eax
lea ecx, [esi + 0x148]
call fcn.00426990
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp dword [eax + 8], ebp
jle 0x512974
xor ebx, ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + ebx + 4]
lea eax, [edx + ebx + 4]
cmp ecx, ebp
jne 0x512947
lea ecx, [eax + 4]
mov edx, dword [esp + 0x14]
cmp edx, ebp
jne 0x512953
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0060a1a4
add esp, 8
test eax, eax
je 0x512a0b
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x2c
cmp edi, dword [eax + 8]
jl 0x512935
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x512984
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
cmp edi, ebp
jne 0x512994
lea edi, [esi + 0x94]
push eax
call fcn.00609a4e
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [0x6fcafc]
push edx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebp
push ebp
push str.LocalPathW
push eax
call edi
mov ecx, dword [esi + 0x13c]
push ebp
push ebp
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x10]
push 4
push edx
mov dword [esp + 0x18], eax
mov eax, dword [0x6fcafc]
push 4
push ebp
push str.RememberLastSave
push eax
call edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esi + 0x90]
cmp eax, ebp
mov ebp, eax
jne 0x512a1d
lea ebp, [esi + 0x94]
mov ecx, dword [esi + 0x8c]
lea eax, [edi + edi*4]
mov edx, dword [ecx + 4]
lea edi, [edi + eax*2]
shl edi, 2
mov eax, dword [edx + edi + 0x20]
lea ebx, [edx + edi + 0x20]
push eax
call dword [0x6fc1e0]
push ebp
call dword [0x6fc1e4]
mov dword [ebx], eax
mov ecx, dword [esi + 0x13c]
push 0
push 0
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov eax, dword [esi + 0x8c]
setne dl
mov ecx, dword [eax + 4]
mov byte [ecx + edi + 0x24], dl
mov ecx, dword [esi + 0x8c]
call fcn.004c31e0
jmp 0x5129e7
Function at 0x5136e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64a440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
mov eax, dword [esi + 0x178]
push ebx
push ebx
push 0x147
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
push ecx
push eax
lea ecx, [esi + 0x174]
call fcn.00426990
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x513741
lea eax, [esp + 0x18]
mov edx, dword [0x6fd5bc]
push edi
push edx
push eax
call fcn.00426c20
add esp, 8
test eax, eax
jne 0x51377b
mov ecx, dword [0x6fcafc]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push ebx
push 0x6cc5c0
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x513808
mov eax, dword [0x6fcafc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push ebx
mov ebp, 1
push 0x6cc5c0
push eax
mov dword [esp + 0x28], ebp
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x5137ad
lea eax, [esp + 0x1c]
mov ecx, dword [0x6fd5b8]
push ecx
push eax
call fcn.00426c20
add esp, 8
test eax, eax
jne 0x5137c7
mov dword [esp + 0x10], ebp
jmp 0x5137f0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x5137d3
lea eax, [esp + 0x1c]
mov edx, dword [0x6fd5b4]
push edx
push eax
call fcn.00426c20
add esp, 8
neg eax
sbb eax, eax
neg eax
add eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [0x6fcafc]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push ebx
push str.DuplLinksA
push ecx
call edi
mov edx, dword [0x6f7b78]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
lea ecx, [esi + 0x8c]
push eax
mov byte [esp + 0x30], 1
call fcn.0062451a
mov ebp, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x5138a0
mov esi, dword [0x6fdff0]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x513866
cmp cl, bl
je 0x513862
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x513866
add eax, 2
add esi, 2
cmp cl, bl
jne 0x513842
xor eax, eax
jmp 0x51386b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x5138a0
push ebp
push 0x6c910c
push 0x6fdff0
call fcn.0061fae1
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [0x6fcafc]
push 1
push ebx
push str.szCustomUserAgent
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.00622d8a
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x519280
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64aa68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6f7b78]
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.00622f13
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00622f13
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.004ad7c0
mov esi, eax
test esi, esi
jne 0x519329
mov eax, dword [edi + 4]
test eax, eax
jne 0x5192fa
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004ad970
mov ecx, edi
call fcn.0051a7f0
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00622f13
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.00622ec3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.00622ec3
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.00622df8
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.0062308c
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 0x519387
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.006231f6
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push ecx
push 0x80000001
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 0x6d278c
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 0x6e02b8
push ecx
call fcn.005d0c70
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.00622d8a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.00622d8a
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00622d8a
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