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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1019ae38
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x38]
mov esi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
xor eax, eax
push eax
movdqa xmmword [esp + 0x38], xmm0
movdqa xmmword [esp + 0x48], xmm0
push 0x101f377c
mov dword [esp + 0x38], 0
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.100e9e50
mov dword [esp + 0x50], 0x208
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [edi + 4]
mov dword [esp + 0x80], 0
cmp dword [eax + 0x14], 8
jb 0x100f218b
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push dword [edi + 0x1c]
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x100f2233
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x14], 8
jb 0x100f21b4
mov edi, dword [edi]
lea eax, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.100f1c30
add esp, 4
push eax
lea eax, [esp + 0x74]
push eax
push 0
push edi
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x100f2233
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.100f1cd0
mov edi, eax
cmp esi, edi
je 0x100f221e
cmp dword [esi + 0x14], 8
jb 0x100f2203
push dword [esi]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.100ebe00
cmp dword [esp + 0x2c], 8
jb 0x100f2231
push dword [esp + 0x18]
call fcn.1015f106
add esp, 4
xor edi, edi
mov dword [esp + 0x80], 0xffffffff
mov esi, dword [esp + 0x58]
test esi, esi
je 0x100f226b
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x100f226b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100f226b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esp + 0x4c], 8
jb 0x100f227e
push dword [esp + 0x38]
call fcn.1015f106
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100f45e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b057
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x101f4420
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.100ebd00
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.100ecf60
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x10219130]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100f4720
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b0a7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x101f480c
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.100ebd00
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.100ecf60
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x10219130]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10104100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x39]
shr cl, 2
and cl, 1
movzx edx, cl
test edx, edx
je 0x10104161
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x39]
shr cl, 3
and cl, 1
movzx edx, cl
test edx, edx
jne 0x10104135
mov byte [ebp - 1], 1
jmp 0x10104139
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
and al, 1
shl al, 3
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x39]
and dl, 0xf7
or dl, al
mov eax, dword [ebp - 8]
mov byte [eax + 0x39], dl
push 1
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.10105c60
jmp 0x10104190
mov ecx, dword [ebp - 8]
add ecx, 0x58
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10104190
push 3
push 0
push 0
mov edx, dword [ebp - 8]
add edx, 0x58
push edx
push 0x101a5c54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
jmp 0x10104192
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10105ce0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.10161e50
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x10105d44
cmp dword [ebp - 0x114], 6
jb 0x10105d44
mov dword [ebp - 0x11c], 1
jmp 0x10105d4e
mov dword [ebp - 0x11c], 0
mov al, byte [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret

Function at 0x10106690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x101066b4
xor eax, eax
jmp 0x10106734
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101066cb
xor eax, eax
jmp 0x10106734
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10106717
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10106717
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x101066ee
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10106723
xor eax, eax
jmp 0x10106734
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10106731
xor eax, eax
jmp 0x10106734
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1010adb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019c9b9
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], ecx
push 0x101a64cc
lea ecx, [ebp - 0x248]
call fcn.100e9b90
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.100e9680
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100e1e20
add esp, 8
mov dword [ebp - 0x258], 0x101a6548
lea ecx, [ebp - 0x24c]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x258]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x1010aece
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x260], 1
lea ecx, [ebp - 0x230]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
push edx
lea ecx, [ebp - 0x230]
call fcn.100ea070
push eax
push 1
push 0
lea ecx, [ebp - 0x248]
call fcn.100ea070
push eax
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1010af41
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x258]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1010af41
lea ecx, [ebp - 0x230]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100ea070
push eax
push 1
push 0
lea ecx, [ebp - 0x248]
call fcn.100ea070
push eax
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
call fcn.100e9ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100e9ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 4
Function at 0x1010af80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019c9fc
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x230]
call fcn.100e9b40
mov byte [ebp - 4], 2
mov dword [ebp - 0x240], 0x101a6720
lea ecx, [ebp - 0x234]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x240]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x1010b0f7
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x244], 1
lea edx, [ebp - 0x238]
push edx
push 0
lea eax, [ebp - 0x244]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1010b0a8
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100e9cf0
jmp 0x1010b0e8
lea ecx, [ebp + 0x24]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp + 0x24]
call fcn.100ea070
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1010b167
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x240]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1010b167
lea ecx, [ebp - 0x230]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x230]
call fcn.100ea070
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.100e9bf0
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.100e9ca0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100e9ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100e9ca0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 0x34
Function at 0x1010c5f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019cd30
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.100e96a0
movzx eax, al
test eax, eax
je 0x1010c64c
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100e9ca0
mov al, byte [ebp - 0x2c]
jmp 0x1010c7f8
lea ecx, [ebp - 0x28]
call fcn.100e9360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp + 8]
call fcn.100ea070
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x68], esp
push eax
push edx
call fcn.100e1d90
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x101a6d44
call fcn.100e9380
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
call fcn.100f14f0
add esp, 0x34
lea ecx, [ebp - 0x28]
call fcn.100e9690
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1010c6dc
mov byte [ebp - 0x2b], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100e9490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100e9ca0
mov al, byte [ebp - 0x2b]
jmp 0x1010c7f8
push 0x1d4c0
push 0x101a6d58
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1010c7d6
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push str..pipeADHelperDownPipe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x1010c741
mov byte [ebp - 0x2d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100e9490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100e9ca0
mov al, byte [ebp - 0x2d]
jmp 0x1010c7f8
mov ecx, dword [ebp - 0x34]
add ecx, 1
push ecx
call fcn.1015dfbd
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.10161e50
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x28]
push edx
call fcn.100e9330
mov dword [ebp - 0x58], eax
call fcn.100e1d10
add esp, 0x18
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
push 0
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1010c7d6
mov byte [ebp - 0x2a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100e9490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100e9ca0
mov al, byte [ebp - 0x2a]
jmp 0x1010c7f8
mov byte [ebp - 0x29], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100e9490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100e9ca0
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10110440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x224]
call fcn.100e9b40
mov dword [ebp - 0x234], 0x101a61e8
lea ecx, [ebp - 0x228]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x234]
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x1011051f
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x23c], 1
lea ecx, [ebp - 0x224]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
push edx
lea ecx, [ebp - 0x224]
call fcn.100ea070
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.100ea070
push eax
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1011058f
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x234]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1011058f
lea ecx, [ebp - 0x224]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x224]
call fcn.100ea070
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.100ea070
push eax
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x224]
call fcn.100e9ca0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 8
Function at 0x10110890
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019d859
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x230]
call fcn.100e9b40
mov byte [ebp - 4], 2
mov dword [ebp - 0x240], 0x101a6588
lea ecx, [ebp - 0x234]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x240]
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x10110a0a
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x244], 1
lea edx, [ebp - 0x238]
push edx
push 0
lea eax, [ebp - 0x244]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101109b8
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100e9cf0
jmp 0x101109fb
lea ecx, [ebp + 0x24]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100ea070
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10110a7a
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x240]
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10110a7a
lea ecx, [ebp - 0x230]
call fcn.100e9690
shl eax, 1
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x230]
call fcn.100ea070
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.100ea070
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.100e9bf0
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.100e9ca0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100e9ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100e9ca0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 0x34