joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e8fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x624139
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], 0x63906c
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.00420160
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00420160
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00420160
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 0x4e9028
push esi
call fcn.005ffe68
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 0x4e9047
push edi
call fcn.005ffe68
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 0x4e9069
push ebx
call fcn.005ffe68
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 0x4e9430
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x624160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
lea eax, [esp + 0x14]
mov dword [esp + 0x34], ebx
push eax
call fcn.004e9560
mov ecx, dword [0x6cd768]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x20]
mov byte [esp + 0x34], 1
push edx
call fcn.005e8b67
mov eax, dword [esp + 0x24]
add esp, 4
lea ecx, [esp + 0xc]
push eax
push str._ld_n
push ecx
call fcn.005fc86b
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x4e94a9
lea eax, [esp + 0x18]
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4e94ef
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], bl
call fcn.00603a3c
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
call fcn.00401070
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push ebx
push edx
push ecx
push eax
push esi
call edi
lea eax, [esp + 0x14]
push ebx
push eax
add ebp, 0x48
push 0x2d08
push ebp
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call fcn.00603a3c
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4eab30
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 bind
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4eac4c
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4eab90
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4eab90
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 0x4eabab
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 0x4eabc2
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.005ffe3f
mov esi, eax
add esp, 4
test esi, esi
jne 0x4eabe7
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 0x4eac43
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4eac43
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.004e9f40
push esi
call fcn.005ffe68
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.005ffe68
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4ec050
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6244b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6cd768]
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.00603bc5
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.004ec8f0
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.00603b75
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x6cd768]
mov dword [esp + 0x30], edx
cmp ebp, 1
mov byte [esp + 0x28], 1
jne 0x4ec0eb
mov eax, 0x6a110c
jmp 0x4ec11d
cmp ebp, 4
jne 0x4ec0f7
mov eax, 0x6a10f8
jmp 0x4ec11d
cmp ebp, 5
jne 0x4ec103
mov eax, str.rtmpt:__
jmp 0x4ec11d
cmp ebp, 2
jne 0x4ec10f
mov eax, 0x6a1100
jmp 0x4ec11d
test ebp, ebp
mov eax, 0x6a10e8
je 0x4ec11d
mov eax, 0x6a10f0
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.005fc86b
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 0x6d1c98
push 0
push eax
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 0x4ec188
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.00603a3c
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4ec1c0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x6a110c
mov ebx, ecx
push esi
call fcn.005e9510
add esp, 0xc
test eax, eax
jne 0x4ec1eb
mov dword [esp + 0x10], 1
jmp 0x4ec262
push 7
push 0x6a10f8
push esi
call fcn.005e9510
add esp, 0xc
test eax, eax
jne 0x4ec209
mov dword [esp + 0x10], 4
jmp 0x4ec262
push 7
push str.rtmpt:__
push esi
call fcn.005e9510
add esp, 0xc
test eax, eax
jne 0x4ec227
mov dword [esp + 0x10], 5
jmp 0x4ec262
push 8
push 0x6a1100
push esi
call fcn.005e9510
add esp, 0xc
test eax, eax
jne 0x4ec245
mov dword [esp + 0x10], 2
jmp 0x4ec262
push 6
push 0x6a10f0
push esi
call fcn.005e9510
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.005e71f0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4ec376
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 0x4ec376
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4ec32d
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [ecx + edi]
push eax
call fcn.005e897a
add esp, 8
test eax, eax
jne 0x4ec2c2
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + edi + 4]
je 0x4ec2cf
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4ec2a1
jmp 0x4ec32d
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.0040c920
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4ec2ec
test edi, edi
je 0x4ec32a
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.005e8260
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 0x6d1c98
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4ec376
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 0x4eea60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x62477e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov edx, dword [0x6d2354]
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 0x4eeb2e
mov ecx, dword [0x6d2354]
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 0x4eeb2e
push eax
lea ecx, [esp + 0xc]
call fcn.005388f0
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0
call fcn.005ffa36
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], 2
call fcn.00505260
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.0060b545
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005ff677
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
add esp, 0xb4
ret
Function at 0x4f1de0
Capabilities:
Query or enumerate registry value

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

Function at 0x4f1e20
Capabilities:
Query or enumerate registry value

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

Function at 0x4f5110
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x625700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6cd768]
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 + 0xc8]
call fcn.00600d51
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x118]
push edx
call fcn.00497880
mov eax, dword [0x6cd768]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0x8c]
call fcn.00600d51
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 [0x6d2354]
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 + 0x11c]
push ecx
push eax
call fcn.005e7dee
add esp, 8
test eax, eax
je 0x4f51c0
mov byte [esi + 0x120], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.00603a3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4f6080
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 [0x6d2354]
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 0x4f60f3
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00602ea0
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6d2354]
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 0x4f6140
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00602ea0
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 0x4f7670
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.004169f0
test eax, eax
je 0x4f76ad
lea ecx, [esp + 0x18]
push ecx
call fcn.00416f70
add esp, 4
mov ecx, dword [0x6d2354]
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 0x4f7700
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00602ea0
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
mov edx, dword [0x6d2354]
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 0x4f774d
mov ecx, dword [esp + 0x14]
xor ebx, ebx
test ecx, ecx
push 0x425
mov ecx, esi
setne bl
call fcn.00602ea0
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 0x4fb230
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6d2354]
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 0x4fb286
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fb286
mov eax, dword [esi + 0x2b8]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6d2354]
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 0x4fb2c7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fb2c7
mov ecx, dword [esi + 0x2c8]
push 0
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x6d2354]
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 0x4fb309
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fb309
mov edx, dword [esi + 0x2a8]
push 0
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4fb310
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 + 0x2b8]
push 0
push 0
push 0xf0
push eax
call edi
mov ecx, dword [esi + 0x2a8]
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 + 0x2c8]
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 [0x6d2354]
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 [0x6d2354]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x6d2354]
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 0x4fd220
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6261a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6cd768]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xf4]
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 + 0xd8]
push edx
push eax
call fcn.0060b68a
mov eax, dword [esi + 0x8c]
xor ebx, ebx
cmp dword [eax + 8], edi
jle 0x4fd2ad
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edi + 4]
push eax
push ecx
call fcn.005e897a
add esp, 8
test eax, eax
je 0x4fd347
mov eax, dword [esi + 0x8c]
inc ebx
add edi, 0x1c
cmp ebx, dword [eax + 8]
jl 0x4fd281
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4fd2bd
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4fd2cd
lea edi, [esi + 0x94]
push eax
call fcn.005e71bf
mov ecx, dword [0x6d2354]
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 + 0x178]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x6d2354]
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.00603a3c
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 0x4fd357
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 + 0x178]
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.004b1630
jmp 0x4fd323
Function at 0x4fe360
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6262c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6cd768]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0xa8]
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 + 0x8c]
push edx
push eax
call fcn.0060b68a
mov esi, dword [0x6d2d54]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fe3e1
test cl, cl
je 0x4fe3dd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fe3e1
add eax, 2
add esi, 2
test cl, cl
jne 0x4fe3bd
xor eax, eax
jmp 0x4fe3e6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fe410
mov ecx, dword [0x6d2354]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x6a40d0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4fe4d4
mov eax, dword [0x6d2354]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x6a40d0
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x6d2d50]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fe465
test cl, cl
je 0x4fe461
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fe465
add eax, 2
add esi, 2
test cl, cl
jne 0x4fe441
xor eax, eax
jmp 0x4fe46a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fe478
mov dword [esp + 8], 1
jmp 0x4fe4b7
mov esi, dword [0x6d2d4c]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fe4a4
test cl, cl
je 0x4fe4a0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fe4a4
add eax, 2
add esi, 2
test cl, cl
jne 0x4fe480
xor eax, eax
jmp 0x4fe4a9
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 [0x6d2354]
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.00603a3c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x503c20
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x626938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6cd768]
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.00603bc5
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00603bc5
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.004239b0
mov esi, eax
test esi, esi
jne 0x503cc9
mov eax, dword [edi + 4]
test eax, eax
jne 0x503c9a
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.00423a00
mov ecx, edi
call fcn.00505190
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00603bc5
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.00603b75
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.00603b75
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x38]
call fcn.00603aaa
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.00603d3e
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 0x503d27
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.00603ea8
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6d1c98
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 0x6a9dfc
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 0x6b6540
push ecx
call fcn.005b3030
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.00603a3c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.00603a3c
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00603a3c
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