joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001db0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str._bSD_UDqSNBDRR_]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001dd0
mov byte [ebp - 0x19], 0
mov cl, 0x19
mov dword [ebp - 0x18], 0x4b5c5219
xor eax, eax
mov dword [ebp - 0x14], 0x2a555c57
mov dword [ebp - 0x10], 0x757d372b
mov word [ebp - 0xc], 0x75
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001e0f
mov cl, byte [ebp - 0x18]
jmp 0x10001e00
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret

Function at 0x10001f20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret

Function at 0x10001f40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100cd170
push 0x10088da0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100d6084]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001fd9
xor al, al
jmp 0x10002062
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002004
xor al, al
jmp 0x10002062
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x1000204f
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x10002ca0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x18], 0x3c
mov al, 0x52
xor al, byte [ebp - 0x18]
mov bl, 0x50
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x58
mov bh, ah
mov byte [ebp - 9], ah
mov dh, dl
mov byte [ebp - 0xe], 0
xor dl, al
mov byte [ebp - 0xe], 0
xor bl, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x14], bl
xor dh, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x11], dh
mov cl, 0x48
mov byte [ebp - 0x10], bh
xor cl, al
mov ch, 0x12
xor ch, al
mov byte [ebp - 0x16], cl
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x17]
push eax
mov byte [ebp - 0x12], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x100c92f0]
mov edx, eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x615b535f
xor eax, eax
mov word [ebp - 0x1c], 0x6b
pop ebx
nop dword [eax]
mov cl, byte [ebp - 0x30]
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0x14
jb 0x10002d30
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x1b], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov edx, 0x100029a0
mov ecx, eax
call fcn.10069140
add esp, 4
mov dword [0x100dafa0], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret

Function at 0x10002e50
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [0x100c87e0]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x2329102b
mov dword [ebp - 8], 0x34262b04
mov word [ebp - 4], 0x34
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x18
jb 0x10002e77
push 0
lea eax, [ebp - 0x1b]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10002eaf
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10002ec0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1000
push 0x40
mov dword [ebp - 8], 0x1000
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
push 0x250000
call dword [sym.imp.MPR.dll_WNetGetProviderNameA]
test eax, eax
jne 0x10002f57
movaps xmm0, xmmword [0x100c8820]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x1d7b3f3e
mov dword [ebp - 0x10], 0x3e3f3734
mov word [ebp - 0xc], 0x2829
mov byte [ebp - 0xa], al
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x19
jb 0x10002f20
lea eax, [ebp - 0x23]
mov byte [ebp - 0xa], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10002f57
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x10003500
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x100c8ad0]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x2d3b613c
mov word [ebp - 4], 0x23
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x10003520
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003a00
cmp eax, 0xd73df878
je 0x10003547
xor al, al
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x100c8560]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x164c09
mov word [ebp - 4], 0xe
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x10003561
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003a00
cmp eax, 0xd73df878
jne 0x10003541
movaps xmm0, xmmword [0x100c88f0]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x382e743f
mov word [ebp - 4], 0x36
nop dword [eax]
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x100035a0
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003a00
cmp eax, 0xb212610
jne 0x10003541
movaps xmm0, xmmword [0x100c8db0]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x48486b53
mov dword [ebp - 8], 0x5309544c
mov word [ebp - 4], 0x4b45
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x19
jb 0x100035e6
lea eax, [ebp - 0x1b]
mov byte [ebp - 2], 0
push eax
call fcn.10003a00
cmp eax, 0x6694b71f
jne 0x10003541
movaps xmm0, xmmword [0x100c8190]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10003618
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10003a00
cmp eax, 0xef7c0020
sete al
mov esp, ebp
pop ebp
ret
Function at 0x100038c0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x100dafa8
call fcn.10086ac0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x100038eb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x100038f6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10003901
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000390c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10003917
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10003922
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000392d
bts eax, 1
test cl, 2
je 0x10003936
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x100dafa8], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x100039d6
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100039c7
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x100dafa8], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x100038e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003a00
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100bfa5c
push eax
or ebx, 0xffffffff
call fcn.1008a3fb
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x10003a46
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008a5eb
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x10003a8f
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100dafa8]
sub edx, 1
jne 0x10003a75
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x10003a50
push eax
call fcn.1008a7ca
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 4
Function at 0x10003ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x7f77737e
movaps xmmword [esp + 0x20], xmm0
xor eax, eax
movq qword [esp + 0x30], xmm0
movaps xmm0, xmmword [0x100c9320]
movups xmmword [esp + 8], xmm0
mov byte [esp + 0x1c], 0
mov cl, byte [esp + 8]
xor byte [esp + eax + 9], cl
inc eax
cmp eax, 0x13
jb 0x10003af2
sub esp, 8
mov byte [esp + 0x24], 0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x11]
call fcn.10026800
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10006240
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10006377
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov bh, 0x5b
mov al, 0x14
mov byte [ebp - 8], 0
mov ah, 0x1f
mov byte [ebp - 0x10], bh
xor al, bh
mov byte [ebp - 8], 0
xor ah, bh
mov byte [ebp - 0xf], al
push 0
mov byte [ebp - 0xb], ah
mov cl, 0x17
lea eax, [ebp - 0xf]
mov dl, cl
push eax
mov ch, 0x19
mov dh, 0x1c
mov bl, 2
xor cl, bh
push 0
xor dl, bh
mov byte [ebp - 0xe], cl
xor ch, bh
mov byte [ebp - 0xd], dl
xor dh, bh
mov byte [ebp - 0xa], ch
xor bl, bh
mov byte [ebp - 9], dh
push 0
mov byte [ebp - 0xc], bl
call esi
test eax, eax
je 0x10006301
mov bh, 0x69
mov byte [ebp - 8], 0
push 0
push 0
mov al, 0x26
mov byte [ebp - 0x10], bh
mov ah, 0x2d
mov byte [ebp - 8], 0
push 0x10
xor al, bh
xor ah, bh
push 0
mov byte [ebp - 0xf], al
mov cl, 0x25
mov byte [ebp - 0xb], ah
mov dl, cl
lea eax, [ebp - 0xf]
mov ch, 0x2b
push eax
mov dh, 0x2e
mov bl, 0x30
push 0
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0xe], cl
xor dh, bh
mov byte [ebp - 0xd], dl
xor bl, bh
mov byte [ebp - 0xa], ch
push 0
mov byte [ebp - 0xc], bl
mov byte [ebp - 9], dh
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dl, 0x3c
mov byte [ebp - 1], 0
mov al, 0x75
mov byte [ebp - 4], dl
xor al, dl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 3], al
mov cl, 0x78
lea eax, [ebp - 3]
xor cl, dl
push eax
push 0
push 0
mov byte [ebp - 2], cl
call esi
test eax, eax
je 0x10006360
push 0
push 0
mov dl, 0x3e
mov byte [ebp - 1], 0
mov al, 0x77
mov byte [ebp - 4], dl
push 0x10
xor al, dl
mov byte [ebp - 1], 0
push 0
mov byte [ebp - 3], al
mov cl, 0x7a
lea eax, [ebp - 3]
xor cl, dl
push eax
push 0
push 0
mov byte [ebp - 2], cl
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa1f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d6084]
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.1006e1d6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100698e5
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 0x1000bb00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa40a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.10069b34
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x1000bbc0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.1008668d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100d3ad0
push eax
call fcn.10086c1a
push edi
push esi
call fcn.100699e8
add esp, 8
mov eax, esi
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.1006e1c5
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fb10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x1000fb2e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000fbd1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000fbd1
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000fbd1
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000fbd1
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.1000faa0
add esp, 4
test al, al
je 0x1000fbd1
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret

Function at 0x1000fbf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000fc5e
movaps xmm0, xmmword [0x100c86c0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x22
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1000fc30
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x33]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1000fc6e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
test eax, eax
je 0x1000fc58
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x10014d30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x100d6084]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
dec eax
push edi
mov edi, dword [ebp + 8]
cmp eax, 8
ja case.default.0x10014d59
jmp dword [eax*4 + 0x10014edc]
push 0
lea eax, [esp + 0x10]
push eax
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x100bfa5f
mov ecx, esi
call fcn.10005fd0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x10014e4e
push 0x20
push eax
mov ecx, esi
call fcn.1000c0e0
cmp dword [esi + 0x14], 0x10
jb 0x10014e15
mov esi, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 0xc
push 0x90
push str.c:usersmonsterdesktopdreamsoft_v1924dreamsoftN3Base_N3TableBase.hpp
push 0x100bfa5f
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.10002940
lea eax, [esp + 0x38]
push eax
call fcn.1000f620
add esp, 0x28
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 0x10
cmovae eax, dword [esp + 0x14]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jb 0x10014ec4
inc eax
lea ecx, [esp + 0x14]
push eax
push dword [esp + 0x18]
call fcn.10002720
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016c90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0x10012a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1001b070
call fcn.1006ce10
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1006d2e0
push 0x10016550
push 0x100db3dc
call fcn.1006cb20
call fcn.1006ce70
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x919fd0
call edi
test eax, eax
jne 0x10016d12
mov dword [0x100db3dc], 0x919fd0
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016550
push 0x100db3dc
call fcn.1006c690
call fcn.1006ce70
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016580
push 0x100db3d8
call fcn.1006cb20
call fcn.1006ce70
mov eax, dword [sym.imp.WS2_32.dll_connect]
push 4
push eax
mov dword [0x100db3d8], eax
call edi
test eax, eax
jne 0x10016d67
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016580
push 0x100db3d8
call fcn.1006c690
call fcn.1006ce70
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016830
push 0x100db3d4
call fcn.1006cb20
call fcn.1006ce70
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
push 4
push eax
mov dword [0x100db3d4], eax
call edi
test eax, eax
jne 0x10016dbc
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016830
push 0x100db3d4
call fcn.1006c690
call fcn.1006ce70
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016b00
push 0x100db3d0
call fcn.1006cb20
call fcn.1006ce70
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
push 4
push eax
mov dword [0x100db3d0], eax
call edi
test eax, eax
jne 0x10016e11
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016b00
push 0x100db3d0
call fcn.1006c690
call fcn.1006ce70
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016b30
push 0x100db3cc
call fcn.1006cb20
call fcn.1006ce70
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
push eax
mov dword [0x100db3cc], eax
call edi
test eax, eax
jne 0x10016e66
call fcn.1006ce10
call esi
push eax
call fcn.1006d2e0
push 0x10016b30
push 0x100db3cc
call fcn.1006c690
call fcn.1006ce70
pop edi
pop esi
pop ecx
ret