joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e5be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x3c
push 0
push eax
mov byte [ebp - 0x41], 0
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0x500
mov dword [ebp - 0x34], str.runas
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
movzx ecx, byte [ebp - 0x41]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1016177d
mov esp, ebp
pop ebp
ret

Function at 0x100e5c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push edi
mov edi, dword [ebp + 8]
push 0x3c
push 0
push eax
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0x500
mov dword [ebp - 0x34], 0x101f377c
jb 0x100e5cac
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x100e5cb7
mov esi, dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e6220
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
push esi
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
mov esi, 1
call fcn.10161e50
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x100e6296
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x100e6320
xor eax, eax
cmp ecx, esi
pop esi
setne al
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x100e62fc
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x100e62e8
dec eax
je 0x100e62d4
dec eax
je 0x100e62c0
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x100e6315
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
cmp eax, 6
mov ecx, 8
cmova esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e6610
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x101f379c
mov esi, ecx
mov dword [ebp - 0x28], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x100e666c
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x101f377c
mov word [esi], ax
call fcn.100e9e50
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
push ebx
call fcn.101628ce
mov edi, eax
add esp, 4
test edi, edi
jne 0x100e669a
push 0x101f377c
mov ecx, esi
call fcn.100e9b90
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
push edi
push ebx
push 0
push 0x101f379c
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100e667b
lea eax, [ebp - 8]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 8], 0
push eax
push 0x101f3798
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100e667b
mov ecx, dword [ebp - 0x24]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x20]
push str._d._d._d._d
push eax
call fcn.100e24e0
add esp, 0x18
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.100e9bf0
lea ecx, [ebp - 0x20]
call fcn.100e9ca0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1016177d
mov esp, ebp
pop ebp
ret

Function at 0x100e67b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
lea eax, [ebp - 8]
xor bl, bl
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, 1
movzx ecx, bl
cmp eax, edx
pop ebx
cmove ecx, edx
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e6850
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a3b2
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
call fcn.100ebf30
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x228], 1
jb 0x100e68e9
mov eax, dword [ebx]
jmp 0x100e68eb
mov eax, ebx
lea ecx, [ebp - 0x224]
push ecx
push 0x20019
push 0
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100e69e7
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x21c], 1
cmp dword [esi + 0x14], 8
jb 0x100e693e
mov eax, dword [esi]
jmp 0x100e6940
mov eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x220]
push ecx
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push eax
push dword [ebp - 0x224]
call ebx
test eax, eax
jne 0x100e69d6
cmp dword [esi + 0x14], 8
jb 0x100e696d
mov esi, dword [esi]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push esi
push dword [ebp - 0x224]
call ebx
cmp word [ebp - 0x218], 0
jne 0x100e69ad
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, edi
call fcn.100e9e50
jmp 0x100e6a3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e69b6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100e9e50
jmp 0x100e6a3f
cmp byte [ebp + 0x1c], 0
je 0x100e6a3f
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax + 0x10]
jmp 0x100e6a10
cmp byte [ebp + 0x1c], 0
je 0x100e6a4b
cmp dword [ebx + 0x14], 8
jb 0x100e69f5
mov ebx, dword [ebx]
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100e6a4b
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x220], eax
jb 0x100e6a22
mov ecx, dword [edi]
jmp 0x100e6a24
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x100e6a2c
mov esi, dword [esi]
push eax
push ecx
push 1
push 0
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e7000
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a463
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 0
push 0x4a
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5a]
push eax
call fcn.10161e50
add esp, 0xc
lea eax, [ebp - 0x5c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
cmp word [ebp - 0x5c], ax
jne 0x100e707a
xor ecx, ecx
jmp 0x100e708f
lea ecx, [ebp - 0x5c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e7080
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100e9e50
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100eea50
add esp, 0xc
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
mov esi, 1
cmovae eax, dword [ebp - 0x74]
push 0
push 0
push 3
push 0
push esi
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
push eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100e7120
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push 1
cmovae ecx, dword [ebp + 8]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
push 0
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov bl, 1
jmp 0x100e7122
xor bl, bl
cmp dword [ebp - 0x60], 8
jb 0x100e7133
push dword [ebp - 0x74]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x100e715b
push dword [ebp - 0x8c]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [ebp - 0x78], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
jb 0x100e7183
push dword [ebp + 8]
call fcn.1015f106
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e71a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101f40e8]
movdqu xmm0, xmmword [str.mshtml.dll]
mov dword [ebp - 0xc], eax
mov ax, word [0x101f40ec]
push ebx
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 8], ax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x838], 0
push eax
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x824], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x100e7359
push edi
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100e72c5
push edi
push ebx
push dword [ebp - 0x824]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100e72ba
lea eax, [ebp - 0x820]
mov dword [ebp - 0x828], 0
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0x820], 0
push eax
push 0x101f3798
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100e72ba
cmp dword [ebp - 0x820], 0
je 0x100e72ba
mov eax, dword [ebp - 0x828]
push edi
movzx ecx, word [eax + 8]
movzx ebx, word [eax + 0xa]
mov dword [ebp - 0x834], ecx
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x830], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100e72c7
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100e72c7
xor ebx, ebx
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x81a]
push eax
call fcn.10161e50
push dword [ebp - 0x830]
lea eax, [ebp - 0x81c]
push dword [ebp - 0x82c]
push dword [ebp - 0x834]
push ebx
push str._d._d._d._d
push 0x400
push eax
call fcn.100e1b00
add esp, 0x28
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
pop edi
cmp word [ebp - 0x81c], ax
jne 0x100e7337
xor ecx, ecx
lea eax, [ebp - 0x81c]
push ecx
push eax
jmp 0x100e7372
lea ecx, [ebp - 0x81c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e7340
sub ecx, edx
lea eax, [ebp - 0x81c]
sar ecx, 1
push ecx
push eax
jmp 0x100e7372
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov word [esi], ax
push 0x101f377c
mov ecx, esi
call fcn.100e9e50
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e85e0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x100e86b5
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e8617
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0x59
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x100e86b5
dec eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100e9e50
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100e8657
mov eax, dword [esi]
jmp 0x100e8659
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x100e86a2
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e8671
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0x5a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x100e86a2
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100e9e50
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e89a0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019a748
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
push eax
call fcn.100e6340
add esp, 4
push 0x14
push str.Microsoft_Windows_XP
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x50]
push 0
call fcn.100ec1f0
test eax, eax
jne 0x100e8a1a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
cmp cx, ax
sete bl
jmp 0x100e8acf
push 5
xor eax, eax
mov dword [esp + 0x20], 7
push str.zh_CN
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.100e9e50
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 1
call fcn.100e8510
mov byte [esp + 0x60], 2
lea eax, [esp + 0x20]
cmp dword [esp + 0x34], 8
lea ecx, [esp + 8]
push dword [esp + 0x30]
cmovae eax, dword [esp + 0x24]
push eax
push dword [esp + 0x20]
push 0
call fcn.100ec1f0
test eax, eax
sete bl
cmp dword [esp + 0x34], 8
jb 0x100e8a8e
push dword [esp + 0x20]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x1c], 8
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jb 0x100e8ab8
push dword [esp + 8]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
cmp dword [esp + 0x4c], 8
jb 0x100e8ae2
push dword [esp + 0x38]
call fcn.1015f106
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100ec990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019a968
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x100ecae4
cmp byte [ebx + 0x45], 0
je 0x100ecae4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100ec9f0
xor al, al
jmp 0x100ecae6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x100eca30
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100eca71
dec eax
je 0x100eca75
sub eax, 2
je 0x100ecacb
xor bl, bl
jmp 0x100ecacd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x100ecaac
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10165178
add esp, 0x10
cmp esi, eax
jne 0x100eca6d
cmp byte [ebx + 0x45], 0
je 0x100ecacb
test esi, esi
jne 0x100eca30
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.100eb3d0
jmp 0x100eca30
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x100ecae0
push dword [esp + 0x18]
call fcn.1015f106
add esp, 4
mov al, bl
jmp 0x100ecae6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100eeb40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019aacb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10211a50]
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
cmp dword [ecx + 0x18], 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x224], 0
jb 0x100eeb8c
mov eax, dword [eax]
lea edx, [ebp - 0x224]
push edx
push dword [ecx + 0x1c]
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100eecb9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.10161e50
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
call ebx
mov edi, eax
xor eax, eax
test edi, edi
jne 0x100eeca2
inc esi
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], edi
mov word [ebp - 0x240], ax
cmp word [ebp - 0x21c], ax
je 0x100eec3f
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100eec30
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x240]
call fcn.100e9e50
mov dword [ebp - 4], 0
movzx eax, byte [0x102191b6]
push eax
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x248]
push eax
call fcn.100ef9e0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x22c], 8
jb 0x100eebb1
push dword [ebp - 0x240]
call fcn.1015f106
add esp, 4
jmp 0x100eebb1
push dword [ebp - 0x224]
cmp edi, 0x103
cmove edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.1016177d
mov esp, ebp
pop ebp
ret 4
Function at 0x100f1ef0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1019ae08
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
xor ecx, ecx
push 0xffffffffffffffff
movdqa xmmword [esp + 0x18], xmm0
push ecx
movdqa xmmword [esp + 0x2c], xmm0
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push eax
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
call fcn.100ebf30
mov dword [esp + 0x30], 0x208
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], 0
lea esi, [eax + 4]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x10], 0
jb 0x100f1faa
mov ecx, dword [esi]
jmp 0x100f1fac
mov ecx, esi
lea edx, [esp + 0x10]
push edx
push dword [eax + 0x1c]
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100f1ff7
cmp dword [esi + 0x14], 8
jb 0x100f1fcb
mov esi, dword [esi]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x100f1ff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
jmp 0x100f2052
mov eax, dword [esp + 0x28]
add eax, eax
push eax
call fcn.1015dfbd
cmp dword [esp + 0x30], 8
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov esi, eax
cmovae edx, dword [esp + 0x1c]
add ecx, ecx
push ecx
push edx
push esi
call fcn.10160a40
add esp, 0x10
cmp dword [edi + 0x14], 8
jb 0x100f202c
mov edi, dword [edi]
mov eax, dword [esp + 0x28]
add eax, eax
push eax
push esi
push dword [esp + 0x1c]
push 0
push edi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.10162ac7
mov dword [esp + 0x64], 0xffffffff
add esp, 4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100f208f
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x100f208f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100f208f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esp + 0x2c], 8
jb 0x100f20a2
push dword [esp + 0x18]
call fcn.1015f106
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 0xc