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

Disassembly:
push 0xffffffffffffffff
push 0x59ad89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push str.DIRECTORY
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
call fcn.00575c43
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esi + 0x5c]
mov dword [esp + 0x38], ebx
call fcn.00451930
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00575bd5
mov esi, dword [esi + 0x60]
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
jne 0x44fa77
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x44fbb4
push ebp
push edi
add eax, 0x10
lea ecx, [esp + 0x14]
push eax
call fcn.0057594a
push 0
push 0x600254
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.0056a9af
cmp eax, 0xffffffff
push 0x18
setne dl
mov byte [esp + 0x20], dl
call fcn.00570bbc
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
je 0x44fb36
mov eax, dword [esp + 0x18]
mov ecx, dword [0x6131b0]
or ebx, 1
mov dword [esp + 0x20], ecx
lea esi, [eax + 0xc]
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push esi
push eax
mov byte [esp + 0x44], 3
call fcn.00466690
or ebx, 2
add esp, 0xc
mov ebp, eax
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x40], 4
call fcn.0053e4d4
add esp, 4
mov ecx, edi
push edx
push eax
push esi
push ebp
call fcn.00465900
jmp 0x44fb38
xor eax, eax
mov ecx, dword [esp + 0x40]
push eax
mov dword [esp + 0x3c], 6
call fcn.00466260
test bl, 2
mov dword [esp + 0x38], 5
je 0x44fb67
and ebx, 0xfffffffd
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.00575bd5
test bl, 1
mov dword [esp + 0x38], 1
je 0x44fb84
and ebx, 0xfffffffe
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call fcn.00575bd5
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00575bd5
lea ecx, [esp + 0x18]
call fcn.00447770
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
jne 0x44fa93
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x454630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b17b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0xc], ebx
call fcn.004547a0
mov esi, dword [esp + 0x34]
mov al, byte [esi + 0x18]
lea ecx, [esi + 0x14]
push ecx
lea ecx, [ebx + 0x14]
mov byte [ebx + 0x18], al
call fcn.00575d0e
lea edx, [esi + 0x20]
lea eax, [ebx + 0x20]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov esi, dword [esi + 0xc]
mov edi, dword [esi]
cmp edi, esi
je 0x454788
push ebp
push 0x20
call fcn.00570bbc
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x30], 0
je 0x454703
mov eax, dword [edi + 8]
lea ecx, [eax + 8]
mov eax, dword [eax]
mov ebp, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, eax
call dword [edx + 0xc]
mov dword [esi], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 8]
mov edx, dword [esp + 0x24]
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x454705
xor esi, esi
mov eax, dword [edi + 8]
push 0xc
mov dword [esp + 0x34], 0xffffffff
mov cl, byte [eax + 0x18]
mov byte [esi + 0x18], cl
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x18], ecx
call fcn.00570bbc
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x45473b
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x454747
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [ebp + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
add eax, 8
test eax, eax
je 0x45475b
mov dword [eax], esi
mov edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x38]
inc edx
mov dword [ebx + 0x10], edx
mov edi, dword [edi]
cmp edi, dword [eax + 0xc]
jne 0x45469c
pop ebp
pop edi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x24]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4557e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59b26b
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
cmp ebp, 0x1e
mov edi, ecx
jne 0x45580b
mov ebp, 1
mov al, byte [edi + 0x18]
test al, al
jne 0x4558c4
push 0x20
call fcn.00570bbc
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov dword [esp + 0x28], 0
je 0x45588a
push ebx
mov ebx, dword [esp + 0x38]
push ebx
push ebp
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004551f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], eax
lea eax, [esi + 8]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x18], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
pop ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x45588c
xor esi, esi
mov eax, dword [edi + 0xc]
lea ecx, [edi + 8]
lea edx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
push edx
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], esi
push eax
call fcn.00456c90
pop edi
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov edi, dword [edi + 0xc]
mov eax, dword [edi]
cmp eax, edi
je 0x4558eb
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
cmp dword [edx + 4], ebp
jne 0x4558e5
mov dl, byte [ecx + 0x18]
test dl, dl
je 0x4558e5
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x455901
mov eax, dword [eax]
cmp eax, edi
jne 0x4558cd
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x456740
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x59b448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00443eb0
mov eax, dword [eax + 0x24]
push str.PaperStocks
mov ecx, eax
call fcn.0045b500
mov edi, eax
mov eax, dword [0x6131b0]
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x1c], vtable.CSerializable.0
mov dword [esp + 0x268], ebx
mov cl, byte [esp + 0x1b]
push ebx
mov byte [esp + 0x28], cl
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x270], 1
mov byte [esp + 0x28], bl
call fcn.00406190
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0x26c], 2
call fcn.0057594a
mov eax, dword [esp + 0x10]
mov byte [esp + 0x34], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], vtable.CPaperStock.0
mov ecx, dword [eax - 8]
cmp ecx, ebx
mov byte [esp + 0x268], 3
jne 0x456813
push str.Normal_Paper
lea ecx, [esp + 0x34]
call fcn.00575d5e
lea ecx, [esp + 0x1c]
call fcn.00454810
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], 5
call fcn.00575bd5
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ebx
lea edx, [esp + 0x64]
push ecx
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push edi
mov esi, 1
call ebx
test eax, eax
jne 0x45689f
call fcn.00443eb0
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
push edx
push str.PaperStocks
mov ecx, eax
call fcn.0045b090
lea eax, [esp + 0x1c]
push 0
push eax
mov ecx, ebp
call fcn.00456010
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x64]
mov eax, esi
push ecx
push edx
push eax
push edi
mov dword [esp + 0x34], 0x208
inc esi
call ebx
test eax, eax
je 0x45684e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], vtable.CPaperStock.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x268], 8
call fcn.004547a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 7
call fcn.00575bd5
mov eax, dword [esp + 0x28]
mov byte [esp + 0x268], 6
mov edi, eax
mov esi, dword [eax]
cmp esi, eax
je 0x456902
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.00406540
cmp esi, edi
jne 0x4568e7
mov eax, dword [esp + 0x28]
push eax
call fcn.00570be5
mov ecx, dword [esp + 0x264]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret
Function at 0x456930
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x214
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call fcn.00443eb0
mov eax, dword [eax + 0x24]
push str.PaperStocks
mov ecx, eax
call fcn.0045b500
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 0
mov esi, eax
push 0
push 0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x2c], 0x208
call edi
test eax, eax
jne 0x4569b3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [esp + 0x14]
push edx
push esi
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x2c], 0x208
call edi
test eax, eax
je 0x456984
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x4569f2
mov eax, dword [esi + 8]
mov cl, byte [eax + 4]
test cl, cl
jne 0x4569e9
mov edi, dword [eax + 0x14]
call fcn.00443eb0
mov edx, dword [esi + 8]
mov eax, dword [eax + 0x24]
push edx
push edi
push str.PaperStocks
mov ecx, eax
call fcn.0045b2c0
mov esi, dword [esi]
mov eax, dword [ebx + 8]
cmp esi, eax
jne 0x4569c3
pop edi
pop esi
pop ebx
add esp, 0x214
ret

Function at 0x45b250
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push eax
call fcn.0045b500
mov esi, eax
test esi, esi
jne 0x45b269
xor al, al
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x10]
push ebx
push edx
push 0
push eax
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x45b2a4
cmp dword [esp + 0xc], 4
je 0x45b2aa
mov dword [ebx], 0
xor eax, eax
test edi, edi
pop edi
pop ebx
sete al
pop esi
pop ecx
ret 0xc

Function at 0x45b450
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
call fcn.0045b500
mov esi, eax
test esi, esi
jne 0x45b467
xor al, al
pop esi
ret 0xc
mov edx, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
ret 0xc
Function at 0x45b5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
push 0x61810c
lea ecx, [esp + 0x14]
call fcn.00575c43
xor ebx, ebx
push 0x61810c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebx
call fcn.00575c43
lea eax, [esp + 0x14]
mov byte [esp + 0x38], 1
push eax
push 0x2001f
push ebx
push str.Software
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45b6b8
push 0x4e6e
lea ecx, [esp + 0x14]
call fcn.00576ee0
cmp dword [0x6186e0], 1
je 0x45b655
push 0x4e6f
jmp 0x45b65a
push 0x4e70
lea ecx, [esp + 0x10]
call fcn.00576ee0
lea ecx, [esp + 0x10]
push str.HKEY_CURRENT_USERSoftware_n
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00575e6a
lea ecx, [esp + 0xc]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x44], 2
call fcn.00575e04
add esi, 8
push eax
mov ecx, esi
mov byte [esp + 0x3c], 3
call fcn.00575d0e
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.00575bd5
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x18]
jmp 0x45b7b9
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x20]
mov eax, dword [edi]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
pop ebp
je 0x45b7fc
push 0x4e6e
lea ecx, [esp + 0x14]
call fcn.00576ee0
cmp dword [0x6186e0], 1
je 0x45b719
push 0x4e6f
jmp 0x45b71e
push 0x4e70
lea ecx, [esp + 0x10]
call fcn.00576ee0
lea edx, [esp + 0x10]
push str._HKEY_CURRENT_USERSoftware_
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00575e6a
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x44], 4
call fcn.00575e04
push 0x5fdb10
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x44], 5
call fcn.00575e6a
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x44], 6
call fcn.00575e04
add esi, 8
push eax
mov ecx, esi
mov byte [esp + 0x3c], 7
call fcn.00575d0e
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.00575bd5
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.00575bd5
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 4
call fcn.00575bd5
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x2c]
call fcn.00575bd5
mov esi, dword [esi]
push ebx
push ebx
push esi
call fcn.0057e45c
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.00575bd5
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00575bd5
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push edi
mov ecx, esi
call fcn.00575d0e
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.00575bd5
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00575bd5
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x45be30
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x10]
cmp eax, 1
mov eax, dword [esp + 8]
jne 0x45be7c
test eax, eax
je 0x45be88
cmp eax, 0xa
je 0x45be70
cmp eax, 0x5a
jne 0x45be7c
mov eax, 2
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
mov ecx, dword [esp + 4]
sub ecx, 4
je 0x45bea0
dec ecx
je 0x45be91
xor eax, eax
add esp, 0x94
ret
dec eax
neg eax
sbb eax, eax
add eax, 5
add esp, 0x94
ret
mov eax, 3
add esp, 0x94
ret
Function at 0x461c50
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x59c77f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x6131b0]
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 4], eax
lea ecx, [esp + 8]
mov dword [esp + 0x20], 1
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x461cfb
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.Personal
push ecx
call esi
test eax, eax
jne 0x461cf0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0xc]
call fcn.00576005
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.Personal
push edx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.00576054
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x461d14
push 0x600ba0
lea ecx, [esp + 8]
call fcn.00575d5e
mov esi, dword [esp + 0x28]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.0057594a
mov dword [esp + 0x14], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.00575bd5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x465150
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
lea ecx, [esp]
push esi
push eax
push ecx
call fcn.00464f80
mov edx, dword [esp + 0x10]
add esp, 8
xor esi, esi
mov ecx, 0x5af328
test edx, edx
je 0x465177
mov ecx, edx
mov al, byte [ecx]
test al, al
je 0x465191
push edi
movsx eax, al
lea edi, [esi + esi]
xor edi, eax
mov al, byte [ecx + 1]
add esi, edi
inc ecx
test al, al
jne 0x46517e
pop edi
test edx, edx
je 0x4651b6
mov al, byte [edx - 1]
test al, al
je 0x4651ac
cmp al, 0xff
je 0x4651ac
dec al
mov byte [edx - 1], al
mov eax, esi
pop esi
add esp, 0x10
ret
dec edx
push edx
call fcn.00570be5
add esp, 4
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x470a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d5a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.CSerializable.0
push 1
lea ecx, [esi + 8]
mov dword [esp + 0x30], ebx
mov dword [esi + 4], ebx
call fcn.00477f50
lea edi, [esi + 0x94]
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], edi
mov dword [edi + 0x10], 0x5b53e8
mov dword [edi + 0x18], vtable.CSerializable.0
mov al, byte [esp + 0x13]
lea ebp, [edi + 4]
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x34], 2
mov dword [esp + 0x28], ebp
mov byte [ebp], al
call fcn.00474310
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov edx, dword [ecx + 4]
mov dword [edx + ebp + 0xc], vtable.CElementContainer_class_CCoverElement_.0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
mov dword [eax + ebp + 8], ecx
mov edx, dword [edi + 0x10]
mov dword [edi], vtable.CCoverElementContainer.1.0
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x10], vtable.CCoverElementContainer.0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
mov dword [eax + edi + 0xc], edx
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea edi, [esi + 0xb4]
push 1
push ebx
mov dword [esp + 0x34], 4
mov byte [edi + 1], cl
mov ecx, edi
mov byte [edi], al
mov byte [edi + 8], bl
call fcn.004760d0
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.00557be6
cmp dword [0x618718], ebx
jne 0x470b0c
mov eax, ebp
xor ebp, ebp
mov dword [0x618718], eax
mov dword [eax], ebx
mov edx, dword [0x618718]
mov dword [edx + 8], ebx
mov ecx, dword [0x618714]
inc ecx
mov dword [0x618714], ecx
lea ecx, [esp + 0x14]
call fcn.00557c82
cmp ebp, ebx
je 0x470b2f
push ebp
call fcn.00570be5
add esp, 4
mov eax, dword [0x618718]
push ebx
push eax
mov ecx, edi
call fcn.004760d0
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
lea edi, [esi + 0xc4]
mov dword [esp + 0x14], 5
mov dword [esp + 0x20], edi
mov dword [edi + 0xc], 0x5b39b0
mov dword [edi + 0x14], vtable.CSerializable.0
lea ecx, [esp + 0x13]
mov byte [esp + 0x2c], 6
push ecx
mov ecx, edi
call fcn.00474340
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
mov dword [eax + edi + 0xc], vtable.CElementContainer_class_CAuxLine_.0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
mov dword [eax + edi + 8], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0xc], vtable.CAuxLineContainer.0
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax - 8]
mov dword [eax + edi + 8], ecx
lea ecx, [esi + 0xe0]
mov dword [esp + 0x2c], 8
call fcn.004544f0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x118], ebx
mov dword [esi], vtable.CSubDoc.0
mov dword [esi + 0xdc], ebx
mov byte [esi + 0x11c], 1
mov dword [esi + 0xb0], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x470e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d66d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esi], vtable.CSerializable.0
mov eax, dword [esp + 0x30]
push 1
lea ecx, [esi + 8]
mov dword [esp + 0x2c], ebx
mov dword [esi + 4], eax
call fcn.00477f50
lea edi, [esi + 0x94]
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], edi
mov dword [edi + 0x10], 0x5b53e8
mov dword [edi + 0x18], vtable.CSerializable.0
lea ecx, [esp + 0x30]
lea ebp, [edi + 4]
push ecx
mov ecx, ebp
mov byte [esp + 0x2c], 2
mov dword [esp + 0x20], ebp
call fcn.00473e20
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov dword [eax + ebp + 0xc], vtable.CElementContainer_class_CCoverElement_.0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
mov dword [eax + ebp + 8], edx
mov eax, dword [edi + 0x10]
mov dword [edi], vtable.CCoverElementContainer.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x10], vtable.CCoverElementContainer.0
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea ecx, [eax - 8]
mov dword [eax + edi + 0xc], ecx
mov dl, byte [esp + 0x34]
mov al, byte [esp + 0x34]
lea ecx, [esi + 0xb4]
mov dword [esp + 0x28], 4
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.004750e0
lea edi, [esi + 0xc4]
mov ebp, 5
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebp
mov dword [edi + 0xc], 0x5b39b0
mov dword [edi + 0x14], vtable.CSerializable.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
push ecx
mov ecx, edi
call fcn.00474340
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
mov dword [eax + edi + 0xc], vtable.CElementContainer_class_CAuxLine_.0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
mov dword [eax + edi + 8], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0xc], vtable.CAuxLineContainer.0
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax - 8]
mov dword [eax + edi + 8], ecx
mov dword [esp + 0x28], ebp
lea edi, [esi + 0xe0]
mov dword [esp + 0x30], edi
mov dword [edi], vtable.CSerializable.0
mov edx, dword [esp + 0x34]
mov cl, byte [esp + 0x34]
lea ebp, [edi + 8]
push ebx
mov al, byte [edx + 4]
push ebx
mov byte [edi + 4], al
mov byte [ebp], cl
mov ecx, ebp
mov byte [esp + 0x30], 9
call fcn.00406190
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov edx, dword [0x6131b0]
mov dword [edi + 0x14], edx
mov eax, dword [esp + 0x34]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
push eax
mov ecx, edi
mov byte [esp + 0x2c], 0xb
mov dword [edi], vtable.CPaperStock.0
call fcn.00454630
mov ecx, esi
mov byte [esp + 0x28], 0xc
mov dword [esi + 0x118], ebx
mov dword [esi], vtable.CSubDoc.0
call fcn.00471cc0
mov ecx, esi
call fcn.00471c30
mov ecx, dword [esp + 0x20]
mov byte [esi + 0x11c], 1
mov dword [esi + 0xb0], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8