joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100021ce
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
push 0x400
xor edi, edi
mov esi, 0x100a5c48
push edi
push esi
call fcn.10042b60
add esp, 0xc
push 8
push edi
call fcn.10002243
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 0x100021f6
push 0x20
push eax
call fcn.10002243
mov dword [esi], eax
inc edi
add esi, 4
cmp esi, 0x100a6044
jle 0x100021e6
call fcn.10001ab1
pop edi
pop esi
test al, al
je 0x10002240
call fcn.10001f13
test al, al
je 0x10002240
call fcn.10001f88
test al, al
je 0x10002240
mov al, 1
ret
xor al, al
ret

Function at 0x10002278
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x100a107c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x1008ae90
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call fcn.100458c8
add esp, 0xc
test eax, eax
jne 0x10002327
cmp dword [ebp - 0x408], eax
je 0x10002327
push edi
push dword [ebp - 0x408]
mov edi, 0x400
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.10045adb
add esp, 0x10
test eax, eax
je 0x10002318
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.1000233a
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.10045adb
add esp, 0x10
test eax, eax
jne 0x100022e2
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call fcn.10045c01
pop ecx
not esi
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret 4

Function at 0x1000233a
Capabilities:
Encode data using xor

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

Function at 0x10002370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x10095b70]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0x484d44
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 0x100023a6
push ecx
mov byte [ebp - 1], dl
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x13]
call fcn.10035700
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003094
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x30
mov eax, 0x100778c0
call fcn.10040a5d
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
push 0x1008ae93
mov dword [ebp - 0x3c], ebx
call fcn.10004181
mov dword [ebp - 4], ebx
mov al, byte [esi + 2]
cmp al, 0xff
je 0x10003222
cmp al, 1
jne 0x10003103
mov cl, 0xf
mov dword [ebp - 0x34], 0x223e3f0f
mov dword [ebp - 0x30], 0x6b636068
mov eax, ebx
mov byte [ebp - 0x2c], bl
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 7
jae 0x100030ed
mov cl, byte [ebp - 0x34]
jmp 0x100030de
lea eax, [ebp - 0x33]
mov byte [ebp - 0x2c], bl
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x33]
jmp 0x10003219
jle 0x1000313b
cmp al, 5
jge 0x1000313f
mov cl, 0x51
mov dword [ebp - 0x38], 0x7c636151
mov dword [ebp - 0x34], 0x273d3822
mov eax, ebx
mov word [ebp - 0x30], 0x2334
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 9
jae 0x10003133
mov cl, byte [ebp - 0x38]
jmp 0x10003124
mov byte [ebp - 0x2e], bl
jmp 0x1000320b
cmp al, 5
jl 0x1000316d
cmp al, 0xa
jge 0x10003171
mov cl, 0x38
mov dword [ebp - 0x38], 0x150b0838
mov dword [ebp - 0x34], 0x594a5155
mov eax, ebx
mov word [ebp - 0x30], 0x5d5f
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 9
jae 0x10003133
mov cl, byte [ebp - 0x38]
jmp 0x1000315e
cmp al, 0xa
jl 0x1000319f
cmp al, 0x1a
jge 0x100031a3
mov cl, 0x2d
mov dword [ebp - 0x38], 0x191d2d
mov dword [ebp - 0x34], 0x494c455e
mov eax, ebx
mov word [ebp - 0x30], 0x5a42
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 9
jae 0x10003133
mov cl, byte [ebp - 0x38]
jmp 0x10003190
cmp al, 0x1a
jl 0x100031cf
cmp al, 0x65
jge 0x100031d3
mov cl, 0x57
mov dword [ebp - 0x34], 0x7a626757
mov dword [ebp - 0x30], 0x23243e3a
mov eax, ebx
mov byte [ebp - 0x2c], bl
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 7
jae 0x100030ed
mov cl, byte [ebp - 0x34]
jmp 0x100031bc
cmp al, 0x65
jl 0x10003222
movsx eax, al
cmp eax, 0xc9
jge 0x10003222
mov cl, 0xe
mov dword [ebp - 0x38], 0x23383e0e
mov dword [ebp - 0x34], 0x676f7c7a
mov eax, ebx
mov dword [ebp - 0x30], 0x69606760
mov byte [ebp - 0x2c], bl
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x10003208
mov cl, byte [ebp - 0x38]
jmp 0x100031f9
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x37]
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x28]
call fcn.100040eb
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.10003bd0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10004036
mov eax, edi
call fcn.10040a07
ret 4
Function at 0x1000324e
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x1007791a
call fcn.10040a5d
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
push 0x1008ae93
mov dword [ebp - 0x44], ebx
call fcn.10004181
mov dword [ebp - 4], ebx
mov al, byte [esi + 2]
cmp al, 0xff
je 0x100033cc
cmp al, 1
jne 0x100032bc
movaps xmm0, xmmword [0x10095860]
mov ecx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x3d35
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x10003299
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2a], bl
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x3b]
jmp 0x100033c3
jle 0x100032ee
cmp al, 5
jge 0x100032f2
movaps xmm0, xmmword [0x10095790]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x36213228
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x100032d9
mov byte [ebp - 0x2c], bl
jmp 0x100033b5
cmp al, 5
jl 0x1000331c
cmp al, 0xa
jge 0x10003320
movaps xmm0, xmmword [0x10095730]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x25272132
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x1000330d
jmp 0x100032e6
cmp al, 0xa
jl 0x1000334a
cmp al, 0x1a
jge 0x1000334e
movaps xmm0, xmmword [0x10095e50]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x79616a6f
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x1000333b
jmp 0x100032e6
cmp al, 0x1a
jl 0x1000337a
cmp al, 0x65
jge 0x1000337e
movaps xmm0, xmmword [0x10095f80]
mov ecx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x7374
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x10003368
jmp 0x100032a6
cmp al, 0x65
jl 0x100033cc
movsx eax, al
cmp eax, 0xc9
jge 0x100033cc
movaps xmm0, xmmword [0x10095cd0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x41464149
mov word [ebp - 0x2c], 0x4f46
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x15
jb 0x100033a5
mov byte [ebp - 0x2a], bl
lea eax, [ebp - 0x3f]
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x28]
call fcn.100040eb
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.10003bd0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10004036
mov eax, edi
call fcn.10040a07
ret 4
Function at 0x100058fe
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x10077ccc
call fcn.10040a5d
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.10042b60
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10005c66
xor edx, edx
mov al, 0x59
mov dword [ebp - 4], edx
xor al, 4
movaps xmm0, xmmword [0x100954a0]
mov ecx, edx
mov byte [ebp - 0xac], 4
mov byte [ebp - 0xab], al
mov byte [ebp - 0xaa], dl
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x265d09
mov al, byte [ebp - 0xc0]
xor byte [ebp + ecx - 0xbf], al
inc ecx
cmp ecx, 0x12
jb 0x10005979
mov byte [ebp - 0xad], dl
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xbf]
call fcn.10007ed2
mov esi, eax
test esi, esi
je 0x100059b0
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x14], 4
test esi, esi
jne 0x100059bc
xor ecx, ecx
jmp 0x100059c3
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.1003aefe
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.1000806c
mov ecx, eax
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
call fcn.10006273
lea edx, [ebp - 0xab]
mov ecx, eax
call fcn.10007ed2
push edi
lea ecx, [ebp - 0xa8]
call fcn.10005c07
lea ecx, [ebp - 0x58]
call fcn.10005c23
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1003ae76
pop ecx
mov eax, edi
call fcn.10040a07
ret

Function at 0x10005a42
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x10077cfc
call fcn.10040a5d
call fcn.100021ce
test al, al
je 0x10005a5e
push 1
call fcn.10048fcc
lea ecx, [ebp - 0x2c]
call fcn.100058fe
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.10043100
add esp, 0xc
call fcn.1000f0b0
call fcn.1000e1b2
call fcn.1000e3b1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10009f66
call fcn.10009ff9
call fcn.10013e54
mov dword [0x100a6134], eax
test eax, eax
je 0x10005abe
mov ecx, eax
call fcn.10013fdb
call fcn.10010412
call fcn.10013a1e
call fcn.100143c6
push 0x70
call fcn.1003fdd6
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.10012d72
push 0x64
mov dword [0x100a6048], eax
call fcn.1003fdd6
pop ecx
push 0x64
mov esi, eax
push 0
push esi
mov dword [ebp - 0x30], esi
call fcn.10042b60
add esp, 0xc
mov ecx, esi
call fcn.1000b4e2
mov dword [0x100a6050], eax
test eax, eax
je 0x10005b18
call fcn.1000bcba
call fcn.1000d104
push 0x10
call fcn.1003fdd6
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.10002370
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [0x100a604c], eax
call fcn.10004036
call fcn.10040a07
ret
Function at 0x10009f66
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a107c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push edi
test eax, eax
jne 0x10009f83
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 0x10009fe7
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 0x10009fe7
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeSecurityPrivilege
call fcn.10009f0a
pop ecx
test al, al
je 0x10009fe7
push ecx
mov ecx, dword [ebp - 8]
mov edx, str.SeDebugPrivilege
call fcn.10009f0a
pop ecx
test al, al
je 0x10009fe7
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10009fe9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret

Function at 0x10009ff9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a107c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
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
jne 0x1000a02b
xor eax, eax
jmp 0x1000a0ac
movaps xmm0, xmmword [0x100955b0]
xor ebx, ebx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x18
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1000a040
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 0x1000a06e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a024
mov eax, dword [ebp - 0xc]
push ebx
push ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000a0a1
xor ebx, ebx
inc ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret
Function at 0x1000b2be
Capabilities:
Encode data using xor

Disassembly:
push 0x184
mov eax, 0x1007860e
call fcn.10040a5d
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 3
xor ebx, ebx
lea ecx, [ebp - 0x130]
push eax
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x16f], bl
call fcn.10004181
mov dword [ebp - 4], ebx
test edi, edi
jne 0x1000b326
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.10003bd0
jmp 0x1000b419
movaps xmm0, xmmword [0x10095760]
mov ecx, ebx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x222a6a22
mov dword [ebp - 0x178], 0x4f222763
mov dword [ebp - 0x174], 0x4a223d
mov al, byte [ebp - 0x18c]
xor byte [ebp + ecx - 0x18b], al
inc ecx
cmp ecx, 0x1a
jb 0x1000b354
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x171], bl
push eax
lea ecx, [ebp - 0x148]
call fcn.10004181
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.10049714
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.1004984e
lea eax, [ebp - 0x110]
push eax
call fcn.10004164
add esp, 0x1c
lea ecx, [ebp - 0x130]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.100040eb
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.10003bd0
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.10004036
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.10004036
mov eax, esi
call fcn.10040a07
ret

Function at 0x1000d832
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x100a107c]
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 0x1000d886
cmp dword [esp + 0x18], ebx
je 0x1000d88c
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000d874
jmp 0x1000d88f
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.1003fdc5
mov esp, ebp
pop ebp
ret

Function at 0x1000d96f
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 [0x100a1aac], 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 + 0x100a1aac], ecx
inc edx
cmp edx, esi
jl 0x1000d984
mov dword [0x100a1aa8], esi
pop esi
pop ebp
ret 8
Function at 0x1000da1a
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x1000da62
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x1000da2a
jmp 0x1000da6f
cmp dword [esi], 0x4e0
jb 0x1000da6f
call fcn.1000daa9
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

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

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x1000dab9
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x1000daf9
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret
Function at 0x1000e1b2
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x10095bd0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x10095b10]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x10094fa0]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000e1df
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100a609c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000e2c3
push 0x100a6098
push ebx
push ebx
push 0x8004
push dword [0x100a609c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000e2c3
movaps xmm0, xmmword [str.pX3K]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x18401611
movaps xmm0, xmmword [0x100959e0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x12440230
movaps xmm0, xmmword [0x10095d60]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x51000a25
mov word [ebp - 4], 0xd
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000e268
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100a6098]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000e2c3
push 0x100a6094
push 0x800000
push dword [0x100a6098]
push 0x6801
push dword [0x100a609c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000e2c3
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100a6090], eax
call fcn.1003ea10
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003eee0
mov ebx, 0x1000e0f2
push ebx
push 0x100a608c
call fcn.1003e720
call fcn.1003ea70
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000e32e
mov dword [0x100a608c], 0x60f6e0
call fcn.1003ea10
call esi
push eax
call fcn.1003eee0
push ebx
push 0x100a608c
call fcn.1003e290
call fcn.1003ea70
call fcn.1003ea10
call esi
push eax
call fcn.1003eee0
mov ebx, 0x1000e114
push ebx
push 0x100a6088
call fcn.1003e720
call fcn.1003ea70
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000e388
mov dword [0x100a6088], 0x60eab0
call fcn.1003ea10
call esi
push eax
call fcn.1003eee0
push ebx
push 0x100a6088
call fcn.1003e290
call fcn.1003ea70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012025
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100a107c]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10095920]
xor ecx, ecx
mov eax, dword [0x100a612c]
push ebx
mov ebx, dword [0x100a6128]
push esi
push edi
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x10012057
sub esp, 0x18
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10004181
lea ecx, [ebp - 0x1c]
call fcn.10034635
add esp, 0x18
xor edi, edi
test ebx, ebx
jle 0x100120bd
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10012095
sub esi, ecx
mov eax, edi
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [ecx + edi], al
inc edi
cmp edi, ebx
jl 0x10012087
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10004036
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003fdc5
mov esp, ebp
pop ebp
ret