joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b09be
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5bdd40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004a9d52
mov dword [ebp - 0x14], eax
cmp dword [0x5bfc78], edi
jne 0x4b0aaf
push 0x800
push edi
push 0x402d48
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4b0a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4b0b8f
push 0x402d48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4b0b8f
push 0x402d60
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b0b8f
push eax
call ebx
push 0x402d6c
push esi
mov dword [0x5bfc78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d7c
push esi
mov dword [0x5bfc7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d90
push esi
mov dword [0x5bfc80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bfc88], eax
test eax, eax
je 0x4b0aac
push 0x402dac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bfc84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b0ad4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b0ac7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4b0ae9
push 4
pop eax
jmp 0x4b0b91
cmp dword [ebp - 0x14], edi
je 0x4b0ae9
push dword [0x5bfc78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4b0ace
mov eax, dword [0x5bfc84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4b0b47
cmp dword [0x5bfc88], esi
je 0x4b0b47
push eax
call ebx
push dword [0x5bfc88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b0b47
test eax, eax
je 0x4b0b47
call ecx
test eax, eax
je 0x4b0b3c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4b0b3c
test byte [ebp - 8], 1
jne 0x4b0b47
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4b0b77
mov eax, dword [0x5bfc7c]
cmp eax, esi
je 0x4b0b74
push eax
call ebx
test eax, eax
je 0x4b0b74
call eax
mov edi, eax
test edi, edi
je 0x4b0b74
mov eax, dword [0x5bfc80]
cmp eax, esi
je 0x4b0b74
push eax
call ebx
test eax, eax
je 0x4b0b74
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5bfc78]
call ebx
test eax, eax
je 0x4b0b8f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4b0b91
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5d0c
leave
ret
Function at 0x40f140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x411034]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x4105e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004106d0
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0xa815a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0xa8180d
jne 0xa8180d
je 0xa811e6
jne 0xa812ed
add byte [eax], al
add byte [eax], al
Function at 0xa83620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
je 0xa837a8
jne 0xa837a8
Function at 0xa84860
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0xa848b6
jne 0xa848b6
jmp 0x3f1483b2
inc ebp
cmp ebp, dword [esi + edi + 0x18]
jb 0xa848d7
xor eax, eax
jmp 0xa84890
mov eax, dword [esp]
je 0xa8487c
jne 0xa8487c
jmp 0x68b4ff8f
movzx ecx, word [eax + ebp*2]
xor eax, eax
cmp dword [esi + edi + 0x14], ecx
jb 0xa84890
mov eax, dword [esi + edi + 0x1c]
je 0xa848f9
jne 0xa848f9
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + edi + 0x24]
mov ebx, dword [esi + edi + 0x20]
xor ebp, ebp
je 0xa8491b
jne 0xa8491b
je 0xa824da
jne 0xa8140a
push eax
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [edx]
cmp dword [ecx + 0x7c], 0
je 0xa84890
je 0xa84938
jne 0xa84938
je 0xa8369f
jne 0xa82cb7
je 0x2534d66
mov eax, dword [ebx + ebp*4]
add eax, esi
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call dword [eax + 0x24]
je 0xa84907
invalid
jne 0xa84907
je 0xa8268a
jne 0xa82922
jmp 0x436558a
lea ecx, [esi + ecx*4]
add esi, dword [eax + ecx]
mov eax, esi
je 0xa84890
jne 0xa84890
je 0x84b80990
test eax, eax
je 0xa84874
invalid
je 0xa84869
jne 0xa84869
add eax, esi
add ebx, esi
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
je 0xa848d7
jne 0xa848d7
add byte [eax], al
add byte [eax], al
mov esi, dword [edx + 4]
mov edi, dword [ecx + 0x78]
cmp dword [edi + esi + 0x18], 0
je 0xa84890
cmp dword [esi + edi + 0x14], 0
je 0xa84890
je 0xa8489c
jne 0xa8489c
push ebp
push ebx
je 0xa84a05
jne 0xa84a05
je 0xb08a3b
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
je 0xa849d8
add byte [eax], al
add bh, al
inc eax
adc byte [eax], al
add byte [eax], al
add byte [ecx + 0x2474ffcb], cl
and bh, bh
je 0xa849ab
and byte [eax + 0x74], dl
dec ebp
jne 0xa849d8
je 0xa813d2
jne 0xa8363b
add byte [eax], al
add byte [eax], al
test edi, edi
je 0xa849fb
push 0x8000
push 0
push edi
call dword [ebx + 0xc]
je 0xa849fb
or al, 0x74
dec ebp
jne 0xa849fb
jmp 0x81e4a740
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + ebx], 0x4550
jne 0xa849fb
mov edi, dword [esp + 0x14]
add ebx, ebp
push 4
je 0xa849ca
jne 0xa849ca
push 0x3000
push 0x14
push 0
je 0xa84a1c
jne 0xa84a1c
jmp 0xeceb322d
push ecx
call fcn.00a83620
add esp, 0x10
test eax, eax
je 0xa849f0
mov esi, edi
mov dword [edi + 0x10], 1
jmp 0xa849fb
je 0xa8499d
jne 0xa8499d
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop edi
je 0xa849f4
jne 0xa849f4
je 0x6d33a060
push edi
push esi
mov ebp, dword [esp + 0x18]
and al, 0x18
xor esi, esi
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0xa849fb
je 0xa849b1
jne 0xa849b1
call dword [edi]
mov ecx, edi
mov dword [eax + 4], ebp
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 0xc], 0
je 0xa84970
jne 0xa84970
nop word [eax + eax]
ret
Function at 0xa87f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1400
call fcn.00ac4b40
mov eax, dword [esp + 0x1418]
movdqa xmm4, xmmword [0xaca290]
movdqa xmm6, xmmword [0xaca2a0]
mov esi, 0xfffffc00
pxor xmm2, xmm2
nop
movdqa xmm3, xmm4
movdqa xmm7, xmmword [0xaca2c0]
movdqa xmm0, xmm4
movdqa xmm1, xmm4
movdqa xmm5, xmm4
pand xmm3, xmm6
psrld xmm0, 6
pand xmm1, xmmword [0xaca320]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0xaca2b0]
pcmpeqd xmm1, xmm2
pand xmm1, xmmword [0xaca330]
pxor xmm0, xmm3
movdqa xmm3, xmm4
pand xmm3, xmm7
movdqa xmm7, xmmword [0xaca2e0]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0xaca2d0]
pand xmm5, xmm7
movdqa xmm7, xmmword [0xaca350]
pcmpeqd xmm5, xmm2
pand xmm5, xmmword [0xaca2f0]
pxor xmm3, xmm0
pand xmm0, xmm6
pcmpeqd xmm0, xmm2
pxor xmm1, xmm5
movdqa xmm5, xmm4
pand xmm5, xmmword [0xaca340]
pcmpeqd xmm5, xmm2
pand xmm5, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm4
paddd xmm4, xmmword [0xaca2e0]
pand xmm1, xmmword [str._b_b_b_b]
pxor xmm5, xmm3
pand xmm3, xmmword [0xaca2c0]
pcmpeqd xmm1, xmm2
pcmpeqd xmm3, xmm2
pand xmm1, xmmword [0xaca310]
pand xmm3, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm0
pand xmm0, xmmword [0xaca370]
pandn xmm1, xmmword [0xaca360]
psrld xmm5, 2
por xmm0, xmm1
pxor xmm0, xmm5
pxor xmm0, xmm3
movdqu xmmword [esp + esi + 0x400], xmm0
add esi, 0x10
jne 0xa87fb0
mov esi, eax
mov eax, 0xfffffc00
shr esi, 2
nop word [eax + eax]
mov ebx, dword [esp + eax + 0x400]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
mov dword [esp + eax + 0x800], ebx
add eax, 4
jne 0xa880d0
mov eax, dword [esp]
mov edi, dword [esp + 0x400]
xor ebp, ebp
mov ebx, eax
shr ebx, 8
nop
mov ecx, eax
xor ecx, ebp
movzx ecx, cl
mov ecx, dword [esp + ecx*4]
xor ecx, ebx
movzx edx, cl
shr ecx, 8
xor ecx, dword [esp + edx*4]
movzx edx, cl
shr ecx, 8
mov edx, dword [esp + edx*4]
xor edx, edi
xor edx, ecx
mov dword [esp + ebp*4 + 0x800], edx
inc ebp
cmp ebp, 0x100
jne 0xa88110
movzx eax, al
Function at 0xa89d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
je 0xa89fb2
jne 0xa89fb2
jmp 0x535869b

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

Disassembly:
add byte [eax], al
add byte [eax], al
push 3
push 0
push 0
push 1
je 0xa8a941
jne 0xa8a941
je 0x782cb77e
add al, byte [eax]
add byte [edi], cl
test dword [ecx + 2], esi
add byte [eax], al
je 0xa8a9a0
jne 0xa8a9a0
je 0xa89616
jne 0xa8984d
call dword [eax + 0xc]
cmp eax, edi
jne 0xa8a981
je 0xa8a8d6
jne 0xa8a8d6
je 0xa8898d
jne 0xa8aa0c
jmp 0x44a7f45
jne 0xa88913
je 0xa8a80b
jne 0xa8a80b
add byte [eax], al
add byte [eax], al

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

Disassembly:
push ebp
mov ebp, esp
je 0xa8b0ab
jne 0xa8b0ab
je 0xa893c2
jne 0xa8a2d9
add byte [eax], al
add byte [eax], al
push ebx
push edi
push esi
je 0xa8b126
jne 0xa8b126
add byte [eax], al
add byte [eax], al
Function at 0xa90d80
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
je 0xa90e62
jne 0xa90e62
add byte [eax], al
add byte [eax], al
jmp 0xa90e82
je 0xa90e7d
jne 0xa90e7d
je 0xa90acf
jne 0xa90cec
je 0xebb95141
fmul qword [edi]
test byte [edi + 0x5b], bl
ret 4
lea ecx, [ebx + 0x14]
push eax
je 0xa90e55
jne 0xa90e55
jmp 0x2f100781
je 0xa90deb
jne 0xa90deb
add byte [eax], al
add byte [eax], al
test eax, eax
je 0xa90e43
je 0xa90e88
jne 0xa90e88
jmp 0x89ad54aa
mov dword [esi + 4], eax
mov eax, esi
pop esi
push 0xa90db9
ret
call fcn.00ac4b2a
add esp, 4
mov edi, eax
jmp 0xa90e14
mov dword [esi], edi
mov eax, dword [ebx + 0x10]
je 0xa90e1d
jne 0xa90e1d
jmp 0xa9b7c8b9
push ecx
push edi
call fcn.00a85df0
push 0xa90eac
ret
je 0xa90e6a
je 0xa90ea4
jne 0xa90ea4
je 0x10cd6af9
mov ebx, dword [esp + 0x10]
mov esi, ecx
mov eax, dword [ebx + 0x10]
add eax, 3
push eax
jmp 0xa90e37
mov eax, 0xfffffffe
je 0xa90e0c
jne 0xa90e0c
je 0x83b95217
mov eax, dword [ebx + 0x10]
add eax, 2
push 0xa90e96
ret
rol byte [edx], 0x68
xchg esi, eax
push cs
test eax, 0x840fc300
je 0xa90d98
push 0xa90df4
ret
jne 0xa90e6a
jmp 0xa90e68
Function at 0xab2fc0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov dword [eax + 0x10], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x14], esi
mov esi, dword [edx + 8]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0xc]
mov dword [eax + 0x1c], esi
lea esi, [edx + 0x10]
cmp ecx, 0x100
cmovne esi, edx
mov ecx, str.expand_32_byte_kexpand_16_byte_k
mov edx, 0xaca690
cmove edx, ecx
mov ecx, dword [esi]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
pop esi
ret

Function at 0xab30f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [esp + 0x78], ecx
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x5c], eax
mov ebp, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
mov esi, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x2c], 0xfffffff8
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ebp, dword [esp + 0x54]
Function at 0xabc660
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0xabc6f3
mov dword [eax + 0x48], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x44], 0x5be0cd19
mov dword [eax + 0x40], 0x137e2179
xor eax, eax
ret
mov eax, 1
ret

Function at 0xabc7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x320
mov eax, 0xffffffc0
nop word cs:[eax + eax]
nop
movsd xmm0, qword [ecx + eax + 0x48]
movsd qword [esp + eax + 0x90], xmm0
add eax, 8
jne 0xabc810
mov dword [esp + 0x94], ecx
mov eax, 0xffffff80
mov ecx, dword [edx + eax + 0x80]
mov esi, dword [edx + eax + 0x84]
bswap esi
bswap ecx
mov dword [esp + eax + 0x11c], ecx
mov dword [esp + eax + 0x118], esi
add eax, 8
jne 0xabc830
mov eax, 0xfffffe00
nop word [eax + eax]
mov esi, dword [esp + eax + 0x308]
mov ecx, dword [esp + eax + 0x30c]
mov edi, ecx
shld edi, esi, 0xd
mov edx, esi
shld edx, ecx, 0xd
mov ebx, ecx
shld ebx, esi, 0x1a
xor ebx, edi
mov edi, ecx
shld edi, esi, 3
shld esi, ecx, 3
xor ebx, esi
mov dword [esp + 8], ebx
shr ecx, 6
xor ecx, edx
xor ecx, edi
mov edi, dword [esp + eax + 0x2a0]
mov edx, dword [esp + eax + 0x2a4]
mov esi, edx
shld esi, edi, 0x1f
mov ebx, edx
shld ebx, edi, 0x19
xor ebx, esi
mov esi, edx
shld esi, edi, 0x18
xor ebx, esi
mov esi, edi
shld esi, edx, 0x1f
shld edi, edx, 0x18
shr edx, 7
xor edx, esi
xor edx, edi
mov esi, dword [esp + eax + 0x298]
add esi, dword [esp + eax + 0x2e0]
mov edi, dword [esp + eax + 0x29c]
adc edi, dword [esp + eax + 0x2e4]
add esi, dword [esp + 8]
adc edi, ecx
add esi, ebx
adc edi, edx
mov dword [esp + eax + 0x318], esi
mov dword [esp + eax + 0x31c], edi
add eax, 8
jne 0xabc860
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], 0
nop word [eax + eax]
Function at 0xabd690
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
push edi
push esi
sub esp, 0xa0
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
push edi
push 0x20
push dword [esp + 0xc0]
call fcn.00abd460
add esp, 0xc
and byte [edi], 0xf8
mov al, byte [edi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
mov ebx, esp
push edi
push ebx
call fcn.00ab7780
add esp, 8
push ebx
push esi
call fcn.00ab7710
add esp, 0xa8
pop esi
pop edi
pop ebx
ret
Function at 0x10007540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002adad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100f4540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1000b570
mov edi, eax
add esp, 4
test edi, edi
je 0x100075e4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000aa2f
add esp, 4
mov dword [edi + 4], eax
jmp 0x100075e6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.10002780
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x10]
mov bl, al
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10007640
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10007640
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x1000765c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1000767f
cmp byte [ebp + 0xc], 0
je 0x1000766b
push esi
call fcn.1000af38
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1000768b
mov esi, str.ios_base::badbit_set
jmp 0x1000769b
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10007880
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.100035a0
push 0x10039804
lea eax, [ebp - 0x28]
push eax
call fcn.1000cab6
int3
Function at 0x10007a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002addd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f4540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 5
sub eax, ecx
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
xor esi, esi
movaps xmm0, xmmword [0x1002c8d0]
xor edx, edx
mov dword [ebp - 0x24], eax
xor edi, edi
sar eax, 2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x38], xmm0
test eax, eax
je 0x10007ac7
push eax
lea ecx, [ebp - 0x1c]
call fcn.100051e0
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.1000cee0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov edi, dword [ebp - 0x14]
lea edx, [esi + eax*4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
cmp esi, edx
je 0x10007ae5
mov ecx, esi
mov eax, dword [ecx]
xor eax, 0x2a
add eax, 0x2a
mov dword [ecx], eax
add ecx, 4
cmp ecx, edx
jne 0x10007ad4
mov eax, edx
xor ecx, ecx
sub eax, esi
mov dword [ebp - 0x24], ecx
add eax, 3
shr eax, 2
cmp esi, edx
cmova eax, ecx
mov dword [ebp - 0x20], eax
mov eax, esi
cmp dword [ebp - 0x20], ecx
je 0x10007b50
cmp dword [ebp - 0x20], 8
jb 0x10007b50
mov ecx, dword [ebp - 0x20]
xorps xmm1, xmm1
and ecx, 0xfffffff8
xorps xmm2, xmm2
movups xmm0, xmmword [eax]
add dword [ebp - 0x24], 8
paddd xmm1, xmm0
movups xmm0, xmmword [eax + 0x10]
add eax, 0x20
paddd xmm2, xmm0
cmp dword [ebp - 0x24], ecx
jne 0x10007b15
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ecx, xmm1
cmp eax, edx
je 0x10007b5d
add ecx, dword [eax]
add eax, 4
cmp eax, edx
jne 0x10007b54
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
sub ecx, eax
jne 0x10007b87
push str.Target_function_called__n
push 0x100f5708
call fcn.10001400
add esp, 8
test esi, esi
je 0x10007bb4
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x10007baa
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007bcf
push edi
push esi
call fcn.1000b5a0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000b5b3
mov esp, ebp
pop ebp
ret
call fcn.1001056f
int3