Function at 0x10093810
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2b8
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x2b4], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x10]
lea esi, [ecx + 0x12a]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 8], eax
nop word [eax + eax]
push edx
lea ecx, [esi - 0x12a]
call fcn.100a04e0
test al, al
je 0x10093880
mov ecx, dword [ebp + 0x14]
mov al, byte [esi]
test ecx, ecx
jne 0x1009386d
test al, al
jmp 0x1009387e
test al, al
je 0x10093880
mov eax, dword [esi - 0x28]
cmp eax, dword [ecx]
jne 0x10093880
mov eax, dword [esi - 0x24]
cmp eax, dword [ecx + 4]
je 0x1009389a
mov eax, dword [esp + 8]
add esi, 0x12c
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jae 0x100938e5
mov edx, dword [esp + 0x18]
jmp 0x10093850
imul esi, dword [esp + 8], 0x12c
lea ecx, [esp + 0x190]
push 0
push 0
mov edx, 0x10
add esi, dword [esp + 0x14]
movups xmm0, xmmword [esi + 0x10a]
movups xmmword [esp + 0x198], xmm0
call fcn.100a0620
movups xmm0, xmmword [esi + 0x11a]
mov esi, dword [esp + 0x14]
add esp, 8
movups xmmword [esp + 0x1a0], xmm0
jmp 0x10093e3b
mov eax, edi
xor esi, esi
nop dword [eax]
mov cl, byte [eax]
movzx edx, word [eax]
mov byte [esp + esi*2 + 0x1b0], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + esi*2 + 0x1b1], cl
test dx, dx
je 0x100939c2
mov cl, byte [eax + 2]
movzx edx, word [eax + 2]
mov byte [esp + esi*2 + 0x1b2], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + esi*2 + 0x1b3], cl
test dx, dx
je 0x100939c2
mov cl, byte [eax + 4]
movzx edx, word [eax + 4]
mov byte [esp + esi*2 + 0x1b4], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + esi*2 + 0x1b5], cl
test dx, dx
je 0x100939c2
mov cl, byte [eax + 6]
movzx edx, word [eax + 6]
mov byte [esp + esi*2 + 0x1b6], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + esi*2 + 0x1b7], cl
test dx, dx
je 0x100939c2
mov cl, byte [eax + 8]
movzx edx, word [eax + 8]
mov byte [esp + esi*2 + 0x1b8], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + esi*2 + 0x1b9], cl
test dx, dx
je 0x100939c2
mov cl, byte [eax + 0xa]
movzx edx, word [eax + 0xa]
mov byte [esp + esi*2 + 0x1ba], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + esi*2 + 0x1bb], cl
test dx, dx
je 0x100939c2
add esi, 6
add eax, 0xc
cmp esi, 0x108
jb 0x100938f0
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100939c5
sub edi, ecx
mov ecx, dword [ebp + 0x14]
sar edi, 1
lea esi, [edi + edi]
mov dword [esp + 8], esi
test ecx, ecx
je 0x100939fc
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + esi + 0x1b0], eax
mov dword [esp + esi + 0x1b4], ecx
add esi, 8
mov dword [esp + 8], esi
xorps xmm0, xmm0
mov dword [esp + 0x20], 0x67452301
xor eax, eax
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x38]
mov edx, ecx
and edx, 0x3f
add ecx, esi
mov dword [esp + 0x38], ecx
adc dword [esp + 0x3c], 0
lea eax, [edx + esi]
cmp eax, 0x3f
jbe 0x10093b15
mov edi, 0x40
lea eax, [esp + 0x1b0]
sub edi, edx
push edi
push eax
lea eax, [esp + 0x48]
add eax, edx
push eax
call fcn.10146160
add esp, 0xc
lea eax, [esp + 0x40]
lea edx, [esp + 0x110]
lea ecx, [esp + 0x20]
push 1
push eax
call fcn.100e2270
lea eax, [edi + 0x3f]
add esp, 8
cmp eax, esi
jae 0x10093b0d
lea esi, [esp + 0x1b0]
mov eax, 0x3f
lea ecx, [esp + 0x1b0]
add esi, edi
sub eax, ecx
mov dword [esp + 0x14], eax
push 0
push esi
lea edx, [esp + 0x118]
lea ecx, [esp + 0x28]
call fcn.100e2270
movups xmm0, xmmword [esp + 0x118]
mov eax, dword [esp + 0x1c]
add esp, 8
add edi, 0x40
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x120]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x130]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x140]
movups xmmword [esi + 0x30], xmm0
add esi, 0x40
add eax, esi
cmp eax, dword [esp + 8]
jb 0x10093ab2
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x38]
xor edx, edx
jmp 0x10093b17
xor edi, edi
cmp esi, edi
jbe 0x10093b3d
mov eax, esi
sub eax, edi
push eax
lea eax, [esp + 0x1b4]
add eax, edi
push eax
lea eax, [esp + 0x48]
add eax, edx
push eax
call fcn.10146160
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, edx
shr eax, 8
mov byte [esp + 0x1d], al
mov eax, edx
mov byte [esp + 0x1c], dl
mov edx, ecx
and edx, 0x3f
shr eax, 0x10
add ecx, 3
mov byte [esp + 0x1e], al
mov dword [esp + 0x38], ecx
adc dword [esp + 0x3c], 0
lea eax, [edx + 3]
cmp eax, 0x3f
jbe 0x10093be0
mov edi, 0x40
lea eax, [esp + 0x1c]
sub edi, edx
push edi
push eax
lea eax, [esp + 0x48]
add eax, edx
push eax
call fcn.10146160
add esp, 0xc
lea eax, [esp + 0x40]
lea edx, [esp + 0x150]
lea ecx, [esp + 0x20]
push 1
push eax
call fcn.100e2270
lea esi, [edi + 0x3f]
add esp, 8
cmp esi, 3
jae 0x10093bd7
lea eax, [esp + esi - 0x23]
push 0
push eax
lea edx, [esp + 0x158]
lea ecx, [esp + 0x28]
call fcn.100e2270
add esi, 0x40
add esp, 8
add edi, 0x40
cmp esi, 3
jb 0x10093bb2
xor edx, edx
cmp edi, 3
jae 0x10093c00
jmp 0x10093be2
xor edi, edi
mov eax, 3
sub eax, edi
push eax
lea eax, [esp + 0x20]
add eax, edi
push eax
lea eax, [esp + 0x48]
add eax, edx
push eax
call fcn.10146160
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, 0x3fff
jne 0x10093c89
movaps xmm0, xmmword [esp + 0x20]
lea edx, [esp + 0xe8]
movaps xmmword [esp + 0x80], xmm0
lea ecx, [esp + 0x80]
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0xb0], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmmword [esp + 0x70]
movaps xmmword [esp + 0xd0], xmm0
call fcn.100e33a0
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0xf8]
shr ecx, 0xe
mov byte [esp + ecx + 0x1a0], al
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 8]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x40000
jb 0x10093a33
lea edx, [esp + 0xfc]
lea ecx, [esp + 0x20]
call fcn.100e33a0
xor edi, edi
nop
mov edx, dword [esp + edi + 0xfc]
mov eax, edx
shr eax, 8
mov byte [esp + edi + 0x191], al
mov eax, edx
mov byte [esp + edi + 0x190], dl
shr eax, 0x10
shr edx, 0x18
mov byte [esp + edi + 0x192], al
mov byte [esp + edi + 0x193], dl
add edi, 4
cmp edi, 0x10
jb 0x10093cb0
mov edx, dword [esp + 0xc]
mov ecx, 0x40
mov esi, dword [esp + 0x18]
imul edi, dword [edx + 0x4b0], 0x12c
add edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0x14]
test esi, esi
setne cl
imul eax, dword [edx + 0x4b0], 0x12c
mov byte [eax + edx + 0x12a], cl
test esi, esi
je 0x10093d45
imul edx, dword [edx + 0x4b0], 0x12c
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0xc]
mov dword [edx + esi + 0x102], eax
mov dword [edx + esi + 0x106], ecx
jmp 0x10093d47
mov esi, edx
imul eax, dword [esi + 0x4b0], 0x12c
movups xmm0, xmmword [esp + 0x190]
movups xmmword [eax + esi + 0x10a], xmm0
mov eax, dword [0x101fb4ac]
imul edi, dword [esi + 0x4b0], 0x12c
add edi, 0x10a
add edi, esi
test eax, eax
jne 0x10093ea8
cmp byte [0x101fb4a8], al
jne 0x10093dd3
call fcn.100e4bd0
mov dword [0x101fb4a4], eax
test eax, eax
je 0x10093dbf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
push str.CryptUnprotectMemory
push dword [0x101fb4a4]
mov dword [0x101fb4ac], eax
call esi
mov esi, dword [esp + 0xc]
mov dword [0x101fb4b0], eax
mov eax, dword [0x101fb4ac]
mov byte [0x101fb4a8], 1
test eax, eax
jne 0x10093ea8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x14], ecx
add cl, 0x4b
lea edx, [eax + edi]
add cl, al
inc eax
xor byte [edx], cl
mov ecx, dword [esp + 0x14]
cmp eax, 0x10
jb 0x10093de1
imul eax, dword [esi + 0x4b0], 0x12c
mov ecx, 0x108
movups xmm0, xmmword [esp + 0x1a0]
movups xmmword [eax + esi + 0x11a], xmm0
mov eax, dword [esi + 0x4b0]
inc eax
and eax, 3
mov dword [esi + 0x4b0], eax
lea eax, [esp + 0x1b0]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10093e30
lea eax, [esp + 0x1a0]
push eax
push 0x80
lea eax, [esp + 0x198]
push eax
push ecx
lea ecx, [esi + 0xa9c]
call fcn.100e34b0
mov ecx, 0x10
lea eax, [esp + 0x190]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10093e70
mov ecx, 0x10
lea eax, [esp + 0x1a0]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10093e87
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
xor ecx, esp
call fcn.10142783
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x10
push edi
call eax
test eax, eax
jne 0x10093df5
push 2
call fcn.100951f0
int3