joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fe91b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
push 0x20
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x484a93
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push ecx
push eax
call fcn.00484d60
mov esi, eax
jmp 0x484a95
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
mov dword [esi], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [esp + 0x30]
push esi
mov edi, ebx
mov word [esi + 8], ax
mov dword [esi + 0xc], ecx
call fcn.00484d30
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x486bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f6a18
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x486c92
mov ecx, dword [0x741af8]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebp + 8]
push edi
lea ecx, [esp + 0x24]
push ecx
push edi
push edx
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00475440
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x1c]
lea edi, [esi + 0x14]
push ecx
call fcn.00475790
or ebx, 0xffffffff
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x1c]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x486c92
cmp dword [esp + 0x18], 1
je 0x486ca9
mov ecx, dword [0x741af8]
push ecx
push 0x65d
lea edx, [esp + 0x24]
push edx
call fcn.00475440
mov dword [esp + 0x58], 1
lea eax, [esp + 0x1c]
push eax
call fcn.00475790
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x1c]
call fcn.00475600
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov ecx, ebx
call fcn.00473130
mov ecx, dword [0x741af8]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x18]
push edx
shr eax, 1
mov ecx, ebx
call fcn.004729d0
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00475440
mov dword [esp + 0x58], 2
lea ecx, [esp + 0x1c]
push ecx
call fcn.00475790
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x486c92
mov edi, dword [esp + 0x14]
shr edi, 1
xor esi, esi
test edi, edi
jle 0x486d46
nop
or eax, 0xffffffff
mov ecx, ebx
call fcn.004729d0
cmp word [eax + esi*2], 0
je 0x486d46
inc esi
cmp esi, edi
jl 0x486d30
mov eax, esi
mov ecx, ebx
call fcn.00473130
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x486e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f69d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x72d630]
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 esi, ecx
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x486f38
mov ecx, dword [0x741af8]
mov ebx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push edi
lea ecx, [ebp - 0x1c]
push ecx
push edi
push ebx
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea edx, [ebp - 0x54]
push edx
call fcn.00475440
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
lea edi, [esi + 0x14]
push eax
call fcn.00475790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x486f38
cmp dword [ebp - 0x1c], 7
je 0x486f3f
mov ecx, dword [0x741af8]
push ecx
push 0x65d
lea edx, [ebp - 0x54]
push edx
call fcn.00475440
mov dword [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
call fcn.00475790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00475600
xor al, al
jmp 0x487017
mov eax, dword [ebp - 0x14]
call fcn.005e0dc0
mov ecx, dword [0x741af8]
mov eax, esp
push ecx
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea edx, [ebp - 0x54]
push edx
call fcn.00475440
mov dword [ebp - 4], 2
lea eax, [ebp - 0x54]
push eax
call fcn.00475790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x486f38
mov esi, dword [ebp + 0xc]
call fcn.004772e0
mov edi, dword [ebp - 0x14]
xor ebx, ebx
test edi, edi
jbe 0x487015
mov ecx, dword [ebp - 0x20]
lea eax, [ebx + ecx]
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x486fc0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x486fc0
sub ecx, esi
sar ecx, 1
inc ecx
lea edx, [ecx + ecx]
mov dword [ebp - 0x24], edx
cmp ecx, 1
jne 0x486fe1
add edx, ebx
cmp edx, edi
jae 0x487015
push 0
or edi, 0xffffffff
lea esi, [ebp - 0x18]
call fcn.004728e0
mov dword [ebp - 4], 3
mov edx, esi
mov esi, dword [ebp + 0xc]
push edx
call fcn.0041d870
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x18]
call fcn.004740c0
add ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
cmp ebx, edi
jb 0x486fb0
mov al, 1
lea esp, [ebp - 0x64]
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.005e038a
mov esp, ebp
pop ebp
ret 8
Function at 0x4870c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ed038
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x48710a
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x741af8]
push ecx
mov ecx, dword [ebp + 8]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00475440
mov dword [esp + 0x48], 0
lea eax, [esp + 0xc]
lea edi, [esi + 0x14]
push eax
call fcn.00475790
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x487180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ed038
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x4871c9
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x741af8]
mov edi, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax + 2]
mov eax, dword [esi + 4]
push ecx
push edi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00475440
mov dword [esp + 0x48], 0
lea edx, [esp + 0xc]
lea edi, [esi + 0x14]
push edx
call fcn.00475790
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00475600
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x487250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ed038
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x48729a
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x741af8]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00475440
mov dword [esp + 0x48], 0
lea ecx, [esp + 0xc]
lea edi, [esi + 0x14]
push ecx
call fcn.00475790
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x487310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efb88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x72d630]
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 dword [ebp - 0x18], ecx
cmp dword [ecx + 4], 0
jne 0x48734b
xor al, al
jmp 0x487442
mov esi, dword [ebp + 0xc]
mov eax, esi
mov ebx, 1
xor edi, edi
call fcn.0044d900
test eax, eax
jle 0x48737e
mov eax, edi
mov ecx, esi
call fcn.0040aa80
call fcn.00473120
lea ebx, [ebx + eax + 1]
mov eax, esi
inc edi
call fcn.0044d900
cmp edi, eax
jl 0x487360
lea eax, [ebx + ebx]
mov dword [ebp - 0x1c], eax
call fcn.005e0dc0
mov ebx, esp
mov eax, esi
mov dword [ebp - 0x14], ebx
xor edi, edi
call fcn.0044d900
test eax, eax
jle 0x4873df
jmp 0x4873a0
mov eax, edi
mov ecx, esi
call fcn.0040aa80
call fcn.004221b0
mov edx, ebx
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x4873b0
mov eax, edi
mov ecx, esi
call fcn.0040aa80
call fcn.00473120
lea ebx, [ebx + eax*2 + 2]
mov eax, esi
inc edi
call fcn.0044d900
cmp edi, eax
jl 0x4873a0
mov ecx, dword [0x741af8]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
xor eax, eax
mov word [ebx], ax
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 4]
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00475440
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
lea edi, [esi + 0x14]
push ecx
call fcn.00475790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x5c]
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.005e038a
mov esp, ebp
pop ebp
ret 8
Function at 0x4874b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ed038
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x741af8]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00475440
mov dword [esp + 0x48], 0
lea ecx, [esp + 0xc]
lea edi, [esi + 0x14]
push ecx
call fcn.00475790
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00475600
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x487550
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f6986
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0xbc]
mov eax, dword [edi + 4]
push 0
push 0
push ebp
push eax
lea ecx, [esp + 0x3c]
push ecx
mov bl, 1
call fcn.00486720
mov dword [esp + 0xb4], 0
lea ecx, [esp + 0x2c]
call fcn.004a5f00
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test eax, eax
je 0x4875e2
push esi
add edi, 0x14
call fcn.00475790
mov dword [esp + 0xb4], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00486a20
xor al, al
jmp 0x4876ec
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00487bb0
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x18]
call fcn.00472830
mov byte [esp + 0xb4], 2
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x20]
call eax
test al, al
je 0x487657
test bl, bl
je 0x48763f
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
lea ecx, [esp + 0x30]
call fcn.00487550
test al, al
je 0x48763f
mov bl, 1
jmp 0x487641
xor bl, bl
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call eax
test al, al
jne 0x487620
mov ecx, dword [0x741af8]
mov edx, dword [edi + 4]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00475440
mov byte [esp + 0xb4], 3
lea ecx, [esp + 0x78]
add edi, 0x14
push ecx
call fcn.00475790
mov byte [esp + 0xb4], 2
lea ecx, [esp + 0x78]
call fcn.00475600
test bl, bl
je 0x4876b2
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x4876b2
mov bl, 1
jmp 0x4876b4
xor bl, bl
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x18]
call fcn.004740c0
mov byte [esp + 0xb4], 0
lea ecx, [esp + 0x1c]
call fcn.0049ce40
mov dword [esp + 0xb4], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00486a20
mov al, bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4
Function at 0x487ad0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x487b9b
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push edi
mov eax, 0x20
cmp byte [esi + 8], 0
mov dword [esp + 0x10], eax
je 0x487b39
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.004729d0
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
push ebp
lea eax, [esp + 0x28]
call fcn.00487df0
test al, al
jne 0x487b68
mov dword [ebp], 0xffffffff
jmp 0x487b68
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004729d0
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
mov dword [ebp], 4
or eax, 0xffffffff
mov ecx, ebx
call fcn.00473130
cmp edi, 0xea
jne 0x487b85
mov eax, dword [esp + 0x10]
add eax, eax
jmp 0x487af0
test edi, edi
pop edi
pop ebp
pop ebx
jne 0x487b9b
mov eax, 1
add dword [esi + 0xc], eax
pop esi
add esp, 0xc
ret 8
xor al, al
pop esi
add esp, 0xc
ret 8

Function at 0x487c60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x487d38
cmp dword [esi + 0xc], 0
mov eax, 0x20
mov dword [esp + 4], eax
jl 0x487d38
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push edi
mov edi, edi
cmp byte [esi + 8], 0
je 0x487cd5
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.004729d0
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
push ebp
lea eax, [esp + 0x28]
call fcn.00487df0
test al, al
jne 0x487d04
mov dword [ebp], 0xffffffff
jmp 0x487d04
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004729d0
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
mov dword [ebp], 4
or eax, 0xffffffff
mov ecx, ebx
call fcn.00473130
cmp edi, 0xea
jne 0x487d25
mov eax, dword [esp + 0x10]
add eax, eax
mov dword [esp + 0x10], eax
jmp 0x487c90
test edi, edi
pop edi
pop ebp
pop ebx
jne 0x487d38
dec dword [esi + 0xc]
mov al, 1
pop esi
add esp, 0xc
ret 8
xor al, al
pop esi
add esp, 0xc
ret 8

Function at 0x488050
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x208], eax
lea eax, [esp]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x48809c
lea ecx, [esp]
push ecx
mov eax, esi
call fcn.00472a30
mov al, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005e038a
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor al, al
call fcn.005e038a
add esp, 0x20c
ret
Function at 0x488670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5efb63
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 4]
xor ebx, ebx
push eax
mov dword [esi], vtable.VUnknown_class_IPacket_.0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x14], ebx
lea eax, [esi + 8]
mov dword [esi], vtable.VPacket.0
call fcn.0049a9f0
mov al, 1
mov byte [esp + 0x14], al
mov byte [esi + 0x1c], al
mov eax, 0xffffffff
mov byte [esi + 0x1d], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x4887f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fe91b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
push 0x20
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x48883a
push eax
call fcn.004888a0
mov esi, eax
jmp 0x48883c
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
lea ebx, [edi + 8]
mov eax, ebx
call fcn.0044d900
test eax, eax
je 0x48885d
xor eax, eax
mov ecx, ebx
call fcn.0048b290
mov eax, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x1c], ecx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x48d920
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x5f6ef9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.00472830
mov dword [esp + 0x1c], edi
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 3
mov dword [esp + 0x1c], 1
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x48d9a6
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004729d0
push eax
push 3
call edi
or eax, 0xffffffff
mov ecx, esi
call fcn.00473130
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x48d9c0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x5f6869
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push eax
push ebp
mov dword [esp + 0x1c], ebp
call ebx
push 1
xor edi, edi
xor eax, eax
call fcn.004728e0
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.004729d0
push eax
call ebx
or eax, 0xffffffff
mov ecx, esi
call fcn.00473130
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x48df60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x23c
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
mov esi, ecx
push ebp
push esi
mov edi, edx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x48df97
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38]
mov eax, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0x6c7798
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x48df20
call fcn.004221b0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
cmp ebx, ebp
je 0x48e025
lea ecx, [esp + 0x38]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x48e00a
lea edx, [esp + 0x38]
push edx
mov eax, edi
call fcn.00472a30
mov esi, 1
jmp 0x48e027
push 0x30
push ebp
push 0x6cdce0
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00473180
mov esi, 1
jmp 0x48e027
xor esi, esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x48e070
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x48e053
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], ebp
cmp ebx, ebp
je 0x48e064
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push ebx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x244]
cmp esi, ebp
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.005e038a
add esp, 0x23c
ret