joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b3960
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62daf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x440]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5b39a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x440], ebx
mov eax, dword [esi + 0x480]
lea ecx, [ebp - 0x94]
push eax
push str.SoftwareDownloadManager_ldChList
push ecx
call fcn.005e6db3
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push reloc.WS2_32.dll_accept
call edi
cmp eax, ebx
je 0x5b3a06
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push str.Can_not_delete_subkey__s_from_registry__error_code___ld_n
push ecx
call fcn.005e6db3
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x4ac]
push edx
call fcn.00554800
mov eax, dword [esi + 0x480]
lea ecx, [ebp - 0x94]
push eax
push str.SoftwareDownloadManager_ld
push ecx
call fcn.005e6db3
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push reloc.WS2_32.dll_accept
call edi
cmp eax, ebx
je 0x5b3a61
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push str.Can_not_delete_subkey__s_from_registry__error_code___ld_n
push ecx
call fcn.005e6db3
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x4ac]
push edx
call fcn.00554800
cmp dword [ebp + 8], ebx
je 0x5b3a6d
mov ecx, esi
call fcn.005b4170
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 0x5b3bf0
Capabilities:
Reference http user-agent string

Disassembly:
mov edx, dword [esp + 4]
push esi
test edx, edx
mov esi, ecx
je 0x5b3c24
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x5b3c24
push edx
add esi, 0x198
push 0x6a00a0
push esi
call fcn.005fb90b
add esp, 0xc
pop esi
ret 4
add esi, 0x198
push str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.1__Trident_6.0_
push esi
call fcn.005fb90b
add esp, 8
pop esi
ret 4
Function at 0x5b3c40
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push 0
push 0x400
push esi
push edi
call fcn.005e8310
mov dword [esp + 0x20], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x28], edx
call fcn.005e8260
mov ebx, eax
and ebx, 0x800003ff
jns 0x5b3c90
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x18]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005e8260
mov ebp, eax
and ebp, 0x800003ff
jns 0x5b3cc6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005e8260
lea ecx, [esp + 0x14]
push 8
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x5b3d1a
mov edi, 0x6a4160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x5b3dba
cmp ebp, 0x3e7
jg 0x5b3dba
test ebp, ebp
jne 0x5b3d92
cmp ebx, 0x3e7
jg 0x5b3d92
test ebx, ebx
je 0x5b3d6a
mov eax, dword [esp + 0x20]
mov ecx, dword [0x6d1f88]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x18]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x5b3de2
mov ecx, dword [0x6d1f84]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push ecx
push edx
push str._d___s
push eax
call fcn.005e6db3
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x6d1f8c]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x18]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x5b3de2
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6d1f90]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x18]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x38]
push str._d_s_03d___s
push eax
call fcn.005e6db3
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x5b4ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6d12f4]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.PrgrDlgVisiblity
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
not eax
and eax, ecx
add esp, 8
ret

Function at 0x5b4b00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6d12f4]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ComplDlgShowing
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, 1
jne 0x5b4b38
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x5bd650
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x5bd68f
mov eax, edi
cmp eax, edi
jne 0x5bd68f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5bd68f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
push 1
push edi
push edi
push edx
call fcn.005e8c50
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x20], ecx
mov ebp, dword [esi + 0x24]
adc ebp, edx
mov dword [esi + 0x24], ebp
mov ecx, dword [esi + 0x20]
mov eax, ebp
mov edx, ecx
or edx, eax
jne 0x5bd6c3
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
pop ecx
ret
cmp eax, edi
jg 0x5bd6d6
jl 0x5bd6d1
cmp ecx, 0x2dc6c0
jae 0x5bd6d6
mov ebp, dword [esi + 0x20]
jmp 0x5bd6db
mov ebp, 0x2dc6c0
push ebp
call fcn.005e6c79
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x5bd6f5
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
pop ecx
ret
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push ebp
push ebx
mov ecx, esi
call fcn.005bd740
mov edi, eax
test edi, edi
jge 0x5bd70f
cmp edi, 0xfffffff5
jne 0x5bd728
cmp edi, 1
je 0x5bd728
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jne 0x5bd6fb
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0x5bd6fb
push ebx
call fcn.005e6206
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5bdce0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
test ecx, ecx
jle 0x5bdd06
push ebx
mov bl, byte [eax + edx]
xor bl, 0xf
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jl 0x5bdcf7
pop ebx
ret

Function at 0x5bdd10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.005e639f
add esp, 4
test eax, eax
jle 0x5bdd2e
mov ecx, esi
xor word [ecx], 0xf
add ecx, 2
dec eax
jne 0x5bdd24
pop esi
ret
Function at 0x5be800
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.005e7d47
lea ecx, [esp + 0xc]
push ecx
call fcn.005e9373
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x44]
push edx
push eax
push str._.15s__.4s
push ebx
call fcn.005e6db3
mov eax, dword [esi + 0xa8]
add esp, 0x10
test eax, eax
je 0x5be854
push eax
call fcn.005fef05
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5be8a8
mov ecx, dword [esi + 0x420]
test ecx, ecx
jne 0x5be872
push eax
mov ecx, esi
call fcn.005c4f50
test al, al
je 0x5be8a8
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esi + 0x420]
push str.lastTryDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x420]
push str.lastResult
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x5be8b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.005e7d47
lea ecx, [esp + 0xc]
push ecx
call fcn.005e9373
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x74]
push edx
push eax
push str._.15s__.4s
push ebx
call fcn.005e6db3
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x5be929
mov ecx, dword [esi + 0x420]
test ecx, ecx
jne 0x5be905
push eax
mov ecx, esi
call fcn.005c4f50
test al, al
je 0x5be929
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esi + 0x420]
push str.dateAdded
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x5be940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
je 0x5be9f4
mov eax, dword [esi + 0xa8]
cmp ebx, eax
je 0x5be9f4
test eax, eax
je 0x5be98e
push eax
call fcn.005fef05
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005feedc
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xa8], edx
jne 0x5be9d2
push str.URL::set_lastResult__:_Not_enough_memory__n
mov ecx, esi
call fcn.005be7e0
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5beb2a
push eax
lea edx, [ebp - 0x48]
push str.SoftwareDownloadManager_ld
push edx
call fcn.005e6db3
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x5bea63
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push eax
push 0xf003f
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5bea8a
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6d0c38
lea ecx, [ebp - 0x48]
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5beb2a
test ebx, ebx
je 0x5beb01
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7ff
jbe 0x5beadc
push 0x7ff
lea edx, [ebp - 0x848]
push ebx
push edx
call fcn.005e6720
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x848]
mov byte [ebp - 0x49], 0
push 0x801
push eax
push 1
push 0
push str.lastResult
push ecx
jmp 0x5beafb
mov edx, dword [esi + 0xa8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push eax
push str.lastResult
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push 4
push ecx
push 4
push 0
push str.dwnlrs
push edx
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
Function at 0x5c10b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov esi, ecx
je 0x5c1161
mov ecx, dword [esi + 0x420]
test ecx, ecx
jne 0x5c10da
push eax
mov ecx, esi
call fcn.005c4f50
test al, al
je 0x5c1161
mov al, byte [esi + 0x30c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
je 0x5c110b
mov ecx, dword [esi + 0x420]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.bPHSBU
push ecx
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x30d]
test al, al
je 0x5c1136
mov eax, dword [esi + 0x420]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.bFLSBU
push eax
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x16e]
test al, al
je 0x5c1161
mov edx, dword [esi + 0x420]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push str.bRPCHK
push edx
mov dword [esp + 0x24], 1
call edi
pop edi
pop esi
ret 4

Function at 0x5c11f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x420]
test eax, eax
je 0x5c126e
mov eax, dword [esi + 0x34]
lea ecx, [esp + 4]
push eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov word [esp + 0xc], 0
call fcn.00402410
mov eax, dword [esp + 4]
test eax, eax
jne 0x5c1230
lea eax, [esp + 8]
push eax
call fcn.005bdd10
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
jne 0x5c1245
lea eax, [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esi + 0x420]
push 0
push 0
push str.EncLNFSW
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
call fcn.00401070
pop esi
add esp, 0xc
ret
Function at 0x5c24d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x20]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
je 0x5c250b
push eax
call fcn.005fef05
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, edi
jne 0x5c252a
mov dword [ebx + 0x20], edi
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5c254e
mov dword [ebx + 0x20], 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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005feedc
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x20], edx
jne 0x5c258f
push str.URL::set_LastModified__:_Not_enough_memory__n
mov ecx, ebx
call fcn.005be7e0
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x5c25c8
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 [ebx + 0x420]
test ecx, ecx
jne 0x5c25f6
push eax
mov ecx, ebx
call fcn.005c4f50
test al, al
jne 0x5c25f6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebx + 0x420]
push edx
push 1
push eax
push str.LastModified
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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
Function at 0x5c2b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x420]
mov dword [ebp - 4], 0
test eax, eax
jne 0x5c2b5f
mov eax, dword [ebp + 8]
push eax
call fcn.005c4f50
test al, al
jne 0x5c2b5f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x420]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x21c]
push ecx
push edx
push 0
push 0
mov ebx, 0x208
push str.LocalPath
push eax
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5c2ba6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x21c]
push ecx
call fcn.005e7a84
add esp, 4
test eax, eax
je 0x5c2bd1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5c2be1
push eax
call fcn.005fef05
add esp, 4
lea edx, [ebp - 0x21c]
push edx
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x5c2c25
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, esi
call fcn.005be7e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.005e6569
mov ecx, dword [esi + 0x420]
add esp, 8
lea edx, [ebp + 8]
lea eax, [ebp - 0x21c]
push edx
push eax
push 0
push 0
push str.LocalFileName
push ecx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5c2c71
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x21c]
mov ecx, esi
push edx
call fcn.005c3350
test eax, eax
je 0x5c2c9b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x420]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x21c]
push eax
push ecx
push 0
push 0
push str.LogFileName
push edx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5c2cd7
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x418]
lea eax, [ebp - 0x21c]
add ecx, 4
push eax
push ecx
call fcn.005e6569
add esp, 8
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 4
Function at 0x5c2d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x6cc708]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push eax
mov byte [ebp - 4], 1
call fcn.005fb90b
add esp, 0x10
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 0xc]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6d0c38
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5c2eec
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x224]
push ecx
push edx
push ebx
push ebx
push str.LocalPath
push eax
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x5c2df1
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x5c2ee6
lea edx, [ebp - 0x224]
push edx
call fcn.005e7a84
add esp, 4
test eax, eax
jne 0x5c2ee2
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x5c2e18
push eax
call fcn.005fef05
add esp, 4
lea ecx, [ebp - 0x224]
push ecx
call fcn.005e639f
lea edx, [eax + eax + 2]
push edx
call fcn.005feedc
add esp, 8
cmp eax, ebx
mov dword [esi + 0x2c], eax
jne 0x5c2e4d
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, esi
call fcn.005be7e0
mov edx, dword [ebp + 0xc]
push edx
jmp 0x5c2ee6
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.005e6569
mov edx, dword [ebp + 0xc]
add esp, 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push ecx
push ebx
push ebx
push str.LocalFileName
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
jne 0x5c2ee2
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
call fcn.005c3350
cmp eax, ebx
je 0x5c2ebf
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00602ad6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push ecx
push ebx
push ebx
push str.LogFileName
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x5c2f0f
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00602ad6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 0x418]
lea ecx, [ebp - 0x224]
add edx, 4
push ecx
push edx
call fcn.005e6569
mov eax, dword [ebp + 0xc]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00602ad6
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
Function at 0x5c3590
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x6d2724]
sub esp, 0x20c
test eax, eax
jne 0x5c364e
mov eax, dword [0x6d2720]
test eax, eax
jne 0x5c3626
mov edx, dword [0x6d12f4]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ExePath
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5c361d
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.005e7360
add esp, 8
test eax, eax
je 0x5c361d
lea ecx, [esp + 4]
lea edx, [esp + 0x108]
push ecx
push str._sidmftype.dll
push edx
mov byte [eax], 0
call fcn.005e6db3
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6d2720], eax
jmp 0x5c3622
mov eax, dword [0x6d2720]
test eax, eax
je 0x5c364e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IDMFileType
push eax
call esi
mov ecx, dword [0x6d2720]
push str.IDMExtensionForMimeType
push ecx
mov dword [0x6d2724], eax
call esi
mov dword [0x6d2728], eax
pop esi
add esp, 0x20c
ret
Function at 0x5c5080
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x2dc], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c50d9
mov ecx, dword [esi + 0x420]
test ecx, ecx
jne 0x5c50ab
push eax
mov ecx, esi
call fcn.005c4f50
test al, al
je 0x5c50d9
mov edx, dword [esi + 0x2dc]
mov eax, dword [esi + 0x420]
xor ecx, ecx
push 4
test edx, edx
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.needER
setne cl
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8