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

Disassembly:
push 0x50
mov eax, 0x10d3033
call fcn.010989c0
mov esi, ecx
push 0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0xff
push 0xb
push 0x3bd
push 0x1039b68
mov ebx, 0x1037884
push ebx
mov edi, 0x1037818
push edi
call fcn.0109958e
lea ecx, [ebp - 0x5c]
call fcn.0109aa5f
and dword [ebp - 4], 0
mov ecx, esi
call fcn.010aaa29
push 4
pop eax
cmp dword [esi + 0xc], eax
je 0x10ab5e2
push 0x1039ae8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x3c3
push 0x1039b68
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x5c]
push eax
call fcn.0109c5e0
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
je 0x10ab61e
push eax
push ecx
push 0x1039a80
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x3c8
push 0x1039b68
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x5c]
push eax
call fcn.0109c5e0
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x18]
push edx
xor ecx, ecx
lea edx, [ebp - 0x10]
push edx
push ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
push eax
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10ab6cb
cmp eax, 0x103
je 0x10ab6a2
push dword [ebp - 0x14]
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
push 0x1037e50
test eax, eax
jle 0x10ab678
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x3e7
push 0x1039b68
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x5c]
push eax
call fcn.0109c5e0
push dword [esi + 4]
push dword [esi + 8]
push 0x1037d50
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x3e5
jmp 0x10ab609
mov esi, dword [esi + 0xc]
cmp dword [ebp - 0x10], esi
je 0x10ab6fa
push esi
push dword [ebp - 0x10]
push 0x10399f0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x3df
jmp 0x10ab609
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
lea ecx, [ebp - 0x5c]
call fcn.0109ab18
call fcn.01098aac
ret 4
Function at 0x10ac2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x10d3b58
call fcn.010989c0
mov esi, ecx
push 0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xff
push 0xb
push 0x42c
push 0x1039b68
mov ebx, 0x1037884
push ebx
mov edi, 0x1037818
push edi
call fcn.0109958e
lea ecx, [ebp - 0x60]
call fcn.0109aa5f
and dword [ebp - 4], 0
mov ecx, esi
call fcn.010aaa29
cmp dword [esi + 0xc], 7
je 0x10ac376
push 0x1039ae8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x433
push 0x1039b68
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109c5e0
mov eax, dword [esi + 0x1c]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x100599c
shr eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0104a2be
mov eax, dword [esi + 0x18]
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
push eax
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10ac454
cmp eax, 0x103
je 0x10ac41b
push dword [ebp - 0x14]
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
push 0x1037e50
test eax, eax
jle 0x10ac3f1
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x454
push 0x1039b68
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109c5e0
push dword [esi + 4]
push dword [esi + 8]
push 0x1037d50
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x452
push 0x1039b68
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x60]
push eax
call fcn.0109c5e0
mov esi, dword [esi + 0xc]
cmp dword [ebp - 0x10], esi
je 0x10ac480
push esi
push dword [ebp - 0x10]
push 0x10399f0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 8], esp
push 0xff
push 0xb
push 0x44c
jmp 0x10ac43f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
and dword [ebp - 0x1c], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
shr eax, 1
mov dword [ecx], eax
lea ecx, [ebp - 0x20]
call fcn.0104a1a3
lea ecx, [ebp - 0x60]
call fcn.0109ab18
call fcn.01098aac
ret 8
Function at 0x10af84b
Capabilities:
Get disk information
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
xor eax, eax
push edi
mov edi, dword [ebp + 0x1c]
mov word [ebx], ax
mov word [ecx], ax
push 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push eax
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [edi], ecx
cmp ebx, esi
je 0x10af8cc
cmp eax, esi
je 0x10af8cc
xor eax, eax
inc eax
jmp 0x10af8ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x10b1499
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push 0x103c02c
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 1
call fcn.010bd0c6
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 8], ebx
jne 0x10b1500
push 0x57
pop ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b1685
test byte [eax + 0x1c], 8
je 0x10b1685
push 0x103c01c
push ecx
push 0x103be58
push 0x67
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b1685
cmp dword [ebp + 0xc], ebx
jne 0x10b1537
push 0x57
pop ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b1685
test byte [eax + 0x1c], 8
je 0x10b1685
push 0x103c010
push ecx
push 0x103be58
push 0x68
jmp 0x10b14f0
push esi
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x10b15a0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], ebx
call esi
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b1684
test byte [eax + 0x1c], 8
je 0x10b1684
push 0x103af70
call esi
push eax
mov eax, dword [0x10e308c]
push 0x103be58
push 0x69
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b1684
mov ecx, str.__xml_version_1.0__encoding_UTF_16___
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x10b15aa
push edi
sub eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
sar eax, 1
push ebx
lea edi, [eax + eax]
lea eax, [ebp - 0xc]
push eax
push edi
push ecx
push dword [ebp + 8]
call esi
test eax, eax
je 0x10b1636
cmp dword [ebp - 0xc], edi
jne 0x10b1636
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x10b15dd
sub eax, edx
sar eax, 1
push ebx
lea edi, [eax + eax]
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x10b1605
cmp dword [ebp - 0xc], edi
je 0x10b1675
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], ebx
call esi
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b1675
test byte [eax + 0x1c], 8
je 0x10b1675
push 0x103af70
call esi
push eax
push 0x103be58
push 0x6b
jmp 0x10b1665
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], ebx
call esi
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b1675
test byte [eax + 0x1c], 8
je 0x10b1675
push 0x103af70
call esi
push eax
push 0x103be58
push 0x6a
mov eax, dword [0x10e308c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
pop edi
cmp dword [ebp + 8], ebx
je 0x10b1684
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push 0x103c02c
call fcn.010bd0fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop ebx
leave
ret 8
Function at 0x10b94d1
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push 0x103e2b8
mov dword [ebp - 4], edi
mov dword [ebp - 8], 1
call fcn.010bd0c6
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
cmp eax, edi
je 0x10b9585
cmp dword [ebp + 0xc], edi
jbe 0x10b95b7
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x62
call esi
mov ebx, eax
test ebx, ebx
jge 0x10b95f7
cmp ebx, 0xc0000023
je 0x10b95f7
cmp ebx, 0x80000005
je 0x10b95f7
cmp ebx, 0xc0000004
je 0x10b95f7
and dword [ebp - 8], edi
mov ecx, ebx
call fcn.010bd130
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b9702
test byte [eax + 0x1c], 8
je 0x10b9702
push 0x103d834
push ebx
push 0x103dfb8
push 0x18
jmp 0x10b96f7
push 0x57
pop ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b9704
test byte [eax + 0x1c], 8
je 0x10b9704
push 0x103e2ac
push ecx
push 0x103dfb8
push 0x16
jmp 0x10b95e7
push 0x57
pop ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b9704
test byte [eax + 0x1c], 8
je 0x10b9704
push 0x103e29c
push ecx
push 0x103dfb8
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b9704
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x10b9648
push 0xe
pop ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b9702
test byte [eax + 0x1c], 8
je 0x10b9702
push 0x103e290
push ecx
push 0x103dfb8
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b9702
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 0x62
call esi
cmp eax, ebx
jge 0x10b969a
mov ecx, eax
mov dword [ebp - 8], ebx
call fcn.010bd130
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b9702
test byte [eax + 0x1c], 8
je 0x10b9702
push 0x103e228
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 0x62
call esi
push eax
push 0x103dfb8
push 0x1a
jmp 0x10b96f2
movzx eax, word [edi]
shr eax, 1
push eax
push dword [edi + 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01047516
cmp eax, ebx
jge 0x10b9702
mov ecx, eax
mov dword [ebp - 8], ebx
call fcn.010bd152
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b9702
test byte [eax + 0x1c], 8
je 0x10b9702
movzx eax, word [edi]
push 0x103e1a8
shr eax, 1
push eax
push dword [edi + 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01047516
push eax
push 0x103dfb8
push 0x1b
mov eax, dword [0x10e308c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
pop esi
pop ebx
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x103e2b8
call fcn.010bd0fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
leave
ret 8
Function at 0x10bd2fd
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor esi, esi
xor ebx, ebx
push 0x103fae8
mov dword [ebp - 4], esi
inc ebx
call fcn.010bd0c6
push 9
pop ecx
push 0x1031f98
xor eax, eax
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x10bd385
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
call esi
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bd444
test byte [eax + 0x1c], 8
je 0x10bd444
push 0x103af70
call esi
push eax
mov eax, dword [0x10e308c]
push 0x103fab8
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10bd444
mov edx, dword [ebp + 0x10]
cmp edx, 0xa
jle 0x10bd3ca
push 0x7a
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bd43b
test byte [eax + 0x1c], 8
je 0x10bd43b
push edx
push 0x103c698
push ecx
push 0x103fab8
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b1a52
jmp 0x10bd43b
xor eax, eax
cmp edx, esi
jle 0x10bd3e1
lea ecx, [ebp + 0x10]
add ecx, 4
mov edi, dword [ecx]
mov dword [ebp + eax*4 - 0x30], edi
inc eax
cmp eax, edx
jl 0x10bd3d3
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push edx
push esi
push dword [ebp + 8]
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x10bd43b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
call esi
mov dword [ebp - 4], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bd43b
test byte [eax + 0x1c], 8
je 0x10bd43b
push 0x103af70
call esi
push eax
mov eax, dword [0x10e308c]
push 0x103fab8
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push 0x103fae8
call fcn.010bd0fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10c0252
Capabilities:
Check if file exists
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1040e74
call fcn.010bd0c6
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0x1040cf0
cmp dword [ebp + 8], ebx
je 0x10c0278
mov eax, 0x1040d70
push esi
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
call fcn.010c206e
test eax, eax
jne 0x10c02d3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
xor edi, edi
cmp eax, 2
jne 0x10c029d
inc edi
jmp 0x10c0334
call esi
mov ebx, eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10c0334
test byte [eax + 0x1c], 8
je 0x10c0334
push 0x103acc4
call esi
push eax
mov eax, dword [0x10e308c]
push 0x1040ce0
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x10c032f
xor edi, edi
inc edi
cmp dword [ebp + 8], ebx
jne 0x10c02e2
mov eax, 0x1040e54
jmp 0x10c02f1
mov eax, 0x1040e2c
cmp dword [ebp + 8], edi
je 0x10c02f1
mov eax, 0x1040e04
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10c0334
cmp eax, 2
je 0x10c0334
xor edi, edi
mov ebx, eax
mov ecx, dword [0x10e308c]
cmp ecx, 0x10e308c
je 0x10c0334
test byte [ecx + 0x1c], 8
je 0x10c0334
push 0x1040df0
push eax
push 0x1040ce0
push 0x21
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010acf68
cmp dword [ebp - 4], 0
pop esi
je 0x10c0348
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
push 0x1040e74
call fcn.010bd0fb
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop ebx
leave
ret 4
Function at 0x10c222b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0x100
mov dword [ebp - 0x10], edi
cmp esi, edi
je 0x10c231c
cmp word [esi], di
je 0x10c231c
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0xc]
call fcn.010bd463
mov ebx, eax
cmp ebx, edi
je 0x10c22cd
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x10c22f7
cmp eax, 0xea
je 0x10c2262
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
mov ecx, dword [0x10e308c]
cmp ecx, 0x10e308c
je 0x10c234f
test byte [ecx + 0x1c], 8
je 0x10c234f
push 0x1040ec0
push eax
push 0x1041650
push 0x16
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x10c234a
push 0xe
pop ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10c234f
test byte [eax + 0x1c], 8
je 0x10c234f
push 0x1041660
push ecx
push 0x1041650
push 0x15
jmp 0x10c2344
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x10c2302
mov dword [eax], ebx
xor ebx, ebx
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x10c230e
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x10c234f
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
jmp 0x10c234f
push 0x57
pop ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10c234f
test byte [eax + 0x1c], 8
je 0x10c234f
push 0x1040ec8
push ecx
push 0x1041650
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x10c373c
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.010c815c
Function at 0x10c3f58
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010c4432
mov esi, eax
test esi, esi
jl 0x10c4004
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10c3f84
sub eax, ecx
push ebx
sar eax, 1
push edi
lea edi, [eax + eax + 2]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea ebx, [eax + edi + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x10c3fc4
mov esi, 0xc000009a
jmp 0x10c4002
mov dword [esi], 1
mov dword [esi + 8], 5
mov dword [esi + 4], ebx
mov eax, dword [ebp - 4]
push dword [eax + 8]
push eax
lea eax, [esi + 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push edi
push dword [ebp + 0x10]
lea eax, [eax + esi + 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [eax], esi
xor esi, esi
pop edi
pop ebx
cmp dword [ebp - 4], 0
je 0x10c4021
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x10c40fc
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ecx, 0x10ccf04
xor esi, esi
mov eax, ecx
push edi
mov dword [ebp - 8], esi
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
cmp di, si
jne 0x10c4116
mov edi, dword [ebp + 8]
sub eax, edx
sar eax, 1
mov ebx, eax
push ebx
push ecx
push edi
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x10c42a2
lea eax, [edi + ebx*2]
push 0x5c
push eax
call sub.msvcrt.dll_wcschr
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10c42a2
mov ecx, dword fs:[0x18]
mov ebx, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
sub eax, edi
sar eax, 1
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
mov eax, dword [ecx + 0x30]
push 0
push dword [eax + 0x18]
call ebx
mov dword [ebp - 4], eax
test eax, eax
jne 0x10c4189
mov dword [ebp - 8], 0xc000009a
jmp 0x10c425e
push edi
push dword [ebp + 8]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10c41a2
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x16]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x10c41ba
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 0x2e]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ecx, edi
push ecx
push 0
push dword [eax + 0x18]
mov dword [ebp + 8], ecx
call ebx
mov esi, eax
test esi, esi
je 0x10c417d
push dword [ebp + 8]
push 0
push esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ebx, [edi + esi]
mov dword [esi], 3
mov dword [esi + 0x14], edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10c4208
push dword [ebp - 0xc]
sub eax, ecx
sar eax, 1
inc eax
push eax
lea eax, [esi + 0x18]
push eax
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [ebp - 4]
add esp, 0xc
push 2
pop edx
mov dword [ebx], edx
lea ecx, [eax + 2]
mov di, word [eax]
add eax, edx
test di, di
jne 0x10c4232
push dword [ebp - 4]
sub eax, ecx
sar eax, 1
inc eax
push eax
add ebx, 0x14
push ebx
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [eax], ecx
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
je 0x10c427d
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call edi
cmp dword [ebp - 8], 0
jge 0x10c4298
test esi, esi
je 0x10c4298
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp - 8], 0xc000000d
jmp 0x10c4298