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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ddd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0x630]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x548d98
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x604]
push eax
push ecx
mov byte [esi + 0x630], bl
mov edx, dword [0x6fcafc]
push ebx
push ebx
push str.GrabberWindowPlacementV6
push edx
mov dword [ebp - 0x14], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x548d98
cmp dword [esi + 0x60c], 3
jne 0x548d1e
push 3
mov ecx, esi
call fcn.006234df
jmp 0x548d48
mov eax, dword [esi + 0x624]
mov edx, dword [esi + 0x62c]
mov ecx, dword [esi + 0x620]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x628]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00623490
mov ecx, dword [esi + 0x84]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ecx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov edx, ecx
mov edi, dword [ebp - 0x24]
sub edx, eax
sub eax, ecx
mov ecx, dword [ebp - 0x28]
push ebx
push edx
mov edx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 0x55]
mov ecx, dword [ebp - 0x2c]
mov ebx, edx
sub ecx, edx
sub ebx, edi
push ebx
lea edx, [ecx + edi - 0x23]
push eax
push edx
lea ecx, [esi + 0x68]
call fcn.0062344f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x548dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ddeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [esi + 0x5d4], 4
je 0x548fd9
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x548e93
lea ecx, [ebp - 0x23c]
call fcn.004be6a0
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.004be7c0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.004be7b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x548ec8
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebx
push 0x5a
push edi
mov dword [ebp - 0x24], eax
call ebx
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x24], 0x60
je 0x548ed2
mov byte [ebp - 0x11], 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi + 0x634]
xor edi, edi
mov dword [ebp - 0x1c], eax
cmp edi, 7
jge 0x548f2b
mov al, byte [ebp - 0x11]
mov edx, dword [esi + 0x4f4]
push 0
push edi
test al, al
push 0x101d
push edx
je 0x548f1b
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x548ee3
call ebx
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x548ee3
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x634]
push 4
push eax
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.FileName
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x638]
push 4
push ecx
push 4
push 0
push str.FileType
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x63c]
push 4
push eax
push 4
push 0
push str.Size
push ecx
call edi
mov eax, dword [ebp - 0x18]
lea edx, [esi + 0x640]
push 4
push edx
push 4
push 0
push 0x6d24e4
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x644]
push 4
push ecx
push 4
push 0
push 0x6d1db0
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x648]
push 4
push eax
push 4
push 0
push 0x6d1dc4
push ecx
call edi
mov edx, dword [ebp - 0x18]
add esi, 0x64c
push 4
push esi
push 4
push 0
push str.SaveTo
push edx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54d850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov edx, dword [0x6fcafc]
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x54d891
mov eax, dword [esp + 0xc]
test eax, eax
setne al
mov byte [edi + 4], al
mov eax, dword [0x6fcafc]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x54d8bc
mov byte [edi + 5], 1
pop edi
pop esi
add esp, 8
ret

Function at 0x54e380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64e489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6f7b78]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], eax
mov ecx, dword [0x6f7b78]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x10], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x14], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x18], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x1c], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x20], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x24], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x28], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xa
call fcn.004a7030
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x662e40
mov dword [esi + 4], 1
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x54e39c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64e489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6f7b78]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], eax
mov ecx, dword [0x6f7b78]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x10], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x14], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x18], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x1c], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x20], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x24], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x28], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xa
call fcn.004a7030
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x662e40
mov dword [esi + 4], 1
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x54e460
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x64e519
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x662e40
lea ecx, [esi + 0x3c]
mov dword [esp + 0x10], 0xa
call fcn.004a7050
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call fcn.00622d8a
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call fcn.00622d8a
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call fcn.00622d8a
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call fcn.00622d8a
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call fcn.00622d8a
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call fcn.00622d8a
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call fcn.00622d8a
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call fcn.00622d8a
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call fcn.00622d8a
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call fcn.00622d8a
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x54ed00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.0054e850
mov edx, dword [0x6fcafc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
mov ebp, 4
push str.nProxyMode
push edx
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x54ed4f
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x54ee2e
mov eax, dword [0x6fcafc]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseHttpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x54ed7e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54ed7e
mov byte [esi + 8], 1
mov eax, dword [0x6fcafc]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseHttpsProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x54edad
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54edad
mov byte [esi + 0xa], 1
mov eax, dword [0x6fcafc]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseFtpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x54eddc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54eddc
mov byte [esi + 9], 1
mov eax, dword [0x6fcafc]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.bUseSocks
push eax
mov dword [esp + 0x24], ebp
call edi
mov al, byte [esi + 8]
test al, al
jne 0x54ee17
mov al, byte [esi + 9]
test al, al
jne 0x54ee17
mov al, byte [esi + 0xa]
test al, al
jne 0x54ee17
mov al, byte [esi + 0xb]
test al, al
je 0x54ee1e
mov dword [esi + 4], 0x10
mov eax, dword [0x6fd088]
test eax, eax
je 0x54ee2e
mov dword [esi + 4], 8
test byte [esi + 4], 8
je 0x54ee58
mov edx, dword [0x6fd084]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x54ee58
push edx
mov ecx, 0x6fd078
call fcn.004cb040
mov dword [0x6fd088], eax
cmp dword [esi + 4], 2
jne 0x54ee91
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.0054e850
test byte [esi + 0x18], 8
je 0x54ee91
mov esi, dword [esi + 0x20]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x54ee91
push esi
mov ecx, 0x6fd078
call fcn.004cb040
mov dword [0x6fd088], eax
pop edi
pop esi
pop ebp
add esp, 8
ret

Function at 0x54f0c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.nProxyMode
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54f128
mov eax, dword [esi + 4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x54f128
mov ecx, 0x6fd078
call fcn.004cacf0
mov ecx, esi
call fcn.0054ed00
cmp dword [esi + 4], 2
jne 0x54f128
push 0
push 0
push 0
push 0
push 0
push 0x54efc0
call fcn.00626cae
pop esi
add esp, 8
ret
Function at 0x54f200
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64e618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6f7b78]
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push str.SoftwareDownloadManagerProxyServers_s
push edx
mov dword [esp + 0x2c], esi
call fcn.0061fae1
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x6fc418
push esi
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
cmp edx, esi
mov esi, dword [esp + 0x2c]
je 0x54f2b9
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push eax
push eax
push 0x6d278c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push ebx
push str.EncPassword
push eax
call fcn.005d0db0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov ecx, ebp
call fcn.0054f2f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x552250
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x5522c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x55229f
mov eax, dword [0x6fd0a8]
test eax, eax
jne 0x5522a1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0
call esi
mov eax, dword [0x6fd0a8]
test eax, eax
je 0x55227f
mov dword [edi + 0x24], eax
pop esi
mov dword [0x6fd0a8], 0
pop edi
pop ecx
ret
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [0x6fd0a8], 0
pop edi
pop ecx
ret

Function at 0x552600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ea06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x6632ac
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], eax
mov dword [esi + 0x28], vtable.CMenu.0
mov dword [esi + 0x2c], eax
mov dword [esi], 0x6632a8
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
call fcn.006304b0
call fcn.006304b0
mov eax, dword [eax + 0xc]
push 0x120
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5535d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64eb90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x55362a
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 2
push 0x6c9e2c
push edx
call esi
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x553640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ebbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], esp
cmp eax, 0xffffffff
mov dword [ebp - 4], 0
je 0x553787
push 0x6e72c0
lea ecx, [ebp - 0x14]
call fcn.00622df8
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 1
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.0059de90
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.006230c8
mov eax, dword [esi + 0x38]
test eax, eax
je 0x5536cf
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.0062308c
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x14]
push eax
call fcn.0062308c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5536ef
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.0062308c
mov ecx, dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0062308c
mov edx, dword [esi + 0x194]
lea edi, [esi + 0x194]
mov eax, dword [edx - 8]
test eax, eax
je 0x553718
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.0062308c
push edi
lea ecx, [ebp - 0x14]
call fcn.006230c8
mov edi, dword [esi + 0x198]
add esi, 0x198
test edi, edi
je 0x55374a
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x55374a
push str._r_nUser_Agent:
lea ecx, [ebp - 0x14]
call fcn.0062308c
push esi
lea ecx, [ebp - 0x14]
call fcn.006230c8
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.0062308c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x555ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64edc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
push ebx
mov edx, dword [0x6fcafc]
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x7e8]
push eax
push ecx
push 0
push 0
mov esi, 0x7d0
push str.Extensions
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x555f4c
xor eax, eax
jmp 0x55604a
mov ebx, dword [esp + 0xfcc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x55604a
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x30000000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [0x6fc2f0]
lea ecx, [esp + 0x7e8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.00555dc0
mov ebp, eax
test ebp, ebp
jne 0x556048
push 0x3f
push ebx
call fcn.00609c00
add esp, 8
test eax, eax
je 0x556048
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x30000000
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
and ecx, 3
mov dword [esp + 0x14], 0x7d0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [0x6fc2f0]
lea ecx, [esp + 0x18]
push 0x3f
push ecx
call fcn.00609c00
add esp, 8
test eax, eax
je 0x556048
mov ecx, dword [esp + 0x14]
mov byte [eax], 0
lea edx, [esp + 0x7e8]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00555dc0
mov ebp, eax
mov eax, ebp
mov ecx, dword [esp + 0xfbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfb8
ret 4
Function at 0x556070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64edd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
mov edx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], esp
cmp ecx, 0x7d0
mov dword [ebp - 4], 0
jb 0x5560c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e8]
lea ebx, [ebp - 0x7e8]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x25
mov eax, ecx
mov esi, edi
mov edi, ebx
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, [ebp - 0x7e8]
push ecx
call fcn.00609c00
add esp, 8
test eax, eax
je 0x55619a
lea edx, [ebp - 0x7e8]
push edx
call fcn.005544f0
push str.Shlwapi.dll
mov bl, al
call fcn.0044abc0
mov esi, eax
add esp, 8
test esi, esi
je 0x55615f
push str.UrlUnescapeA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x556156
push 0x2100000
push 0
lea ecx, [ebp - 0x7e8]
push 0
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x556183
lea edx, [ebp + 8]
push 0x30000000
lea eax, [ebp - 0x7e8]
push edx
lea ecx, [ebp - 0x7e8]
push eax
push ecx
mov dword [ebp + 8], 0x7d0
call dword [0x6fc2f0]
test bl, bl
je 0x55619a
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x7e8]
push edx
push eax
call fcn.005d3a20
add esp, 8
lea ecx, [ebp - 0x7e8]
push 0x3f
push ecx
call fcn.00609c00
add esp, 8
test eax, eax
je 0x5561ca
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x6fcafc]
test eax, eax
jne 0x556210
push 0
push 0x6fcafc
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x556210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x6fcafc]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xfb8]
push edx
push eax
push 0
push 0
push str.Extensions
push ecx
mov dword [ebp - 0x18], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x556251
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xfb8]
lea eax, [ebp - 0x7e8]
push edx
push eax
call fcn.00555dc0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5562c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7d4
mov edx, dword [0x6fcafc]
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.Extensions
push edx
mov dword [esp + 0x1c], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x556301
xor eax, eax
pop esi
add esp, 0x7d4
ret 4
mov ecx, dword [esp + 0x7dc]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00555dc0
pop esi
add esp, 0x7d4
ret 4