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

Disassembly:
push 0xffffffffffffffff
push 0x64a8e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ecx
push ebp
mov dword [esp + 0x2c], edi
call ebx
test eax, eax
jne 0x5ba043
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba016
sub eax, edx
je 0x5ba043
push esi
call fcn.005cb4d0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea edx, [esp + 0x14]
push edx
push esi
push 0
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x3c]
push 0
push edi
push ebp
call ebx
test eax, eax
jne 0x5ba102
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba066
sub eax, edx
je 0x5ba102
lea ecx, [esp + 0x2c]
call fcn.00402500
mov dword [esp + 0x20], 0
push esi
lea eax, [esp + 0x30]
push 0x678ea8
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005cb4d0
mov edx, dword [esp + 0x3c]
mov eax, edx
add esp, 0x10
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba0b0
sub eax, esi
inc eax
push eax
push edx
mov edx, dword [esp + 0x3c]
push 0
push 0
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5ba0d8
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00402570
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x5ba120
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x665598
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x28]
je 0x5ba18d
test esi, esi
je 0x5ba161
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba156
sub eax, edx
jne 0x5ba18d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push esi
call edi
mov ecx, dword [esp + 0x20]
push ecx
push esi
call edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
lea ecx, [esp + 0x2c]
call fcn.00402500
mov dword [esp + 0x14], 0
push esi
lea edx, [esp + 0x30]
push 0x678ea8
push edx
call fcn.00402f70
mov eax, dword [esp + 0x38]
push eax
call fcn.005cb4d0
mov edx, dword [esp + 0x3c]
mov eax, edx
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba1c4
mov ecx, dword [esp + 0x24]
sub eax, esi
mov esi, dword [esp + 0x1c]
inc eax
push eax
push edx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5ba1f4
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00402570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x5ba220
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659ce8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push 0x678ea8
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x14]
push edx
call fcn.005cb4d0
mov edx, dword [esp + 0x18]
mov eax, edx
add esp, 0x10
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba280
mov ecx, dword [esp + 0x1c]
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x24]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5ba2d0
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x5b9e77
mov eax, esi
push edi
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5b9e50
sub eax, edi
pop edi
je 0x5b9e77
push esi
add ecx, 0x19c
push 0x678ea8
push ecx
call fcn.00402f70
add esp, 0xc
xor eax, eax
pop esi
ret 4
add ecx, 0x19c
push str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.1__Trident_6.0_
push ecx
call fcn.00402f70
add esp, 8
xor eax, eax
pop esi
ret 4
add ecx, 0x20
jmp 0x5b9e40
Function at 0x5c9540
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x28]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
cmp eax, 0xffffffff
jne 0x5c9576
cmp edi, edi
jne 0x5c9576
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5c9576
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push 1
push edi
push edi
push edx
call fcn.00624ab0
add dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
adc dword [esi + 0x24], edx
mov eax, dword [esi + 0x24]
mov edx, ecx
or edx, eax
jne 0x5c959d
pop edi
lea eax, [edx - 2]
pop esi
pop ecx
ret
cmp eax, edi
push ebp
jg 0x5c95b0
jl 0x5c95ac
cmp ecx, 0x2dc6c0
jae 0x5c95b0
mov ebp, ecx
jmp 0x5c95b5
mov ebp, 0x2dc6c0
push ebx
push ebp
call fcn.0062279f
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x5c95d0
pop ebx
pop ebp
pop edi
mov eax, 0xfffffffd
pop esi
pop ecx
ret
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push ebp
push ebx
mov ecx, esi
call fcn.005c92b0
mov edi, eax
test edi, edi
jge 0x5c95ea
cmp edi, 0xfffffff5
jne 0x5c95ff
cmp edi, 1
je 0x5c95ff
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x20]
jne 0x5c95d6
mov ecx, dword [esi + 0x34]
cmp ecx, dword [esi + 0x24]
jne 0x5c95d6
push ebx
call fcn.006216ac
add esp, 4
pop ebx
pop ebp
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x5c99c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66637b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
mov dword [eax], vtable.CTSReader.0
xor ecx, ecx
mov dword [eax + 0x48], vtable.CPMTStream.0
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
mov dword [eax + 0x44], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x90], ecx
mov dword [eax + 0x94], ecx
mov dword [eax + 0x88], ecx
mov dword [eax + 0x84], ecx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], ecx
mov byte [eax + 0x98], cl
mov byte [eax + 0x99], cl
mov byte [eax + 0x9a], cl
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov byte [eax + 0x40], cl
mov byte [eax + 0x41], cl
mov dword [eax + 0x3c], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

Function at 0x5c9b30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
or eax, 0xffffffff
test edx, edx
jbe 0x5c9b63
mov ecx, dword [esp + 4]
push esi
push edi
movsx edi, byte [ecx]
mov esi, eax
shr esi, 0x18
xor esi, edi
and esi, 0xff
shl eax, 8
xor eax, dword [esi*4 + 0x6b5fa0]
inc ecx
sub edx, 1
jne 0x5c9b41
pop edi
pop esi
ret
Function at 0x5c9b70
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
cmp eax, 0xffffffff
jne 0x5c9bae
cmp dword [esi + 0x1c], 0
jne 0x5c9bae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5c9bae
xor eax, eax
pop esi
ret 4
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.00624ab0
add dword [esi + 0x18], eax
mov ecx, dword [esi + 0x18]
adc dword [esi + 0x1c], edx
mov eax, dword [esi + 0x1c]
mov edx, ecx
or edx, eax
je 0x5c9ba8
push edi
mov edi, dword [esi + 0x88]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
test edi, edi
je 0x5c9c17
mov edx, dword [esi + 0x84]
test edx, edx
je 0x5c9c17
test eax, eax
jg 0x5c9c05
jl 0x5c9c01
cmp ecx, 0x5e0000
jae 0x5c9c05
mov eax, ecx
jmp 0x5c9c0a
mov eax, 0x5e0000
cmp eax, edx
jbe 0x5c9c2d
push edi
call fcn.006216ac
add esp, 4
cmp dword [esi + 0x1c], 0
jg 0x5c9c37
jl 0x5c9c28
cmp dword [esi + 0x18], 0x5e0000
jae 0x5c9c37
mov eax, dword [esi + 0x18]
jmp 0x5c9c3c
pop edi
mov eax, 1
pop esi
ret 4
mov eax, 0x5e0000
push eax
mov dword [esi + 0x84], eax
call fcn.0062279f
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x88], eax
pop edi
pop esi
mov eax, ecx
ret 4

Function at 0x5ca0a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
xor edx, edx
sub ecx, dword [esi + 0x20]
push edi
sbb eax, dword [esi + 0x24]
mov edi, ecx
or edi, eax
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], edx
je 0x5ca105
cmp eax, edx
mov edi, dword [esi + 0x84]
jl 0x5ca0d4
jg 0x5ca0d2
cmp ecx, edi
jbe 0x5ca0d4
mov ecx, edi
push edx
mov edx, dword [esi + 0x8c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x88]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5ca0ff
mov eax, dword [esp + 8]
cmp eax, dword [esi + 0x7c]
je 0x5ca105
pop edi
xor eax, eax
pop esi
pop ecx
ret
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x5ca390
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x5ca39f
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 8]
push edi
mov edi, dword [esp + 0x10]
add eax, edi
cmp eax, dword [esi + 0xc]
jb 0x5ca3f9
call fcn.005c9960
test eax, eax
je 0x5ca3f2
cmp edi, dword [esi + 0xc]
jb 0x5ca3f9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5ca3f2
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5ca3e9
cmp edi, dword [esp + 0x10]
je 0x5ca411
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
pop edi
xor eax, eax
pop esi
ret 8
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xc]
add ecx, dword [esi + 4]
push edi
push eax
push ecx
call fcn.00621d10
add esp, 0xc
add dword [esi + 8], edi
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x5cb2f0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0xa34
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov esi, dword [esp + 0xa44]
push edi
mov edi, dword [esp + 0xa50]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push esi
mov dword [esp + 0x30], ecx
call ebp
mov ebx, eax
mov eax, dword [esp + 0xa4c]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x20], 0
mov dword [edi], 0
call fcn.005ca970
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call ebx
cmp edi, 1
jne 0x5cb429
cmp dword [esp + 0x10], 0
je 0x5cb429
lea edx, [esp + 0x18]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5cb381
lea eax, [esp + 0x18]
add eax, 0xfffffffe
jmp 0x5cb3a0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x5cb3a0
mov edx, dword [str..tmp]
mov ecx, dword [0x6b388c]
mov dword [eax], edx
mov dx, word [0x6b3890]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea ecx, [esp + 0x30]
push ecx
call ebp
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push esi
mov edi, eax
call ebp
mov edx, dword [esp + 0xa4c]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push edx
push eax
push edi
push esi
call fcn.005cb0b0
push esi
call ebx
push edi
call ebx
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xa40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0062016f
add esp, 0xa34
ret 0xc

Function at 0x5cb4d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cb4e0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x5cb4fb
xor byte [eax + edx], 0xf
inc eax
cmp eax, ecx
jl 0x5cb4f2
ret

Function at 0x5cb500
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5cb510
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x5cb532
xor word [edx + eax*2], 0xf
inc eax
cmp eax, ecx
jl 0x5cb528
ret

Function at 0x5cb540
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [ecx + 0x484]
jmp fcn.0056a760
Function at 0x5cb550
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x834]
sub esp, 0x834
push 0xffffffffffffffff
push 0x666470
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x830], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 0x840]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x5cb5ae
push esi
call fcn.005b65b0
cmp eax, ebx
jne 0x5cb6e0
mov eax, dword [ebp + 0x844]
cmp eax, ebx
je 0x5cb6b9
push eax
push str.SoftwareDownloadManager_ld
lea eax, [ebp + 0x800]
push eax
call fcn.0062304b
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp + 0x800]
cmp dword [ebp + 0x848], ebx
je 0x5cb5f7
push ecx
push 0xf003f
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5cb615
lea eax, [ebp - 0x20]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5cb6b9
cmp esi, ebx
je 0x5cb68e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5cb626
sub eax, edx
cmp eax, 0x7ff
jbe 0x5cb665
push 0x7ff
push esi
lea eax, [ebp]
push eax
call fcn.006219d0
add esp, 0xc
mov byte [ebp + 0x7ff], bl
push 0x801
lea ecx, [ebp]
push ecx
push 1
push ebx
push str.lastResult
mov edx, dword [ebp - 0x14]
push edx
jmp 0x5cb688
mov edx, dword [edi + 0xa8]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5cb670
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.lastResult
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp + 0x83c]
mov dword [ebp - 0x1c], ecx
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push ebx
push str.dwnlrs
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x5cb6e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x830]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x834
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5cb7a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x48c]
test eax, eax
je 0x5cb7c3
push 4
add ecx, 0x168
push ecx
push 4
push 0
push str.brExtCID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret
Function at 0x5cb920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x75f810], 0
jne 0x5cb9eb
mov eax, dword [0x75f80c]
test eax, eax
jne 0x5cb9c3
mov edx, dword [0x75dbe4]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
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 0x5cb9ba
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.00622910
add esp, 8
test eax, eax
je 0x5cb9ba
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push str._sidmftype.dll
push edx
mov byte [eax], 0
call fcn.0062304b
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x75f80c], eax
jmp 0x5cb9bf
mov eax, dword [0x75f80c]
test eax, eax
je 0x5cb9eb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IDMFileType
push eax
call esi
mov ecx, dword [0x75f80c]
push str.IDMExtensionForMimeType
push ecx
mov dword [0x75f810], eax
call esi
mov dword [0x75f814], eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0062016f
add esp, 0x210
ret
Function at 0x5cba40
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x29c], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x5cbbfe
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x5cba99
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + str.security.dll]
mov word [esp + eax + 0x98], cx
add eax, 2
test cx, cx
jne 0x5cba80
jmp 0x5cbac7
cmp eax, 1
jne 0x5cbbfe
xor eax, eax
jmp 0x5cbab0
movzx ecx, word [eax + str.secur32.dll]
mov word [esp + eax + 0x98], cx
add eax, 2
test cx, cx
jne 0x5cbab0
cmp dword [esi + 0x1c4], 0
jne 0x5cbae6
lea ecx, [esp + 0x98]
push ecx
call fcn.00447f30
add esp, 4
mov dword [esi + 0x1c4], eax
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x5cbbfe
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FreeCredentialsHandle
push eax
call edi
mov edx, dword [esi + 0x1c4]
push str.QuerySecurityPackageInfoA
push edx
mov dword [esi + 0x1c8], eax
call edi
mov dword [esi + 0x1d0], eax
mov eax, dword [esi + 0x1c4]
push str.AcquireCredentialsHandleA
push eax
call edi
mov ecx, dword [esi + 0x1c4]
push str.FreeContextBuffer
push ecx
mov dword [esi + 0x1cc], eax
call edi
mov edx, dword [esi + 0x1c4]
push str.InitializeSecurityContextA
push edx
mov dword [esi + 0x1d4], eax
call edi
mov dword [esi + 0x1d8], eax
mov eax, dword [esi + 0x1c4]
push str.CompleteAuthToken
push eax
call edi
mov ecx, dword [esi + 0x1c4]
push str.EnumerateSecurityPackagesA
push ecx
mov dword [esi + 0x1dc], eax
call edi
mov edx, dword [esi + 0x1c4]
push str.DeleteSecurityContext
push edx
mov dword [esi + 0x1e0], eax
call edi
cmp dword [esi + 0x1c8], 0
mov dword [esi + 0x1e4], eax
pop edi
je 0x5cbbe7
cmp dword [esi + 0x1d0], 0
je 0x5cbbe7
cmp dword [esi + 0x1cc], 0
je 0x5cbbe7
cmp dword [esi + 0x1d4], 0
je 0x5cbbe7
cmp dword [esi + 0x1d8], 0
je 0x5cbbe7
cmp dword [esi + 0x1e0], 0
je 0x5cbbe7
mov eax, 1
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.0062016f
add esp, 0x2a0
ret
mov eax, dword [esi + 0x1c4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1c4], 0
mov ecx, dword [esp + 0x2a0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0062016f
add esp, 0x2a0
ret
Function at 0x5cc190
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6506a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x48c], 0
je 0x5cc248
mov ecx, dword [esi + 0x34]
xor eax, eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov word [esp + 0x10], ax
call fcn.004017f0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5cc202
lea eax, [esp + 0xc]
push eax
call fcn.005cb500
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x5cc217
lea eax, [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edx + edx + 2]
mov edx, dword [esi + 0x48c]
push ecx
push eax
push 0
push 0
push str.EncLNFSW
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 8]
call fcn.00401210
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062016f
add esp, 0x1c
ret
Function at 0x5cee80
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x310], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5ceed4
cmp dword [esi + 0x48c], 0
jne 0x5ceea8
push eax
call fcn.005ced20
test al, al
je 0x5ceed4
mov eax, dword [esi + 0x48c]
xor ecx, ecx
cmp dword [esi + 0x310], ecx
push 4
lea edx, [esp + 0xc]
push edx
push 4
setne cl
push 0
push str.needER
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8

Function at 0x5cef90
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
call fcn.00623c91
lea ecx, [esp + 0xc]
push ecx
call fcn.006267aa
lea edx, [eax + 0x14]
push edx
add eax, 4
push eax
lea edi, [esi + 0x44]
push str._.15s__.4s
push edi
call fcn.0062304b
mov eax, dword [esi + 0xa8]
add esp, 0x18
test eax, eax
je 0x5cefe1
push eax
call fcn.005f4432
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5cf037
cmp dword [esi + 0x48c], 0
jne 0x5ceffe
push eax
mov ecx, esi
call fcn.005ced20
test al, al
je 0x5cf037
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cf003
sub eax, edx
inc eax
push eax
mov eax, dword [esi + 0x48c]
push edi
push 1
push 0
push str.lastTryDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x48c]
push str.lastResult
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x5cf040
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
call fcn.00623c91
lea ecx, [esp + 0xc]
push ecx
call fcn.006267aa
lea edx, [eax + 0x14]
push edx
add eax, 4
push eax
lea edi, [esi + 0x74]
push str._.15s__.4s
push edi
call fcn.0062304b
mov eax, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x5cf0b8
cmp dword [esi + 0x48c], 0
jne 0x5cf091
push eax
mov ecx, esi
call fcn.005ced20
test al, al
je 0x5cf0b8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cf096
sub eax, edx
inc eax
push eax
mov eax, dword [esi + 0x48c]
push edi
push 1
push 0
push str.dateAdded
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
add esp, 0xc
ret 4