joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003afd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x150
mov eax, 0x1006bbde
call fcn.10053b4c
lea eax, [ebp - 0x20]
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x17], 0x6c6c64
mov dword [ebp - 0x1b], 0x2e32336c
mov dword [ebp - 0x1f], 0x656e7265
mov byte [ebp - 0x20], 0x4b
mov dword [ebp - 0x26], 0x747865
mov word [ebp - 0x29], 0x3233
mov dword [ebp - 0x2e], 0x7365636f
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x27], 0x4e
mov word [ebp - 0x30], 0x7250
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x15c], eax
test eax, eax
jne 0x10003b72
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10001821
xor eax, eax
jmp 0x10003bf6
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10003bdd
push ebx
push 2
mov dword [ebp - 0x158], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003bdd
lea eax, [ebp - 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x10003bcc
lea eax, [ebp - 0x134]
push eax
push dword [ebp + 8]
call fcn.1004bcaa
pop ecx
pop ecx
test eax, eax
je 0x10003bd3
lea eax, [ebp - 0x158]
push eax
push esi
call edi
cmp eax, 1
je 0x10003bad
jmp 0x10003bd6
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001821
mov eax, ebx
call fcn.10053b0a
ret
Function at 0x100047b3
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
and dword [ebp - 0x2c], 0
push 0x64
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
xor edx, edx
inc edx
push 2
push ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004bbda
leave
ret
Function at 0x10004ac4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x1006bb3e
call fcn.10053b19
mov eax, edx
mov dword [ebp - 0x18], eax
mov ebx, ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
mov edx, 0x800
push ecx
push edx
mov ecx, eax
mov dword [ebp - 0x10], edx
call fcn.1000662b
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push ecx
mov ecx, dword [ebp - 0x18]
mov esi, eax
call fcn.10006669
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001821
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001821
xor eax, eax
test esi, esi
sete al
call fcn.10053af6
ret
Function at 0x10005146
Capabilities:
Enumerate processes

Disassembly:
push 0x144
mov eax, 0x1006bb06
call fcn.10053b4c
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 0x1000522c
lea eax, [ebp - 0x150]
push eax
push esi
mov dword [ebp - 0x150], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x100051a3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000522c
push 0x18
lea eax, [ebp - 0x12c]
pop edi
push eax
call fcn.10001001
pop ecx
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007f9d
mov eax, dword [0x100a073c]
sub eax, dword [0x100a0738]
push 0x18
cdq
idiv edi
pop ecx
lea edi, [eax + 1]
mov eax, dword [0x100a0740]
sub eax, dword [0x100a0738]
cdq
idiv ecx
cmp eax, edi
jae 0x100051f7
cmp edi, 0xaaaaaaa
ja 0x1000523c
push edi
call fcn.100075d8
lea eax, [ebp - 0x28]
push eax
call fcn.10006d75
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x1009eb10
call fcn.10006f29
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100051a3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.10005a8a
mov al, bl
call fcn.10053b0a
ret
push str.vector_T__too_long
call fcn.1004b490
int3
Function at 0x10009b19
Capabilities:
Encode data using base64

Disassembly:
push 0x64
mov eax, 0x1006c02d
call fcn.10053b4c
mov eax, ecx
mov dword [ebp - 0x64], eax
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
push 0x10
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov dword [ebp - 0x70], eax
mov byte [eax], bl
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], 1
cmp dword [ebp + 8], edi
je 0x10009c99
mov eax, dword [ebp + 8]
push 3
pop esi
jmp 0x10009b6c
mov edx, dword [ebp - 0x68]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + edi - 0x5c], al
mov ch, byte [ebp - 0x5a]
mov cl, byte [ebp - 0x5c]
inc edi
inc edx
mov dword [ebp - 0x68], edx
mov dl, byte [ebp - 0x5b]
mov byte [ebp - 0x5f], ch
mov byte [ebp - 0x5d], dl
mov byte [ebp - 0x5e], cl
cmp edi, esi
jne 0x10009bef
mov esi, dword [ebp - 0x64]
mov al, cl
shr al, 2
mov byte [ebp - 0x58], al
and cl, 3
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov byte [ebp - 0x57], cl
mov cl, dl
and cl, 0xf
mov al, ch
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x56], cl
mov byte [ebp - 0x55], al
mov edi, ebx
movzx eax, byte [ebp + edi - 0x58]
mov ecx, esi
movzx eax, byte [ebp + eax - 0x54]
push eax
push 1
call fcn.10009dfb
inc edi
cmp edi, 4
jl 0x10009bc7
mov dl, byte [ebp - 0x5d]
mov cl, byte [ebp - 0x5e]
mov ch, byte [ebp - 0x5f]
push 3
mov edi, ebx
pop esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10009b69
mov dword [ebp - 0x68], edi
test edi, edi
je 0x10009c96
mov eax, edi
cmp edi, esi
jge 0x10009c25
cmp eax, esi
jae 0x10009c9f
mov byte [ebp + eax - 0x5c], bl
inc eax
cmp eax, esi
jl 0x10009c0d
mov ch, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov cl, byte [ebp - 0x5c]
mov al, cl
shr al, 2
mov byte [ebp - 0x58], al
mov al, dl
and cl, 3
shr al, 4
shl cl, 4
add cl, al
and dl, 0xf
mov al, ch
shr al, 6
shl dl, 2
add dl, al
lea eax, [edi + 1]
and ch, 0x3f
mov byte [ebp - 0x57], cl
mov byte [ebp - 0x56], dl
mov byte [ebp - 0x55], ch
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x10009c81
mov esi, dword [ebp - 0x64]
mov edi, eax
movzx eax, byte [ebp + ebx - 0x58]
mov ecx, esi
movzx eax, byte [ebp + eax - 0x54]
push eax
push 1
call fcn.10009dfb
inc ebx
cmp ebx, edi
jl 0x10009c62
mov edi, dword [ebp - 0x68]
push 3
pop esi
cmp edi, esi
jge 0x10009c96
sub esi, edi
mov ecx, dword [ebp - 0x64]
push 0x3d
push 1
call fcn.10009dfb
dec esi
jne 0x10009c87
mov eax, dword [ebp - 0x64]
call fcn.10053b0a
ret
call fcn.1004d821
int3

Function at 0x1000ab8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 0xc
cmp byte [edx + 4], 0
je 0x1000abc6
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x1000abc1
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 0x1000abb1
pop edi
pop esi
leave
ret 8
push 0x1009eb08
lea ecx, [ebp - 0xc]
call fcn.1004c06f
push 0x10098cb0
lea eax, [ebp - 0xc]
push eax
call fcn.10053a9b
int3
Function at 0x1000d140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x776c6853
mov dword [ebp - 0xa], 0x6c642e69
mov word [ebp - 6], 0x6c
mov word [ebp - 0xc], 0x7061
mov dword [ebp - 0x1e], 0x69466874
mov word [ebp - 0x13], 0x4173
mov word [ebp - 0x20], 0x6150
mov dword [ebp - 0x1a], 0x7845656c
mov word [ebp - 0x16], 0x7369
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000d1b0
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100a05e4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004bbda
mov esp, ebp
pop ebp
ret
Function at 0x10010b60
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov al, byte [ebx]
mov edi, edx
test al, al
je 0x10010c40
push esi
cmp al, 0x24
je 0x10010baf
cmp al, 0x26
je 0x10010baf
cmp al, 0x2b
je 0x10010baf
cmp al, 0x2c
je 0x10010baf
cmp al, 0x2f
je 0x10010baf
cmp al, 0x3a
je 0x10010baf
cmp al, 0x3b
je 0x10010baf
cmp al, 0x3d
je 0x10010baf
cmp al, 0x3f
je 0x10010baf
cmp al, 0x40
je 0x10010baf
cmp al, 0x23
je 0x10010baf
cmp al, 0x20
je 0x10010baf
mov byte [edi], al
inc edi
jmp 0x10010c33
movsx eax, al
push eax
lea eax, [ebp - 4]
push str.___02x
push eax
call fcn.1004c19c
lea ecx, [ebp - 4]
add esp, 0xc
xor esi, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010bd0
sub ecx, edx
je 0x10010c0d
jmp 0x10010be0
movsx eax, byte [ebp + esi - 4]
push eax
call fcn.1005343d
mov byte [ebp + esi - 4], al
lea eax, [ebp - 4]
add esp, 4
inc esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010c00
sub eax, edx
cmp esi, eax
jb 0x10010be0
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x10010c16
lea ecx, [ebp - 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010c28
sub ecx, edx
add edi, ecx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10010b77
pop esi
mov byte [edi], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10010c50
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 0x10010c98
push 1
push ecx
push edi
call eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp ebx, edi
je 0x10010ca2
push 1
push edi
push ebx
call eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 4]
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 0x10010d0f
push 0
push eax
push edi
call esi
cmp ebx, edi
je 0x10010d19
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 0x100110a0
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 [0x1009d350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
push 0xf0000000
push 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x3c]
push eax
xor bl, bl
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001125f
mov eax, dword [ebp - 0x34]
mov ecx, 0x20
mov eax, dword [eax]
cmp eax, ecx
cmovb ecx, eax
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.1004e760
add esp, 0xc
lea eax, [ebp - 0x38]
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 0x1001124f
push 0
lea eax, [ebp - 0x50]
push eax
push 4
push dword [ebp - 0x38]
mov dword [ebp - 0x50], 1
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x10011241
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
push 8
push dword [ebp - 0x38]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x10011241
mov eax, dword [ebp - 0x34]
shr eax, 3
push eax
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10011241
push dword [ebp - 0x34]
push 0
push esi
call fcn.1004e5f0
add esp, 0xc
push 0
push esi
push 1
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push esi
test eax, eax
jne 0x100111f2
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10011241
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x48]
mov ecx, dword [esi]
cmp dword [edi], ecx
cmovb ecx, dword [edi]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
call fcn.1004e760
mov eax, dword [esi]
add esp, 0xc
push dword [edi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push 0
push 0
push 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1001123a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10011241
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1001124f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1001125f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1004bbda
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10015bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x147]
push 0
push eax
mov byte [ebp - 0x148], 0
call fcn.1004e5f0
add esp, 8
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x14c], 0x104
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov word [ebp - 0x38], 0x4d5c
mov dword [ebp - 0x25], 0x70784520
mov dword [ebp - 0x35], 0x736f7263
mov dword [ebp - 0x40], 0x54464f53
mov dword [ebp - 0x20], 0x7265726f
mov dword [ebp - 0x2f], 0x6e495c74
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x29], 0x74656e72
mov word [ebp - 0x3b], 0x5241
mov word [ebp - 0x2b], 0x6574
mov byte [ebp - 0x3c], 0x57
mov word [ebp - 0x31], 0x666f
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x39], 0x45
mov byte [ebp - 0x21], 0x6c
call fcn.10016740
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10015d00
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x11], 0x6e6f69
mov dword [ebp - 0x18], 0x56637673
mov word [ebp - 0x14], 0x7265
mov byte [ebp - 0x12], 0x73
call fcn.10016650
test eax, eax
je 0x10015cef
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x158]
mov word [ebp - 0xc], 0x6556
mov word [ebp - 9], 0x6973
mov word [ebp - 6], 0x6e
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 7], 0x6f
call fcn.10016650
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x10015d06
push esi
call ebx
xor esi, esi
jmp 0x10015d06
mov esi, dword [ebp - 0x158]
push 0x10092604
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov edi, eax
test edi, edi
je 0x10015dc3
xor eax, eax
mov word [ebp - 0x14b], ax
mov byte [ebp - 0x149], al
lea eax, [ebp - 0x148]
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
mov byte [ebp - 0x14c], 0
call fcn.1004e760
lea eax, [ebp - 0x14c]
push eax
call fcn.10052a66
add esp, 0x10
inc edi
push 0x10092604
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x14c], 0
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10015d9c
sub eax, edi
push eax
lea eax, [ebp - 0x14c]
push edi
push eax
call fcn.1004e760
lea eax, [ebp - 0x14c]
push eax
call fcn.10052a66
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 8], 0xb
setl bl
test esi, esi
je 0x10015db0
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.1004bbda
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10015dca
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1004bbda
mov esp, ebp
pop ebp
ret
Function at 0x10015de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c938
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x1009d350]
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 - 4], 0
mov dword [ebp - 0x168], 0
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
mov dword [ebp - 0x16c], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x100962f8
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x10015e64
movzx esi, ax
mov ecx, esi
call fcn.100017b9
test eax, eax
je 0x10015e72
push esi
push eax
mov ecx, edi
call fcn.10007221
jmp 0x10015e72
push 1
push 0x100962f8
mov ecx, edi
call fcn.100081be
push 0x104
lea eax, [ebp - 0x153]
push 0
push eax
mov dword [ebp - 0x168], 1
mov byte [ebp - 0x154], 0
call fcn.1004e5f0
mov dword [ebp - 0x164], 0x104
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 4], 2
add esp, 8
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x160]
mov word [ebp - 0x35], 0x6e72
mov word [ebp - 0x41], 0x7263
mov word [ebp - 0x4c], 0x4f53
mov dword [ebp - 0x49], 0x52415754
mov dword [ebp - 0x3a], 0x746e495c
mov dword [ebp - 0x32], 0x78452074
mov word [ebp - 0x44], 0x4d5c
mov dword [ebp - 0x2b], 0x726572
mov word [ebp - 0x3c], 0x7466
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x42], 0x69
mov word [ebp - 0x3f], 0x736f
mov word [ebp - 0x2e], 0x6c70
mov byte [ebp - 0x45], 0x45
mov byte [ebp - 0x4a], 0x46
mov byte [ebp - 0x3d], 0x6f
mov byte [ebp - 0x2c], 0x6f
mov byte [ebp - 0x33], 0x65
call fcn.10016740
test eax, eax
jne 0x10015fd8
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x160]
mov word [ebp - 0x23], 0x6376
mov dword [ebp - 0x20], 0x69737265
mov byte [ebp - 0x21], 0x56
mov byte [ebp - 0x24], 0x73
mov word [ebp - 0x1c], 0x6e6f
call fcn.10016650
test eax, eax
je 0x10015fb3
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x17], 0x69737265
mov word [ebp - 0x12], 0x6e
mov byte [ebp - 0x18], 0x56
mov byte [ebp - 0x13], 0x6f
call fcn.10016650
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x10015fcc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x15c], 0
jmp 0x10015fde
mov esi, dword [ebp - 0x160]
push 0x10092604
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10016009
lea eax, [ebp - 0x154]
push eax
push 0x10092414
push edi
call fcn.10009163
add esp, 0xc
test esi, esi
je 0x10016014
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.1004bbda
mov esp, ebp
pop ebp
ret
Function at 0x10016280
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x44
xorps xmm0, xmm0
lea eax, [ebp - 0x474]
push 0
push eax
movq qword [ebp - 0x428], xmm0
movq qword [ebp - 0x420], xmm0
call fcn.1004e5f0
xor eax, eax
push 0x3ff
push eax
mov word [ebp - 0x444], ax
mov byte [ebp - 0x414], al
lea eax, [ebp - 0x413]
push eax
mov dword [ebp - 0x474], 0x44
mov dword [ebp - 0x448], 1
call fcn.1004e5f0
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x400
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
push dword [ebx + 0xd4]
lea eax, [ebp - 0x418]
push str._d__c__s
push eax
call fcn.10009163
mov esi, dword [ebp - 0x418]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x10016378
push dword [esi - 0xc]
lea ecx, [ebp - 0x418]
call fcn.10007363
mov esi, dword [ebp - 0x418]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x474]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100163ea
push 0xbb8
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x1009231d
lea ecx, [ebx + 0xd4]
call fcn.100081be
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi - 8]
push esi
call fcn.1004cc03
add esp, 8
test eax, eax
js 0x10016444
cmp eax, dword [esi - 8]
jg 0x10016444
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10016427
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 esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004bbda
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.100016d9
int3