joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540008
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58d984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 4]
mov dword [ebx], vtable.rlottie::internal::renderer::Layer.0
mov dword [ebp - 0x10], edi
mov dword [edi], 0
fld1
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
fst dword [ebx + 0x10]
fldz
fst dword [ebx + 0x14]
fst dword [ebx + 0x18]
fst dword [ebx + 0x1c]
fst dword [ebx + 0x24]
fst dword [ebx + 0x28]
fst dword [ebx + 0x2c]
fxch st(1)
mov word [ebx + 0x34], 0
fst dword [ebx + 0x20]
fstp dword [ebx + 0x30]
mov dword [ebx + 0x3c], 0xffffffff
fstp dword [ebx + 0x38]
mov dword [ebx + 0x40], 3
mov byte [ebx + 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x48], 0
cmp byte [eax + 0x25], 0
mov byte [ebp - 4], 1
je 0x4b3900
push 0x14
call fcn.004ed767
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4b38bc
mov ebx, dword [ebx + 8]
mov dword [ebp + 8], ebx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [esi + 0xc]
call fcn.004b3b00
mov word [esi + 0x10], 0x101
mov ebx, dword [ebx + 0x4c]
mov byte [ebp - 4], 4
test ebx, ebx
je 0x4b38b7
mov ecx, dword [esi + 8]
mov eax, 0x92492493
sub ecx, dword [esi]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x34]
imul ecx
sar edi, 2
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x4b3855
cmp edi, 0x9249249
ja 0x4b3916
push edi
mov ecx, esi
call fcn.004b5230
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x38]
mov ebx, dword [ebx + 0x34]
mov dword [ebp + 8], eax
cmp ebx, eax
je 0x4b38b4
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x4b389b
mov eax, dword [ebx]
lea ecx, [edi + 4]
mov dword [edi], eax
call fcn.004b3a50
lea ecx, [edi + 8]
call fcn.004b3a50
fldz
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
fstp dword [edi + 0x14]
mov byte [edi + 0x18], 0
add dword [esi + 4], 0x1c
jmp 0x4b38a4
push ebx
push edi
mov ecx, esi
call fcn.004b2a80
mov eax, dword [ebx]
add ebx, 4
mov al, byte [eax + 0x1d]
and byte [esi + 0x10], al
cmp ebx, dword [ebp + 8]
jne 0x4b3862
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
jmp 0x4b38be
xor esi, esi
lea eax, [ebp + 8]
cmp edi, eax
je 0x4b38e2
mov edi, dword [edi]
mov dword [ebx + 4], esi
test edi, edi
je 0x4b3900
lea ecx, [edi + 0xc]
call fcn.004b3ca0
mov ecx, edi
call fcn.004b3da0
push 0x14
push edi
jmp 0x4b38f8
test esi, esi
je 0x4b3900
lea ecx, [esi + 0xc]
call fcn.004b3ca0
mov ecx, esi
call fcn.004b3da0
push 0x14
push esi
call fcn.004ed797
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00405010
int3
Function at 0x4c2cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x4c2cdb
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x4c2cf7
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x4c2ce6
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x4c2d30
cmp ecx, eax
jne 0x4c2d28
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x4c2d38
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x4c2d38
cmp ecx, eax
jne 0x4c2d38
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
lea ecx, [ebx + 4]
mov edi, dword [eax]
push eax
mov dword [edx], edi
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.004c7af0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d4e10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x810], eax
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x4d500f
push ebx
push esi
call fcn.004d5480
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
cmp dword [ebx], eax
jg 0x4d4e70
cmp dword [ebx + 8], esi
jl 0x4d4e70
cmp dword [ebx + 4], edx
jg 0x4d4e70
cmp dword [ebx + 0xc], ecx
jl 0x4d4e70
mov al, 1
jmp 0x4d4e72
xor al, al
mov ebx, dword [edi + 4]
mov esi, dword [edi]
sub ebx, esi
sar ebx, 3
test al, al
je 0x4d4ea4
push dword [ebp - 0x810]
push esi
push ebx
call dword [ebp - 0x814]
add esp, 0xc
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x7fc]
call fcn.004d3810
test ebx, ebx
je 0x4d500d
jmp 0x4d4ec0
mov ecx, dword [ebp + 8]
lea ebx, [esi + ebx*8]
mov dword [ebp - 0x800], 0xff
lea edx, [ebp - 0x7fa]
mov dword [ebp - 0x808], ebx
mov eax, dword [ecx]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x80c], eax
dec edi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x81c], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x800]
dec eax
mov dword [ebp - 0x804], edi
mov dword [ebp - 0x818], eax
cmp esi, ebx
jae 0x4d4fe0
movsx eax, word [esi + 2]
cmp eax, dword [ebp - 0x818]
jg 0x4d4fde
cmp eax, dword [ebp - 0x81c]
jl 0x4d4fd1
movzx ebx, word [esi]
movsx ecx, bx
cmp ecx, edi
jg 0x4d4fc5
movzx edi, word [esi + 4]
lea eax, [edi + ecx]
cmp eax, dword [ebp - 0x80c]
jle 0x4d4fbf
cmp ecx, dword [ebp - 0x80c]
jge 0x4d4f75
mov eax, dword [ebp - 0x804]
mov ebx, dword [ebp - 0x80c]
sub eax, ebx
sub edi, ebx
inc eax
add ecx, edi
cmp eax, ecx
jl 0x4d4f69
mov eax, ecx
mov edi, dword [ebp - 0x804]
mov word [edx - 2], bx
jmp 0x4d4f95
mov edi, dword [ebp - 0x804]
mov ax, di
mov word [edx - 2], bx
sub ax, word [esi]
movzx ecx, word [esi + 4]
inc ax
cmp ax, cx
movzx eax, ax
jb 0x4d4f95
mov eax, ecx
movzx eax, ax
mov word [edx + 2], ax
mov ebx, dword [ebp - 0x808]
test ax, ax
je 0x4d4fcb
mov ax, word [esi + 2]
mov word [edx], ax
mov al, byte [esi + 6]
mov byte [edx + 4], al
add edx, 8
dec dword [ebp - 0x800]
jmp 0x4d4fcb
mov edi, dword [ebp - 0x804]
mov ebx, dword [ebp - 0x808]
mov ecx, dword [ebp - 0x800]
add esi, 8
test ecx, ecx
jne 0x4d4f07
jmp 0x4d4fe0
mov esi, ebx
sub ebx, esi
mov eax, 0xff
sar ebx, 3
sub eax, ecx
je 0x4d5005
push dword [ebp - 0x810]
lea ecx, [ebp - 0x7fc]
push ecx
push eax
call dword [ebp - 0x814]
add esp, 0xc
test ebx, ebx
jne 0x4d4ec0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004eda39
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d5ca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540d5b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58d984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov byte [edi], 3
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x6c], 3
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov word [edi + 0xbc], 1
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.004ec270
push edi
lea ecx, [edi + 0x18]
call fcn.004ebf80
mov ecx, edi
call fcn.004eab20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4e2d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 4
jb 0x4e2df7
push edi
mov edi, esi
shr edi, 2
lea ebx, [ebx]
movzx ecx, byte [edx]
sub esi, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560930]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560930]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560930]
movzx ecx, byte [edx + 3]
add edx, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560930]
sub edi, 1
jne 0x4e2da0
pop edi
test esi, esi
je 0x4e2e1a
jmp 0x4e2e00
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x560930]
sub esi, 1
jne 0x4e2e00
not eax
pop esi
pop ebp
ret
Function at 0x4ea5f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4
Function at 0x4ef170
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2ec], ebx
push edi
test ebx, ebx
je 0x4ef374
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4ef374
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0050ce60
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x2e4]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4ef349
xor edi, edi
mov dword [ebp - 0x2d8], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x1d0]
push eax
push edi
push dword [ebp - 0x2e4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4ef338
lea eax, [ebp - 0x2e8]
push eax
push 1
push 0
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x2e4]
call esi
test eax, eax
jne 0x4ef302
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2e0], 1
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2dc], 0x104
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
push 0x54cbf4
push dword [ebp - 0x2e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ef2fa
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0050ce60
push 0x64
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.004ef390
add esp, 0x18
test eax, eax
je 0x4ef2fa
cmp byte [ebp - 0x68], 0
je 0x4ef2bc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x4ef2fa
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x4ef2e9
mov al, byte [esi + ecx]
test al, al
je 0x4ef2e9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4ef2d0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x2e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x104
push eax
lea eax, [ebp - 0x1d0]
inc edi
push eax
push edi
push dword [ebp - 0x2e4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4ef210
push dword [ebp - 0x2e4]
call ebx
mov ebx, dword [ebp - 0x2ec]
mov edi, dword [ebp + 0xc]
cmp byte [ebp - 0x68], 0
pop esi
je 0x4ef374
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
call fcn.00418400
xor ecx, ecx
test eax, eax
pop edi
setns cl
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004eda39
mov esp, ebp
pop ebp
ret
Function at 0x4ef610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x59b380]
mov byte [ebp - 0x20d], 0x40
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x4ef6fd
push 0x208
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.0050ce60
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0xf5
ja 0x4ef6de
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4ef676
mov eax, dword [0x546974]
mov dword [edi], eax
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ef692
mov ecx, 6
lea eax, [ebp - 0x20c]
mov esi, str.Netapi32.dll
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
test eax, eax
je 0x4ef6de
push str.Netbios
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x59b380]
test eax, eax
cmovne ecx, eax
mov dword [0x59b380], ecx
jmp 0x4ef6e4
mov ecx, dword [0x59b380]
test ecx, ecx
jne 0x4ef6fd
mov al, byte [ebp - 0x20d]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret
push ebx
call ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004eda39
mov esp, ebp
pop ebp
ret

Function at 0x4efe10
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c10
call fcn.004eda50
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c10], eax
test eax, eax
je 0x4eff72
cmp dword [ebp + 0xc], 0
je 0x4eff72
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push 0x54cb68
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00418470
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4eff55
push 0x2710
lea eax, [ebp - 0x2bfc]
mov dword [ebp - 0x2c00], 0
push 0
push eax
mov dword [ebp - 0x2c04], 0
mov dword [ebp - 0x2c0c], 0
mov dword [ebp - 0x2c08], 0
call fcn.0050ce60
add esp, 0xc
lea eax, [ebp - 0x2c00]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2bfc]
push eax
push 0xc
lea eax, [ebp - 0x2c0c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4eff4a
push 0x3e8
lea eax, [ebp - 0x4ec]
push 0
push eax
call fcn.0050ce60
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x2be4]
lea eax, [ebp - 0x2bfc]
push eax
call fcn.004f0ec0
add esp, 0x1c
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c10]
call fcn.00418400
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4eff5f
inc esi
cmp esi, 0x10
jl 0x4efe50
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret
Function at 0x4eff90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.0050ce60
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004ef4b0
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4efffa
mov al, byte [edi + ecx]
test al, al
je 0x4efffa
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4effe1
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x4f001b
inc eax
sub ecx, 1
jne 0x4f0010
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x4f0070
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x4f0065
lea edi, [ebp - 0x84]
mov eax, Ordinal_1
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x4f0064
mov bl, byte [edi + ecx]
test bl, bl
je 0x4f0064
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x4f0050
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.0050ce60
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x5619dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4f012a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4f00f4
test cl, cl
je 0x4f00f0
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4f00f4
add eax, 2
add esi, 2
test cl, cl
jne 0x4f00d4
xor eax, eax
jmp 0x4f00f9
sbb eax, eax
or eax, 1
test eax, eax
je 0x4f012a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f0106
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f0133
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x5619dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004eda39
mov esp, ebp
pop ebp
ret
Function at 0x4f30c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541043
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x58d9f8]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f2fb0
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x4f32a1
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050ce60
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x561b70
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4f32a1
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x4f3195
cmp eax, 2
jne 0x4f32a1
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x4f31b6
test cl, 1
jne 0x4f32a1
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x4f31bc
jmp 0x4f32a1
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x4f32a1
call fcn.004048c0
mov ecx, eax
test ecx, ecx
je 0x4f32cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.004f1530
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x561b78
push eax
call fcn.004f38e0
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.004f1ab0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x4f3285
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4f3226
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.004f32e0
push dword [0x58da00]
lea eax, [ebp - 0x74]
push dword [0x58d9fc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4f3262
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f327e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x4f32a3
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f32a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x4f32ae
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404520
int3
Function at 0x4f33c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4f33d5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4f33e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f33e0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4f3410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541078
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58d984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x202
push dword [0x58d9f8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f2fb0
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x4f34f8
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x4f34ae
mov ecx, dword [edi]
test ecx, ecx
je 0x4f3519
push ecx
push eax
call fcn.00510501
add esp, 8
test eax, eax
je 0x4f34ae
push 1
push dword [ebx]
lea ecx, [ebp - 0x18]
push str.m2_old
call fcn.004f33c0
mov edx, dword [edi]
test edx, edx
jne 0x4f34c2
mov eax, 0xd
xor ebx, ebx
test eax, eax
sete bl
jmp 0x4f34fa
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f34c7
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x561b70
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
jmp 0x4f34fa
xor ebx, ebx
test esi, esi
je 0x4f3505
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404520
int3