joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419e94
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x419fbb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419c9c
mov esi, eax
mov eax, dword [0x4226ac]
cmp byte [eax], 0
je 0x419f61
mov eax, dword [0x4225b4]
call fcn.00404a60
call fcn.00404448
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x419e64]
call fcn.00408d98
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x419fd4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x419f9d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x42258c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x426634]
call fcn.00409128
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419fc2
lea eax, [ebp - 4]
mov edx, dword [0x419e64]
call fcn.00408ebc
pop eax
jmp eax

Function at 0x41be00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406ff4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bc94
mov edi, eax
cmp edi, 0x104
jbe 0x41bdab
mov eax, edi
add eax, eax
call fcn.004042f0
mov esi, eax
jmp 0x41bdad
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bc94
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41bde6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41bdd0
mov eax, esp
cmp esi, eax
je 0x41bdf3
mov eax, esi
call fcn.0040430c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41be2c
cmp bl, 0
je 0x41be28
cmp bl, 0x41
jl 0x41be23
cmp bl, 0x5a
jg 0x41be23
or bl, 0x20
xor al, bl
inc esi
jmp 0x41be07
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41bd6c

Function at 0x41c19c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407218
add esp, 0x800
pop ebx
ret
Function at 0x41c9ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41c9ca
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x41c9e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41c9dd
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x41c9e7
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x41ca55
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x41ca9e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41ca13
inc dword [ebp - 0xc]
jmp 0x41ca2b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x41ca2b
cmp dword [ebp - 0xc], 0
jle 0x41ca2b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x41ca4d
xor eax, eax
jmp 0x41ca49
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41ca48
mov eax, esi
jmp 0x41caa1
inc eax
cmp eax, ecx
jle 0x41ca35
inc esi
cmp esi, dword [ebp - 8]
jl 0x41c9ff
jmp 0x41ca9e
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x41ca9e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41ca76
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x41ca98
xor eax, eax
jmp 0x41ca94
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41ca93
mov eax, esi
jmp 0x41caa1
inc eax
cmp eax, ecx
jle 0x41ca80
inc esi
cmp esi, dword [ebp - 8]
jl 0x41ca5e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41cc84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41cca1
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41ccaf
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41cdd1
test ebx, ebx
jl 0x41cdd1
test esi, esi
jle 0x41cdd1
mov eax, dword [ebp - 8]
call fcn.0040718c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040718c
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41cd6e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41cdd1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41cd53
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41cd22
inc dword [ebp - 0x14]
jmp 0x41cd32
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41cd32
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41cd3d
or eax, 0xffffffff
jmp 0x41cd53
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41cd50
inc eax
jmp 0x41cd53
or eax, 0xffffffff
test eax, eax
jl 0x41cd5b
cmp esi, eax
jg 0x41cd10
cmp esi, eax
jg 0x41cd66
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41cdd4
inc edx
dec dword [ebp - 0x1c]
jne 0x41cd0c
jmp 0x41cdd1
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41cdd1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41cdb8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41cd97
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41cda2
or eax, 0xffffffff
jmp 0x41cdb8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41cdb5
inc eax
jmp 0x41cdb8
or eax, 0xffffffff
test eax, eax
jl 0x41cdc0
cmp esi, eax
jg 0x41cd80
cmp esi, eax
jg 0x41cdcb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41cdd4
inc edx
dec dword [ebp - 0x1c]
jne 0x41cd7c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4040e0
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1cc8
call fcn.0040f7a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x44c588]
push ebx
push esi
mov dword [ebp - 8], ecx
mov ecx, dword [0x44c58c]
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], ecx
call fcn.004040d0
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x44c590]
mov eax, dword [0x44c594]
mov edi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
add ebx, 0x23f
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0x20
jmp 0x404150
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x453d1c]
shl esi, 4
add esi, dword [ebp - 0x20]
cmp eax, 0xfa9
jne 0x40417c
mov dword [0x453d18], 0xedeb2e40
jmp 0x404197
cmp eax, 0x3eb
jne 0x404197
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x4537a8], 0
mov ecx, dword [ebp - 8]
add ecx, ebx
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x24]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x453d1c], 0x9e6
mov dword [0x453d14], 0xf4ea3dee
jne 0x4041cf
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x453d1c], 0x213
jne 0x40426b
push 0
lea eax, [ebp - 0x14c8]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
lea ecx, [ebp - 0x4c8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0xcc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call edi
push 0
push 0
lea ecx, [ebp - 0x1cc8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 0
call edi
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 4]
cmp dword [0x453d1c], 0xc
mov dword [ebp - 0x10], esi
jne 0x404285
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov edx, esi
shr edx, 5
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x18]
lea ecx, [ebx + esi]
xor eax, ecx
xor eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
sub dword [ebp - 0x14], 1
jne 0x404150
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4042e0
Capabilities:
Connect pipe
Create process on windows
Create reverse shell
Read pipe
Set environment variable
Set thread local storage value
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.0040f7a0
mov eax, dword [0x453d1c]
mov ecx, dword [0x4537ac]
shr eax, 3
test eax, eax
jbe 0x4043fa
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x453d1c], 0x959
jne 0x4043e0
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1408]
push eax
push 0
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.004040e0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4058d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b0d8]
jne 0x4058da
repz ret
jmp fcn.00408eae

Function at 0x408ad4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407a3f
and dword [ebp - 4], 0
cmp dword [0x451750], 0
mov ebx, eax
jne 0x408b85
push 0x401b10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c36
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b04
push edi
call esi
test eax, eax
je 0x408c36
push eax
call fcn.004079cd
mov dword [esp], 0x401af4
push edi
mov dword [0x451750], eax
call esi
push eax
call fcn.004079cd
mov dword [esp], 0x401ae0
push edi
mov dword [0x451754], eax
call esi
push eax
call fcn.004079cd
mov dword [esp], 0x401ac4
push edi
mov dword [0x451758], eax
call esi
push eax
call fcn.004079cd
pop ecx
mov dword [0x451760], eax
test eax, eax
je 0x408b85
push 0x401aac
push edi
call esi
push eax
call fcn.004079cd
pop ecx
mov dword [0x45175c], eax
mov eax, dword [0x45175c]
cmp eax, ebx
je 0x408bdd
cmp dword [0x451760], ebx
je 0x408bdd
push eax
call fcn.00407a48
push dword [0x451760]
mov esi, eax
call fcn.00407a48
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bdd
test edi, edi
je 0x408bdd
call esi
test eax, eax
je 0x408bd4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408bd4
test byte [ebp - 0xc], 1
jne 0x408bdd
or dword [ebp + 0x10], 0x200000
jmp 0x408c16
mov eax, dword [0x451754]
cmp eax, ebx
je 0x408c16
push eax
call fcn.00407a48
pop ecx
test eax, eax
je 0x408c16
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c16
mov eax, dword [0x451758]
cmp eax, ebx
je 0x408c16
push eax
call fcn.00407a48
pop ecx
test eax, eax
je 0x408c16
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451750]
call fcn.00407a48
pop ecx
test eax, eax
je 0x408c36
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001530
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x10099570
call fcn.10041290
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x10001571
call fcn.100412d6
ret

Function at 0x10001577
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a107c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.10001530
test eax, eax
jne 0x10001647
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], ebx
jne 0x10001647
movaps xmm0, xmmword [0x100953d0]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x29171610
mov dword [ebp - 0x20], 0x1c1a160b
mov word [ebp - 0x1c], 0xa0a
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x19
jb 0x100015db
mov byte [ebp - 0x1a], bl
mov cl, 0x7d
mov dword [ebp - 0x18], 0x1909137d
mov eax, ebx
mov dword [ebp - 0x14], 0x19531111
mov word [ebp - 0x10], 0x1111
mov byte [ebp - 0xe], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 9
jae 0x10001615
mov cl, byte [ebp - 0x18]
jmp 0x10001606
lea eax, [ebp - 0x33]
mov byte [ebp - 0xe], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000164f
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1000164f
cmp dword [ebp - 0xc], ebx
je 0x1000164f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret

Function at 0x1000165e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x10095380]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x1d072b0d
mov ecx, edx
mov dword [ebp - 0x18], 0x1a0d1c06
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001684
mov byte [ebp - 0x14], dl
mov cl, 0x4a
mov dword [ebp - 0x10], 0x382f214a
mov eax, edx
mov dword [ebp - 0xc], 0x79262f24
mov dword [ebp - 8], 0x262e6478
mov word [ebp - 4], 0x26
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x100016c2
mov cl, byte [ebp - 0x10]
jmp 0x100016b3
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], dl
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000ffe6
cmp al, 0xe9
jne 0x100016ed
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100016f1
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x4c485521
mov cl, 0x21
mov dword [ebp - 0xc], 0x55446644
mov dword [ebp - 8], 0x444c4875
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001724
mov cl, byte [ebp - 0x10]
jmp 0x10001715
mov byte [ebp - 4], dl
mov cl, 0x35
mov dword [ebp - 0x20], 0x47505e35
mov eax, edx
mov dword [ebp - 0x1c], 0x659505b
mov dword [ebp - 0x18], 0x59511b07
mov word [ebp - 0x14], 0x59
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001755
mov cl, byte [ebp - 0x20]
jmp 0x10001746
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], dl
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000ffe6
cmp al, 0xe9
jne 0x10001780
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001784
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x77664403
mov cl, 3
mov dword [ebp - 0xc], 0x68606a57
mov dword [ebp - 8], 0x6d766c40
mov eax, edx
mov word [ebp - 4], 0x77
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x100017ba
mov cl, byte [ebp - 0x10]
jmp 0x100017ab
mov byte [ebp - 3], dl
mov cl, 0x70
mov dword [ebp - 0x20], 0x2151b70
mov eax, edx
mov dword [ebp - 0x1c], 0x431c151e
mov dword [ebp - 0x18], 0x1c145e42
mov word [ebp - 0x14], 0x1c
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x100017eb
mov cl, byte [ebp - 0x20]
jmp 0x100017dc
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], dl
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000ffe6
cmp al, 0xe9
jne 0x10001816
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1000181a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a107c]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.3pAVRGVcAPV__r]
push ebx
xor ebx, ebx
movups xmmword [ebp - 0x28], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1000183a
mov byte [ebp - 0x19], bl
mov cl, 0x5b
mov dword [ebp - 0x18], 0x91e105b
mov eax, ebx
mov dword [ebp - 0x14], 0x68171e15
mov dword [ebp - 0x10], 0x373f7569
mov word [ebp - 0xc], 0x37
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001878
mov cl, byte [ebp - 0x18]
jmp 0x10001869
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret

Function at 0x10001947
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10099590
push 0x10044e40
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x100a107c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x50], 0
and dword [ebp - 0x48], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100019c5
xor al, al
jmp 0x10001a45
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100019ee
xor al, al
jmp 0x10001a45
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001a33
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret
Function at 0x10001f13
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x10095c40]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x4a44
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001f30
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002278
cmp eax, 0xba2d38a3
je 0x10001f55
xor al, al
jmp 0x10001f84
movaps xmm0, xmmword [0x10094f60]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10001f62
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002278
cmp eax, 0x27b35bb1
sete al
mov esp, ebp
pop ebp
ret