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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
xor esi, esi
mov ecx, dword [ebp + 0xc]
push eax
push 0x20019
push esi
push ecx
push edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x51cecc
push str.Cannot_open_key_for_reading.
mov ecx, dword [ebp + 8]
call fcn.00602dd8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x1c]
push esi
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push esi
lea edx, [ebp - 0x20]
push ecx
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x51cefe
push str._Cannot_read_information_about_subkeys.
jmp 0x51ceb1
mov eax, dword [ebp + 0xc]
inc eax
push eax
mov dword [ebp + 0xc], eax
call fcn.005feedc
mov ebx, eax
mov eax, dword [ebp - 0x14]
add esp, 4
inc eax
mov dword [ebp - 0x14], eax
push eax
call fcn.005feedc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
add esp, 4
inc eax
mov dword [ebp - 0x18], eax
push eax
call fcn.005feedc
mov edi, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x30], eax
cmp esi, dword [ebp - 0x20]
jae 0x51cf92
push 0x6a0db0
mov ecx, edi
call fcn.00602dd8
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
lea eax, [ebp - 0x24]
push 0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x10]
push eax
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x51cf7d
push str.Cannot_enumerate_this_object.
mov ecx, edi
call fcn.00602dd8
inc esi
jmp 0x51cf39
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
push edx
push eax
push ebx
push edi
call fcn.0051cfe0
inc esi
jmp 0x51cf39
push ebx
call fcn.005fef05
mov ecx, dword [ebp - 0x2c]
add esp, 4
push ecx
call fcn.005fef05
mov edx, dword [ebp - 0x30]
add esp, 4
push edx
call fcn.005fef05
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51ec20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], 0x63bf80
mov dword [esi + 0x930], ebx
mov dword [esi + 0x92c], ebx
call fcn.004451d0
lea edi, [esi + 0x44]
mov ecx, 0x82
xor eax, eax
mov byte [esi + 0x24c], bl
rep stosd dword es:[edi], eax
mov edx, dword [0x6d12f4]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea eax, [esi + 4]
push ecx
push eax
push ebx
push ebx
push str.evDownloadComplete
push edx
mov dword [esp + 0x28], 0x24a
call ebp
test eax, eax
je 0x51ec8f
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x44]
mov byte [esi + 0x24c], bl
rep stosd dword es:[edi], eax
mov eax, dword [0x6d23a0]
push 0x3f
push eax
lea eax, [esi + 4]
push eax
call fcn.005e6720
lea edi, [esi + 0x28e]
mov ecx, 0x82
xor eax, eax
mov byte [esi + 0x43], bl
mov byte [esi + 0x496], bl
add esp, 0xc
rep stosd dword es:[edi], eax
mov edx, dword [0x6d12f4]
lea ecx, [esp + 0x10]
lea eax, [esi + 0x24e]
push ecx
push eax
push ebx
push ebx
push str.evDownloadFailed
push edx
mov dword [esp + 0x28], 0x24a
call ebp
test eax, eax
je 0x51ecf8
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x28e]
mov byte [esi + 0x496], bl
rep stosd dword es:[edi], eax
mov eax, dword [0x6d239c]
push 0x3f
push eax
lea eax, [esi + 0x24e]
push eax
call fcn.005e6720
lea edi, [esi + 0x4d8]
mov ecx, 0x82
xor eax, eax
mov byte [esi + 0x28d], bl
mov byte [esi + 0x6e0], bl
add esp, 0xc
rep stosd dword es:[edi], eax
mov edx, dword [0x6d12f4]
lea ecx, [esp + 0x10]
lea eax, [esi + 0x498]
push ecx
push eax
push ebx
push ebx
push str.evQueueStarted
push edx
mov dword [esp + 0x28], 0x24a
call ebp
test eax, eax
je 0x51ed67
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x4d8]
mov byte [esi + 0x6e0], bl
rep stosd dword es:[edi], eax
mov eax, dword [0x6d2394]
push 0x3f
push eax
lea eax, [esi + 0x498]
push eax
call fcn.005e6720
lea edi, [esi + 0x722]
mov ecx, 0x82
xor eax, eax
mov byte [esi + 0x4d7], bl
mov byte [esi + 0x92a], bl
add esp, 0xc
rep stosd dword es:[edi], eax
mov edx, dword [0x6d12f4]
lea ecx, [esp + 0x10]
lea eax, [esi + 0x6e2]
push ecx
push eax
push ebx
push ebx
push str.evQueueFinished
push edx
mov dword [esp + 0x28], 0x24a
call ebp
test eax, eax
je 0x51edd6
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x722]
mov byte [esi + 0x92a], bl
rep stosd dword es:[edi], eax
mov eax, dword [0x6d2398]
push 0x3f
push eax
lea eax, [esi + 0x6e2]
push eax
call fcn.005e6720
add esp, 0xc
mov byte [esi + 0x721], bl
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x51ee40
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x6d12f4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 4]
push 0x24a
push eax
push 0
push 0
push str.evDownloadComplete
push ecx
call edi
mov eax, dword [0x6d12f4]
lea edx, [esi + 0x24e]
push 0x24a
push edx
push 0
push 0
push str.evDownloadFailed
push eax
call edi
mov edx, dword [0x6d12f4]
lea ecx, [esi + 0x498]
push 0x24a
push ecx
push 0
push 0
push str.evQueueStarted
push edx
call edi
mov eax, dword [0x6d12f4]
add esi, 0x6e2
push 0x24a
push esi
push 0
push 0
push str.evQueueFinished
push eax
call edi
pop edi
pop esi
ret

Function at 0x51eef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6278c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x92c]
mov dword [ebp - 0x10], esp
cmp eax, ebx
jne 0x51ef9e
call fcn.0051eec0
test al, al
jne 0x51ef9e
lea ecx, [ebp - 0x220]
call fcn.004ac190
mov eax, dword [0x6cc708]
mov dword [ebp - 4], ebx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
push str.Error__ld_during_LoadWINMMLibrary___n
push ecx
call fcn.005fb90b
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x220]
push 1
push edx
call fcn.004ac2b0
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00602ad6
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
call fcn.004ac2a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x51ef8b
push 0x20001
push ebx
push edi
mov dword [ebp - 4], 2
call dword [esi + 0x92c]
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 0x51f2c0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push 0
push eax
push 0
push 0xf003f
mov esi, ecx
push 0
mov ecx, dword [0x6d12f4]
push 0x6d0c38
push 0
push str.SpecialKeys
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x51f3f9
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esi + 8]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.UseKeyToPrevent
push eax
call edi
mov edx, dword [esp + 8]
lea ecx, [esi + 4]
push 4
push ecx
push 4
push 0
push str.UseKeyToForce
push edx
call edi
mov ecx, dword [esp + 8]
lea eax, [esi + 0xc]
push 4
push eax
push 4
push 0
push str.AltP
push ecx
call edi
mov eax, dword [esp + 8]
lea edx, [esi + 0x10]
push 4
push edx
push 4
push 0
push str.ShiftP
push eax
call edi
mov edx, dword [esp + 8]
lea ecx, [esi + 0x14]
push 4
push ecx
push 4
push 0
push str.CtrlP
push edx
call edi
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
push 4
push eax
push 4
push 0
push str.AltF
push ecx
call edi
mov eax, dword [esp + 8]
lea edx, [esi + 0x1c]
push 4
push edx
push 4
push 0
push str.CtrlF
push eax
call edi
mov edx, dword [esp + 8]
lea ecx, [esi + 0x20]
push 4
push ecx
push 4
push 0
push str.ShiftF
push edx
call edi
mov ecx, dword [esp + 8]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.InsF
push ecx
call edi
mov eax, dword [esp + 8]
lea edx, [esi + 0x28]
push 4
push edx
push 4
push 0
push str.CheckMouse
push eax
call edi
mov ecx, dword [esp + 8]
add esi, 0x2c
push 4
push esi
push 4
push 0
push str.SkipHtml
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x51fd80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6d12f4]
push esi
mov esi, ecx
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
mov ebx, 4
push str.sls_maxSpeed
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x51fdce
push eax
push 0x400
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.005e8c50
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0xc]
test eax, eax
jg 0x51fdec
jl 0x51fdde
mov eax, dword [esi + 8]
test eax, eax
ja 0x51fdec
mov dword [esi + 8], 0x2800
mov dword [esi + 0xc], 0
mov eax, dword [0x6d12f4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.sls_bTOOst
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x51fe1b
mov eax, dword [esp + 0x10]
test eax, eax
setne cl
mov byte [esi + 0x11], cl
mov al, byte [esi + 0x11]
test al, al
je 0x51fe26
mov byte [esi + 0x10], 1
mov ecx, dword [0x6d12f4]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.sls_bShChb
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x51fe56
mov eax, dword [esp + 0x10]
test eax, eax
setne dl
mov byte [esi + 0x12], dl
mov edx, dword [0x6d12f4]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.sls_bRemIndEx
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x51fe86
mov eax, dword [esp + 0x10]
test eax, eax
setne al
mov byte [esi + 0x13], al
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x51fe90
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0x400
push eax
push ecx
call fcn.005e8260
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 8]
push 4
push edx
mov dword [esp + 0x10], eax
mov eax, dword [0x6d12f4]
push 4
push 0
push str.sls_maxSpeed
push eax
call edi
mov dl, byte [esi + 0x11]
mov eax, dword [0x6d12f4]
xor ecx, ecx
push 4
test dl, dl
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.sls_bTOOst
setne cl
push eax
mov dword [esp + 0x20], ecx
call edi
mov dl, byte [esi + 0x12]
mov eax, dword [0x6d12f4]
xor ecx, ecx
push 4
test dl, dl
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.sls_bShChb
setne cl
push eax
mov dword [esp + 0x20], ecx
call edi
mov al, byte [esi + 0x13]
lea edx, [esp + 8]
push 4
xor ecx, ecx
push edx
push 4
test al, al
mov eax, dword [0x6d12f4]
push 0
setne cl
push str.sls_bRemIndEx
push eax
mov dword [esp + 0x20], ecx
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x525570
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x628080
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
push eax
xor ebp, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebp
push 0xf003f
push ebp
push 0x6d0c38
push ebp
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x52576d
mov edi, dword [esp + 0x30]
mov eax, str.IncludeFilters
cmp edi, ebp
jne 0x5255d3
mov eax, str.ExcludeFilters
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp edi, ebp
mov eax, str.IncludeFilters
jne 0x5255ed
mov eax, str.ExcludeFilters
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x6d0c38
push ebp
push eax
mov eax, dword [esp + 0x38]
push eax
call ebx
test eax, eax
jne 0x52576d
cmp edi, ebp
je 0x5256bd
mov eax, dword [esi + 0x12c]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jle 0x525759
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
or ebx, 0xffffffff
mov ecx, dword [esi + 0x128]
lea eax, [ecx + edi]
mov cl, byte [ecx + edi + 0xc]
test cl, cl
je 0x5256a2
mov edx, dword [0x6cc708]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x38]
push str._ld__s
push eax
mov dword [esp + 0x38], 0
call fcn.005fb90b
mov ecx, dword [esi + 0x128]
mov edx, dword [esp + 0x40]
add esp, 0x10
mov eax, dword [ecx + edi]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.00602ad6
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x12c]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x525639
jmp 0x525759
mov eax, dword [esi + 0x140]
mov dword [esp + 0x30], ebp
cmp eax, ebp
jle 0x525759
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
or ebx, 0xffffffff
mov ecx, dword [esi + 0x13c]
lea eax, [edi + ecx]
mov cl, byte [edi + ecx + 0xc]
test cl, cl
je 0x525743
mov edx, dword [0x6cc708]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._ld__s
push eax
mov dword [esp + 0x38], 1
call fcn.005fb90b
mov ecx, dword [esi + 0x13c]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [edi + ecx]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.00602ad6
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x140]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x5256da
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x525790
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d0c38
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5257ef
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push 4
push eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret 8
Function at 0x52f700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628810
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 + 0x624]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x52f7f8
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x5f8]
push eax
push ecx
mov byte [esi + 0x624], bl
mov edx, dword [0x6d12f4]
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 0x52f7f8
cmp dword [esi + 0x600], 3
jne 0x52f77e
push 3
mov ecx, esi
call fcn.006021da
jmp 0x52f7a8
mov eax, dword [esi + 0x618]
mov edx, dword [esi + 0x620]
mov ecx, dword [esi + 0x614]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x61c]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0060218b
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.0060214a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52f830
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62882b
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 + 0x5c8], 4
je 0x52fa39
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d0c38
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x52f8f3
lea ecx, [ebp - 0x23c]
call fcn.004ac190
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.004ac2b0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.004ac2a0
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 0x52f928
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 0x52f932
mov byte [ebp - 0x11], 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi + 0x628]
xor edi, edi
mov dword [ebp - 0x1c], eax
cmp edi, 7
jge 0x52f98b
mov al, byte [ebp - 0x11]
mov edx, dword [esi + 0x4f4]
push 0
push edi
test al, al
push 0x101d
push edx
je 0x52f97b
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 0x52f943
call ebx
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x52f943
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x628]
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 + 0x62c]
push 4
push ecx
push 4
push 0
push str.FileType
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x630]
push 4
push eax
push 4
push 0
push str.Size
push ecx
call edi
mov eax, dword [ebp - 0x18]
lea edx, [esi + 0x634]
push 4
push edx
push 4
push 0
push 0x6a8bc0
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x638]
push 4
push ecx
push 4
push 0
push 0x6a8468
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x63c]
push 4
push eax
push 4
push 0
push 0x6a3cf4
push ecx
call edi
mov edx, dword [ebp - 0x18]
add esi, 0x640
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 0x534280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
mov esi, 0x25fffffc

Function at 0x5342c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, 0x25fffffc
lea eax, [ebp - 0x354]
push eax
call fcn.00533a3d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.005339f2
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00533a3d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.005339f2
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
invalid
test dword [eax], ebx
Function at 0x5377e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6291d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 4], ebx
je 0x537976
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [ebp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
push 0x63d1b8
push 2
call fcn.00537700
cmp eax, ebx
je 0x53785c
push 0x410c
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp + 0xc], eax
jmp 0x537875
push 0x400c
lea edx, [ebp - 0x184]
push 0x160
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
push 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x14]
push 3
push 0
push 0
push 0x30
push 0x30
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x24]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10