joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000583a
Capabilities:
Enumerate processes

Disassembly:
push 0x144
mov eax, 0x10080b08
call fcn.1005b38d
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005920
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x10005897
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10005920
push 0x18
lea eax, [ebp - 0x12c]
pop edi
push eax
call fcn.1000126a
pop ecx
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008108
mov eax, dword [0x100bd9e0]
sub eax, dword [0x100bd9dc]
cdq
idiv edi
push 0x18
pop ecx
lea edi, [eax + 1]
mov eax, dword [0x100bd9e4]
sub eax, dword [0x100bd9dc]
cdq
idiv ecx
cmp eax, edi
jae 0x100058eb
cmp edi, 0xaaaaaaa
ja 0x10005934
push edi
call fcn.100075e4
lea eax, [ebp - 0x28]
push eax
call fcn.1000608c
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov ecx, 0x100bbbf0
push eax
call fcn.100082a9
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10005897
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1000803f
mov al, bl
call fcn.1005b348
ret
push str.vector_T__too_long
call fcn.1005944e
int3
Function at 0x1000a011
Capabilities:
Encode data using base64

Disassembly:
push 0x64
mov eax, 0x10080f79
call fcn.1005b38d
mov eax, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
xor ebx, ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
lea edi, [ebp - 0x54]
push 0x10
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [eax + 0x14], 0xf
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], ebx
jb 0x1000a04f
mov ecx, dword [eax]
jmp 0x1000a051
mov ecx, eax
mov byte [ecx], bl
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], 1
cmp dword [ebp + 8], edi
je 0x1000a1a2
mov eax, dword [ebp + 8]
push 3
pop esi
jmp 0x1000a073
mov edx, dword [ebp - 0x68]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + edi - 0x58], al
inc edi
mov ch, byte [ebp - 0x56]
inc edx
mov cl, byte [ebp - 0x58]
mov dword [ebp - 0x68], edx
mov dl, byte [ebp - 0x57]
mov byte [ebp - 0x5f], ch
mov byte [ebp - 0x5d], dl
mov byte [ebp - 0x5e], cl
cmp edi, esi
jne 0x1000a0f6
mov esi, dword [ebp - 0x64]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x5c], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x5b], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x5a], cl
mov byte [ebp - 0x59], al
movzx eax, byte [ebp + edi - 0x5c]
mov ecx, esi
movzx eax, byte [ebp + eax - 0x54]
push eax
push 1
call fcn.10009004
inc edi
cmp edi, 4
jl 0x1000a0ce
mov dl, byte [ebp - 0x5d]
mov edi, ebx
mov cl, byte [ebp - 0x5e]
mov ch, byte [ebp - 0x5f]
push 3
pop esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1000a070
mov dword [ebp - 0x68], edi
test edi, edi
je 0x1000a19f
mov eax, edi
cmp edi, esi
jge 0x1000a12c
cmp eax, esi
jae 0x1000a1a8
mov byte [ebp + eax - 0x58], bl
inc eax
cmp eax, esi
jl 0x1000a114
mov ch, byte [ebp - 0x56]
mov dl, byte [ebp - 0x57]
mov cl, byte [ebp - 0x58]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x5c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x5b], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x59], ch
lea eax, [edi + 1]
mov byte [ebp - 0x5a], dl
mov dword [ebp - 0x58], eax
test eax, eax
jle 0x1000a188
mov esi, dword [ebp - 0x64]
mov edi, eax
movzx eax, byte [ebp + ebx - 0x5c]
mov ecx, esi
movzx eax, byte [ebp + eax - 0x54]
push eax
push 1
call fcn.10009004
inc ebx
cmp ebx, edi
jl 0x1000a169
mov edi, dword [ebp - 0x68]
push 3
pop esi
cmp edi, esi
jge 0x1000a19f
sub esi, edi
mov ecx, dword [ebp - 0x64]
push 0x3d
push 1
call fcn.10009004
sub esi, 1
jne 0x1000a18e
mov eax, dword [ebp - 0x64]
call fcn.1005b348
ret
call fcn.1005a4f3
int3
Function at 0x1000af84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 0xc
cmp byte [edx + 4], 0
je 0x1000afbd
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x1000afb6
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x1000afa6
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Object_not_Initialized
lea ecx, [ebp - 0xc]
call fcn.100011c0
push 0x100ae1e0
lea eax, [ebp - 0xc]
push eax
call fcn.1005dcb9
int3
Function at 0x1000d100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x776c6853
push eax
mov dword [ebp - 0x22], 0x6c642e69
mov word [ebp - 0x1e], 0x6c
mov word [ebp - 0x24], 0x7061
mov dword [ebp - 0x16], 0x69466874
mov word [ebp - 0xb], 0x4173
mov word [ebp - 0x18], 0x6150
mov dword [ebp - 0x12], 0x7845656c
mov word [ebp - 0xe], 0x7369
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 9], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000d170
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100bd9b4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a19b
mov esp, ebp
pop ebp
ret
Function at 0x100114d0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov edi, edx
mov al, byte [ebx]
test al, al
je 0x100115b8
push esi
cmp al, 0x24
je 0x1001151f
cmp al, 0x26
je 0x1001151f
cmp al, 0x2b
je 0x1001151f
cmp al, 0x2c
je 0x1001151f
cmp al, 0x2f
je 0x1001151f
cmp al, 0x3a
je 0x1001151f
cmp al, 0x3b
je 0x1001151f
cmp al, 0x3d
je 0x1001151f
cmp al, 0x3f
je 0x1001151f
cmp al, 0x40
je 0x1001151f
cmp al, 0x23
je 0x1001151f
cmp al, 0x20
je 0x1001151f
mov byte [edi], al
inc edi
jmp 0x100115ab
movsx eax, al
push eax
lea eax, [ebp - 4]
push 0x100a918c
push eax
call fcn.100114b0
lea ecx, [ebp - 4]
add esp, 0xc
xor esi, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011540
sub ecx, edx
je 0x1001157d
nop dword [eax + eax]
movsx eax, byte [ebp + esi - 4]
push eax
call fcn.1006349d
mov byte [ebp + esi - 4], al
add esp, 4
lea eax, [ebp - 4]
inc esi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011570
sub eax, edx
cmp esi, eax
jb 0x10011550
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10011586
lea ecx, [ebp - 4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100115a0
sub ecx, edx
add edi, ecx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x100114e7
pop esi
mov byte [edi], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100115d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
push ebx
mov dword [ebp - 8], eax
call esi
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, ecx
je 0x10011618
push 1
push ecx
push edi
call eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp ebx, edi
je 0x10011622
push 1
push edi
push ebx
call eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 4]
push 0
push eax
push 0
push 0x2000
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001
call esi
push 2
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x2001
call esi
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, eax
je 0x1001168f
push 0
push eax
push edi
call esi
cmp ebx, edi
je 0x10011699
push 0
push edi
push ebx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011aa0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor bl, bl
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
push 0xf0000000
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
push 0x18
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10011c57
mov eax, dword [ebp - 0x38]
mov ecx, 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
mov eax, dword [eax]
cmp eax, ecx
movups xmmword [ebp - 0x24], xmm0
cmovb ecx, eax
lea eax, [ebp - 0x24]
push ecx
push esi
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.1005ce90
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
push 1
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x10011c47
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 1
push eax
push 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x10011c39
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x4c], 4
push eax
push 8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x10011c39
mov eax, dword [ebp - 0x38]
shr eax, 3
push eax
push 0
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10011c39
push dword [ebp - 0x38]
push 0
push esi
call fcn.1005cd30
add esp, 0xc
push 0
push esi
push 1
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push esi
test eax, eax
jne 0x10011be6
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10011c39
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x50]
mov ecx, esi
mov eax, dword [edi]
cmp eax, dword [esi]
cmovb ecx, edi
mov eax, dword [ecx]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x40]
call fcn.1005ce90
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push dword [edi]
push eax
push dword [ebp - 0x40]
push 0
push 0
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x10011c32
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10011c39
mov eax, dword [ebp - 0x44]
mov bl, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10011c47
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011c57
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005a19b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10016590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x105
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.1005cd30
add esp, 8
mov dword [ebp - 0x154], 0x104
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
push eax
push ecx
lea ecx, [ebp - 0x160]
mov word [ebp - 0x24], 0x4d5c
mov dword [ebp - 0x11], 0x70784520
mov dword [ebp - 0x21], 0x736f7263
mov dword [ebp - 0x2c], 0x54464f53
mov dword [ebp - 0xc], 0x7265726f
mov dword [ebp - 0x1b], 0x6e495c74
mov byte [ebp - 8], 0
mov dword [ebp - 0x15], 0x74656e72
mov word [ebp - 0x27], 0x5241
mov word [ebp - 0x17], 0x6574
mov byte [ebp - 0x28], 0x57
mov word [ebp - 0x1d], 0x666f
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x25], 0x45
mov byte [ebp - 0xd], 0x6c
call fcn.100170f0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100166d9
lea eax, [ebp - 0x154]
mov dword [ebp - 0x35], 0x6e6f69
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x3c], 0x56637673
push eax
lea eax, [ebp - 0x3c]
mov word [ebp - 0x38], 0x7265
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 0x36], 0x73
call fcn.10017000
test eax, eax
je 0x100166c8
lea eax, [ebp - 0x154]
mov word [ebp - 0x48], 0x6556
push eax
lea eax, [ebp - 0x150]
mov word [ebp - 0x45], 0x6973
push eax
lea eax, [ebp - 0x48]
mov word [ebp - 0x42], 0x6e
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 0x46], 0x72
mov byte [ebp - 0x43], 0x6f
call fcn.10017000
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x100166df
push esi
call ebx
xor esi, esi
jmp 0x100166df
mov esi, dword [ebp - 0x160]
push 0x100a6d14
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov edi, eax
test edi, edi
je 0x100167a2
xor eax, eax
mov byte [ebp - 0x154], 0
mov word [ebp - 0x153], ax
mov ecx, edi
mov byte [ebp - 0x151], al
lea eax, [ebp - 0x150]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.1005ce90
lea eax, [ebp - 0x154]
push eax
call fcn.1006b8f5
add esp, 0x10
mov dword [ebp - 0x164], eax
inc edi
mov dword [ebp - 0x154], 0
push 0x100a6d14
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10016778
sub eax, edi
push eax
lea eax, [ebp - 0x154]
push edi
push eax
call fcn.1005ce90
lea eax, [ebp - 0x154]
push eax
call fcn.1006b8f5
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 0x164], 0xb
setl bl
test esi, esi
je 0x1001678f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a19b
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100167a9
push esi
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005a19b
mov esp, ebp
pop ebp
ret
Function at 0x100167c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x160], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x170], 0
call fcn.10001e63
mov ecx, eax
test ecx, ecx
jne 0x10016821
push 0x80004005
call fcn.10001bd3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x100a9120
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x10016857
movzx esi, ax
mov ecx, esi
call fcn.10001cf0
test eax, eax
je 0x10016865
push esi
push eax
mov ecx, edi
call fcn.10007d68
jmp 0x10016865
push 1
push 0x100a9120
mov ecx, edi
call fcn.10008e96
push 0x105
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x170], 1
push 0
push eax
call fcn.1005cd30
mov dword [ebp - 0x160], 0x104
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x38]
add esp, 8
mov word [ebp - 0x21], 0x6e72
mov word [ebp - 0x2d], 0x7263
mov word [ebp - 0x38], 0x4f53
mov dword [ebp - 0x35], 0x52415754
push eax
push ecx
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x26], 0x746e495c
mov dword [ebp - 0x1e], 0x78452074
mov word [ebp - 0x30], 0x4d5c
mov dword [ebp - 0x17], 0x726572
mov word [ebp - 0x28], 0x7466
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x2e], 0x69
mov word [ebp - 0x2b], 0x736f
mov word [ebp - 0x1a], 0x6c70
mov byte [ebp - 0x31], 0x45
mov byte [ebp - 0x36], 0x46
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x1f], 0x65
call fcn.100170f0
test eax, eax
jne 0x100169c4
mov byte [ebp - 0x3e], al
lea ecx, [ebp - 0x16c]
lea eax, [ebp - 0x160]
mov word [ebp - 0x47], 0x6376
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x44], 0x69737265
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 0x45], 0x56
push eax
mov byte [ebp - 0x48], 0x73
mov word [ebp - 0x40], 0x6e6f
call fcn.10017000
test eax, eax
je 0x1001699f
lea eax, [ebp - 0x160]
mov dword [ebp - 0x53], 0x69737265
push eax
lea eax, [ebp - 0x15c]
mov word [ebp - 0x4e], 0x6e
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 0x54], 0x56
push eax
lea ecx, [ebp - 0x16c]
mov byte [ebp - 0x4f], 0x6f
call fcn.10017000
mov esi, dword [ebp - 0x16c]
test esi, esi
je 0x100169b8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], 0
jmp 0x100169ca
mov esi, dword [ebp - 0x16c]
push 0x100a6d14
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x100169f5
lea eax, [ebp - 0x15c]
push eax
push 0x100a6b28
push edi
call fcn.100096bf
add esp, 0xc
test esi, esi
je 0x10016a00
push esi
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a19b
mov esp, ebp
pop ebp
ret
Function at 0x10016c60
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081d6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x468
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x420], esi
push 0x44
lea eax, [ebp - 0x478]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x430], xmm0
call fcn.1005cd30
xor eax, eax
mov dword [ebp - 0x478], 0x44
push 0x400
push eax
mov word [ebp - 0x448], ax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp - 0x44c], 1
call fcn.1005cd30
add esp, 0x18
lea eax, [ebp - 0x418]
push 0x400
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call fcn.10001e63
mov ecx, eax
test ecx, ecx
jne 0x10016d21
push 0x80004005
call fcn.10001bd3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x41c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x41c]
push dword [esi + 0xd4]
push str._d__c__s
push eax
call fcn.100096bf
mov esi, dword [ebp - 0x41c]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x10016d72
push dword [esi - 0xc]
lea ecx, [ebp - 0x41c]
call fcn.10007f38
mov esi, dword [ebp - 0x41c]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x478]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10016de8
push 0xbb8
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x430]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x42c]
call edi
mov ecx, dword [ebp - 0x420]
push 0
push 0x100a57dd
lea ecx, [ecx + 0xd4]
call fcn.10008e96
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi - 8]
push esi
call fcn.1005fea7
add esp, 8
test eax, eax
js 0x10016e43
cmp eax, dword [esi - 8]
jg 0x10016e43
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10016e23
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005a19b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80070057
call fcn.10001bd3
int3
Function at 0x10017000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10017061
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1001703d
cmp eax, 2
jne 0x1001704f
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x1001705d
test eax, eax
je 0x1001705a
cmp byte [eax + esi - 1], 0
je 0x1001705d
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100173d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x29], 0x642e6c6c
push eax
mov edi, ecx
mov word [ebp - 0x2b], 0x6474
xor esi, esi
mov word [ebp - 0x24], 0x6c
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x25], 0x6c
mov dword [ebp - 0x1c], 0x6554744e
mov dword [ebp - 0x13], 0x72506574
mov dword [ebp - 0xd], 0x737365
mov dword [ebp - 0x18], 0x6e696d72
mov byte [ebp - 0x14], 0x61
mov word [ebp - 0xf], 0x636f
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10017457
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100bd9d8], eax
test eax, eax
je 0x10017457
push esi
push edi
call eax
test eax, eax
mov ecx, 1
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1005a19b
mov esp, ebp
pop ebp
ret
Function at 0x100178a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081df8
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100bb2a8]
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
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2f], 0x6c6c64
mov dword [ebp - 0x33], 0x2e32336c
mov dword [ebp - 0x37], 0x656e7265
mov byte [ebp - 0x38], 0x4b
mov dword [ebp - 0x1e], 0x747865
mov word [ebp - 0x21], 0x3233
mov dword [ebp - 0x26], 0x7365636f
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x1f], 0x4e
mov word [ebp - 0x28], 0x7250
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x10017938
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x10017961
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001795a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x10017a07
push 0
push 2
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100179d8
lea eax, [ebp - 0x164]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x100179d1
nop dword [eax]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 8]
call fcn.10063dcc
add esp, 8
test eax, eax
je 0x100179c7
lea eax, [ebp - 0x164]
push eax
push esi
call edi
cmp eax, 1
je 0x100179a0
jmp 0x100179d1
mov dword [ebp - 0x168], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10017a01
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x168]
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.1005a19b
mov esp, ebp
pop ebp
ret