joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd6a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x4fd85d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x4fd7d6
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x4fd7d6
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x4fd7bd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4fd7bd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.004fe890
mov ebp, eax
test ebp, ebp
je 0x4fd7b5
push ebp
mov ecx, esi
call fcn.004ffd10
test eax, eax
je 0x4fd7b5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x4fd7b5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4fd776
xor eax, eax
jmp 0x4fd77e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.005006a0
inc ebx
xor ebp, ebp
jmp 0x4fd707
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4fd6e0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.004feba0
test eax, eax
pop ebx
je 0x4fd85d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.004fe890
mov edi, eax
cmp edi, ebp
je 0x4fd85d
push edi
mov ecx, esi
call fcn.004ffd10
test eax, eax
je 0x4fd85d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.004fede0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.004fee50
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.005006a0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x10001500
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x1008df98
call fcn.1003c590
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 0x10001541
call fcn.1003c5d6
ret

Function at 0x10001547
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 [0x10095084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.10001500
test eax, eax
jne 0x10001617
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 0x10001617
movaps xmm0, xmmword [0x1008b0d0]
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 0x100015ab
mov byte [ebp - 0x1a], bl
mov cl, 0x4d
mov dword [ebp - 0x18], 0x2939234d
mov eax, ebx
mov dword [ebp - 0x14], 0x29632121
mov word [ebp - 0x10], 0x2121
mov byte [ebp - 0xe], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 9
jae 0x100015e5
mov cl, byte [ebp - 0x18]
jmp 0x100015d6
lea eax, [ebp - 0x33]
mov byte [ebp - 0xe], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000161f
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1000161f
cmp dword [ebp - 0xc], ebx
je 0x1000161f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003b395
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1008ab30]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x2d371b3d
mov ecx, edx
mov dword [ebp - 0x18], 0x2a3d2c36
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001654
mov byte [ebp - 0x14], dl
mov cl, 0x70
mov dword [ebp - 0x10], 0x2151b70
mov eax, edx
mov dword [ebp - 0xc], 0x431c151e
mov dword [ebp - 8], 0x1c145e42
mov word [ebp - 4], 0x1c
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001692
mov cl, byte [ebp - 0x10]
jmp 0x10001683
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], dl
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000df51
cmp al, 0xe9
jne 0x100016bd
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100016c1
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x42465b2f
mov cl, 0x2f
mov dword [ebp - 0xc], 0x5b4a684a
mov dword [ebp - 8], 0x4a42467b
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x100016f4
mov cl, byte [ebp - 0x10]
jmp 0x100016e5
mov byte [ebp - 4], dl
mov cl, 0x51
mov dword [ebp - 0x20], 0x23343a51
mov eax, edx
mov dword [ebp - 0x1c], 0x623d343f
mov dword [ebp - 0x18], 0x3d357f63
mov word [ebp - 0x14], 0x3d
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001725
mov cl, byte [ebp - 0x20]
jmp 0x10001716
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], dl
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000df51
cmp al, 0xe9
jne 0x10001750
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x100017ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10095084]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1008a1b0]
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 0x1000180a
mov byte [ebp - 0x19], bl
mov cl, 0x28
mov dword [ebp - 0x18], 0x7a6d6328
mov eax, ebx
mov dword [ebp - 0x14], 0x1b646d66
mov dword [ebp - 0x10], 0x444c061a
mov word [ebp - 0xc], 0x44
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001848
mov cl, byte [ebp - 0x18]
jmp 0x10001839
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], bl
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 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.1003b395
mov esp, ebp
pop ebp
ret
Function at 0x10001917
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008dfb8
push 0x10055cc0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x10095084]
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
and dword [ebp - 0x48], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
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 0x10001995
xor al, al
jmp 0x10001a15
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 0x100019be
xor al, al
jmp 0x10001a15
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001a03
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.1003b395
mov esp, ebp
pop ebp
ret
Function at 0x10001ee2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1008a720]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x30d
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001eff
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002247
cmp eax, 0xba2d38a3
je 0x10001f24
xor al, al
jmp 0x10001f53
movaps xmm0, xmmword [0x1008a340]
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 0x10001f31
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002247
cmp eax, 0x27b35bb1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x1000219d
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
push 0x400
xor edi, edi
mov esi, 0x100997c0
push edi
push esi
call fcn.100539e0
add esp, 0xc
push 8
push edi
call fcn.10002212
shl eax, 0x18
push 8
mov dword [esi], eax
pop edx
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor eax, ecx
sub edx, 1
jne 0x100021c5
push 0x20
push eax
call fcn.10002212
mov dword [esi], eax
inc edi
add esi, 4
cmp esi, 0x10099bbc
jle 0x100021b5
call fcn.10001a80
pop edi
pop esi
test al, al
je 0x1000220f
call fcn.10001ee2
test al, al
je 0x1000220f
call fcn.10001f57
test al, al
je 0x1000220f
mov al, 1
ret
xor al, al
ret

Function at 0x10002247
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10095084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x100847ec
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call fcn.10056cb8
add esp, 0xc
test eax, eax
jne 0x100022f6
cmp dword [ebp - 0x408], eax
je 0x100022f6
push edi
push dword [ebp - 0x408]
mov edi, 0x400
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.10056ecb
add esp, 0x10
test eax, eax
je 0x100022e7
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.10002309
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.10056ecb
add esp, 0x10
test eax, eax
jne 0x100022b1
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call fcn.10056ff1
pop ecx
not esi
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b395
mov esp, ebp
pop ebp
ret 4

Function at 0x10002309
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1000233a
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 + 0x100997c0]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x1000231c
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1000233f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x1008b240]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0x787d74
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov dword [esi], 0xff0000
mov ecx, edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x12
jb 0x10002375
push ecx
mov byte [ebp - 1], dl
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x13]
call fcn.1003275e
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000308c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x30
mov eax, 0x10072066
call fcn.1003bfa0
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
push 0x100847ef
mov dword [ebp - 0x3c], ebx
call fcn.10004179
mov dword [ebp - 4], ebx
mov al, byte [esi + 2]
cmp al, 0xff
je 0x1000321a
cmp al, 1
jne 0x100030fb
mov cl, 0x69
mov dword [ebp - 0x34], 0x44585969
mov dword [ebp - 0x30], 0xd05060e
mov eax, ebx
mov byte [ebp - 0x2c], bl
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 7
jae 0x100030e5
mov cl, byte [ebp - 0x34]
jmp 0x100030d6
lea eax, [ebp - 0x33]
mov byte [ebp - 0x2c], bl
push eax
call fcn.1000415c
pop ecx
push eax
lea eax, [ebp - 0x33]
jmp 0x10003211
jle 0x10003133
cmp al, 5
jge 0x10003137
mov cl, 0x54
mov dword [ebp - 0x38], 0x79666454
mov dword [ebp - 0x34], 0x22383d27
mov eax, ebx
mov word [ebp - 0x30], 0x2631
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 9
jae 0x1000312b
mov cl, byte [ebp - 0x38]
jmp 0x1000311c
mov byte [ebp - 0x2e], bl
jmp 0x10003203
cmp al, 5
jl 0x10003165
cmp al, 0xa
jge 0x10003169
mov cl, 0x2e
mov dword [ebp - 0x38], 0x31d1e2e
mov dword [ebp - 0x34], 0x4f5c4743
mov eax, ebx
mov word [ebp - 0x30], 0x4b49
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 9
jae 0x1000312b
mov cl, byte [ebp - 0x38]
jmp 0x10003156
cmp al, 0xa
jl 0x10003197
cmp al, 0x1a
jge 0x1000319b
mov cl, 0x6c
mov dword [ebp - 0x38], 0x41585c6c
mov dword [ebp - 0x34], 0x80d041f
mov eax, ebx
mov word [ebp - 0x30], 0x1b03
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 9
jae 0x1000312b
mov cl, byte [ebp - 0x38]
jmp 0x10003188
cmp al, 0x1a
jl 0x100031c7
cmp al, 0x65
jge 0x100031cb
mov cl, 0x58
mov dword [ebp - 0x34], 0x756d6858
mov dword [ebp - 0x30], 0x2c2b3135
mov eax, ebx
mov byte [ebp - 0x2c], bl
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 7
jae 0x100030e5
mov cl, byte [ebp - 0x34]
jmp 0x100031b4
cmp al, 0x65
jl 0x1000321a
movsx eax, al
cmp eax, 0xc9
jge 0x1000321a
mov cl, 0x66
mov dword [ebp - 0x38], 0x4b505666
mov dword [ebp - 0x34], 0xf071412
mov eax, ebx
mov dword [ebp - 0x30], 0x1080f08
mov byte [ebp - 0x2c], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x10003200
mov cl, byte [ebp - 0x38]
jmp 0x100031f1
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x37]
push eax
call fcn.1000415c
pop ecx
push eax
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x28]
call fcn.100040e3
lea eax, [ebp - 0x28]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov byte [edi], bl
call fcn.10003bc8
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.1000402e
mov eax, edi
call fcn.1003bf4a
ret 4
Function at 0x10003246
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x100720c0
call fcn.1003bfa0
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
push 0x100847ef
mov dword [ebp - 0x44], ebx
call fcn.10004179
mov dword [ebp - 4], ebx
mov al, byte [esi + 2]
cmp al, 0xff
je 0x100033c4
cmp al, 1
jne 0x100032b4
movaps xmm0, xmmword [0x1008a4e0]
mov ecx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x20a
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x10003291
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2a], bl
push eax
call fcn.1000415c
pop ecx
push eax
lea eax, [ebp - 0x3b]
jmp 0x100033bb
jle 0x100032e6
cmp al, 5
jge 0x100032ea
movaps xmm0, xmmword [0x1008b130]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x6a7d6e74
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x100032d1
mov byte [ebp - 0x2c], bl
jmp 0x100033ad
cmp al, 5
jl 0x10003314
cmp al, 0xa
jge 0x10003318
movaps xmm0, xmmword [0x1008aa80]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x3a383e2d
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x10003305
jmp 0x100032de
cmp al, 0xa
jl 0x10003342
cmp al, 0x1a
jge 0x10003346
movaps xmm0, xmmword [0x1008b0f0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x70686366
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x10003333
jmp 0x100032de
cmp al, 0x1a
jl 0x10003372
cmp al, 0x65
jge 0x10003376
movaps xmm0, xmmword [0x1008ace0]
mov ecx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x595e
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x10003360
jmp 0x1000329e
cmp al, 0x65
jl 0x100033c4
movsx eax, al
cmp eax, 0xc9
jge 0x100033c4
movaps xmm0, xmmword [0x1008b170]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x686f6860
mov word [ebp - 0x2c], 0x666f
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x15
jb 0x1000339d
mov byte [ebp - 0x2a], bl
lea eax, [ebp - 0x3f]
push eax
call fcn.1000415c
pop ecx
push eax
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x28]
call fcn.100040e3
lea eax, [ebp - 0x28]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov byte [edi], bl
call fcn.10003bc8
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.1000402e
mov eax, edi
call fcn.1003bf4a
ret 4
Function at 0x100041a8
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x1007219b
call fcn.1003bfa0
mov edi, ecx
mov dword [ebp - 0xc4], edi
and dword [ebp - 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.100539e0
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.100044a5
xor edx, edx
mov cl, 0x4d
mov dword [ebp - 4], edx
mov al, 0x10
movaps xmm0, xmmword [0x1008a7c0]
xor al, cl
mov byte [ebp - 0xac], cl
mov byte [ebp - 0xab], al
mov byte [ebp - 0xaa], dl
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x2a5105
mov cl, byte [ebp - 0xc0]
xor byte [ebp + edx - 0xbf], cl
inc edx
cmp edx, 0x12
jb 0x10004222
lea edx, [ebp - 0xbf]
mov byte [ebp - 0xad], 0
lea ecx, [ebp - 0xa8]
call fcn.100062da
mov esi, eax
test esi, esi
je 0x1000425a
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x14], 4
test esi, esi
jne 0x10004266
xor ecx, ecx
jmp 0x1000426d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
push 0
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xd8]
push 8
push eax
call fcn.1003677f
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.10006474
mov ecx, eax
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
call fcn.10004ab2
lea edx, [ebp - 0xab]
mov ecx, eax
call fcn.100062da
push edi
lea ecx, [ebp - 0xa8]
call fcn.10004446
lea ecx, [ebp - 0x58]
call fcn.10004462
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.100367df
pop ecx
mov eax, edi
call fcn.1003bf4a
ret

Function at 0x1000433a
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x100721ec
call fcn.1003bfa0
call fcn.1000219d
test al, al
je 0x10004356
push 1
call fcn.1005a267
lea ecx, [ebp - 0x2c]
call fcn.100041a8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
inc eax
push eax
push ecx
push 0xfe5d24
call fcn.10053f80
add esp, 0xc
call fcn.1000d09f
call fcn.1000c222
call fcn.1000c421
call fcn.10010993
mov dword [0x10099c90], eax
test eax, eax
je 0x100043a4
mov ecx, eax
call fcn.10010b17
call fcn.1000e37d
call fcn.1001055d
call fcn.10010f02
push 0x70
call fcn.1003b3a6
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1000faa3
push 0x64
mov dword [0x10099bc0], eax
call fcn.1003b3a6
pop ecx
push 0x64
mov esi, eax
push 0
push esi
mov dword [ebp - 0x30], esi
call fcn.100539e0
add esp, 0xc
mov ecx, esi
call fcn.10009605
mov dword [0x10099bc8], eax
test eax, eax
je 0x100043fe
call fcn.10009d30
call fcn.1000b0b9
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000402e
call fcn.1003bf4a
ret
Function at 0x100093e1
Capabilities:
Encode data using xor

Disassembly:
push 0x184
mov eax, 0x100729d7
call fcn.1003bfa0
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x7e
xor ebx, ebx
lea ecx, [ebp - 0x130]
push eax
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x16f], bl
call fcn.10004179
mov dword [ebp - 4], ebx
test edi, edi
jne 0x10009449
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003bc8
jmp 0x1000953c
movaps xmm0, xmmword [str.5pMEGTAZ_]
mov edx, ebx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x10185810
mov dword [ebp - 0x178], 0x7d101551
mov dword [ebp - 0x174], 0x78100f
mov cl, byte [ebp - 0x18c]
xor byte [ebp + edx - 0x18b], cl
inc edx
cmp edx, 0x1a
jb 0x10009477
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x171], bl
push eax
lea ecx, [ebp - 0x148]
call fcn.10004179
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x118], edi
push eax
mov dword [ebp - 0x114], ebx
call fcn.1005a685
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.1005a7bf
lea eax, [ebp - 0x110]
push eax
call fcn.1000415c
add esp, 0x1c
lea ecx, [ebp - 0x130]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.100040e3
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003bc8
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.1000402e
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.1000402e
mov eax, esi
call fcn.1003bf4a
ret

Function at 0x1000b8d3
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10095084]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1000b927
cmp dword [esp + 0x18], ebx
je 0x1000b92d
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000b915
jmp 0x1000b930
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b395
mov esp, ebp
pop ebp
ret

Function at 0x1000b9ed
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x10095aac], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10095aac], ecx
inc edx
cmp edx, esi
jl 0x1000ba02
mov dword [0x10095aa8], esi
pop esi
pop ebp
ret 8