joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cc460
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100d2a30
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x1019dbbc
call fcn.100d03e0
add esp, 4
mov dword [ebp - 0x20], 0x1019dbbc
mov esi, dword [edi]
test esi, esi
jne 0x100cc505
mov ebx, dword [edi + 4]
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x100cc52b
mov esi, eax
test ebx, ebx
je 0x100cc4fd
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100cc57f
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov ecx, eax
mov eax, dword [0x1019dbdc]
nop word cs:[eax + eax]
nop
mov dword [ecx + 8], eax
lock cmpxchg dword [0x1019dbdc], ecx
jne 0x100cc4f0
mov eax, esi
test esi, esi
xchg dword [edi], eax
je 0x100cc54b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0xffffffff
push eax
call fcn.100d04d0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, str.assertion_failed:_key___c::TLS_OUT_OF_INDEXESsrclibstd_syswindows_thread_local.rs_R
mov edx, 0x2e
push 0x10185264
call fcn.100cdf40
add esp, 4
jmp 0x100cc57d
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10184a9c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x10183f14
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
call fcn.100cc8c0
ud2
push 4
push 0xc
call fcn.100da490
add esp, 8
ud2
Function at 0x100ce1b0
Capabilities:
Generate random numbers via rtlgenrandom
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x100d2aa0
lea eax, [esi + 0x50]
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
mov eax, dword [0x1019d12c]
test eax, eax
je 0x100ce20b
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100ce223
mov ecx, dword [eax]
xor ecx, 1
or ecx, dword [eax + 4]
jne 0x100ce223
add eax, 8
jmp 0x100ce2da
push 0x1019d12c
call fcn.100cc460
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x100ce1f9
mov eax, dword [0x1019d12c]
test eax, eax
je 0x100ce2bc
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x100ce2d8
mov edi, eax
test eax, eax
jne 0x100ce28c
push 8
push 0x20
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100ce341
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x18], 0x1019d12c
mov edi, eax
mov eax, dword [0x1019d12c]
test eax, eax
jne 0x100ce285
push 0x1019d12c
call fcn.100cc460
add esp, 4
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
xorps xmm0, xmm0
lea eax, [esi + 0x30]
movaps xmmword [esi + 0x30], xmm0
push 0x10
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x100ce2ec
movaps xmm0, xmmword [esi + 0x30]
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [edi], 1
movups xmmword [edi + 8], xmm0
jmp 0x100ce2da
push 0x1019d12c
call fcn.100cc460
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x100ce23f
xor eax, eax
mov ecx, dword [esi + 0x50]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov byte [esi + 8], 0
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
mov dword [esi + 0x18], 0x101851d8
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x10], eax
lea eax, [esi + 0x10]
mov dword [esi + 0x14], fcn.100c5600
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 1
lea eax, [esi + 0x18]
push 0x10185200
push eax
call fcn.100cdbe0
add esp, 8
ud2
push 8
push 0x20
call fcn.100da490
add esp, 8
ud2
Function at 0x100cece0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x100d2ae0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x50]
mov edx, dword fs:[0]
mov dword [esi + 0x50], edx
mov dword fs:[0], ecx
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov word [esi + 0x1a], ax
mov eax, dword [0x1019dbd8]
cmp eax, 3
jne 0x100cee62
lea eax, [esi + 8]
push ebx
push edi
push eax
call fcn.100c3950
add esp, 0xc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov byte [esi + 7], 1
mov dword [esi + 0x58], 0
push eax
mov dword [esi + 0x1c], ecx
push ecx
push 0
call fcn.100e1f50
add esp, 0xc
mov edi, dword [ebp + 8]
test eax, eax
je 0x100cedae
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x20], edx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x2c], ecx
push eax
lea eax, [esi + 8]
push eax
call fcn.100c3c50
add esp, 8
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [edi + 8], ecx
mov ecx, edi
mov dword [edi + 4], eax
mov dword [edi], 1
jmp 0x100cee2e
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov byte [esi + 7], 0
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
movsd qword [esi + 0x20], xmm0
push eax
call fcn.100c3a70
add esp, 4
xorps xmm0, xmm0
mov edi, eax
mov ebx, edx
lea eax, [esi + 8]
mov dword [esi + 8], 0
movaps xmmword [esi + 0x20], xmm0
movaps xmmword [esi + 0x30], xmm0
mov dword [esi + 0x28], 1
push eax
lea eax, [esi + 0x20]
push eax
push 0
push edi
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x100cee41
call sub.WS2_32.dll_WSAGetLastError
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov eax, 1
test ebx, ebx
mov dword [ecx], eax
mov byte [edi], 0
je 0x100cee2e
push 1
push ebx
push edi
call fcn.10017710
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
movzx eax, word [esi + 0x1a]
mov word [ecx + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [ecx], eax
mov byte [edi], 0
jne 0x100cee1f
jmp 0x100cee2e
lea eax, [esi + 8]
mov byte [esi + 8], 1
mov dword [esi + 0x20], eax
lea eax, [esi + 0x20]
push 0x1018479c
push eax
push 0
push 0x1019dbd8
call fcn.100ca4f0
add esp, 0x10
jmp 0x100ced34
Function at 0x100ceed0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100d2af0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov edi, dword [ebp + 8]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
cmp eax, 1
jne 0x100cef1b
mov dword [edi + 8], edx
mov dword [edi + 4], ebx
jmp 0x100cefa0
test eax, eax
je 0x100cef6a
cmp bl, 2
jb 0x100cef6a
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0x24], edx
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100cef57
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.10017710
add esp, 0xc
push 4
push 0xc
push esi
call fcn.10017710
add esp, 0xc
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov eax, dword [0x1019dbd8]
mov dword [ebp - 0x10], 0xffffffff
cmp eax, 3
jne 0x100cf001
lea eax, [ebp - 0x34]
push 1
push ebx
push eax
call fcn.100d05f0
add esp, 0xc
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x34], 1
jne 0x100cefb9
mov eax, dword [ebp - 0x2c]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi], 1
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebx], 1
mov eax, 0x1c
mov ecx, 0x10
cmove ecx, eax
add ebx, 4
push ecx
push ebx
push esi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x100cefe4
mov dword [edi + 4], esi
mov dword [edi], 0
jmp 0x100cefa6
call sub.WS2_32.dll_WSAGetLastError
mov dword [edi + 8], eax
mov dword [edi + 4], 0
mov dword [edi], 1
push esi
call sub.WS2_32.dll_closesocket
jmp 0x100cefa6
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 0x1018479c
push eax
push 0
push 0x1019dbd8
call fcn.100ca4f0
add esp, 0x10
jmp 0x100cef7f

Function at 0x100d0360
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, esp
push dword [esp + 0x28]
call fcn.100d1c60
add esp, 4
mov ebx, dword [esp + 8]
mov edi, dword [esp + 4]
cmp dword [esp], 1
jne 0x100d0391
mov dword [esi], edi
mov dword [esi + 4], ebx
jmp 0x100d03b2
push edi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x100d03bb
mov byte [esi], 3
test ebx, ebx
je 0x100d03b2
add ebx, ebx
je 0x100d03b2
push 2
push ebx
push edi
call fcn.10017710
add esp, 0xc
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
ret
call sub.KERNEL32.dll_GetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
test ebx, ebx
jne 0x100d03a2
jmp 0x100d03b2
Function at 0x100d05f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, 2
cmp dword [eax], 1
mov eax, 0x17
cmove ebp, eax
push 0x81
push 0
push 0
push 0
push ebx
push ebp
call sub.WS2_32.dll_WSASocketW
mov edi, eax
cmp eax, 0xffffffff
je 0x100d0634
mov dword [esi + 4], edi
mov dword [esi], 0
jmp 0x100d069d
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x100d0647
cmp eax, 0x2726
jne 0x100d068d
push 1
push 0
push 0
push 0
push ebx
push ebp
call sub.WS2_32.dll_WSASocketW
cmp eax, 0xffffffff
je 0x100d0688
mov edi, eax
push 0
push 1
push eax
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
jne 0x100d0629
call sub.KERNEL32.dll_GetLastError
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], 1
push edi
call sub.WS2_32.dll_closesocket
jmp 0x100d069d
call sub.WS2_32.dll_WSAGetLastError
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], 1
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d1270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100d2b60
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 4
push 8
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100d1365
mov edx, dword [ebp + 0xc]
mov esi, eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add edx, 0xfffe
mov dword [esi], ecx
mov dword [esi + 4], eax
and edx, 0xffff0001
push 0
push 0x10000
push esi
push 0x100d13a0
push edx
push 0
call sub.KERNEL32.dll_CreateThread
test eax, eax
je 0x100d12ff
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [edi], 0
mov dword fs:[0], eax
mov eax, edi
jmp 0x100d135d
call sub.KERNEL32.dll_GetLastError
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edi + 8], eax
mov dword [edi + 4], 0
mov dword [edi], 1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
push edx
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100d1344
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.10017710
add esp, 0xc
push 4
push 8
push esi
call fcn.10017710
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
push 8
call fcn.100da490
add esp, 8
ud2
Function at 0x100d1640
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x100d1654
test eax, eax
jne 0x100d17e6
mov edi, dword [0x1019dbdc]
test edi, edi
je 0x100d17e6
xor ebx, ebx
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
jne 0x100d1683
mov edi, dword [edi + 8]
test edi, edi
je 0x100d169e
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x100d1670
mov esi, eax
push 0
push dword [edi + 4]
call sub.KERNEL32.dll_TlsSetValue
push esi
call dword [edi]
add esp, 4
mov bl, 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x100d1677
test bl, 1
je 0x100d17e6
mov edi, dword [0x1019dbdc]
test edi, edi
je 0x100d17e6
xor ebx, ebx
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
jne 0x100d16e3
nop word cs:[eax + eax]
nop dword [eax]
mov edi, dword [edi + 8]
test edi, edi
je 0x100d16fe
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x100d16d0
mov esi, eax
push 0
push dword [edi + 4]
call sub.KERNEL32.dll_TlsSetValue
push esi
call dword [edi]
add esp, 4
mov bl, 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x100d16d7
test bl, 1
je 0x100d17e6
mov edi, dword [0x1019dbdc]
test edi, edi
je 0x100d17e6
xor ebx, ebx
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
jne 0x100d1743
nop word cs:[eax + eax]
nop dword [eax]
mov edi, dword [edi + 8]
test edi, edi
je 0x100d175e
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x100d1730
mov esi, eax
push 0
push dword [edi + 4]
call sub.KERNEL32.dll_TlsSetValue
push esi
call dword [edi]
add esp, 4
mov bl, 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x100d1737
test bl, 1
je 0x100d17e6
mov edi, dword [0x1019dbdc]
test edi, edi
je 0x100d17e6
xor ebx, ebx
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
jne 0x100d1793
nop
mov edi, dword [edi + 8]
test edi, edi
je 0x100d17ae
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x100d1780
mov esi, eax
push 0
push dword [edi + 4]
call sub.KERNEL32.dll_TlsSetValue
push esi
call dword [edi]
add esp, 4
mov bl, 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x100d1787
test bl, 1
je 0x100d17e6
mov edi, dword [0x1019dbdc]
test edi, edi
jne 0x100d17c6
jmp 0x100d17e6
mov edi, dword [edi + 8]
test edi, edi
je 0x100d17e6
push dword [edi + 4]
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x100d17bf
mov esi, eax
push 0
push dword [edi + 4]
call sub.KERNEL32.dll_TlsSetValue
push esi
call dword [edi]
add esp, 4
jmp 0x100d17bf
mov al, byte [0x101922d8]
pop esi
pop edi
pop ebx
ret 0xc
Function at 0x100d25b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x1019d144]
test eax, eax
je 0x100d25ce
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100d25e6
cmp dword [eax], 1
mov esi, eax
jne 0x100d25e6
jmp 0x100d2649
push 0x1019d144
call fcn.100cc460
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x100d25c5
mov eax, dword [0x1019d144]
test eax, eax
je 0x100d2650
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x100d2668
mov esi, eax
test eax, eax
jne 0x100d263c
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100d266e
mov dword [eax], 0
mov dword [eax + 8], 0x1019d144
mov esi, eax
mov eax, dword [0x1019d144]
test eax, eax
jne 0x100d2635
push 0x1019d144
call fcn.100cc460
add esp, 4
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov dword [esi + 4], 0
mov dword [esi], 1
add esi, 4
mov eax, esi
pop esi
ret
push 0x1019d144
call fcn.100cc460
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x100d25fa
xor esi, esi
mov eax, esi
pop esi
ret
push 4
push 0xc
call fcn.100da490
add esp, 8
ud2
Function at 0x100dfa20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x488
mov dword [esp], edx
mov dword [esp + 0x44], ecx
movsd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, edx
mov edi, edx
mov dword [esp + 0x38], edx
and ecx, 0xfffff
shr edi, 0x14
mov esi, ecx
shld esi, eax, 1
and di, 0x7ff
mov dword [esp + 4], edi
lea edi, [ecx + 0x100000]
cmove edi, esi
mov esi, edx
mov dword [esp + 0x3c], edi
lea edi, [eax + eax]
cmovne edi, eax
and esi, 0x7fffffff
or esi, eax
call fcn.100dfa86
Function at 0x100e3bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
mov byte [esp + 0xc], 0x30
mov dword [esp + 8], 0x30303030
mov dword [esp + 4], 0x30303030
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test edi, edi
mov esi, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
je 0x100e3c88
mov ebx, dword [ebp + 0x10]
test esi, esi
mov ecx, 9
mov dword [esp + 0x34], edx
cmovne ecx, eax
xor esi, esi
nop dword [eax + eax]
cmp ecx, esi
je 0x100e3c8c
test ebx, ebx
je 0x100e3e03
cmp esi, 9
je 0x100e3e19
mov eax, edi
xor edx, edx
div ebx
add al, 0x30
mov edi, edx
mov edx, 0xcccccccd
mov byte [esp + esi + 4], al
mov eax, ebx
inc esi
mul edx
mov ebx, edx
shr ebx, 3
test edi, edi
jne 0x100e3c50
jmp 0x100e3d00
xor esi, esi
jmp 0x100e3d00
lea eax, [ebx + ebx*4]
cmp edi, eax
jb 0x100e3cfe
test ecx, ecx
je 0x100e3ce9
lea eax, [ecx - 1]
mov dl, 1
xor esi, esi
mov edi, 0x30
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, 8
ja 0x100e3e2c
movzx ebx, byte [esp + eax + 4]
movzx edx, dl
mov bh, bl
inc bh
cmp bl, 0x39
movzx ebx, bh
cmovb edx, esi
cmovae ebx, edi
mov byte [esp + eax + 4], bl
add eax, 0xffffffff
setb bl
test dl, 1
je 0x100e3ce4
test bl, bl
jne 0x100e3cb0
test dl, 1
je 0x100e3cfe
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 8]
add eax, 1
adc edx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov esi, ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, 9
cmp edx, 9
cmovb eax, edx
test ecx, ecx
cmove eax, esi
test eax, eax
je 0x100e3daa
cmp eax, 0xa
jae 0x100e3e3e
test ecx, ecx
lea ecx, [esp + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmove edx, esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x48], fcn.100e5750
mov dword [esp + 0x40], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0x100e5e10
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x100db6e0
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x1c], 0x101871dc
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0x101871ec
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 3
jmp 0x100e3dec
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], fcn.100e5750
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x1c], 0x10186b20
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 1
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.100e06c0
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101871ac
push 0x19
push str.attempt_to_divide_by_zero
call fcn.100df260
add esp, 0xc
ud2
push 9
push 9
push 0x101871bc
call fcn.100df2b0
add esp, 0xc
ud2
push 9
push eax
push 0x101871cc
call fcn.100df2b0
add esp, 0xc
ud2
push 9
push eax
call fcn.100e2170
add esp, 8
ud2
Function at 0x100e7a50
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
or esi, 0xffffffff
test ebx, ebx
je 0x100e7a97
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
sub ebp, edi
nop dword [eax]
mov eax, dword [edi + ebp]
lea edi, [edi + 4]
xor eax, dword [edi - 4]
mov ecx, esi
not ecx
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
neg edx
or edx, ecx
and esi, edx
sub ebx, 1
jne 0x100e7a70
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
ret
Function at 0x100e83f0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov ecx, dword [esp + 4]
mov al, byte [ecx + 0x1f]
and byte [ecx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ecx + 0x1f], al
ret
Function at 0x100eb0c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24c
mov eax, dword [0x1019d1d4]
xor eax, esp
mov dword [esp + 0x248], eax
cmp dword [esp + 0x258], 0
mov eax, dword [esp + 0x25c]
push esi
mov esi, dword [esp + 0x258]
mov dword [esp + 4], eax
je 0x100eb1e8
push ebp
push edi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100eb580
mov eax, dword [esp + 0x274]
add esp, 8
mov edi, dword [esp + 0x25c]
movups xmm1, xmmword [eax]
push ebx
movups xmm0, xmmword [eax]
lea eax, [esp + 0x38]
movups xmmword [esp + 0x18], xmm1
sub edi, eax
sub esi, eax
psrldq xmm1, 0xc
movd ebp, xmm1
movups xmmword [esp + 0x28], xmm0
bswap ebp
xor ecx, ecx
lea edx, [esp + 0x24]
nop dword [eax]
lea eax, [ecx + ebp]
inc ecx
lea edx, [edx + 0x10]
bswap eax
mov dword [edx - 0x10], eax
cmp ecx, 2
jb 0x100eb140
mov ebx, dword [esp + 0x268]
mov eax, 2
cmp ebx, 2
cmovae ebx, eax
lea eax, [esp + 0x18]
push ebx
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], ebx
push eax
call fcn.100ec7a0
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0xf0]
lea eax, [esp + 0x8c]
push eax
call fcn.100eb490
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.100eb670
add esp, 0x24
test ebx, ebx
je 0x100eb1ce
lea eax, [esp + 0x38]
nop
mov edx, 4
mov ecx, dword [edi + eax]
xor ecx, dword [eax]
mov dword [esi + eax], ecx
add eax, 4
sub edx, 1
jne 0x100eb1b5
sub ebx, 1
jne 0x100eb1b0
mov ebx, dword [esp + 0x14]
sub dword [esp + 0x268], ebx
je 0x100eb1e5
add edi, 0x20
add esi, 0x20
add ebp, 2
jmp 0x100eb137
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x24c]
pop esi
xor ecx, esp
call fcn.100efce5
add esp, 0x24c
ret
Function at 0x100eb490
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
mov eax, dword [ebx + 8]
xor dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
xor dword [esi + 0x1c], eax
cmp ebp, 1
jbe 0x100eb528
push edi
lea edi, [ebx + 0x28]
dec ebp
push esi
call fcn.100ec4b0
push esi
call fcn.100ec320
push esi
call fcn.100eb700
mov eax, dword [edi - 8]
lea edi, [edi + 0x20]
xor dword [esi], eax
add esp, 0xc
mov eax, dword [edi - 0x24]
xor dword [esi + 4], eax
mov eax, dword [edi - 0x20]
xor dword [esi + 8], eax
mov eax, dword [edi - 0x1c]
xor dword [esi + 0xc], eax
mov eax, dword [edi - 0x18]
xor dword [esi + 0x10], eax
mov eax, dword [edi - 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi - 0x10]
xor dword [esi + 0x18], eax
mov eax, dword [edi - 0xc]
xor dword [esi + 0x1c], eax
sub ebp, 1
jne 0x100eb4d7
mov ebp, dword [esp + 0x18]
pop edi
push esi
call fcn.100ec4b0
push esi
call fcn.100ec320
shl ebp, 5
add esp, 8
mov eax, dword [ebx + ebp]
xor dword [esi], eax
mov eax, dword [ebx + ebp + 4]
xor dword [esi + 4], eax
mov eax, dword [ebx + ebp + 8]
xor dword [esi + 8], eax
mov eax, dword [ebx + ebp + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ebx + ebp + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ebx + ebp + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ebx + ebp + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ebx + ebp + 0x1c]
xor dword [esi + 0x1c], eax
pop esi
pop ebp
pop ebx
ret