joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018fad0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1018fb37
mov eax, dword [esp + 4]
cmp eax, 5
jbe 0x1018fb2e
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
jne 0x1018fb37
cmp dword [esp + 8], 0
ja 0x1018fb17
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret

Function at 0x1018fb50
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1018fba5
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret

Function at 0x1018fbd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1018fc25
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov eax, dword [esp + 4]
cmp eax, 6
jbe 0x1018fc45
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
jb 0x1018fc68
cmp dword [esp + 8], 1
jb 0x1018fc68
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor eax, eax
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret

Function at 0x1018fc80
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1018fcd5
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov eax, dword [esp + 4]
cmp eax, 6
jbe 0x1018fcf5
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
jb 0x1018fd18
cmp dword [esp + 8], 2
jb 0x1018fd18
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor eax, eax
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
Function at 0x1018fd30
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x105da830], 0
jne 0x1018fdc3
xor eax, eax
push 0x208
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov word [esp + 0x20e], ax
cmp word [esp + 8], ax
jne 0x1018fd9d
xor ecx, ecx
jmp 0x1018fdb3
lea ecx, [esp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1018fda4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
mov ecx, 0x105da820
push eax
call fcn.100cdd90
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1033d458
add esp, 0x214
ret

Function at 0x1018fdf0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x103540eb
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x14c]
push 1
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x10], eax
mov byte [eax], 0
lea eax, [esp + 0x18]
push 0x11c
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x18], 0x11c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1018fe83
cmp dword [esp + 0x1c], 6
mov eax, dword [esp + 0x10]
setae cl
mov byte [eax], cl
mov dword [esp + 0x144], 0
lea eax, [esp + 0x14]
push eax
push esi
call fcn.1014f9f0
mov bl, al
mov dword [esp + 0x144], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1014eaf0
mov al, bl
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1033d458
add esp, 0x13c
ret 4
Function at 0x1018fee0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x220
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [0x105e1f58]
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
jle 0x1018ff22
inc eax
mov dword [0x105e1f58], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1033d458
add esp, 0x220
ret
lea eax, [esp + 0x10]
mov byte [esp + 0xf], 0
push eax
mov dword [esp + 0x14], 0
call fcn.1018fdf0
test al, al
je 0x1018ffeb
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1018ffeb
push str.ImpersonateLoggedOnUser
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x10]
push esi
call eax
test eax, eax
je 0x1018ffe2
inc dword [0x105e1f58]
mov eax, dword [edi]
test eax, eax
je 0x1018ff86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov dword [edi], esi
xor esi, esi
mov byte [esp + 0xf], 1
cmp dword [0x105da850], esi
jne 0x1018ffe2
xor eax, eax
push 0x208
push eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x104
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x105da840
mov word [esp + 0x21a], ax
lea eax, [esp + 0x14]
push eax
call fcn.100cd6c0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1018ffef
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1018fffa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x228]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0x220
ret
Function at 0x101912f0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x83c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x834], eax
cmp byte [0x105e8804], 0
push esi
push edi
jne 0x101914d0
xor eax, eax
mov byte [0x105e8804], 1
push 0x40e
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1019137a
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10191373
mov eax, dword [esp + 8]
test eax, eax
je 0x1019137a
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1019137a
xor eax, eax
mov word [esp + 0x10], ax
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10191381
mov eax, dword [0x10368480]
lea ecx, [esp + 0x10]
mov dword [edi], eax
add ecx, 0xfffffffe
jmp 0x101913a0
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x101913a0
mov eax, dword [str.2345Pic]
mov dword [ecx], eax
mov eax, dword [0x10368494]
mov dword [ecx + 4], eax
mov eax, dword [0x10368498]
mov dword [ecx + 8], eax
mov eax, dword [0x1036849c]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101913e2
xor eax, eax
mov word [esp + 0x10], ax
xor eax, eax
push 0x410
push eax
mov word [esp + 0x428], ax
lea eax, [esp + 0x42a]
push eax
call sub.MSVCR120.dll_memset
lea ecx, [esp + 0x1c]
add esp, 0xc
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10191410
sub ecx, edx
sar ecx, 1
je 0x10191498
push 0x207
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.MSVCR120.dll_wcsncpy]
lea ecx, [esp + 0x42c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10191446
sub ecx, edx
sar ecx, 1
je 0x10191498
lea edi, [esp + 0x420]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10191461
mov eax, dword [0x10368480]
mov dword [edi], eax
lea edi, [esp + 0x420]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10191480
mov ecx, 7
mov esi, str.2345Image.hzv
rep movsd dword es:[edi], dword [esi]
call fcn.102e9750
lea ecx, [esp + 0x420]
mov edx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101914b0
sub ecx, esi
sar ecx, 1
je 0x101914d0
lea eax, [esp + 0x420]
mov ecx, edx
push eax
call fcn.102e9820
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
xor ecx, esp
call fcn.1033d458
add esp, 0x83c
ret
Function at 0x10191ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10354401
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esp + 0x38], 0
xor eax, eax
push 0x26
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
push str.98B9F6E6_463F_4E42_874C_927C4C84A8F7
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.100cdd90
mov byte [esp + 0x38], 1
lea ecx, [esi + 4]
lea eax, [esp + 0x14]
mov dword [ecx], 0
push eax
mov word [ecx + 4], 0
call fcn.10175850
mov byte [esp + 0x38], 3
cmp dword [esp + 0x28], 8
jb 0x10191b9b
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
mov dword [esp + 0x2c], 7
mov dword [ecx + 0x10], eax
push eax
push edi
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov word [ecx], ax
call fcn.100cd9d0
mov byte [esp + 0x38], 4
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x24]
mov dword [ecx + 0x14], 7
push eax
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.100cd9d0
mov dword [esp + 0x38], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1033d458
add esp, 0x2c
ret 8

Function at 0x101927f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1034d9b8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
xorps xmm0, xmm0
mov dword [ecx], vtable.RC::RCAnimation.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0xfa
movsd qword [ecx + 0x10], xmm0
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0x1000
mov dword [ecx + 0x20], 0xa
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 3
mov dword [esp + 0x10], 0
movups xmmword [ecx + 0x38], xmm0
mov dword [ecx], vtable.RC::RCSlideAnimation.0
movsd xmm0, qword [0x10588b18]
movsd qword [ecx + 0x48], xmm0
mov byte [ecx + 0x50], 0
mov dword [ecx + 0x54], 0x1f4
mov dword [esp + 0x10], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 8
Function at 0x10193180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10350221
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
xor eax, eax
mov edi, dword [esp + 0x40]
mov ecx, edi
mov esi, dword [esp + 0x44]
mov dword [esp + 0xc], 0
push 0xf
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push str.iconcommon.ico
mov dword [esp + 0x18], edi
mov word [edi], ax
call fcn.100cdd90
mov dword [esp + 0x38], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
je 0x1019330b
xor eax, eax
mov dword [esp + 0x24], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.100cd9d0
mov dword [esp + 0x38], 1
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x28]
cmp edx, 8
mov esi, dword [esp + 0x14]
cmovae eax, esi
cmp word [eax], 0x2e
jne 0x10193280
cmp edx, 8
lea eax, [esp + 0x14]
lea ecx, [esp + 0x14]
cmovae eax, esi
cmovae ecx, esi
test eax, eax
je 0x10193274
sub eax, ecx
sar eax, 1
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.100cded0
mov esi, 0x105db378
lea eax, [esi - 0x10]
test eax, eax
je 0x101932cd
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
lea edx, [esi - 0x10]
cmovae ecx, dword [esp + 0x14]
call fcn.1014d530
test al, al
je 0x101932cd
cmp word [esi], 0
jne 0x101932b0
xor eax, eax
jmp 0x101932c4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101932b5
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.100cdd90
add esi, 0x218
cmp esi, 0x105dcc98
jl 0x10193285
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x101932f4
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1033d458
add esp, 0x30
ret 8
Function at 0x10193b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10354790
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
xor eax, eax
push 7
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push str.2345Pic
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.100cdd90
mov byte [esp + 0x30], 1
lea ecx, [esp + 0xc]
push 1
push 0x1055a1fc
call fcn.100cdcd0
lea ecx, [esp + 0xc]
call fcn.1014d810
lea ecx, [esp + 0x38]
call fcn.1014d810
push dword [esp + 0x1c]
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 0
cmovae eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
call fcn.100cdac0
test eax, eax
sete bl
mov byte [esp + 0x30], 0
cmp dword [esp + 0x20], 8
jb 0x10193c61
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x10193c94
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
mov al, bl
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1033d458
add esp, 0x2c
ret 0x18
Function at 0x10198240
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10354f56
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x178]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x174]
mov ebx, dword [esp + 0x17c]
push eax
call fcn.100ce550
add esp, 4
mov dword [esp + 0x168], 0
lea eax, [esp + 0x48]
push 0x110
push 0
push eax
mov dword [esp + 0x50], 0x114
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101982ef
cmp dword [esp + 0x48], 6
setae al
test al, al
je 0x101982ef
push 0xb
push 0x10560440
lea ecx, [esp + 0x1c]
call fcn.100cdcd0
mov ecx, dword [esi]
mov al, byte [ecx]
test al, al
je 0x1019832e
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x10]
push ecx
or eax, 0x20019
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x1c]
mov ecx, 0x80000001
push eax
call fcn.1019b5f0
test al, al
je 0x101983ba
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
push 0x80000001
call fcn.1019b680
test al, al
je 0x101983c4
push str.Progid
lea ecx, [esp + 0x30]
call fcn.100cd5c0
mov byte [esp + 0x168], 1
lea eax, [esp + 0x2c]
mov ecx, dword [esi]
push 0
push ebx
push eax
push dword [esp + 0x18]
call fcn.1019b770
mov bl, al
mov byte [esp + 0x168], 0
cmp dword [esp + 0x40], 8
jb 0x10198397
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
push dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101983c6
mov eax, dword [esi]
mov bl, 1
mov byte [eax + 1], 1
jmp 0x101983c6
xor bl, bl
mov dword [esp + 0x168], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x101983e5
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.1033d458
add esp, 0x160
ret 0x10

Function at 0x10199760
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101997c1
cmp dword [esp + 4], 6
setae al
test al, al
je 0x101997c1
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
Function at 0x1019b770
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10345c08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
test ebp, ebp
jne 0x1019b7bb
xor al, al
jmp 0x1019b8c6
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x28], 8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, ebp
call fcn.1019bde0
test al, al
je 0x1019b852
cmp byte [esp + 0x4c], 0
je 0x1019b83f
mov eax, dword [esi + 0x10]
cmp dword [esp + 0x24], eax
jne 0x1019b852
cmp dword [esi + 0x14], 8
jb 0x1019b828
mov edx, dword [esi]
jmp 0x1019b82a
mov edx, esi
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
call fcn.1014d530
jmp 0x1019b84a
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.100d1c40
test al, al
je 0x1019b852
mov bl, 1
jmp 0x1019b891
cmp byte [ebx], 0
je 0x1019b85f
mov byte [ebx + 1], 1
mov bl, 1
jmp 0x1019b891
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x1019b86a
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1019b872
mov edi, dword [edi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1019b88f
mov bl, 1
jmp 0x1019b891
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x1019b8ad
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
add esp, 0x28
ret 0x10
Function at 0x1019b8f0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x10355470
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
test edi, edi
jne 0x1019b936
xor al, al
jmp 0x1019ba23
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], eax
cmp dword [esi + 0x14], 8
jb 0x1019b96b
mov eax, dword [esi]
jmp 0x1019b96d
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.100cd5c0
mov byte [esp + 0x50], 1
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov dword [esp + 0x24], 0
cmovae eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.1019bde0
mov byte [esp + 0x13], al
mov byte [esp + 0x50], 0
cmp dword [esp + 0x40], 8
jb 0x1019b9c9
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
test al, al
je 0x1019b9ec
cmp byte [ebx], cl
je 0x1019ba43
mov byte [ebx + 1], 1
mov bl, 1
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x1019ba0a
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1033d458
add esp, 0x44
ret 8
cmp dword [esi + 0x14], 8
jb 0x1019ba4b
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1019b9ec
xor bl, bl
jmp 0x1019b9ee

Function at 0x1019ba60
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x1019ba73
pop edi
xor al, al
pop ebx
ret 8
mov eax, dword [edi + 4]
lea ecx, [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
or eax, 0x20019
push ecx
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x1c], 0
call fcn.1019b5f0
test al, al
je 0x1019baad
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi], 0
je 0x1019bab5
mov byte [edi + 1], 1
pop esi
pop edi
mov al, 1
pop ebx
ret 8
cmp dword [esi + 0x14], 8
jb 0x1019babd
mov esi, dword [esi]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
test eax, eax
pop edi
sete al
pop ebx
ret 8