joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10110f90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1041f700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
test edi, edi
je 0x10110fdc
cmp edi, dword [esi]
je 0x10110fd3
test eax, eax
je 0x10111015
test ebx, ebx
js 0x10111015
mov ecx, 1
mov dword [esi], edi
jmp 0x10110fe2
mov edi, dword [esi]
test edi, edi
je 0x10111015
test eax, eax
je 0x101111af
push edi
call fcn.1012af90
add esp, 4
cmp eax, 0x80
jbe 0x10111028
push 0x59
push str.Z:metasploit_payloadscmeterpreterdepslibresslcryptohmachmac.c
push 0x88
push 0xfff
push 6
call fcn.10112080
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c7f5c
mov esp, ebp
pop ebp
ret
cmp eax, ebx
jge 0x10111074
push dword [ebp - 0x88]
lea eax, [esi + 4]
push edi
push eax
call fcn.1010fc70
add esp, 0xc
test eax, eax
je 0x10111015
push ebx
push dword [ebp - 0x8c]
lea ebx, [esi + 4]
push ebx
call fcn.1010fe60
add esp, 0xc
test eax, eax
je 0x10111015
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1010fbc0
add esp, 0xc
test eax, eax
je 0x10111015
lea eax, [esi + 0x4c]
jmp 0x101110a0
test ebx, ebx
js 0x1011119e
cmp ebx, 0x80
ja 0x1011119e
push ebx
push dword [ebp - 0x8c]
lea eax, [esi + 0x50]
push eax
call fcn.101b8700
lea eax, [esi + 0x4c]
add esp, 0xc
mov dword [eax], ebx
mov ecx, dword [eax]
cmp ecx, 0x80
je 0x101110c2
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.101b9cb0
add esp, 0xc
mov edx, dword [ebp - 0x88]
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x80
jl 0x101110d0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1010fc70
add esp, 0xc
test eax, eax
je 0x10111015
push edi
call fcn.1012af90
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1010fe60
add esp, 0x10
test eax, eax
je 0x10111015
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x80
jl 0x10111120
push dword [ebp - 0x88]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1010fc70
add esp, 0xc
test eax, eax
je 0x10111015
push edi
call fcn.1012af90
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1010fe60
add esp, 0x10
test eax, eax
je 0x10111015
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1010ff20
add esp, 8
test eax, eax
je 0x10111015
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101c7f5c
mov esp, ebp
pop ebp
ret
push 0x66
push str.Z:metasploit_payloadscmeterpreterdepslibresslcryptohmachmac.c
push 0x89
jmp 0x10111006
test ecx, ecx
je 0x10111170
jmp 0x101110c8
Function at 0x10123eb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x28
ja 0x10123f1d
cmp dword [eax*4 + 0x1042a768], 0
push edi
lea edi, [eax*4 + 0x1042a768]
jne 0x10123f04
push esi
push 0x18
call fcn.101b93cc
mov esi, eax
add esp, 4
test esi, esi
je 0x10123f1f
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10123f03
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call fcn.101b9394
add esp, 4
pop esi
test byte [ebp + 8], 1
mov eax, dword [edi]
push eax
je 0x10123f16
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
ret
push 0xc
call fcn.101c1d85
int3

Function at 0x101245f0
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1012462d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2736
je 0x1012462f
cmp eax, 0x2719
je 0x1012462f
cmp eax, 0x276d
je 0x1012462f
push eax
call fcn.10124690
add esp, 4
pop ebp
ret
pop ebp
jmp fcn.101c4262

Function at 0x10124640
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1012467d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2736
je 0x1012467f
cmp eax, 0x2719
je 0x1012467f
cmp eax, 0x276d
je 0x1012467f
push eax
call fcn.10124690
add esp, 4
pop ebp
ret
pop ebp
jmp fcn.101c4b07

Function at 0x101258d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x10
push ebx
xor ebx, ebx
mov dword [ebp + 8], eax
test edx, edx
push esi
push edi
setne bl
mov ecx, eax
mov edi, edx
shr edi, cl
mov eax, edi
not eax
shr eax, 0x1f
lea esi, [edi - 1]
xor edi, edx
shr esi, 0x1f
and esi, eax
mov eax, dword [ebp + 8]
dec esi
mov ecx, esi
and edi, esi
and ecx, eax
xor edx, edi
add ebx, ecx
shr eax, 1
mov dword [ebp + 8], eax
jne 0x101258e8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x10125a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, edi
jne 0x10125a6b
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, 0x7fffffff
ja 0x10125b6a
cmp ebx, dword [esi + 8]
jg 0x10125a84
mov eax, esi
jmp 0x10125a8e
push ebx
push esi
call fcn.10125d30
add esp, 8
test eax, eax
je 0x10125b6a
cmp ebx, dword [edi + 8]
jg 0x10125a9f
mov eax, edi
jmp 0x10125aa9
push ebx
push edi
call fcn.10125d30
add esp, 8
test eax, eax
je 0x10125b6a
cmp dword [esi + 4], ebx
jg 0x10125b4f
mov ecx, dword [edi + 4]
cmp ecx, ebx
jg 0x10125b4f
mov eax, dword [ebp + 8]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [esi + 4]
xor ecx, eax
dec edx
and ecx, edx
mov dword [ebp - 4], edx
xor eax, ecx
mov dword [esi + 4], eax
xor dword [edi + 4], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
xor eax, ecx
and eax, edx
xor ecx, eax
mov dword [esi + 0xc], ecx
xor dword [edi + 0xc], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x10]
xor eax, ecx
and eax, edx
and eax, 4
xor ecx, eax
mov dword [esi + 0x10], ecx
xor ecx, ecx
xor dword [edi + 0x10], eax
mov dword [ebp + 0x10], ecx
test ebx, ebx
jle 0x10125b43
mov eax, dword [esi]
mov esi, dword [ebp + 0x10]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
mov ecx, dword [edx]
mov esi, dword [eax + esi*4]
xor esi, ecx
and esi, dword [ebp - 4]
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
xor dword [eax + ecx*4], esi
inc ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
jl 0x10125b18
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0x375
push str.Z:metasploit_payloadscmeterpreterdepslibresslcrypto_bn_bn_lib.c
push 0x6a
push 0xfff
push 3
call fcn.10112080
add esp, 0x14
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1013c1e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1042a970]
push esi
push edi
push 0x400
lea eax, [ecx + 0x40]
push eax
push eax
push ecx
call fcn.1013c480
mov edi, dword [ebp + 8]
add esp, 0x10
test edi, edi
je 0x1013c232
mov esi, 0x28
cmp dword [ebp + 0xc], esi
cmovb esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
je 0x1013c232
jmp 0x1013c220
mov edx, dword [0x1042a970]
mov cl, byte [eax + edi]
xor byte [edx + eax + 0x40], cl
inc eax
cmp eax, esi
jb 0x1013c220
cmp dword [0x1042a96c], 0
mov eax, dword [0x1042a970]
lea edi, [eax + 0x40]
jne 0x1013c280
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push 8
push 0
call esi
mov dword [0x1042a96c], eax
test eax, eax
je 0x1013c32c
push 4
push 0x3000
push 0x440
push 0
call esi
mov dword [0x1042a970], eax
test eax, eax
je 0x1013c30f
push 0
push 0x100
push edi
push eax
call fcn.1013cb50
mov edx, dword [0x1042a970]
add esp, 0x10
xorps xmm0, xmm0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
movzx ecx, byte [edi + 0x23]
movzx eax, byte [edi + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x20]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x38], ecx
movzx ecx, byte [edi + 0x27]
movzx eax, byte [edi + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x25]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x24]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x3c], ecx
mov eax, dword [0x1042a970]
pop edi
pop esi
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x50], xmm0
movq qword [eax + 0x60], xmm0
mov eax, dword [0x1042a96c]
mov dword [eax], 0x3d8
pop ebp
ret
push 0x8000
push 0
push dword [0x1042a96c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x1042a96c], 0
push 1
call fcn.101c1ba0
int3

Function at 0x1013c340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1041f700]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push 0x28
push eax
call fcn.101753c0
add esp, 8
cmp eax, 0xffffffff
jne 0x1013c372
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x1042a96c], 0
jne 0x1013c3c0
push 0x1042a970
push 0x1042a96c
call fcn.1013c0d0
add esp, 8
cmp eax, 0xffffffff
je 0x1013c416
push 0
push 0x100
lea eax, [ebp - 0x2c]
push eax
push dword [0x1042a970]
call fcn.1013cb50
lea eax, [ebp - 0xc]
push eax
push dword [0x1042a970]
call fcn.1013caf0
add esp, 0x18
jmp 0x1013c3ce
lea eax, [ebp - 0x2c]
push 0x28
push eax
call fcn.1013c1e0
add esp, 8
lea eax, [ebp - 0x2c]
push 0x28
push eax
call fcn.10123ce0
mov eax, dword [0x1042a96c]
push 0x400
push 0
mov dword [eax], 0
mov eax, dword [0x1042a970]
add eax, 0x40
push eax
call fcn.101b9cb0
mov eax, dword [0x1042a96c]
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax + 4], 0x186a00
call fcn.101c7f5c
mov esp, ebp
pop ebp
ret
push 1
call fcn.101c1ba0
int3
Function at 0x1013c420
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1042a968], 0
jne 0x1013c455
push esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
mov esi, eax
push esi
push 0x1042a968
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1013c454
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [0x1042a968]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1013c130
mov eax, dword [0x1042a968]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop ebp
ret
Function at 0x1013cb50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
cmp dword [ebp + 0x10], 0x100
mov dword [esi + 0x1c], ecx
jne 0x1013cbf5
add edx, 0x10
mov edi, 0x102df354
jmp 0x1013cbfa
mov edi, 0x102df364
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 7]
shl ecx, 8
movzx eax, byte [edx + 6]
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x2c], ecx
movsx ecx, byte [edi + 3]
movsx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
movsx ecx, byte [edi + 7]
movsx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
movsx ecx, byte [edi + 0xb]
movsx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 8], ecx
movsx ecx, byte [edi + 0xf]
movsx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebp
ret
Function at 0x10148f40
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.101b9cb0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x10149280
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.101b9cb0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x1014a380
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x1014a9c0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x10150660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0x10
xor ecx, ecx
test edx, edx
je 0x10150745
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp edx, 0x20
jb 0x10150725
lea eax, [ebx - 1]
add eax, edx
cmp esi, eax
ja 0x1015069e
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x10150725
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x101506b0
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x10150725
mov eax, edx
mov dword [ebp - 4], edx
mov edx, esi
and eax, 0x1f
sub dword [ebp - 4], eax
sub edx, edi
mov dword [ebp - 8], edx
mov eax, edi
mov edx, ebx
sub edx, edi
mov dword [ebp - 0xc], edx
mov edx, esi
mov esi, dword [ebp - 8]
sub edx, ebx
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
lea edx, [ebx + 0x10]
jmp 0x101506e0
movdqu xmm0, xmmword [eax]
mov ebx, dword [ebp - 0x10]
add ecx, 0x20
lea eax, [eax + 0x20]
lea edx, [edx + 0x20]
movdqu xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [esi + eax - 0x20], xmm1
movdqu xmm1, xmmword [eax - 0x10]
movdqu xmm0, xmmword [edx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ebx + edx - 0x20], xmm1
mov ebx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 4]
jb 0x101506e0
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp ecx, edx
jae 0x10150742
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
dec edx
jne 0x10150732
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101507d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x100
je 0x101507e0
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
movzx eax, byte [ecx]
mov dword [edx], eax
movzx eax, byte [ecx + 1]
shl eax, 8
or dword [edx], eax
movzx eax, byte [ecx + 2]
shl eax, 0x10
or dword [edx], eax
movzx eax, byte [ecx + 3]
shl eax, 0x18
or dword [edx], eax
movzx eax, byte [ecx + 4]
mov dword [edx + 4], eax
movzx eax, byte [ecx + 5]
shl eax, 8
or dword [edx + 4], eax
movzx eax, byte [ecx + 6]
shl eax, 0x10
or dword [edx + 4], eax
movzx eax, byte [ecx + 7]
shl eax, 0x18
or dword [edx + 4], eax
movzx eax, byte [ecx + 8]
mov dword [edx + 8], eax
movzx eax, byte [ecx + 9]
shl eax, 8
or dword [edx + 8], eax
movzx eax, byte [ecx + 0xa]
shl eax, 0x10
or dword [edx + 8], eax
movzx eax, byte [ecx + 0xb]
shl eax, 0x18
or dword [edx + 8], eax
movzx eax, byte [ecx + 0xc]
mov dword [edx + 0xc], eax
movzx eax, byte [ecx + 0xd]
shl eax, 8
or dword [edx + 0xc], eax
movzx eax, byte [ecx + 0xe]
shl eax, 0x10
or dword [edx + 0xc], eax
movzx eax, byte [ecx + 0xf]
shl eax, 0x18
or dword [edx + 0xc], eax
movzx eax, byte [ecx + 0x10]
mov dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x11]
shl eax, 8
or dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x12]
shl eax, 0x10
or dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x13]
shl eax, 0x18
or dword [edx + 0x10], eax
movzx eax, byte [ecx + 0x14]
mov dword [edx + 0x14], eax
movzx eax, byte [ecx + 0x15]
shl eax, 8
or dword [edx + 0x14], eax
movzx eax, byte [ecx + 0x16]
shl eax, 0x10
or dword [edx + 0x14], eax
movzx eax, byte [ecx + 0x17]
shl eax, 0x18
or dword [edx + 0x14], eax
movzx eax, byte [ecx + 0x18]
mov dword [edx + 0x18], eax
movzx eax, byte [ecx + 0x19]
shl eax, 8
or dword [edx + 0x18], eax
movzx eax, byte [ecx + 0x1a]
shl eax, 0x10
or dword [edx + 0x18], eax
movzx eax, byte [ecx + 0x1b]
shl eax, 0x18
or dword [edx + 0x18], eax
movzx eax, byte [ecx + 0x1c]
mov dword [edx + 0x1c], eax
movzx eax, byte [ecx + 0x1d]
shl eax, 8
or dword [edx + 0x1c], eax
movzx eax, byte [ecx + 0x1e]
shl eax, 0x10
or dword [edx + 0x1c], eax
movzx eax, byte [ecx + 0x1f]
shl eax, 0x18
or dword [edx + 0x1c], eax
mov eax, 1
mov dword [edx + 0x1020], 0
pop ebp
ret
Function at 0x10150fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x10150fd8
mov edx, dword [ebp + 0x1c]
test edi, edi
je 0x10150fd8
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 7
jne 0x10150fc1
cmp edi, 8
jb 0x10151056
mov edx, dword [ebp + 0x1c]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 8], eax
shl eax, 3
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x1015100b
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call fcn.101510a0
add esp, 0xc
cmp esi, 8
jae 0x10151042
mov eax, dword [ebp + 0x1c]
mov edx, 7
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x10151032
add dword [ebp - 4], 8
sub edi, 8
add ebx, 8
xor esi, esi
dec dword [ebp - 8]
jne 0x10151008
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x10151090
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.101510a0
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
lea ebx, [ebx]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x10151080
mov eax, dword [ebp + 0x20]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10152a50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10152ab0
Function at 0x10153ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0x40
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x40]
sub esi, ecx
lea ebx, [ebp - 0x40]
sub edi, ecx
lea eax, [ecx + 0x10]
sub ebx, edx
mov ecx, 2
lea edx, [edx + 0x20]
lea eax, [eax + 0x20]
movdqu xmm0, xmmword [edx - 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmm0, xmmword [eax - 0x20]
movdqu xmmword [ebx + edx - 0x20], xmm1
movdqu xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [edi + eax - 0x20], xmm1
dec ecx
jne 0x10153f05
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.10153580
mov esi, dword [ebp + 8]
push 1
mov dword [esi], eax
lea eax, [ebp - 0x40]
push eax
mov dword [esi + 4], edx
call fcn.10153580
mov dword [esi + 8], eax
lea eax, [ebp - 0x40]
push 2
push eax
mov dword [esi + 0xc], edx
call fcn.10153580
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x40]
push 3
push eax
mov dword [esi + 0x14], edx
call fcn.10153580
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x40]
push 4
push eax
mov dword [esi + 0x1c], edx
call fcn.10153580
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x40]
push 5
push eax
mov dword [esi + 0x24], edx
call fcn.10153580
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x40]
push 6
push eax
mov dword [esi + 0x2c], edx
call fcn.10153580
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x40]
push 7
push eax
mov dword [esi + 0x34], edx
call fcn.10153580
add esp, 0x40
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret