joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1960
Capabilities:
Query or enumerate registry value

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

Function at 0x4e19a0
Capabilities:
Query or enumerate registry value

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

Function at 0x4e4bb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x602e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6ca27c]
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.005de49e
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.0048a110
mov eax, dword [0x6ca27c]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.005de49e
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 [0x6cee7c]
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.005c5773
add esp, 8
test eax, eax
je 0x4e4c60
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.005e118c
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4e5bd0
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 [0x6cee7c]
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 0x4e5c43
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005e05ee
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6cee7c]
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 0x4e5c90
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005e05ee
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 0x4e6f50
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.00414600
test eax, eax
je 0x4e6f85
call fcn.00414a30
mov eax, dword [0x6cee7c]
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 0x4e6fd7
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005e05ee
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6cee7c]
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 0x4e7024
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005e05ee
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 0x4ea760
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6cee7c]
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 0x4ea7b6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ea7b6
mov eax, dword [esi + 0x60c]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6cee7c]
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 0x4ea7f7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ea7f7
mov ecx, dword [esi + 0x648]
push 0
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x6cee7c]
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 0x4ea839
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ea839
mov edx, dword [esi + 0x5d0]
push 0
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4ea840
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 + 0x60c]
push 0
push 0
push 0xf0
push eax
call edi
mov ecx, dword [esi + 0x5d0]
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 + 0x648]
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 [0x6cee7c]
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 [0x6cee7c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x6cee7c]
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 0x4ec270
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x603b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6ca27c]
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.005e8dda
mov eax, dword [esi + 0x8c]
xor ebx, ebx
cmp dword [eax + 8], edi
jle 0x4ec2fd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edi + 4]
push eax
push ecx
call fcn.005c62fc
add esp, 8
test eax, eax
je 0x4ec397
mov eax, dword [esi + 0x8c]
inc ebx
add edi, 0x1c
cmp ebx, dword [eax + 8]
jl 0x4ec2d1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4ec30d
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4ec31d
lea edi, [esi + 0x94]
push eax
call fcn.005c4b4a
mov ecx, dword [0x6cee7c]
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 [0x6cee7c]
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.005e118c
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 0x4ec3a7
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.004a2a10
jmp 0x4ec373
Function at 0x4ed3b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x603d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6ca27c]
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.005e8dda
mov esi, dword [0x6cf70c]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ed431
test cl, cl
je 0x4ed42d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ed431
add eax, 2
add esi, 2
test cl, cl
jne 0x4ed40d
xor eax, eax
jmp 0x4ed436
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ed460
mov ecx, dword [0x6cee7c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x6a2bb0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4ed524
mov eax, dword [0x6cee7c]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x6a2bb0
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x6cf708]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ed4b5
test cl, cl
je 0x4ed4b1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ed4b5
add eax, 2
add esi, 2
test cl, cl
jne 0x4ed491
xor eax, eax
jmp 0x4ed4ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ed4c8
mov dword [esp + 8], 1
jmp 0x4ed507
mov esi, dword [0x6cf704]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ed4f4
test cl, cl
je 0x4ed4f0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ed4f4
add eax, 2
add esi, 2
test cl, cl
jne 0x4ed4d0
xor eax, eax
jmp 0x4ed4f9
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 [0x6cee7c]
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.005e118c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4f2750
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6044c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6ca27c]
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.005e1315
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.005e1315
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.00420d30
mov esi, eax
test esi, esi
jne 0x4f27f9
mov eax, dword [edi + 4]
test eax, eax
jne 0x4f27ca
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.00523780
mov ecx, edi
call fcn.004f3cf0
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.005e1315
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.005e12c5
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.005e12c5
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.005e11fa
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.005e148e
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 0x4f2857
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.005e15f8
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6ce7c8
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 0x6a8588
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 0x6b3cb4
push ecx
call fcn.00592470
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.005e118c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.005e118c
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.005e118c
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 0x4f2910
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6044f0
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 0x4f2a68
mov ebx, dword [esp + 0x34]
push ebx
call fcn.005da06c
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 0x4f2a68
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.005c62fc
add esp, 8
test eax, eax
je 0x4f2977
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x4f2959
jmp 0x4f2a68
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.005e118c
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005e118c
add edi, 8
mov edx, ebx
dec ebx
mov dword [esp + 0x10], edi
test edx, edx
jne 0x4f2984
lea eax, [esi + 8]
push 1
push eax
call fcn.005da048
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 0x4f2a68
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f2a46
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x4f2a46
mov edx, dword [ebp + 4]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x4f2a3a
lea esi, [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
call fcn.005e118c
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005e118c
add esi, 8
mov eax, edi
dec edi
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4f29f8
lea ecx, [ebx + 8]
push 1
push ecx
call fcn.005da048
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4f29ef
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4f29e5
mov edx, dword [ebp + 4]
push edx
call fcn.005dd5b6
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.005dc0d4
mov dword [ebp + 0x14], esi
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x20]
call fcn.005e11fa
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
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 0x4f2ac3
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.005e118c
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4f3620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x604690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6ca27c]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0xc]
push 1
push eax
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [0x6ceea0]
push edx
push eax
mov dword [esp + 0x30], 0
call fcn.004f1130
test eax, eax
je 0x4f3753
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x4f368e
push eax
call fcn.005dd5b6
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005dd58d
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebp + 0xc], edx
jne 0x4f36b9
push str.URL::set_userName:_Not_enough_memory__n
mov ecx, ebp
call fcn.0059da30
jmp 0x4f36d8
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 ecx, dword [esp + 0xc]
push str.anonymous
push ecx
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x4f36f5
mov byte [ebp + 0x178], 1
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4f3709
push eax
call fcn.005dd5b6
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005dd58d
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebp + 0x10], edx
jne 0x4f3734
push str.URL::set_password:_Not_enough_memory__n
mov ecx, ebp
call fcn.0059da30
jmp 0x4f3753
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.005e118c
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4f3e20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
and eax, 0xffff
push 0x6b9088
push eax
mov dword [esp + 0x18], ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4f3eeb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4f3eeb
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4f3eeb
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4f3ee4
test edi, edi
je 0x4f3ee4
mov ecx, ebp
mov esi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4f3ee4
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004f3f00
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x4fbc60
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov dword [ecx], 0x63017c
jmp 0x4fbdf0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6052d8
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x4fbef7
mov edx, dword [esp + 0xc]
push str.RecentProjects
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.RecentProjects
push edx
call esi
test eax, eax
jne 0x4fbef7
mov eax, dword [ebx + 0x14]
xor esi, esi
test eax, eax
jle 0x4fbee3
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
lea edi, [ebx + 4]
mov eax, dword [0x6ca27c]
mov dword [esp + 0x10], eax
inc esi
lea ecx, [esp + 0x10]
push esi
push 0x6a0000
push ecx
mov dword [esp + 0x34], 0
call fcn.005d9fbb
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 0xc
push 4
push edi
push 4
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005e118c
mov eax, dword [ebx + 0x14]
add edi, 4
cmp esi, eax
jl 0x4fbe8e
pop edi
pop ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4fbce0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6052b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerGrabberStsRecentProjects
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4fbdd0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov edi, 4
mov edx, dword [0x6ca27c]
mov dword [esp + 0xc], edx
push edi
lea eax, [esp + 0x10]
push 0x6a0000
push eax
mov dword [esp + 0x38], 0
call fcn.005d9fbb
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x2c], 4
call ebx
test eax, eax
jne 0x4fbdb3
mov edx, dword [0x6cedf4]
test edx, edx
jle 0x4fbdb3
mov ecx, dword [0x6cedf0]
mov esi, dword [esp + 0x18]
cmp esi, dword [ecx]
je 0x4fbda9
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x4fbd9b
jmp 0x4fbdb3
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004fbc70
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005e118c
dec edi
test edi, edi
jg 0x4fbd3c
pop edi
pop esi
pop ebx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret