joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005bde0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100b63f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100a964f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.100aed02
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100b0384
test eax, eax
je 0x1005befc
mov ecx, dword [esp + 0x3c]
call fcn.100aed2f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1005bec0
push edi
mov ecx, esi
call fcn.100ac379
mov ecx, esi
call fcn.1005c0a0
cmp dword [esp + 0x38], 1
jne 0x1005bef5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100ac4b4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1005e0e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005e113
push esi
call fcn.1006c4a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005e10c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1005e199
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005e182
mov eax, dword [esi + 8]
test eax, eax
je 0x1005e137
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005e17e
cmp eax, 2
je 0x1005e182
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005e12a
cmp eax, 3
je 0x1005e15d
cmp eax, 1
jne 0x1005e12a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005e12a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005e12a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005e1c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005e1a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005e1c0
add esp, 4
pop esi
ret

Function at 0x1005ea40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1005ea61
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1005ea61
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1005ea61
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1005eeb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1005eebb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1005efbe
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100c6288]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c6288]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c6288]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c6288]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c6288]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c6288]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c6288]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100c6288]
xor eax, edx
inc ecx
dec edi
jne 0x1005eed6
pop edi
test esi, esi
je 0x1005efe0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100c6288]
xor eax, edx
inc ecx
dec esi
jne 0x1005efc2
pop esi
pop ebx
not eax
ret
Function at 0x10079790
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x10079833
test eax, eax
jbe 0x10079833
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x10079833
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x100797de
xor esi, esi
jmp 0x100797e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1007980f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1007b780
add esi, eax
push esi
mov ebx, esi
call fcn.1007b780
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100797f0
pop ebp
test edi, edi
pop edi
jne 0x10079833
test ebx, ebx
je 0x10079833
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10098310
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x10079950
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10079a6d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10079a6d
mov eax, dword [esi + 0x3c]
push eax
call fcn.100a9aa1
mov esi, eax
test esi, esi
je 0x10079a6d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x10079a6d
mov ecx, esi
call fcn.100798e0
cmp edi, eax
jge 0x10079a6d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x100799f3
mov dword [esp + 0x34], 1
jmp 0x10079a4e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x10079a6d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10078ed0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x10084460
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.1008a8e0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x10084559
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.10084570
test eax, eax
jne 0x10084559
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.10084570
test eax, eax
jne 0x10084559
lea edx, [esp + 0x10]
push 0x100e5ae0
push edx
call fcn.10098a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x1008452a
lea eax, [esp + 0x10]
push 0x100e5adc
push eax
call fcn.10098a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x1008452a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x1008452d
mov byte [esi], 0
push 0x100e52a4
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x10084570
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100845d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x1008a820
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100b74d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x1008a8d0
mov eax, dword [0x100e67e0]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.100a8448
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.100a8497
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.100a83f4
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1008a8b7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x1008a8b7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.100a8064
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1008d9d0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b7960
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1008db77
mov ecx, dword [0x100e67e0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x1008dacc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.1008c6f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.100a8151
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100a8064
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x100e52a4
call fcn.100a80d2
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.1008cab0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.100a8151
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100a8064
lea ecx, [esp + 0xc]
call fcn.100a852c
mov ecx, dword [esp + 0xc]
push 0x100e5ce4
push ecx
call fcn.100979d4
add esp, 8
test eax, eax
je 0x1008daf4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x1008da2d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100a8064
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.100a8064
jmp 0x1008db7b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.1008d770
test eax, eax
push 0
je 0x1008db5f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.1008be10
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1008db45
cmp eax, 0x64
jg 0x1008db33
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x1008dad0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x1008dad0
cmp eax, 0x64
jge 0x1008dacc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x1008dad0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.1008be10
mov esi, eax
jmp 0x1008dad0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x1008db85
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x10094cd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x10094d1c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
test eax, eax
jne 0x10094d1c
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0x18], 2
jne 0x10094d2f
cmp dword [esp + 0xc], 5
jb 0x10094d2f
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x100aa445
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100aa47d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100a84bf
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100a8497
jmp 0x100aa489
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100abb36
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100abb78
call fcn.100b18d3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100abb78
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100abb6f
xor eax, eax
jmp 0x100abb80
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100abb86
pop edi
pop esi
pop ebx
ret 4
Function at 0x10003090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1000b64b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x100030d0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.10002d60
jmp 0x100030d2
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x10009390
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1000b70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebp
push esi
push edi
mov ecx, 0x48
xor eax, eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x18], 0
push 0x64
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.10002d60
mov eax, dword [0x1000d588]
push 1
push 0xa
mov dword [esp + 0x14c], 0
call dword [eax + 0x1ae0]
push 0xab00cc
call fcn.100066b0
mov ecx, dword [0x1000d588]
mov ebp, dword [eax]
push 2
push 0xa
call dword [ecx + 0x1ae0]
mov eax, dword [0x1000d588]
mov byte [esp + 0xc8], 1
mov edx, dword [ebp + 0x2a8]
push 3
push 0xa
mov dword [esp + 0xa8], edx
call dword [eax + 0x1ae0]
add esp, 0x1c
lea ecx, [ebp + 0x260]
call fcn.10003030
lea ecx, [ebp + 0x264]
mov dword [esp + 0xb8], eax
call fcn.10003030
lea ecx, [ebp + 0x2168]
mov dword [esp + 0xbc], eax
call fcn.10003030
lea ecx, [ebp + 0x216c]
mov dword [esp + 0xc0], eax
call fcn.10003030
mov ecx, dword [0x1000d588]
push 4
push 0xa
mov dword [esp + 0xcc], eax
call dword [ecx + 0x1ae0]
add esp, 8
lea ecx, [ebp + 0x2170]
call fcn.10003030
lea ecx, [ebp + 0x2174]
mov dword [esp + 0xc8], eax
call fcn.10003030
mov edx, dword [0x1000d588]
push 5
push 0xa
mov dword [esp + 0xd4], eax
call dword [edx + 0x1ae0]
mov ecx, dword [ebp + 0x2b0]
mov edx, dword [ebp + 0x2ac]
lea eax, [esp + 0xd8]
push eax
push ecx
push edx
call fcn.100066c0
mov eax, dword [0x1000d588]
push 6
push 0xa
call dword [eax + 0x1ae0]
add esp, 0x1c
lea ecx, [ebp + 0x17e8]
call fcn.10002fa0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 7
and ecx, 3
push 0xa
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x1000d588]
call dword [ecx + 0x1ae0]
mov eax, dword [ebp + 0x7c]
add esp, 8
cmp eax, 0x1dd
jl 0x10009546
cmp eax, 0x1e8
jg 0x10009546
mov dword [esp + 0x130], 0
jmp 0x1000958d
cmp eax, 0x1fe
jl 0x10009561
cmp eax, 0x203
jg 0x10009561
mov dword [esp + 0x130], 1
jmp 0x1000958d
cmp eax, 0x3c
jl 0x10009578
cmp eax, 0x53
jg 0x10009578
mov dword [esp + 0x130], 2
jmp 0x1000958d
xor edx, edx
cmp eax, 0x82
setl dl
dec edx
and edx, 4
mov dword [esp + 0x130], edx
mov eax, dword [0x1000d588]
push 8
push 0xa
call dword [eax + 0x1ae0]
add esp, 8
lea ecx, [esp + 0x18]
push ebp
push ecx
mov ecx, 0x1002cba0
call fcn.1000a9f0
mov edx, dword [0x1000d588]
push 9
push 0xa
call dword [edx + 0x1ae0]
mov eax, dword [0x1000d588]
push 0xa
push 0xa
call dword [eax + 0x1ae0]
mov edx, dword [0x1000d588]
mov dword [esp + 0x144], ebp
mov cx, word [ebp + 0x1f68]
push 0xb
push 0xa
mov word [esp + 0xc8], cx
call dword [edx + 0x1ae0]
mov ecx, dword [0x1000d588]
lea eax, [esp + 0x30]
push 0
push eax
call dword [ecx + 0x9ec]
mov edx, dword [0x1000d588]
push 0xc
push 0xa
call dword [edx + 0x1ae0]
add esp, 0x28
lea ecx, [esp + 0xc]
mov dword [esp + 0x144], 0xffffffff
call fcn.10002d90
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x1000a0b0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
and eax, 0xffff
push ebp
push esi
cmp eax, 0xe1
push edi
jg 0x1000a1e2
je 0x1000a1d5
sub eax, 0x7d
je 0x1000a1b9
sub eax, 0x5f
je 0x1000a13f
dec eax
jne 0x1000a236
mov eax, dword [esp + 0x18]
mov edi, 0x11
lea ebp, [eax - 4]
cmp ebp, edi
jl 0x1000a236
mov ebx, dword [esp + 0x14]
mov eax, dword [0x1000d588]
mov esi, dword [edi + ebx]
cmp esi, dword [eax + 0xb2c]
je 0x1000a125
lea ecx, [eax + 0xbdc]
push ecx
push esi
call dword [eax + 0xa0c]
add esp, 8
test eax, eax
je 0x1000a133
mov eax, dword [0x1000d588]
mov edx, dword [ebx + 9]
push esi
push edx
call dword [eax + 0x4a8]
add esp, 8
inc edi
cmp edi, ebp
jle 0x1000a0fb
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
lea esi, [eax - 0x1a]
mov eax, 0x88888889
imul esi
add edx, esi
mov cl, byte [ebx + 8]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
cmp ecx, eax
jle 0x1000a170
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
inc ecx
test ecx, ecx
jle 0x1000a236
lea edi, [ebx + 0x1a]
mov ebp, ecx
mov eax, dword [0x1000d588]
mov esi, dword [edi]
lea ecx, [eax + 0xc5c]
push ecx
push esi
call dword [eax + 0xa0c]
add esp, 8
test eax, eax
je 0x1000a1ac
mov edx, dword [ebx + 9]
mov eax, dword [0x1000d588]
push esi
push edx
call dword [eax + 0x4a8]
add esp, 8
add edi, 0x1e
dec ebp
jne 0x1000a17d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov edx, dword [esp + 0x14]
xor ecx, ecx
pop edi
pop esi
mov bl, byte [edx + 6]
pop ebp
test bl, bl
setne cl
inc ecx
xor al, al
mov dword [0x1002f264], ecx
pop ebx
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xb]
mov edx, dword [eax + 7]
push ecx
jmp 0x1000a227
cmp eax, 0xe2
je 0x1000a21c
cmp eax, 0x19d
je 0x1000a213
cmp eax, 0x3d8
jne 0x1000a236
mov edx, dword [esp + 0x14]
xor ecx, ecx
pop edi
pop esi
mov bl, byte [edx + 0xa]
pop ebp
test bl, bl
setne cl
inc ecx
xor al, al
mov dword [0x1002f264], ecx
pop ebx
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x16]
jmp 0x1000a223
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa]
mov edx, dword [eax + 6]
push ecx
mov eax, dword [0x1000d588]
push edx
call dword [eax + 0x4a8]
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x11648
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x20006
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x240
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, esi
jl 0x116bd
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwFlushKey]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
leave
ret 0x14

Function at 0x116c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
xor esi, esi
push 0x20019
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x240
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, esi
jl 0x1172f
push ebx
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx]
push edi
add esi, 0x10
push esi
call fcn.000153de
mov edi, eax
test edi, edi
jne 0x11734
mov esi, 0xc000009a
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
mov eax, esi
pop ebx
pop esi
leave
ret 0x14
push esi
push 0
push edi
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push edi
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov esi, eax
cmp esi, 0xc0000023
je 0x11795
cmp esi, 0x80000005
je 0x11795
test esi, esi
jl 0x1179d
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x11776
mov ecx, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [ebx]
mov ecx, dword [edi + 8]
cmp eax, ecx
jb 0x11781
mov eax, ecx
push eax
mov dword [ebx], eax
lea eax, [edi + 0xc]
push eax
push dword [ebp + 0x14]
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
jmp 0x1179d
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
mov dword [ebx], eax
push edi
call fcn.000153f8
jmp 0x11722