joyce8/EMBER2024-capa huggingface dataset:
Function at 0x535750
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59d466
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x815f98]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0058a1f7
mov edx, dword [0x815f98]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x5357aa
mov dword [esp + 0x1c], ebx
jmp 0x5357b1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.0058c462
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.00587e6d
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x535802
mov dword [esp + 0x14], ebx
jmp 0x535809
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x535824
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x53581e
cmp eax, 2
jne 0x535824
mov dword [esp + 0x18], edi
jmp 0x535828
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x535836
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0058982c
mov edi, eax
cmp edi, ebx
jne 0x535846
xor eax, eax
jmp 0x535849
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x535871
mov ecx, esi
call fcn.0058c462
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x53588d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5358ac
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x5358ac
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.00587d80
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.00587d80
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x53ebc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59dfc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0058e242
xor eax, eax
mov dword [esi + 0x10], 0x7e7934
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0053ecc0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x53ec50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59dfeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.0053f900
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.0058eedc
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0058e377
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x54c7d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00552c50
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 0x54c8c9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push bind
mov ecx, esi
call fcn.0054c8e0
test eax, eax
jne 0x54c8c9
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 bind
mov ecx, esi
call fcn.0054c8e0
test eax, eax
jne 0x54c8c9
lea edx, [esp + 0x10]
push 0x80fb18
push edx
call fcn.00576330
mov esi, eax
add esp, 8
test esi, esi
jne 0x54c89a
lea eax, [esp + 0x10]
push 0x80fb14
push eax
call fcn.00576330
mov esi, eax
add esp, 8
test esi, esi
jne 0x54c89a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x54c89d
mov byte [esi], 0
push 0x80f2dc
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 0x54c8e0
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 0x54c942
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 0x552b90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x59edd8
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 0x552c40
mov eax, dword [0x815f98]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00588164
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.005881b3
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00588110
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x552c27
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x552c27
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.00587d80
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x555d40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59f260
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 0x555ee7
mov ecx, dword [0x815f98]
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 0x555e3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00554a60
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00587e6d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00587d80
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x80f2dc
call fcn.00587dee
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00554e20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00587e6d
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00587d80
lea ecx, [esp + 0xc]
call fcn.0058826f
mov ecx, dword [esp + 0xc]
push 0x80fd1c
push ecx
call fcn.005751e4
add esp, 8
test eax, eax
je 0x555e64
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x555d9d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00587d80
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00587d80
jmp 0x555eeb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00555ae0
test eax, eax
push 0
je 0x555ecf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00554180
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x555eb5
cmp eax, 0x64
jg 0x555ea3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x555e40
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x555e40
cmp eax, 0x64
jge 0x555e3c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x555e40
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00554180
mov esi, eax
jmp 0x555e40
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x555ef5
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 0x5600a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x878b58]
xor edx, edx
cmp eax, edx
jne 0x5600c6
xor eax, eax
mov byte [eax + 0x878a58], al
inc eax
cmp eax, 0x100
jl 0x5600ae
mov dword [0x878b58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x878a58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x560157
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x56012a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5600f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5601d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x560223
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x56020a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x566bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59f5ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005674e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x7e8114
call fcn.00587ac1
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x566c53
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00587ac1
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x566c4c
push 0
mov ecx, eax
call fcn.0055dcd0
mov dword [esi + 0xc], eax
jmp 0x566c55
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x566c55
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x58a1f7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x58a22f
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.005881db
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005881b3
jmp 0x58a23b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x58bb76
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 0x58bbb8
call fcn.005923f8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x58bbb8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x58bbaf
xor eax, eax
jmp 0x58bbc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0058bbc6
pop edi
pop esi
pop ebx
ret 4

Function at 0x592928
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x592956
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x592974
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0059288e
jmp 0x592974
mov eax, dword [esi + 0x14]
test eax, eax
je 0x592974
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0059288e
test edi, edi
mov eax, edi
jne 0x59295e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x59528a
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x5952b2
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x5952c3
push 2
call edi
test ax, ax
jge 0x5952c3
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0058982c
cmp dword [esi + 0x30], ebx
jne 0x59539d
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0058982c
cmp eax, dword [esp + 0x34]
jne 0x59539d
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x595339
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x59537e
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x59539d
cmp eax, 0x205
je 0x59539d
cmp eax, 0x201
je 0x59539d
cmp eax, 0x204
je 0x59539d
cmp eax, ebx
jne 0x595364
cmp dword [esp + 0x1c], 0x1b
je 0x59539d
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x88a67c]
jbe 0x595393
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x5952f6
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x10001220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10058040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x1000128c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10001272
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100012b9
inc ax
mov word [ebp - 0xa], ax
jmp 0x1000128c
cmp eax, 0xe7
jne 0x100012b9
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100012b9
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10001255
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10046e52
leave
ret
xor al, al
jmp 0x100012aa

Function at 0x10001415
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0x1000144a
cmp word [edx], di
je 0x1000144a
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001473
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0x10001471
cmp ecx, esi
je 0x10001471
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x10001684
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x100ceac8], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x100ceac4], ebx
push edi
push ebx
mov dword [0x100ceac0], eax
mov dword [0x100ceacc], ebx
mov dword [0x100cead0], eax
mov dword [0x100cead4], ebx
mov dword [0x100cead8], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x100ceaec], edx
mov eax, 0x55555555
mov dword [0x100ceae8], esi
xor edi, edi
mov dword [0x100cfe68], eax
pop ecx
mov dword [0x100cfe6c], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.1004aae0
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x100ceae8], esi
adc edx, ebx
mov dword [edi*8 + 0x100ceaec], edx
inc edi
cmp edi, eax
jb 0x100016e2
movaps xmm0, xmmword [0x10053fa0]
pop edi
pop esi
mov dword [0x100ceae0], eax
mov eax, 0x100ceac0
movups xmmword [0x100cfe70], xmm0
pop ebx
ret 0x10
Function at 0x1000190e
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x1004aff9
call fcn.1004a8cb
mov esi, dword [0x100f0ef4]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.10046e60
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x10002c92
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1000196e
cmp dword [esi + 0x60], edi
je 0x1000195f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.1004a8a8
ret
push 6
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10002437
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10058040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x10101250
push edi
call fcn.100026d1
xor ebx, ebx
inc ebx
cmp dword [0x10101480], 0
jbe 0x10002471
mov al, bl
mov ecx, 0x100ceabe
xchg byte [ecx], al
call fcn.1000224b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x2b3d2923
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], bl
call fcn.1000212d
mov edx, eax
mov ecx, esi
call fcn.100017f9
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x382c3b32
mov esi, eax
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], bl
call fcn.1000212d
mov edx, eax
mov ecx, esi
call fcn.100017f9
mov esi, eax
mov word [ebp - 0x30], 0x2c2e
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], bl
call fcn.100021f3
mov edx, eax
mov ecx, esi
call fcn.10001868
pop ecx
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0x382c3b32
mov dword [ebp - 0xc], 0x2b202d25
mov byte [ebp - 8], 0
mov byte [ebp - 7], bl
call fcn.10002214
mov edx, eax
mov ecx, esi
call fcn.10001868
pop ecx
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x3e283e26
mov edi, eax
mov word [ebp - 0x28], 0x3e2a
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x25], bl
call fcn.10002190
mov edx, eax
mov ecx, esi
call fcn.10001868
pop ecx
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x38], esi
test ecx, ecx
je 0x10002622
test edi, edi
je 0x10002622
cmp byte [ecx], 0
mov edx, 0x10101050
je 0x10002569
mov esi, ebx
sub esi, ecx
lea eax, [esi + ecx]
cmp eax, 0x20
jae 0x10002566
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
cmp byte [ecx], 0
jne 0x10002553
mov esi, dword [ebp - 0x38]
mov byte [edx], 0
mov ecx, 0x10101070
cmp byte [edi], 0
je 0x1000258f
mov edx, ebx
sub edx, edi
lea eax, [edi + edx]
cmp eax, 0x158
jae 0x1000258f
mov al, byte [edi]
mov byte [ecx], al
inc ecx
inc edi
cmp byte [edi], 0
jne 0x1000257a
mov byte [ecx], 0
lea ecx, [ebp - 0x14]
push 0
mov dword [ebp - 0x14], 0x293a2123
mov dword [ebp - 0x10], 0x27202539
mov dword [ebp - 0xc], 0x3d253121
mov word [ebp - 8], 0x21
mov byte [ebp - 6], bl
call fcn.1000216f
mov ecx, dword [ebp - 0x1c]
mov edx, eax
call fcn.10001868
pop ecx
mov ecx, eax
test ecx, ecx
je 0x100025ef
cmp byte [ecx], 0
mov edx, 0x101011c8
je 0x100025ec
mov edi, ebx
sub edi, ecx
lea eax, [edi + ecx]
cmp eax, 8
jae 0x100025ec
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
cmp byte [ecx], 0
jne 0x100025d9
mov byte [edx], 0
test esi, esi
je 0x1000261b
cmp byte [esi], 0
mov ecx, 0x101011d0
je 0x10002616
mov edx, ebx
sub edx, esi
lea eax, [edx + esi]
cmp eax, 0x80
jae 0x10002616
mov al, byte [esi]
mov byte [ecx], al
inc ecx
inc esi
cmp byte [esi], 0
jne 0x10002601
mov byte [ecx], 0
jmp 0x10002622
mov byte [0x101011d0], 0
mov eax, 0x100d0ebd
xchg byte [eax], bl
mov ecx, dword [0x100ceac4]
mov eax, dword [0x100ceac0]
and dword [0x100cead8], 0
mov dword [0x100cead4], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x100cead0], eax
pop ebx
call fcn.10046e52
leave
ret 4