joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020090
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x1014d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x2f4], 0x7a624416
xor esi, esi
mov dword [ebp - 0x2f0], 0x7277795a
mov dword [ebp - 0x2ec], 0x7f646245
mov word [ebp - 0x2e8], 0x7178
mov byte [ebp - 0x2e6], 0
push ebx
cmp esi, 0xe
jb 0x100200f1
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x2f3]
xor bl, byte [ebp - 0x2f4]
cmp esi, 0xe
jb 0x1002011a
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x2f3], bl
inc esi
cmp esi, 0xd
jb 0x100200d5
mov byte [ebp - 0x2e6], 0
xor esi, esi
mov dword [ebp - 0x2e4], 0x37273d53
mov dword [ebp - 0x2e0], 0x377d3f3f
mov word [ebp - 0x2dc], 0x3f3f
mov byte [ebp - 0x2da], 0
cmp esi, 0xa
jb 0x10020170
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x2e3]
xor bl, byte [ebp - 0x2e4]
cmp esi, 0xa
jb 0x10020199
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x2e3], bl
inc esi
cmp esi, 9
jb 0x10020154
lea eax, [ebp - 0x2f3]
mov byte [ebp - 0x2da], 0
push eax
lea eax, [ebp - 0x2e3]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
pop ebx
add esi, 0x430
jne 0x100201e4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10075bf0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100201d3
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.1007b2b0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100201d3
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x100201d3
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x100201d3
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100024e0
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x100201d3
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10075bf0
mov esp, ebp
pop ebp
ret
Function at 0x100202b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x10], 0x46564c22
mov dword [ebp - 0xc], 0x460c4e4e
mov word [ebp - 8], 0x4e4e
mov byte [ebp - 6], 0
cmp esi, 0xa
jb 0x100202f2
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xa
jb 0x10020315
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 9
jb 0x100202d6
lea eax, [ebp - 0xf]
mov byte [ebp - 6], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x1002033c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x1013dd50]
xor esi, esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7369556f
mov dword [ebp - 0x14], 0x656064
cmp esi, 0x17
jb 0x10020373
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x27]
xor bl, byte [ebp - 0x28]
cmp esi, 0x17
jb 0x10020396
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x27], bl
inc esi
cmp esi, 0x16
jb 0x10020357
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10020333
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100203c6
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0
push 0
push 0x11
push eax
call esi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100203e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1002041e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020422
cmp edx, esi
jne 0x10020407
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x10020442
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020446
cmp edx, esi
jne 0x1002042b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x10020466
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002046a
cmp edx, esi
jne 0x1002044f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1014d084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.100178f0
test eax, eax
je 0x1002067b
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x1002067b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1002067b
movaps xmm0, xmmword [0x1013cef0]
xor esi, esi
movups xmmword [ebp - 0x24], xmm0
nop dword [eax + eax]
cmp esi, 0xf
jb 0x1002059c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x23]
xor bl, byte [ebp - 0x24]
cmp esi, 0xf
jb 0x100205bf
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x23], bl
inc esi
cmp esi, 0xe
jb 0x10020580
mov byte [ebp - 0x15], 0
xor esi, esi
mov dword [ebp - 0x14], 0x7b6b711f
mov dword [ebp - 0x10], 0x7b317373
mov word [ebp - 0xc], 0x7373
mov byte [ebp - 0xa], 0
cmp esi, 0xa
jb 0x10020603
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x13]
xor bl, byte [ebp - 0x14]
cmp esi, 0xa
jb 0x10020626
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x13], bl
inc esi
cmp esi, 9
jb 0x100205e7
lea eax, [ebp - 0x23]
mov byte [ebp - 0xa], 0
push eax
lea eax, [ebp - 0x13]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov edi, eax
call fcn.1001aba0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10020698
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push esi
call edi
test eax, eax
jns 0x10020683
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 8], 0
jbe 0x10020691
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075bf0
mov esp, ebp
pop ebp
ret
Function at 0x10020a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0x3c213453
mov word [ebp - 8], 0x2326
xor esi, esi
mov byte [ebp - 6], 0
nop
cmp esi, 6
jb 0x10020aac
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0xb]
xor bl, byte [ebp - 0xc]
cmp esi, 6
jb 0x10020acf
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0xb], bl
inc esi
cmp esi, 5
jb 0x10020a90
sub esp, 0x1c
mov byte [ebp - 6], 0
lea eax, [ebp - 0xb]
mov ecx, esp
push eax
call fcn.10007920
mov ecx, dword [edi]
call fcn.1001a250
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0x78627416
xor esi, esi
mov dword [ebp - 0x18], 0x777a7549
mov dword [ebp - 0x14], 0x77744978
mov word [ebp - 0x10], 0x7d78
mov byte [ebp - 0xe], 0
nop dword [eax]
cmp esi, 0xe
jb 0x10020b3c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x1b]
xor bl, byte [ebp - 0x1c]
cmp esi, 0xe
jb 0x10020b5f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x1b], bl
inc esi
cmp esi, 0xd
jb 0x10020b20
sub esp, 0x1c
mov byte [ebp - 0xe], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10007920
mov ecx, dword [ebp - 4]
call fcn.1001a250
add esp, 0x1c
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], 0x20323153
mov dword [ebp - 0xc], 0x3c300c36
xor esi, esi
mov word [ebp - 8], 0x20
cmp esi, 9
jb 0x1002165d
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 9
jb 0x10021680
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 8
jb 0x10021641
sub esp, 0x1c
mov byte [ebp - 7], 0
lea eax, [ebp - 0xf]
mov ecx, esp
push eax
call fcn.10007920
mov ecx, dword [edi]
call fcn.1001a250
add esp, 0x1c
mov dword [edi + 4], eax
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100216bd
mov dword [edi + 4], 0
movaps xmm0, xmmword [0x1013d080]
xor esi, esi
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
cmp esi, 0xf
jb 0x100216ec
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x13]
xor bl, byte [ebp - 0x14]
cmp esi, 0xf
jb 0x1002170f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x13], bl
inc esi
cmp esi, 0xe
jb 0x100216d0
sub esp, 0x1c
mov byte [ebp - 5], 0
lea eax, [ebp - 0x13]
mov ecx, esp
push eax
call fcn.10007920
mov ecx, dword [edi + 4]
call fcn.1001a250
add esp, 0x1c
mov dword [edi + 8], eax
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1002174d
mov dword [edi + 8], 0
cmp dword [edi + 8], 0
je 0x10021767
cmp dword [0x10156b14], 0
mov ecx, 0x10b78ba
sete dl
call fcn.1001aad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005c5f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe1ec
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1014d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x28]
xorps xmm0, xmm0
mov dword [edi + 4], 1
mov dword [edi], 1
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
movups xmmword [edi + 0x48], xmm0
movups xmmword [edi + 0x58], xmm0
movups xmmword [edi + 0x68], xmm0
lea ecx, [edi + 0x84]
mov dword [ebp - 4], 0
call fcn.10006f50
mov eax, dword [edi + 0x88]
mov dword [edi + 0x8c], eax
lea ecx, [edi + 0x94]
mov dword [ebp - 4], 1
call fcn.10006f50
mov eax, dword [edi + 0x98]
mov dword [edi + 0x9c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005ca20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe23c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1014d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
mov dword [edi + 4], 1
mov dword [edi], 1
lea eax, [edi + 0x110]
mov dword [edi + 8], 0
mov ecx, 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
movups xmmword [edi + 0x58], xmm0
movups xmmword [edi + 0x70], xmm0
movups xmmword [edi + 0x80], xmm0
movups xmmword [edi + 0x90], xmm0
nop dword [eax]
mov dword [eax + 4], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0x1c], 0
mov dword [eax - 0x20], 0
sub ecx, 1
jne 0x1005cb30
mov dword [ebp - 4], ecx
lea ecx, [edi + 0xb4]
call fcn.10006f50
mov eax, dword [edi + 0xbc]
mov esi, dword [edi + 0xb8]
cmp esi, eax
je 0x1005cb92
mov edi, eax
nop dword [eax + eax]
lea ecx, [esi + 8]
call fcn.1001ad70
add esi, 0x40
cmp esi, edi
jne 0x1005cb80
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xbc], eax
lea ecx, [edi + 0xc4]
mov dword [ebp - 4], 1
call fcn.10006f50
mov eax, dword [edi + 0xcc]
mov esi, dword [edi + 0xc8]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x1005cbd6
mov edi, eax
mov ecx, esi
call fcn.1005c930
add esi, 0x48
cmp esi, edi
jne 0x1005cbc5
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xc8]
mov dword [edi + 0xcc], eax
mov dword [edi + 0x100], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xf4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005fbe0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe3fe
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1014d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.1005f990
lea ecx, [ebp - 0x7c]
call fcn.1005fa40
push esi
lea ecx, [ebp - 0x7c]
call fcn.1005fb30
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x1005fc8c
inc eax
push 1
push eax
push dword [ebp + 0xc]
call fcn.10007520
add esp, 0xc
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.10007000
lea ecx, [ebp + 8]
call fcn.10006ea0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10075bf0
mov esp, ebp
pop ebp
ret

Function at 0x10061980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
mov ebx, 1
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0x5851f42d
xor eax, eax
mov ecx, esi
push 0x4c957f2d
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.10076f20
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, 0x138
jl 0x100619a3
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [eax], 0x138
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10065d60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1014d084]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x1013cdac]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x1013cdb0]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x1013cd94]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x1013cda4]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10065e30
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x10065df9
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x10065e46
inc ax
mov word [ebp - 0xa], ax
jmp 0x10065e0f
cmp eax, 0xe7
jne 0x10065e46
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x10065e46
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10065de0
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10075bf0
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.10075bf0
mov esp, ebp
pop ebp
ret

Function at 0x1006a270
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0x1006a200
push 0x10150df0
call fcn.10070000
add esp, 8
cmp dword [0x1014d064], 0xffffffff
je 0x1006a2b9
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x1014d064]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1006a2b7
push 0x70
push 0x10106a28
push str.TlsSetValue_current_thread_tls_key__new_data_
call fcn.100985c0
add esp, 0xc
jmp 0x1006a2d1
xor eax, eax
jne 0x1006a2d1
push 0x74
push 0x10106ad0
push 0x10106b14
call fcn.100985c0
add esp, 0xc
pop ebp
ret
Function at 0x1006cb80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff0cc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1014d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.boost::detail::thread_data_base.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.100cfd90
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.1006c7f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.1006c920
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1006c920
mov byte [ebp - 4], 3
push 0
push 1
call fcn.1000a4c0
add esp, 8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.1006cb10
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10072f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100730f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10072ffd
mov edx, dword [ebp - 4]
cmp edx, dword [0x1014d068]
jb 0x10072f6a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1014d06c]
ja 0x10072f6a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10072f3a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007b2b0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10072f8f
jmp 0x10072ffd
cmp dword [ebp - 0x14], 0x10000
jne 0x10072fe3
cmp dword [ebp - 0x18], 0x10000
jb 0x10072fe3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10072fc6
mov eax, dword [ebp - 8]
jmp 0x10072fff
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10072fd6
xor eax, eax
jmp 0x10072fff
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10072ff8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100730f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10072f3a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10073010
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10073120
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100730e5
mov edx, dword [ebp - 4]
cmp edx, dword [0x1014d068]
jb 0x10073055
mov eax, dword [ebp - 4]
cmp eax, dword [0x1014d06c]
ja 0x10073055
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10073025
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007b2b0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1007307a
jmp 0x100730e5
cmp dword [ebp - 0x14], 0x10000
jne 0x100730ce
cmp dword [ebp - 0x18], 0x10000
jb 0x100730ce
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100730b1
mov eax, dword [ebp - 8]
jmp 0x100730e7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100730c1
xor eax, eax
jmp 0x100730e7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100730e0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10073120
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10073025
xor eax, eax
mov esp, ebp
pop ebp
ret