joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d790
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
or cl, 0xff
xor eax, eax
mov byte [esp], cl
test edx, edx
jle 0x1000d7ca
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 8]
xor ecx, ecx
mov cl, byte [eax + esi]
and edi, 0xff
xor ecx, edi
inc eax
cmp eax, edx
mov cl, byte [ecx + 0x10051ac4]
mov byte [esp + 8], cl
jl 0x1000d7a8
pop edi
pop esi
mov eax, 0xff
sub eax, ecx
pop ecx
ret

Function at 0x1000ec00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub esp, 0x40c
lea edx, [esp + 4]
push ebx
push ebp
push eax
push ecx
push edx
call fcn.1000ede0
mov ebp, dword [esp + 0x428]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor ecx, ecx
test ebp, ebp
jle 0x1000ec85
push esi
push edi
mov edi, dword [esp + 0x420]
jmp 0x1000ec43
mov al, byte [esp + 0x10]
inc al
and eax, 0xff
mov dword [esp + 0x10], eax
mov edx, dword [esp + eax*4 + 0x1c]
lea esi, [esp + eax*4 + 0x1c]
mov al, dl
add al, bl
and eax, 0xff
mov ebx, eax
mov eax, dword [esp + ebx*4 + 0x1c]
mov dword [esi], eax
add al, dl
and eax, 0xff
mov dword [esp + ebx*4 + 0x1c], edx
mov dl, byte [esp + eax*4 + 0x1c]
mov al, byte [ecx + edi]
xor al, dl
mov byte [ecx + edi], al
inc ecx
cmp ecx, ebp
jl 0x1000ec3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret

Function at 0x1000ede0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor edx, edx
lea ebp, [eax + 8]
push esi
mov dword [eax], edx
mov dword [eax + 4], edx
push edi
xor eax, eax
mov ecx, ebp
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, 0x100
jl 0x1000edf6
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov esi, ebp
mov dword [esp + 0x14], 0x100
mov edi, dword [esi]
xor eax, eax
mov al, byte [edx + ebx]
add eax, edi
add ecx, eax
and ecx, 0x800000ff
jns 0x1000ee2e
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ebp + ecx*4]
mov dword [esi], eax
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [ebp + ecx*4], edi
mov dword [esp + 0x14], eax
jne 0x1000ee13
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1000ee60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x40c
mov al, byte [esp + 0x420]
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
push edi
mov byte [esp + 4], al
push ecx
lea eax, [esp + 0xc]
push edx
push eax
call fcn.1000ede0
mov edi, dword [esp + 0x424]
add esp, 0xc
xor eax, eax
test edi, edi
jle 0x1000eed7
push ebx
push esi
mov esi, dword [esp + 0x41c]
mov ecx, dword [esp + 0xc]
mov bl, byte [eax + esi]
and ecx, 0xff
mov dl, byte [esp + ecx*4 + 0x18]
xor bl, dl
inc ecx
and ecx, 0x800000ff
mov byte [eax + esi], bl
jns 0x1000eecc
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
mov byte [esp + 0xc], cl
cmp eax, edi
jl 0x1000eea5
pop esi
pop ebx
pop edi
add esp, 0x40c
ret
Function at 0x1000f9e0
Capabilities:
Get common file path
Get disk information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10042cd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push 0x100674d4
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call fcn.1003bd8c
lea eax, [esp + 0x10]
mov dword [esp + 0x208], 1
push eax
push str.HARDWAREDESCRIPTIONSystem_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000fa81
lea ecx, [esp]
lea edx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push eax
push 0
push str.SystemBiosDate
push ecx
mov dword [esp + 0x18], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000fa76
lea edx, [esp + 0x98]
lea ecx, [esp + 4]
push edx
call fcn.1003bea7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xfc]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100674d4
lea ecx, [esp + 0x10]
call fcn.1003bd8c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x208], 2
call fcn.10005a40
lea edx, [esp + 0xfc]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 3
call fcn.10005b00
test eax, eax
je 0x1000fb00
lea ecx, [esp + 0x1c]
call fcn.10005af0
push eax
lea ecx, [esp + 0x20]
call fcn.10005ae0
push eax
lea ecx, [esp + 0x24]
call fcn.10005ad0
push eax
lea eax, [esp + 0x18]
push str._04d__02d__02d
push eax
call fcn.1003a297
add esp, 0x14
push esi
push edi
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
push ecx
push 0
push 0
push 0x10051c74
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x48]
push str._x__s__s
push edx
call fcn.100208b9
mov eax, dword [0x10055424]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x224], 4
push ecx
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.1000dc30
add esp, 0x20
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x214], 5
call fcn.1003be57
lea ecx, [esp + 8]
mov byte [esp + 0x210], 4
call fcn.1003bd1e
mov esi, dword [esp + 0x218]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.1003bab1
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 3
call fcn.1003bd1e
lea ecx, [esp + 0x24]
mov byte [esp + 0x210], 2
call fcn.10005a60
lea ecx, [esp + 0x14]
mov byte [esp + 0x210], 1
call fcn.1003bd1e
lea ecx, [esp + 0xc]
mov byte [esp + 0x210], 0
call fcn.1003bd1e
mov ecx, dword [esp + 0x208]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20c
ret
Function at 0x1000fd00
Capabilities:
Set registry value

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x1000fd0d
pop edi
ret 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push esi
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
mov eax, esi
pop esi
pop edi
ret 0x10
Function at 0x10010550
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10042dae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x878
push ebx
push ebp
push esi
push edi
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x64]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x898]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x894], ebx
xor ebp, ebp
call fcn.1003bab1
mov ecx, dword [esp + 0x10]
push 0x100674d4
push ecx
mov byte [esp + 0x898], 1
call fcn.10020ce8
add esp, 8
test eax, eax
je 0x10010712
mov edx, dword [esp + 0x10]
push ebx
push edx
call fcn.10009aa0
add esp, 8
test eax, eax
je 0x10010717
mov eax, dword [esp + 0x10]
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001071e
mov edx, dword [esp + 0x8a0]
lea ecx, [esp + 0x18]
push ebx
push ecx
lea edi, [edx + 0x52]
lea eax, [esp + 0x6c]
push edi
push eax
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x1001074b
cmp dword [esp + 0x18], edi
jne 0x1001074b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x64]
push str.trinfo
push ecx
call fcn.10029e00
add esp, 8
test eax, eax
jne 0x10010725
mov ecx, 0xc
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x8a0]
mov ecx, 8
stosw word es:[edi], ax
lea esi, [esp + 0x73]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x73]
rep stosd dword es:[edi], eax
lea eax, [edx + 0x52]
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
push ecx
call fcn.1000dc30
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x8a4], 2
call fcn.10029e00
add esp, 0x14
test eax, eax
jne 0x1001072c
mov esi, dword [esp + 0x8a0]
mov ecx, 0x2020202
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push 0x14
mov dword [esp + 0x28], ecx
lea eax, [esi + 0x22]
mov dword [esp + 0x2c], ecx
push edx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x9c]
push eax
push ecx
call fcn.1000ec90
mov al, byte [esp + 0xa4]
add esp, 0x10
cmp al, 1
jne 0x10010733
mov edi, dword [esp + 0x89c]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0xb6]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10010738
or ebp, 0xffffffff
jmp 0x10010757
mov ebp, 1
jmp 0x10010757
mov ebp, 0xfffffffe
jmp 0x10010757
mov ebp, 0xfffffffc
jmp 0x10010757
mov ebp, 0xfffffffb
jmp 0x10010738
mov ebp, 0xfffffffa
lea ecx, [esp + 0x14]
mov byte [esp + 0x890], 1
call fcn.1003bd1e
jmp 0x10010757
push esi
mov ebp, 0xfffffffd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x890], bl
call fcn.1003bd1e
lea ecx, [esp + 0x898]
mov dword [esp + 0x890], 0xffffffff
call fcn.1003bd1e
mov ecx, dword [esp + 0x888]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x884
ret 0xc
Function at 0x10010830
Capabilities:
Create thread

Disassembly:
sub esp, 0x404
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
mov ebx, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.._s
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.100208b9
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x14]
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edx
call esi
cmp eax, 0xffffffff
mov dword [ebx + 4], eax
jne 0x100108ce
push ebp
lea eax, [esp + 0x18]
push str..Globals_s
push eax
call fcn.100208b9
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call esi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x10010902
mov eax, dword [esp + 0x41c]
test eax, eax
je 0x10010902
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0
push ebx
push 0x100107a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 4]
xor eax, eax
pop edi
cmp ecx, 0xffffffff
pop esi
pop ebp
setne al
pop ebx
add esp, 0x404
ret 8
Function at 0x10011330
Capabilities:
Copy file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10042e56
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
lea eax, [esp + 0xa0]
push ebx
push ebp
push esi
push edi
push eax
push 0x104
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x1b4]
lea edx, [esp + 0xb0]
push ecx
push ebp
push 0x10051cbc
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ebx, dword [esp + 0x3cc]
lea eax, [esp + 0x1b4]
push ebp
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1001148e
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x4c]
push 0x100501ac
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1b8]
push ecx
call fcn.1002093c
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x1001148e
push esi
push 0x64
lea edx, [esp + 0x54]
push 1
push edx
call fcn.100209ef
push esi
call fcn.1002069a
add esp, 0x14
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x10]
push eax
call fcn.1003bd8c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x3cc], ebp
call fcn.1000dae0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c4], 2
call fcn.1003bd1e
push 0x100501bc
push ebx
call fcn.1002093c
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x1001147a
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
push ebp
rep stosd dword es:[edi], eax
push 0x1e
push esi
stosw word es:[edi], ax
call fcn.10021847
push esi
push 0x20
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.100215ad
push esi
call fcn.1002069a
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.10020ce8
add esp, 0x28
test eax, eax
jne 0x1001147a
mov ebp, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c4], 0xffffffff
call fcn.1003bd1e
mov ecx, dword [esp + 0x3bc]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b8
ret
Function at 0x10011af0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10042e88
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
xor esi, esi
cmp edi, esi
je 0x10011b7c
mov ebx, dword [esp + 0x3c]
cmp ebx, esi
je 0x10011b7c
push 0xa
lea ecx, [esp + 0x10]
call fcn.1003a58b
lea eax, [esp + 0xc]
mov dword [esp + 0x30], esi
push eax
push edi
call fcn.10009cf0
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, esi
je 0x10011b57
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xc]
push ecx
push ebx
push edx
call fcn.10010d10
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.1003a5ff
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x10012bbf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10012c8b
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.10012cba
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xa8]
push ecx
call eax
test eax, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
jne 0x10012c4b
call fcn.10012c8b
add esp, 0xc
xor eax, eax
jmp 0x10012c88
call fcn.10012c8b
mov eax, dword [ebp - 0x98]
add esp, 0xc
sub eax, ebx
je 0x10012c85
dec eax
je 0x10012c65
dec eax
je 0x10012c77
jmp 0x10012c47
cmp dword [ebp - 0xa0], ebx
jne 0x10012c71
push 4
jmp 0x10012c87
jbe 0x10012c77
push 5
jmp 0x10012c87
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x10012c88
push 3
pop eax
pop ebx
leave
ret

Function at 0x10012cba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
mov eax, dword [0x10051d30]
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x10012d1d
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10051d30], eax
leave
ret
Function at 0x10012d1f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x4000000
push 1
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x5c
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x39
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x44
call fcn.10012dcb
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x10012d90
mov eax, 0xc357
jmp 0x10012dc7
push ebx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
push esi
push esi
push 2
push edi
call fcn.10012e56
push edi
mov ebx, eax
call fcn.10012ef4
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x10012dc2
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
xor eax, eax
jmp 0x10012dc7
mov eax, 0xc358
pop edi
pop esi
leave
ret

Function at 0x10012dcb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xb], 0x65
call fcn.10012cba
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10012e27
leave
ret
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x10012e56
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 5], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x49
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 7], 0x6f
mov byte [ebp - 0x10], 0x63
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 6], 0x6c
call fcn.10012cba
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10012ec2
leave
ret
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x10012ef4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6c
call fcn.10012cba
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10012f50
leave
ret
push esi
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x10012f6d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x80
push 3
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x18]
push 0xc0000000
push eax
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x4f
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x11], 0x54
mov byte [ebp - 0x10], 0x4e
mov byte [ebp - 0xf], 0x54
call fcn.10012dcb
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x10013007
push ebx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
push 4
push eax
push esi
push esi
push 0x80002000
push edi
call fcn.10012e56
push edi
mov ebx, eax
call fcn.10012ef4
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x10013000
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
mov byte [eax], cl
xor eax, eax
jmp 0x1001300c
mov eax, 0xc358
jmp 0x1001300c
mov eax, 0xc357
pop edi
pop esi
leave
ret
Function at 0x10013010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x10013026
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x10013039
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret
Function at 0x10019610
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x100196eb
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x10054c4c]
xor edx, dword [esi*4 + 0x1005444c]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x1005484c]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x1005404c]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x10054c4c]
xor edx, dword [esi*4 + 0x1005484c]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x1005444c]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x1005404c]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x10054c4c]
xor edx, dword [esi*4 + 0x1005484c]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x1005444c]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x1005404c]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x10054c4c]
xor edx, dword [esi*4 + 0x1005484c]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x1005444c]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x1005404c]
dec ecx
mov dword [eax - 6], edx
jne 0x10019625
pop esi
ret