joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f300
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb936
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00438260
test al, al
je 0x45f33f
mov eax, 1
jmp 0x45f4c7
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x628]
push edx
push str.KSOXMLED.exe
call fcn.0043bfd0
mov esi, dword [ebp + 8]
add esp, 0x14
mov eax, str._Register
test esi, esi
jne 0x45f37f
mov eax, str._UnRegister
push 5
push 0
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x420]
push eax
push str.KSOXEV.dll
call fcn.0043bfd0
lea ecx, [ebp - 0x420]
push esi
push ecx
call fcn.00433400
add esp, 0x1c
call fcn.00433f30
test eax, eax
je 0x45f4c5
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
lea ecx, [ebp - 0x218]
push ecx
push str.KSOXEV64.dll
call fcn.0043bfd0
add esp, 0x14
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f4c5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x660]
call fcn.00405cd0
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], cx
push 1
lea edx, [ebp - 0x644]
push edx
lea eax, [ebp - 0x660]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00438eb0
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0x630], esi
jb 0x45f491
mov ecx, dword [ebp - 0x644]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], dx
cmp dword [ebp - 0x64c], esi
jb 0x45f4c5
mov eax, dword [ebp - 0x660]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 4
Function at 0x466330
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
test eax, eax
jne 0x466363
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
mov esi, 0x80000003
push ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x418], 0
mov word [ebp - 0x414], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea esp, [esp]
lea edx, [ebp - 0x434]
push edx
mov edx, dword [ebp - 0x418]
push 0
push 0
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x414]
push ecx
push edx
push esi
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4664a5
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
movzx ecx, word [ebp + eax - 0x414]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x466410
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x466431
mov edx, dword [0x4c7780]
mov eax, dword [ebp - 0x41c]
mov dword [edi], edx
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466450
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x466466
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x20c]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x42c]
call fcn.004194e0
inc dword [ebp - 0x418]
mov esi, dword [ebp - 0x42c]
jmp 0x4663b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4664bb
push esi
call edi
xor esi, esi
test esi, esi
je 0x4664bb
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x4664d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc788
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5603e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
push ebx
xor esi, esi
mov byte [ebp - 4], 1
call fcn.0043b220
mov ecx, dword [ebp + 8]
add esp, 4
push 2
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00412570
test eax, eax
jne 0x4665a5
mov edx, dword [ebp + 0xc]
cmp edx, ebx
je 0x46655c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x466537
sub eax, esi
sar eax, 1
je 0x46655c
mov edi, dword [ebp - 0x20]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x46658c
push 0x4c79ac
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea edx, [eax + eax + 2]
push edx
push 0x4c79ac
push 1
push ebx
push 0x4c79ac
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
cmp eax, ebx
sete cl
mov esi, ecx
cmp edi, ebx
je 0x4665a8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x4665a8
mov edi, dword [ebp - 0x20]
neg esi
sbb esi, esi
and esi, 0x7fffbffb
cmp edi, ebx
je 0x4665bd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x7fffbffb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466690
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp ebx, esi
je 0x466887
cmp edi, esi
je 0x466887
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], esi
push 0x206
lea ecx, [ebp - 0x422]
xor eax, eax
push esi
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x434], esi
mov word [ebp - 0x424], ax
call sub.MSVCR100.dll_memset
push esi
mov dword [ebp - 0x438], 0x104
mov byte [ebp - 4], 1
call fcn.0043b220
add esp, 0x10
push 0x2001b
push ebx
push eax
lea ecx, [ebp - 0x430]
call fcn.00412570
test eax, eax
jne 0x466864
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x21a]
push eax
mov word [ebp - 0x21c], dx
call sub.MSVCR100.dll_memset
push 0x104
lea ecx, [ebp - 0x21c]
push edi
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea eax, [ebp - 0x21c]
add esp, 0x18
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x466780
mov edx, dword [str..ksobak]
mov ecx, dword [0x4d8f2c]
mov dword [eax], edx
mov edx, dword [0x4d8f30]
mov dword [eax + 4], ecx
mov ecx, dword [0x4d8f34]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x430]
call fcn.00434210
test eax, eax
jne 0x466801
push edi
lea edx, [ebp - 0x424]
push edx
push 0x4c79ac
lea ecx, [ebp - 0x430]
call fcn.00419460
mov edi, dword [ebp - 0x430]
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x466844
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466806
sub eax, edx
sar eax, 1
je 0x466827
push edi
mov edi, dword [ebp - 0x430]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x466844
push 1
push 0x4c79ac
push 0x4c79ac
lea ecx, [ebp - 0x430]
call fcn.004176b0
mov edi, dword [ebp - 0x430]
mov esi, 1
test edi, edi
je 0x46686a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x46686a
mov edi, dword [ebp - 0x430]
neg esi
sbb esi, esi
and esi, 0x7fffbffb
test edi, edi
je 0x46687f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x7fffbffb]
jmp 0x46688c
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x46b430
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], ecx
xor ecx, ecx
mov dword [ebp - 0x424], eax
cmp eax, ecx
jne 0x46b46c
lea eax, [ecx + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x206
push ecx
lea eax, [ebp - 0x412]
xor edx, edx
mov esi, 0x80000003
push eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x418], ecx
mov word [ebp - 0x414], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea ebx, [ebx]
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x418]
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
push ecx
push esi
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46b5ff
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x46b510
movzx ecx, word [ebp + eax - 0x414]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x46b510
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x46b531
mov ebx, dword [0x4c7780]
mov eax, dword [ebp - 0x424]
mov dword [edi], ebx
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b550
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x46b566
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
jmp 0x46b590
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x46b590
mov eax, dword [ebp - 0x41c]
mov dword [edi], ebx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b5a6
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x46b5c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x430]
call fcn.004194e0
inc dword [ebp - 0x418]
mov esi, dword [ebp - 0x430]
jmp 0x46b4b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
test esi, esi
je 0x46b616
push esi
call edi
xor esi, esi
test esi, esi
je 0x46b616
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x46b9d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push esi
mov dword [ebp - 0x648], eax
call fcn.0043b220
mov dword [ebp - 0x640], eax
xor eax, eax
add esp, 4
mov dword [ebp - 0x63c], eax
cmp dword [ebp + 0xc], esi
jle 0x46bc1b
push ebx
push edi
mov ecx, dword [ebp - 0x648]
mov edi, dword [ecx + eax*4]
push 0x206
lea eax, [ebp - 0x61a]
xor edx, edx
push esi
push eax
mov word [ebp - 0x61c], dx
call sub.MSVCR100.dll_memset
push edi
push str._s.ksobakprotocolStdFileEditing_server
lea ecx, [ebp - 0x61c]
push 0x104
push ecx
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov eax, dword [ebp - 0x640]
add esp, 0x1c
push 0x2001f
lea edx, [ebp - 0x61c]
push edx
push eax
lea ecx, [ebp - 0x628]
mov dword [ebp - 0x628], esi
mov dword [ebp - 0x624], esi
mov dword [ebp - 0x620], esi
call fcn.00412570
test eax, eax
je 0x46ba98
mov eax, dword [ebp - 0x628]
cmp eax, esi
je 0x46bbfd
push eax
jmp 0x46bbf1
push 0x206
lea edx, [ebp - 0x20a]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x20c], cx
call sub.MSVCR100.dll_memset
mov ebx, dword [ebp - 0x628]
add esp, 0xc
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x644]
push edx
push esi
push 0x4c79ac
push ebx
mov dword [ebp - 0x638], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x46bbec
mov eax, dword [ebp - 0x644]
cmp eax, 1
je 0x46bb04
cmp eax, 2
jne 0x46bbec
mov eax, dword [ebp - 0x638]
cmp eax, esi
je 0x46bb27
test al, 1
jne 0x46bbec
shr eax, 1
cmp word [ebp + eax*2 - 0x20e], si
je 0x46bb30
jmp 0x46bbec
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
lea edx, [ebp - 0x412]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x414], cx
call sub.MSVCR100.dll_memset
push edi
push str._sprotocolStdFileEditing_server
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov edx, dword [ebp - 0x640]
add esp, 0x1c
push 0x2001f
lea ecx, [ebp - 0x414]
push ecx
push edx
lea ecx, [ebp - 0x634]
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x630], esi
mov dword [ebp - 0x62c], esi
call fcn.00412570
test eax, eax
je 0x46bba7
mov eax, dword [ebp - 0x634]
cmp eax, esi
je 0x46bbe6
push eax
jmp 0x46bbda
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x634]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 1
push esi
push str..ksobak
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp edi, esi
je 0x46bbe6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x630], esi
cmp ebx, esi
je 0x46bbfd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x628], esi
mov eax, dword [ebp - 0x63c]
inc eax
mov dword [ebp - 0x624], esi
mov dword [ebp - 0x63c], eax
cmp eax, dword [ebp + 0xc]
jl 0x46ba11
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x46c3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x206
xor ebx, ebx
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x21c], cx
call sub.MSVCR100.dll_memset
push ebx
mov dword [ebp - 4], ebx
call fcn.0043b220
add esp, 0x10
mov dword [ebp - 0x234], eax
xor esi, esi
cmp esi, dword [ebp + 0x10]
jge 0x46c5ce
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov eax, dword [edi + esi*4]
mov ecx, dword [ebp - 0x234]
push 0x2001f
push eax
push ecx
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.00412570
test eax, eax
je 0x46c4db
mov edx, dword [edi + esi*4]
push edx
push str.Failed_open_registy:__s
push str._unsetMsoShellNewFiles
push 0x2c8
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov eax, dword [ebp - 0x228]
add esp, 0x18
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x46c5b6
push eax
jmp 0x46c5aa
mov edi, dword [ebp - 0x228]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x238]
push edx
push ebx
push 0x4c79ac
push edi
mov dword [ebp - 0x230], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x46c53b
mov eax, dword [ebp - 0x238]
cmp eax, 1
je 0x46c521
cmp eax, 2
jne 0x46c53b
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x46c565
test al, 1
jne 0x46c53b
shr eax, 1
cmp word [ebp + eax*2 - 0x21e], bx
je 0x46c56e
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + esi*4]
push edx
push str.Failed_query_registy:__s
push str._unsetMsoShellNewFiles
push 0x2cf
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
add esp, 0x18
jmp 0x46c5a2
xor eax, eax
mov word [ebp - 0x21c], ax
push 9
lea eax, [ebp - 0x21c]
push str.Microsoft
push eax
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x46c5a2
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx + esi*4]
mov eax, dword [ebp - 0x234]
push edx
push eax
call fcn.00435510
add esp, 8
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x46c5b6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], ebx
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x224], ebx
inc esi
jmp 0x46c464
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x46c970
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcd8b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov edi, edx
mov word [ebp - 0x420], ax
call sub.MSVCR100.dll_memset
push ebx
push edi
push esi
push str._s_s_shell_scommand
lea edx, [ebp - 0x420]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll__snwprintf]
xor edi, edi
add esp, 0x24
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
push 0x2011f
lea eax, [ebp - 0x420]
push eax
push 0x80000002
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], edi
call fcn.00412570
cmp eax, edi
je 0x46ca4a
lea ecx, [ebp - 0x420]
push ecx
push eax
push str.Failed_Open_registy___d_:__s
push str._restoreClickToRun
push 0x320
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov eax, dword [ebp - 0x42c]
add esp, 0x1c
cmp eax, edi
je 0x46cb56
push eax
jmp 0x46cb50
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push edi
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x218]
push edx
push str..ksobak
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x430], 0x104
call fcn.00434210
cmp eax, edi
je 0x46cacc
push str..ksobak
push eax
push str.Failed_QueryStringValue_registy___d_:__s
push str._restoreClickToRun
push 0x329
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov eax, dword [ebp - 0x42c]
add esp, 0x1c
cmp eax, edi
je 0x46cb56
push eax
jmp 0x46cb50
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x42c]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x218]
push edx
push 1
push edi
push 0x4c79ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x46cb17
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.Failed_SetStringValue_registy___d_:__s
push str._restoreClickToRun
push 0x330
jmp 0x46cb3c
push str..ksobak
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, edi
je 0x46cb4b
push str..ksobak
push eax
push str.Failed_DeleteValue_registy___d_:__s
push str._restoreClickToRun
push 0x336
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
add esp, 0x1c
cmp esi, edi
je 0x46cb56
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x46cc40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcdfb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x21c], ax
call sub.MSVCR100.dll_memset
push 0x206
lea eax, [ebp - 0x422]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x424], dx
call sub.MSVCR100.dll_memset
push ebx
mov dword [ebp - 4], ebx
call fcn.0043b220
add esp, 0x1c
mov dword [ebp - 0x43c], eax
xor edi, edi
lea ecx, [ecx]
mov eax, 2
cmp edi, eax
jge 0x46ce45
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 1
jne 0x46cd04
mov ecx, dword [edi*4 + 0x4deacc]
push ecx
push str.ksobak_s
push 0x104
lea edx, [ebp - 0x21c]
push edx
jmp 0x46cd1d
mov eax, dword [edi*4 + 0x4deacc]
push eax
push 0x4df3d8
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov eax, dword [ebp - 0x43c]
add esp, 0x10
push 0x2001f
lea edx, [ebp - 0x21c]
push edx
push eax
lea ecx, [ebp - 0x434]
call fcn.00412570
test eax, eax
je 0x46cd78
lea ecx, [ebp - 0x21c]
push ecx
push str.Failed_open_registy:__s
push str._isExistWordShellNewFiles
push 0x36a
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckfileassokfileassoforalluser.cpp
push 5
call fcn.00487a00
mov esi, dword [ebp - 0x434]
add esp, 0x18
jmp 0x46ce04
mov esi, dword [ebp - 0x434]
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x438]
push ecx
push ebx
push str.NullFile
push esi
mov dword [ebp - 0x428], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x46cdd8
mov eax, dword [ebp - 0x438]
cmp eax, 1
je 0x46cdbe
cmp eax, 2
jne 0x46cdd8
mov eax, dword [ebp - 0x428]
cmp eax, ebx
je 0x46ce24
test al, 1
jne 0x46cdd8
shr eax, 1
cmp word [ebp + eax*2 - 0x426], bx
je 0x46ce2d
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x424]
push ecx
push str.FileName
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x428], 0x104
call fcn.00434210
test eax, eax
je 0x46ce2d
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x46ce18
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
inc edi
jmp 0x46ccc0
xor edx, edx
mov word [ebp - 0x424], dx
cmp esi, ebx
je 0x46ce38
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x46ce47
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret