joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101e0ca0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1ac]
lea ecx, [esp]
push esi
mov esi, dword [esp + 0x1ac]
lea edx, [esp + 0x24]
push edi
movups xmm0, xmmword [eax]
lea edi, [esp + 0x38]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [esp + 0x198], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [esp + 0x188], xmm0
mov byte [esp + 0x188], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [esp + 0x1a7], al
xor eax, eax
nop dword [eax]
movd xmm1, dword [eax + 0x1027e5e8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ecx + eax*4], xmm1
movd xmm1, dword [eax + 0x1027e5ec]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [esp + eax*4 + 0x18], xmm1
movd xmm1, dword [eax + 0x1027e5f0]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [edx + eax*4], xmm1
movd xmm1, dword [eax + 0x1027e5f4]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [edi + eax*4], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x101e0d10
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.101e0f40
lea eax, [esp + 0x90]
push eax
push eax
call fcn.101e1780
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.101e1460
lea eax, [esp + 0x124]
push eax
call fcn.101e0df0
add esp, 0x20
xor eax, eax
nop dword [eax + eax]
mov cl, byte [esp + eax*4 + 0x108]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x20
jb 0x101e0dc0
mov ecx, dword [esp + 0x1a8]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101ebfaa
add esp, 0x1a4
ret
Function at 0x101e0df0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x88]
lea ecx, [esp]
push ebx
push ebp
push esi
lea ebp, [eax + 0x7c]
push edi
cmp ecx, ebp
ja 0x101e0e20
lea ecx, [esp + 0x8c]
xor edx, edx
lea edi, [esp + 0x10]
mov ecx, 0x20
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ebx, 0x1027e608
mov esi, eax
sub ebx, eax
lea edi, [edx + 0x1f]
nop dword [eax + eax]
mov ecx, dword [esi + ebx]
lea esi, [esi + 4]
add ecx, dword [esi - 4]
add edx, ecx
movzx ecx, dl
shr edx, 8
mov dword [esi - 4], ecx
sub edi, 1
jne 0x101e0e40
mov esi, dword [ebp]
lea ecx, [esp + 0x8c]
sub esi, 0xffffff80
add esi, edx
xor edx, edx
mov dword [ebp], esi
shr esi, 7
and esi, 1
neg esi
movd xmm0, esi
pshufd xmm2, xmm0, 0
cmp eax, ecx
ja 0x101e0ea6
lea ecx, [esp + 0x10]
cmp ebp, ecx
jb 0x101e0ea6
mov ebx, ecx
lea edi, [edx + 0x20]
sub ebx, eax
mov edx, dword [ebx + eax]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, esi
xor dword [eax - 4], edx
sub edi, 1
jne 0x101e0e91
jmp 0x101e0f22
lea esi, [esp + 0x10]
sub esi, eax
lea edi, [esp + 0x20]
lea ecx, [eax + 0x20]
sub edi, eax
lea eax, [esp + 0x10]
nop dword [eax]
movups xmm1, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
movups xmm0, xmmword [eax + edx*4]
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movups xmmword [ecx - 0x60], xmm0
movups xmm1, xmmword [ecx - 0x50]
movups xmm0, xmmword [esp + edx*4 + 0x20]
add edx, 0x10
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movups xmmword [ecx - 0x50], xmm0
movups xmm1, xmmword [ecx - 0x40]
movups xmm0, xmmword [esi + ecx - 0x40]
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movups xmmword [ecx - 0x40], xmm0
movups xmm1, xmmword [ecx - 0x30]
movups xmm0, xmmword [edi + ecx - 0x40]
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
cmp edx, 0x20
jb 0x101e0ec0
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x84
ret
Function at 0x101e1cf0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x498
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
mov ebx, dword [esp + 0x4a0]
push ebp
mov ebp, dword [esp + 0x4b8]
push esi
push edi
mov edi, dword [esp + 0x4b0]
mov dword [esp + 0x20], ebp
call fcn.101d67c0
push 0x20
mov esi, eax
push ebp
push esi
call fcn.101d6610
lea eax, [esp + 0x3b0]
push esi
push eax
call fcn.101d65a0
mov al, byte [esp + 0x3d7]
add esp, 0x14
mov ebp, dword [esp + 0x4b8]
and al, 0x3f
and byte [esp + 0x3a4], 0xf8
or al, 0x40
mov esi, dword [esp + 0x4bc]
mov ecx, ebp
add ecx, 0x40
mov byte [esp + 0x3c3], al
mov eax, esi
mov dword [esp + 0x1c], ecx
adc eax, 0
mov dword [edi], ecx
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
mov dword [edi + 4], eax
movlpd qword [esp + 0x10], xmm0
test esi, esi
jb 0x101e1dba
ja 0x101e1d94
test ebp, ebp
je 0x101e1dba
mov edi, dword [esp + 0x4b4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + edi]
mov byte [ecx + ebx + 0x40], al
add ecx, 1
adc edx, 0
cmp edx, esi
jb 0x101e1da3
ja 0x101e1dba
cmp ecx, ebp
jb 0x101e1da3
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x3c4]
mov byte [ecx + ebx + 0x20], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x101e1dea
cmp ecx, 0x20
jb 0x101e1dd0
call fcn.101d67c0
lea ecx, [ebp + 0x20]
mov esi, eax
push ecx
lea ecx, [ebx + 0x20]
push ecx
push esi
call fcn.101d6610
lea eax, [esp + 0x430]
push esi
push eax
call fcn.101d65a0
lea eax, [esp + 0x438]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.101e3ee0
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.101e58c0
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x40c]
push eax
call fcn.101e5820
xorps xmm0, xmm0
add esp, 0x2c
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov al, byte [esp + ecx + 0x3e4]
mov byte [ecx + ebx], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x101e1e79
cmp ecx, 0x20
jb 0x101e1e60
push dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push dword [esp + 0x20]
add eax, 0x20
push ebx
push eax
lea eax, [esp + 0x474]
push ebx
push eax
call fcn.101e2270
lea eax, [esp + 0x47c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.101e3ee0
lea eax, [esp + 0x3c4]
push eax
lea eax, [esp + 0x148]
push eax
call fcn.101e3c00
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x50]
push eax
push eax
call fcn.101e4180
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x5c]
push eax
push eax
call fcn.101e39d0
add esp, 0x40
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x408]
push eax
call fcn.101e4510
xorps xmm0, xmm0
add esp, 8
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
nop
mov al, byte [esp + ecx + 0x404]
mov byte [ecx + ebx + 0x20], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x101e1f2a
cmp ecx, 0x20
jb 0x101e1f10
mov ecx, dword [esp + 0x4a4]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x498
ret
Function at 0x101e2320
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
xor ecx, ecx
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x10]
test edx, edx
je 0x101e23d1
mov eax, dword [esp + 0xc]
push esi
mov esi, ebp
sub esi, eax
cmp edx, 0x20
jb 0x101e23b6
push edi
mov edi, edx
xorps xmm3, xmm3
and edi, 0xffffffe0
xorps xmm2, xmm2
add eax, 0x10
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + ebp]
add ecx, 0x20
xorps xmm1, xmm0
orps xmm3, xmm1
movups xmm1, xmmword [esi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp ecx, edi
jb 0x101e2353
orps xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd ebx, xmm2
pop edi
cmp ecx, edx
jae 0x101e23d0
mov eax, dword [esp + 0x10]
add eax, ecx
sub edx, ecx
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or bl, cl
sub edx, 1
jne 0x101e23c0
pop esi
xor eax, eax
test bl, bl
pop ebp
setne al
pop ebx
ret
Function at 0x101e2e60
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0x1027e6b0
movzx ecx, byte [esi + 3]
lea edx, [esi + 0x10]
shl ecx, 8
movzx eax, byte [esi + 2]
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x10], ecx
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x14], ecx
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x18], ecx
movzx ecx, byte [esi + 0xf]
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
cmp dword [esp + 0x18], 0x100
mov dword [ebx + 0x1c], ecx
mov ecx, 0x1027e6a0
cmovne edx, esi
cmove edi, ecx
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 [ebx + 0x20], 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 [ebx + 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 [ebx + 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 [ebx + 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 [ebx], 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 [ebx + 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 [ebx + 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
pop edi
or ecx, eax
pop esi
mov dword [ebx + 0xc], ecx
pop ebx
ret
Function at 0x101e38f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov edx, ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, 0x1f
push edi
mov edi, dword [esp + 0x1c]
add esi, 2
sub edi, ebx
nop dword [eax]
mov cl, byte [edx + edi]
lea edx, [edx + 4]
mov al, byte [edx - 4]
lea esi, [esi + 4]
and cl, 3
and al, 3
shl cl, 2
xor cl, al
mov byte [esi - 6], cl
mov ecx, dword [edx + edi - 4]
mov eax, dword [edx - 4]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [esi - 5], cl
mov ecx, dword [edx + edi - 4]
mov eax, dword [edx - 4]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
xor cl, al
mov byte [esi - 4], cl
mov ecx, dword [edx + edi - 4]
mov eax, dword [edx - 4]
shr ecx, 6
and cl, 3
shr eax, 6
shl cl, 2
and al, 3
xor cl, al
mov byte [esi - 3], cl
sub ebp, 1
jne 0x101e3910
mov ebp, dword [esp + 0x1c]
mov al, byte [ebx + 0x7c]
mov edx, dword [esp + 0x14]
and al, 3
pop edi
mov cl, byte [ebp + 0x7c]
and cl, 3
shl cl, 2
xor cl, al
mov byte [edx + 0x7c], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ebx + 0x7c]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [edx + 0x7d], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ebx + 0x7c]
shr ecx, 4
and cl, 3
shr eax, 4
pop esi
shl cl, 2
and al, 3
xor cl, al
pop ebp
mov byte [edx + 0x7e], cl
pop ebx
ret
Function at 0x101e4a20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, 0x1027e6c0
push edi
sub ebp, esi
mov dword [esp + 0x14], esi
mov eax, 0x1027e6c4
xor edx, edx
xor edi, edi
lea ebx, [esi + 8]
sub eax, esi
mov esi, eax
add edx, dword [edi*4 + 0x1027e6c0]
lea ebx, [ebx + 0x10]
mov ecx, dword [ebx - 0x18]
mov al, cl
sub ecx, edx
sub al, dl
mov edx, dword [ebx - 0x14]
shr ecx, 0x1f
add ecx, dword [edi*4 + 0x1027e6c4]
mov byte [esp + edi + 0x18], al
mov al, dl
sub edx, ecx
sub al, cl
mov ecx, dword [ebx - 0x10]
shr edx, 0x1f
add edx, dword [ebx + ebp - 0x10]
mov byte [esp + edi + 0x19], al
mov al, cl
sub al, dl
sub ecx, edx
mov byte [esp + edi + 0x1a], al
mov eax, dword [ebx - 0xc]
mov edx, eax
shr ecx, 0x1f
add ecx, dword [ebx + esi - 0x10]
sub al, cl
sub edx, ecx
mov byte [esp + edi + 0x1b], al
add edi, 4
shr edx, 0x1f
cmp edi, 0x20
jl 0x101e4a51
mov esi, dword [esp + 0x14]
lea edi, [edx - 1]
lea edx, [esp + 0x37]
movd xmm0, edi
xor eax, eax
pshufd xmm3, xmm0, 0
lea ecx, [esi + 0x7c]
cmp esi, edx
ja 0x101e4b10
lea edx, [esp + 0x18]
cmp ecx, edx
jb 0x101e4b10
nop word [eax + eax]
movzx edx, byte [esp + eax + 0x18]
xor edx, dword [esi + eax*4]
and edx, edi
xor dword [esi + eax*4], edx
inc eax
cmp eax, 0x20
jl 0x101e4ae0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.101ebfaa
add esp, 0x2c
ret
movups xmm2, xmmword [esi + eax*4]
movd xmm1, dword [esp + eax + 0x18]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm1, xmm2
andps xmm1, xmm3
xorps xmm1, xmm2
movups xmmword [esi + eax*4], xmm1
movups xmm2, xmmword [esi + eax*4 + 0x10]
movd xmm1, dword [esp + eax + 0x1c]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm1, xmm2
andps xmm1, xmm3
xorps xmm1, xmm2
movups xmmword [esi + eax*4 + 0x10], xmm1
add eax, 8
cmp eax, 0x20
jl 0x101e4b10
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x2c
ret

Function at 0x101e5fa0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
push ebx
movzx ebx, byte [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
neg ebx
push edi
lea edi, [eax + 0x7c]
lea ecx, [esi + 0x7c]
movd xmm0, ebx
pshufd xmm2, xmm0, 0
cmp eax, ecx
ja 0x101e5fe7
cmp edi, esi
jb 0x101e5fe7
sub esi, eax
lea edi, [edx + 0x20]
mov edx, dword [eax + esi]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, ebx
xor dword [eax - 4], edx
sub edi, 1
jne 0x101e5fd0
pop edi
pop esi
pop ebx
ret
mov edi, esi
lea ecx, [eax + 0x10]
sub edi, eax
nop
movups xmm1, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm0, xmmword [esi + edx*4]
add edx, 8
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm1, xmmword [ecx - 0x20]
movups xmm0, xmmword [edi + ecx - 0x20]
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp edx, 0x20
jl 0x101e5ff0
pop edi
pop esi
pop ebx
ret
Function at 0x101e6030
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebx, 5
push edi
mov ebp, dword [esi + 0x7c]
lea edx, [esi + 0x70]
mov edi, ebp
xor edi, 0x7f
dec edi
shr edi, 0x1f
nop dword [eax]
mov ecx, dword [edx - 0xc]
lea edx, [edx - 0x18]
mov eax, dword [edx + 0x10]
xor ecx, 0xff
xor eax, 0xff
dec ecx
dec eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x20]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x14]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x1c]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [edx + 0x18]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
and edi, ecx
sub ebx, 1
jne 0x101e6050
mov ecx, 0xec
sub ecx, dword [esi]
shr ecx, 0x1f
and ecx, edi
neg ecx
mov eax, ecx
movzx edx, cl
and eax, 0x7f
sub ebp, eax
mov eax, 0x1e
mov dword [esi + 0x7c], ebp
nop dword [eax]
sub dword [esi + eax*4], edx
dec eax
test eax, eax
jg 0x101e60d0
pop edi
and ecx, 0xed
sub dword [esi], ecx
pop esi
pop ebp
pop ebx
ret
Function at 0x101e8ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x101e8e65
cmp dword [esi + 0x20], 0
je 0x101e8e65
cmp dword [esi + 0x24], 0
je 0x101e8e65
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101e8e65
cmp dword [eax], esi
jne 0x101e8e65
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x101e8d45
cmp eax, 0x39
je 0x101e8d45
cmp eax, 0x45
je 0x101e8d45
cmp eax, 0x49
je 0x101e8d45
cmp eax, 0x5b
je 0x101e8d45
cmp eax, 0x67
je 0x101e8d45
cmp eax, 0x71
je 0x101e8d45
cmp eax, 0x29a
jne 0x101e8e65
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x101e8d7e
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x101e8da0
call fcn.101e9b80
jmp 0x101e8da5
call fcn.101e9900
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.101ea4f0
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.101eec70
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x1029d612]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x1029d610]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x1029d614]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x1029d616]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x101f10c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101f10ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101f10ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x101f1490
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 0
je 0x101f1511
lea ebx, [edi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x101f154c
cmp dword [esp + 4], 0
je 0x101f1533
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x101f156a
mov esi, eax
inc eax
mov dword [edi], eax
mov eax, dword [0x102ac3b8]
nop word [eax + eax]
mov dword [edi + 8], eax
lock cmpxchg dword [0x102ac3b8], edi
jne 0x101f14f0
mov byte [0x102ac3b4], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x101f1543
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x101f15ac
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x101f1537
mov esi, dword [esp]
jmp 0x101f1543
mov esi, dword [edi]
jmp 0x101f1542
mov esi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x1029b62c
push 0x1029b68c
push eax
call fcn.101f11d0
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
mov dword [esp + 8], 0x1029b644
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x1029a5bc
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x1029b67c
push eax
call fcn.101f15f0
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x1029b644
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x1029a5bc
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.101f11a0
int3
Function at 0x101f17e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x101f1831
cmp eax, 1
jne 0x101f18ae
mov dword [esp], 0x1029c4ac
jmp 0x101f1838
mov dword [esp], 0x1029c4aa
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x101f18ca
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x1029c4e8
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10015970
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10015950
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10015950
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.101f15f0
mov edx, 7
mov dword [esp], 0x1029c4ae
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x101f184d
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x1029c51c
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x10015970
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x10012c40
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10015950
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10015950
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.101f15f0
int3
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406ac2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x406ad1
pop dword [ebp - 0x28]
mov eax, 0x8171f223
add eax, 0x7ece78ae
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xd8a652e0
sub dword [ebp - 0x38], 0x8a540d95
mov dword [ebp - 0x34], 0xce993ce
add dword [ebp - 0x34], 0x2549b877
mov dword [ebp - 0x30], 0x2fde0842
add dword [ebp - 0x30], 0x1c6e3bec
mov dword [ebp - 0x2c], 0x2d74c191
sub dword [ebp - 0x2c], 0x2d74c191
lea eax, [ebp - 0x38]
push eax
mov eax, 0xc6e4768d
sub eax, 0xc6a3a639
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x71276903
sub dword [ebp - 0x38], 0xfcb4ffad
mov dword [ebp - 0x34], 0x50e5f1
add dword [ebp - 0x34], 0x411b7b84
mov dword [ebp - 0x30], 0x537695ad
sub dword [ebp - 0x30], 0xf0072941
mov dword [ebp - 0x2c], 0x9ee9c1a8
add dword [ebp - 0x2c], 0x61163e58
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x33c50bfb
sub eax, 0x33843baf
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3cf16
push 0
call eax
mov ecx, 0x549e
mov edi, eax
mov esi, 0x68eab221
add esi, 0x9756fddf
add esi, dword [ebp - 0x28]
mov ebx, 0x8f0b2c55
sub ebx, 0xb1f3595f
xor dword [ebp - 0x18], 0x40e7daff
mov edx, dword [esi]
xor edx, ebx
add dword [ebp - 4], ecx
mov dword [edi], edx
xor dword [ebp - 0x18], ebx
add edi, 0xfe27b2b
sub edi, 0xfe27b27
add esi, 0xd1c86ad9
add esi, 0x2e37952b
loop 0x406bed
add eax, 0x1454b
xor ebx, ebx
add ebx, eax
add eax, 0x90c4753b
add eax, 0x6f3b8aca
mov ecx, 0xe90ba1fc
sub ecx, 0xe8cba1fc
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10004cb0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10004cc0