joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e220
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x587056
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebp
push edi
mov edi, ecx
push 0
mov dword [esp + 0xc], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x639ad4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [edi + 0x14]
mov dword [esp + 0x184], 0
neg ebp
sbb ebp, ebp
test ebp, ebp
je 0x49e3a2
push ebx
push esi
cmp ebp, 0xffffffff
mov ecx, ebp
jne 0x49e295
mov esi, dword [edi + 0x10]
xor eax, eax
test esi, esi
jbe 0x49e295
mov edx, dword [edi + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x49e295
inc eax
add edx, 4
cmp eax, esi
jb 0x49e287
mov ebp, dword [ecx]
test ebp, ebp
jne 0x49e2bd
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x10]
lea edx, [edi + 8]
inc eax
cmp eax, esi
jae 0x49e2bd
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ebp, dword [edx]
test ebp, ebp
jne 0x49e2bd
inc eax
add edx, 4
cmp eax, esi
jb 0x49e2af
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push esi
lea ecx, [esp + 0x18]
call fcn.0056a239
lea eax, [esi + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.0056a239
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x49e394
mov edx, dword [esp + 0x14]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x4411
lea ecx, [esp + 0x28]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea esi, [edx + 8]
push ecx
push ebx
mov ecx, esi
call fcn.0049eb20
test eax, eax
jne 0x49e371
mov eax, dword [esi + 4]
test eax, eax
jne 0x49e34a
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.004e1bb0
mov ecx, esi
call fcn.0049ecd0
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
lea esi, [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0056a239
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call fcn.0056a239
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x49e274
pop esi
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 4]
test edi, edi
je 0x49e3c2
push 0
push 0x1446
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 1
call fcn.0056a100
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x17c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x49fe90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x587249
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5a64c8
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.00451ac0
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00451ac0
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00451ac0
mov dword [esp + 0x10], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov esi, dword [esi + 4]
mov byte [esp + 0x1c], 3
test esi, esi
je 0x49ff08
push esi
call fcn.005664c5
add esp, 4
mov dword [esp + 0x10], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov edi, dword [edi + 4]
mov byte [esp + 0x1c], 4
test edi, edi
je 0x49ff27
push edi
call fcn.005664c5
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [ebx], method.CCommandLineInfo.virtual_0
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], 5
test ebx, ebx
je 0x49ff49
push ebx
call fcn.005664c5
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4a0300
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x587270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x639ad4]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
push ecx
mov ecx, edi
call fcn.004a0420
mov edx, dword [0x639ad4]
mov dword [esp + 8], edx
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 1
push eax
call fcn.0054f68f
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 8]
push ecx
push str._ld_n
push edx
call fcn.00562ecb
mov eax, dword [esp + 0x18]
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a03b9
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0056a100
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
call fcn.0056a100
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
push esi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
add edi, 0x44
push 0x1684
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0056a100
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4a1a30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push connect
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a1b4c
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4a1a90
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4a1a90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x4a1aab
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
test ebp, ebp
jne 0x4a1ac2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
lea edi, [ebp + 1]
push edi
call fcn.0056649c
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a1ae7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4a1b43
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4a1b43
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.004a0e70
push esi
call fcn.005664c5
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.005664c5
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4a2b50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x587650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x639ad4]
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.0056a289
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.004a33a0
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.0056a239
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x639ad4]
mov dword [esp + 0x30], edx
test ebp, ebp
mov byte [esp + 0x28], 1
jne 0x4a2bea
mov eax, 0x615ee4
jmp 0x4a2c05
cmp ebp, 1
jne 0x4a2bf6
mov eax, 0x615f00
jmp 0x4a2c05
cmp ebp, 3
mov eax, 0x615eec
je 0x4a2c05
mov eax, 0x615ef4
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.00562ecb
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 0x63e040
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 0x4a2c70
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.0056a100
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4a2ca0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
push 7
push 0x615f00
mov esi, ecx
push ebx
call fcn.005501e0
add esp, 0xc
test eax, eax
jne 0x4a2ccb
mov dword [esp + 0x10], 1
jmp 0x4a2d06
push 8
push 0x615ef4
push ebx
call fcn.005501e0
add esp, 0xc
test eax, eax
jne 0x4a2ce9
mov dword [esp + 0x10], 2
jmp 0x4a2d06
push 6
push 0x615eec
push ebx
call fcn.005501e0
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push ebx
call fcn.0054e030
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4a2e1a
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ebx - 2]
cmp ebp, eax
jae 0x4a2e1a
mov eax, dword [esi + 8]
add ebp, 2
xor edi, edi
test eax, eax
jle 0x4a2dd5
xor ebx, ebx
mov ecx, dword [esi + 4]
push ebp
mov eax, dword [ebx + ecx]
push eax
call fcn.0054f4a2
add esp, 8
test eax, eax
jne 0x4a2d66
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + edx + 4]
je 0x4a2d73
mov eax, dword [esi + 8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x4a2d45
jmp 0x4a2dd1
mov ebx, dword [esi + 8]
mov eax, dword [esi + 4]
lea ebp, [edi + edi*2]
sub ebx, edi
shl ebp, 2
dec ebx
mov dword [esp + 0x18], ebp
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.00408ca0
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4a2d90
test ebx, ebx
je 0x4a2dce
mov eax, dword [esi + 4]
lea edx, [ebx + ebx*2]
shl edx, 2
lea ecx, [edi + edi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.0054ee90
add esp, 0xc
dec dword [esi + 8]
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4a2e1a
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x4a4d80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5878c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x63e518]
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 0x4a4e19
mov ecx, dword [0x63e518]
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 0x4a4e19
push eax
lea ecx, [esp + 0xc]
call fcn.004e0200
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.00566096
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00565cd7
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4a71d0
Capabilities:
Query or enumerate registry value

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

Function at 0x4aacf5
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
mov eax, dword [esi + 0x98]
cmp dword [eax + 0xc], ebp
jle 0x4aad79
push edi
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 0x298]
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 0x100d
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
jl 0x4aad5f
mov ecx, dword [esi + 0x98]
mov edx, dword [esp + 0x10]
push 0xf000
push eax
mov edi, dword [ecx + 8]
push 0x102c
add edi, edx
mov edx, dword [esi + 0x298]
push edx
call ebx
shr eax, 0xc
dec eax
mov dword [edi + 8], eax
mov eax, dword [esi + 0x98]
mov edx, dword [esp + 0x10]
inc ebp
add edx, 0xc
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
cmp ebp, ecx
jl 0x4aad10
pop edi
mov ecx, dword [esi + 0x98]
add ecx, 4
call fcn.00407230
mov ecx, dword [esi + 0x98]
call fcn.0040ee40
mov ecx, dword [esi + 0x25c]
push 0
push 0
push 0xf0
push ecx
call ebx
lea edx, [esp + 0x10]
push 4
push edx
mov dword [esp + 0x18], eax
mov eax, dword [0x63e518]
push 4
push 0
push str.FindApps
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x4ab0b0
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 [0x63e518]
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 0x4ab123
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005694fc
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x63e518]
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 0x4ab170
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005694fc
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 0x4abc50
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.0040cb10
test eax, eax
je 0x4abc8b
mov ecx, dword [esi + 0x98]
call fcn.0040cd70
mov eax, dword [0x63e518]
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 0x4abcdd
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005694fc
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x63e518]
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 0x4abd2a
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005694fc
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 0x4af9c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x588fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x639ad4]
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.00571ee0
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp dword [eax + 8], ebx
jle 0x4afa4d
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.0054f4a2
add esp, 8
test eax, eax
je 0x4afae7
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x20
cmp edi, dword [eax + 8]
jl 0x4afa21
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4afa5d
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4afa6d
lea edi, [esi + 0x94]
push eax
call fcn.0054e46e
mov edx, dword [0x63e518]
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 [0x63e518]
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.0056a100
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.00402b60
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.00472d80
jmp 0x4afac3
Function at 0x4b09dd
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5891a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x639ad4]
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.00571ee0
mov esi, dword [0x63eadc]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4b0a41
test cl, cl
je 0x4b0a3d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4b0a41
add eax, 2
add esi, 2
test cl, cl
jne 0x4b0a1d
xor eax, eax
jmp 0x4b0a46
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4b0a70
mov ecx, dword [0x63e518]
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 0x4b0b34
mov eax, dword [0x63e518]
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 [0x63ead8]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4b0ac5
test cl, cl
je 0x4b0ac1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4b0ac5
add eax, 2
add esi, 2
test cl, cl
jne 0x4b0aa1
xor eax, eax
jmp 0x4b0aca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4b0ad8
mov dword [esp + 8], 1
jmp 0x4b0b17
mov esi, dword [0x63ead4]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4b0b04
test cl, cl
je 0x4b0b00
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4b0b04
add eax, 2
add esi, 2
test cl, cl
jne 0x4b0ae0
xor eax, eax
jmp 0x4b0b09
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 [0x63e518]
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.0056a100
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b3f20
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5897c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x639ad4]
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.0056a289
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.0056a289
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.0049ec60
mov esi, eax
test esi, esi
jne 0x4b3fc9
mov eax, dword [edi + 4]
test eax, eax
jne 0x4b3f9a
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004e1bb0
mov ecx, edi
call fcn.004b5340
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.0056a289
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.0056a239
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.0056a239
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.0056a16e
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.0056a476
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 0x4b4027
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.0056a5e0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x63e040
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 str.User
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 str.Password
push ecx
call fcn.005233c0
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.0056a100
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.0056a100
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056a100
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