joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb5f6f4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0xb5f722
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0xb5f729
cmp ebx, dword [eax + 4]
jae 0xb5f729
xor eax, eax
jmp 0xb5f919
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0xb5f73a
xor eax, eax
inc eax
jmp 0xb5f918
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0xb5f750
cmp ecx, edx
jae 0xb5f895
cmp dword [eax + 4], 0
je 0xb5f759
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0xb5f741
cmp dword [ebp + 8], 0
je 0xb5f77b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0xb5f895
cmp eax, esi
jae 0xb5f895
mov eax, dword [0x6682f878]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0xb5f7a0
cmp dword [esi*4 + 0x6682f880], edi
je 0xb5f899
inc esi
cmp esi, eax
jl 0xb5f78e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x66789168]
test eax, eax
je 0xb5f915
cmp dword [ebp - 8], 0x1000000
jne 0xb5f915
test byte [ebp - 0xc], 0xcc
je 0xb5f81e
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0xb5f915
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0xb5f915
cmp word [eax + 0x18], 0x10b
jne 0xb5f915
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0xb5f915
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0xb5f81e
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0xb5f81e
test byte [ecx + 0x27], 0x80
jne 0xb5f895
push 1
push 0x6682f8c0
call dword [0x66789164]
test eax, eax
jne 0xb5f732
mov ecx, dword [0x6682f878]
test ecx, ecx
mov edx, ecx
jle 0xb5f852
lea eax, [ecx*4 + 0x6682f87c]
cmp dword [eax], edi
je 0xb5f852
dec edx
sub eax, 4
test edx, edx
jg 0xb5f846
test edx, edx
jne 0xb5f883
push 0xf
pop ebx
cmp ecx, ebx
jg 0xb5f85f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0xb5f877
lea eax, [edx*4 + 0x6682f880]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0xb5f865
cmp ecx, 0x10
jge 0xb5f883
inc ecx
mov dword [0x6682f878], ecx
push 0
push 0x6682f8c0
call dword [0x66789164]
jmp 0xb5f732
xor eax, eax
jmp 0xb5f918
test esi, esi
jle 0xb5f732
mov ebx, dword [0x66789164]
push 1
push 0x6682f8c0
call ebx
test eax, eax
jne 0xb5f732
cmp dword [esi*4 + 0x6682f880], edi
je 0xb5f8ef
mov eax, dword [0x6682f878]
lea esi, [eax - 1]
test esi, esi
jl 0xb5f8dd
cmp dword [esi*4 + 0x6682f880], edi
je 0xb5f8d9
dec esi
jns 0xb5f8cd
test esi, esi
jge 0xb5f8ed
cmp eax, 0x10
jge 0xb5f8e8
inc eax
mov dword [0x6682f878], eax
lea esi, [eax - 1]
jmp 0xb5f8ef
je 0xb5f907
xor ecx, ecx
test esi, esi
jl 0xb5f907
lea eax, [ecx*4 + 0x6682f880]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0xb5f8f5
push 0
push 0x6682f8c0
call ebx
jmp 0xb5f732
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100014c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x1004ede0
call fcn.1003d270
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x10001501
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001511
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.100014c0
test eax, eax
jne 0x100015e1
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], ebx
jne 0x100015e1
movaps xmm0, xmmword [0x1004d6a0]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x48767771
mov dword [ebp - 0x20], 0x7d7b776a
mov word [ebp - 0x1c], 0x6b6b
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x19
jb 0x10001575
mov byte [ebp - 0x1a], bl
mov cl, 5
mov dword [ebp - 0x18], 0x61716b05
mov eax, ebx
mov dword [ebp - 0x14], 0x612b6969
mov word [ebp - 0x10], 0x6969
mov byte [ebp - 0xe], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 9
jae 0x100015af
mov cl, byte [ebp - 0x18]
jmp 0x100015a0
lea eax, [ebp - 0x17]
mov byte [ebp - 0xe], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100015e9
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x100015e9
cmp dword [ebp - 0xc], ebx
je 0x100015e9
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003c324
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1004cfb0]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x203a1630
mov ecx, edx
mov dword [ebp - 0x18], 0x2730213b
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x1000161c
mov byte [ebp - 0x14], dl
mov cl, 0x60
mov dword [ebp - 0x10], 0x12050b60
mov eax, edx
mov dword [ebp - 0xc], 0x530c050e
mov dword [ebp - 8], 0xc044e52
mov word [ebp - 4], 0xc
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x1000165a
mov cl, byte [ebp - 0x10]
jmp 0x1000164b
lea eax, [ebp - 0xf]
mov byte [ebp - 3], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000d25e
cmp al, 0xe9
jne 0x10001685
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret
Function at 0x10001687
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x44405d29
mov cl, 0x29
mov dword [ebp - 0xc], 0x5d4c6e4c
mov dword [ebp - 8], 0x4c44407d
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x100016ba
mov cl, byte [ebp - 0x10]
jmp 0x100016ab
mov byte [ebp - 4], dl
mov cl, 0x17
mov dword [ebp - 0x20], 0x65727c17
mov eax, edx
mov dword [ebp - 0x1c], 0x247b7279
mov dword [ebp - 0x18], 0x7b733925
mov word [ebp - 0x14], 0x7b
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x100016eb
mov cl, byte [ebp - 0x20]
jmp 0x100016dc
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x13], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0xf]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000d25e
cmp al, 0xe9
jne 0x10001716
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret

Function at 0x10001718
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x20], 0x79684a0d
mov cl, 0xd
mov dword [ebp - 0x1c], 0x666e6459
mov dword [ebp - 0x18], 0x6378624e
mov eax, edx
mov word [ebp - 0x14], 0x79
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x1000174e
mov cl, byte [ebp - 0x20]
jmp 0x1000173f
mov byte [ebp - 0x13], dl
mov cl, 0x57
mov dword [ebp - 0x10], 0x25323c57
mov eax, edx
mov dword [ebp - 0xc], 0x643b3239
mov dword [ebp - 8], 0x3b337965
mov word [ebp - 4], 0x3b
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x1000177f
mov cl, byte [ebp - 0x10]
jmp 0x10001770
lea eax, [ebp - 0xf]
mov byte [ebp - 3], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000d25e
cmp al, 0xe9
jne 0x100017aa
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret

Function at 0x100017ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004c910]
push ebx
xor ebx, ebx
movups xmmword [ebp - 0x28], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x100017cc
mov byte [ebp - 0x19], bl
mov cl, 0x71
mov dword [ebp - 0x18], 0x23343a71
mov eax, ebx
mov dword [ebp - 0x14], 0x423d343f
mov dword [ebp - 0x10], 0x1d155f43
mov word [ebp - 0xc], 0x1d
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x1000180a
mov cl, byte [ebp - 0x18]
jmp 0x100017fb
lea eax, [ebp - 0x17]
mov byte [ebp - 0xb], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x27]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
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
pop ebx
call fcn.1003c324
leave
ret
Function at 0x100018d5
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1004ee00
push 0x1003c2f5
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x10054040]
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
and dword [ebp - 0x50], 0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000194f
xor al, al
jmp 0x100019cf
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001978
xor al, al
jmp 0x100019cf
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100019bd
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.1003c324
leave
ret
Function at 0x10001e98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1004d450]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x424c
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001eb5
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002204
cmp eax, 0xba2d38a3
jne 0x10001f07
movaps xmm0, xmmword [str.cFSF_bHIBT_tSEK]
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 0x10001ee3
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002204
cmp eax, 0x27b35bb1
sete al
leave
ret
xor al, al
leave
ret
Function at 0x10002152
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
push 0x3fc
xor esi, esi
push esi
push 0x10057464
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, 0x10057460
push 8
push esi
call fcn.100021cf
mov edx, eax
push 8
shl edx, 0x18
pop ebx
mov ecx, edx
lea eax, [edx + edx]
sar ecx, 0x1f
and ecx, 0x4c11db7
mov edx, ecx
xor edx, eax
sub ebx, 1
jne 0x1000217f
push 0x20
push edx
call fcn.100021cf
mov dword [edi], eax
inc esi
add edi, 4
cmp edi, 0x1005785c
jle 0x1000216f
pop edi
pop esi
pop ebx
call fcn.10001a38
test al, al
je 0x100021cc
call fcn.10001e98
test al, al
je 0x100021cc
call fcn.10001f0e
test al, al
setne al
ret
xor al, al
ret

Function at 0x10002204
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x10042854
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x100022b7
cmp dword [ebp - 0x408], eax
je 0x100022b7
push ebx
push dword [ebp - 0x408]
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x100022a7
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.100022c8
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10002270
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
not esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003c324
leave
ret 4

Function at 0x100022c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100022f9
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10057460]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x100022db
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x10002f22
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x14
mov eax, 0x1003daed
call fcn.1003d6ce
mov esi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x10042857
call fcn.10003da4
xor edx, edx
mov dword [ebp - 4], edx
mov al, byte [esi + 2]
mov dword [ebp - 0x10], ebx
cmp al, 0xff
je 0x1000308b
cmp al, bl
jne 0x10002f88
mov cl, 0x1e
mov dword [ebp - 0x1c], 0x332f2e1e
mov dword [ebp - 0x18], 0x7a727179
mov eax, edx
mov byte [ebp - 0x14], dl
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x10002f80
mov cl, byte [ebp - 0x1c]
jmp 0x10002f71
lea eax, [ebp - 0x1b]
jmp 0x10003080
jle 0x1000308b
cmp al, 5
jge 0x10002fc7
mov cl, 0x6d
mov dword [ebp - 0x20], 0x405f5d6d
mov word [ebp - 0x1c], 0x41e
mov eax, edx
mov byte [ebp - 0x1a], bl
mov dword [ebp - 0x19], 0x1f081b
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 9
jae 0x10002fbc
mov cl, byte [ebp - 0x20]
jmp 0x10002fad
mov byte [ebp - 0x16], dl
lea eax, [ebp - 0x1f]
jmp 0x10003083
cmp al, 0xa
jge 0x10002ff5
mov cl, 0x50
mov dword [ebp - 0x20], 0x7d636050
mov dword [ebp - 0x1c], 0x3122393d
mov eax, edx
mov word [ebp - 0x18], 0x3537
mov byte [ebp - 0x16], dl
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 9
jae 0x10002fbc
mov cl, byte [ebp - 0x20]
jmp 0x10002fe6
cmp al, 0x1a
jge 0x10003023
mov cl, 0x15
mov dword [ebp - 0x20], 0x38212515
mov dword [ebp - 0x1c], 0x71747d66
mov eax, edx
mov word [ebp - 0x18], 0x627a
mov byte [ebp - 0x16], dl
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 9
jae 0x10002fbc
mov cl, byte [ebp - 0x20]
jmp 0x10003014
cmp al, 0x65
mov eax, edx
jge 0x10003054
mov cl, 0x72
mov dword [ebp - 0x1c], 0x5f474272
mov word [ebp - 0x18], 0x1b1f
mov byte [ebp - 0x16], bl
mov word [ebp - 0x15], 6
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x10002f80
mov cl, byte [ebp - 0x1c]
jmp 0x10003041
mov cl, 0x13
mov dword [ebp - 0x20], 0x3e252313
mov dword [ebp - 0x1c], 0x7a726167
mov dword [ebp - 0x18], 0x747d7a7d
mov byte [ebp - 0x14], dl
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x1000307d
mov cl, byte [ebp - 0x20]
jmp 0x1000306e
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x14], dl
push eax
mov ecx, edi
call fcn.10003b54
mov eax, edi
call fcn.1003d6ab
ret 4
Function at 0x10003095
Capabilities:
Encode data using xor

Disassembly:
push 0x1c
mov eax, 0x1003db63
call fcn.1003d6ce
mov esi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x10042857
call fcn.10003da4
xor edx, edx
mov dword [ebp - 4], edx
mov al, byte [esi + 2]
mov dword [ebp - 0x10], ebx
cmp al, 0xff
je 0x100031e6
cmp al, bl
jne 0x100030fa
movaps xmm0, xmmword [0x1004d770]
mov ecx, edx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x7870
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100030e5
lea eax, [ebp - 0x23]
jmp 0x100031db
jle 0x100031e6
mov ecx, edx
cmp al, 5
jge 0x10003133
movaps xmm0, xmmword [0x1004d660]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x77607369
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000311b
mov byte [ebp - 0x14], dl
lea eax, [ebp - 0x27]
jmp 0x100031de
cmp al, 0xa
jge 0x1000315b
movaps xmm0, xmmword [0x1004cd80]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x2f2d2b38
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000314c
jmp 0x10003128
cmp al, 0x1a
jge 0x10003189
movaps xmm0, xmmword [0x1004cba0]
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x18], 4
mov byte [ebp - 0x17], bl
mov word [ebp - 0x16], 0x120a
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1000317a
jmp 0x10003128
mov byte [ebp - 0x12], dl
cmp al, 0x65
jge 0x100031b3
movaps xmm0, xmmword [0x1004d4e0]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x4245
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x100031a1
jmp 0x100030f2
movaps xmm0, xmmword [0x1004cc50]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x80f0800
mov word [ebp - 0x14], 0x60f
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x100031cb
lea eax, [ebp - 0x27]
mov byte [ebp - 0x12], dl
push eax
mov ecx, edi
call fcn.10003b54
mov eax, edi
call fcn.1003d6ab
ret 4
Function at 0x10004ca1
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.10002152
test al, al
jne 0x10004d40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100075fd
call fcn.1000768c
call fcn.10010d08
mov dword [0x10057954], eax
test eax, eax
je 0x10004cd5
mov ecx, eax
call fcn.10010e8e
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor edi, edi
push edi
push edi
push edi
push 0x10004920
push edi
push edi
mov dword [0x10057870], eax
mov dword [0x10057874], edx
mov dword [0x10057878], eax
mov dword [0x1005787c], edx
call esi
mov ebx, eax
test ebx, ebx
je 0x10004d40
push edi
push edi
push edi
push 0x10004ac2
push edi
push edi
call esi
mov edi, eax
test edi, edi
je 0x10004d40
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
push 0x64
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
ret
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x100075fd
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
test eax, eax
jne 0x10007618
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000767d
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000767d
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeSecurityPrivilege
call fcn.100075a3
pop ecx
test al, al
je 0x1000767d
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeDebugPrivilege
call fcn.100075a3
pop ecx
test al, al
je 0x1000767d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000767f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003c324
leave
ret
Function at 0x1000768c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10054040]
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 0x1000773f
movaps xmm0, xmmword [0x1004d530]
push ebx
xor ebx, ebx
mov word [ebp - 0x24], 0x60
movups xmmword [ebp - 0x34], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x100076d0
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], bl
push eax
lea eax, [ebp - 0x33]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x10007700
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1000773e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push ebx
push ebx
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10007733
xor ebx, ebx
inc ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c324
leave
ret