Function at 0x1c90860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1f0
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1d18014]
xor eax, ebp
mov dword [esp + 0x1e8], eax
test ebx, ebx
je 0x1c90d2e
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
call fcn.01c98d40
test eax, eax
jne 0x1c90f4d
lea eax, [esp + 0x190]
push 0x20
push eax
call fcn.01c98d60
add esp, 8
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor eax, eax
nop word cs:[eax + eax]
movzx ecx, byte [eax + 0x1d10940]
xor byte [esp + eax + 0x190], cl
inc eax
cmp eax, 0x20
jne 0x1c908d0
lea eax, [esp + 0x68]
push 0x128
push 0xff
push eax
call fcn.01c9f2d0
add esp, 0xc
push 1
call fcn.01c98c30
add esp, 4
test eax, eax
je 0x1c90d68
mov esi, eax
add eax, 0x120
mov dword [esp + 0x24], eax
cmp dword [esi + 0x120], 0xfff
ja 0x1c90e93
mov eax, dword [esi + 0x118]
or eax, dword [esi + 0x11c]
jne 0x1c90e93
lea eax, [esi + 0xfc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x114]
mov edi, 0x20
mov dword [esp + 0x20], 0
cmp ebx, 0x10000
mov edx, 0x10000
cmovb edx, ebx
mov dword [esp + 0x1c], edx
neg eax
mov eax, 0x10000
sbb eax, ecx
jb 0x1c90ef0
test byte [esp + 0x20], 1
mov dword [esp + 0x2c], ebx
jne 0x1c90aa3
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1d0], xmm0
movdqa xmmword [esp + 0x1c0], xmm0
movdqa xmmword [esp + 0x1b0], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1b4]
push eax
mov ebx, dword [esp + 0x14]
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1c4]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1d4]
push eax
push ebx
call ecx
add esp, 0xc
xor eax, eax
nop word cs:[eax + eax]
movzx ecx, byte [esp + eax + 0x190]
xor byte [esp + eax + 0x1b0], cl
inc eax
cmp edi, eax
jne 0x1c90a40
mov eax, dword [0x1d47368]
test eax, 0x2000000
je 0x1c90ef5
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.01c23500
add esp, 0xc
mov eax, 0x1c21d10
mov ecx, 0x1c21180
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x1d0]
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
movdqu xmmword [eax], xmm0
mov eax, dword [esp + 0x1c]
mov edx, eax
mov ecx, dword [esp + 0x18]
cmp eax, 0x10
jae 0x1c90c78
test edx, edx
je 0x1c90b1c
mov dword [esp + 8], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
mov dword [esp + 0x14], edx
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1b4]
push eax
push dword [esp + 0x14]
call ecx
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 8
jne 0x1c90e79
movq xmm0, qword [esp + 0x1b0]
mov eax, dword [esp + 8]
movq qword [eax], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1d0], xmm0
movdqa xmmword [esp + 0x1c0], xmm0
movdqa xmmword [esp + 0x1b0], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1b4]
push eax
mov ebx, dword [esp + 0x14]
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1c4]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1d4]
push eax
push ebx
call ecx
add esp, 0xc
test byte [esp + 0x20], 1
jne 0x1c90be4
xor eax, eax
nop dword [eax]
movzx ecx, byte [esp + eax + 0x190]
xor byte [esp + eax + 0x1b0], cl
inc eax
cmp edi, eax
jne 0x1c90bd0
mov eax, dword [0x1d47368]
test eax, 0x2000000
je 0x1c90f21
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.01c23500
add esp, 0xc
mov eax, 0x1c21d10
mov ecx, 0x1c21180
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x1d0]
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x114]
add eax, 1
adc ecx, 0
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov edx, dword [esp + 0x24]
inc dword [edx]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x18], edx
xor edi, edi
mov bl, 1
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x2c]
sub ebx, edx
jne 0x1c9095d
jmp 0x1c90d22
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, 0x2000
cmp edx, eax
mov ebx, 0x2000
cmovb ebx, edx
mov eax, ebx
and eax, 0x3ff0
cmp dword [esi + 0xf8], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
je 0x1c90f7b
shr ebx, 4
cmp eax, 0x10
jne 0x1c90d49
pxor xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push dword [esp + 0xc]
push esi
push ebx
mov eax, dword [esp + 0x14]
push eax
push eax
call ecx
add esp, 0x14
mov eax, dword [esi + 0x108]
bswap eax
add eax, ebx
dec eax
bswap eax
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
add ecx, eax
mov edx, dword [esp + 0x14]
sub edx, eax
cmp edx, 0xf
jbe 0x1c90ab6
jmp 0x1c90c80
lea eax, [esp + 0x68]
cmp esi, eax
je 0x1c90f68
xor esi, esi
inc esi
mov ecx, dword [esp + 0x1e8]
xor ecx, ebp
call fcn.01c9ca53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test eax, eax
je 0x1c90cc3
push dword [esp + 0x10]
push 0
push dword [esp + 0x10]
call fcn.01c9f2d0
add esp, 0xc
jmp 0x1c90cc3
push 0x128
call fcn.01c98cb0
add esp, 4
test eax, eax
je 0x1c91012
mov esi, eax
push 0x1c6ecb0
push eax
push 1
call fcn.01c74140
add esp, 0xc
test eax, eax
je 0x1c91012
mov dword [esi + 0x124], 0
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
push 0x30
push edi
call fcn.01c74420
add esp, 8
movaps xmm0, xmmword [edi + 0x20]
movaps xmmword [esp + 0x1d0], xmm0
movaps xmm0, xmmword [edi]
movaps xmm1, xmmword [edi + 0x10]
movaps xmmword [esp + 0x1c0], xmm1
movaps xmmword [esp + 0x1b0], xmm0
xor eax, eax
mov cl, byte [eax + 0x1d10910]
xor byte [esp + eax + 0x1b0], cl
inc eax
cmp eax, 0x30
jne 0x1c90de7
mov eax, dword [0x1d47368]
bt eax, 0x19
jae 0x1c9101b
lea eax, [esp + 0x1b0]
push esi
push 0x100
push eax
call fcn.01c23500
add esp, 0xc
mov eax, 0x1c21d10
mov ecx, 0x1c21180
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
movdqa xmm0, xmmword [esp + 0x1d0]
movdqu xmmword [esi + 0xfc], xmm0
xor eax, eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x110], 1
lea ecx, [esi + 0x120]
mov dword [esp + 0x24], ecx
mov dword [esi + 0x120], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], eax
jmp 0x1c9093a
push eax
lea eax, [esp + 0x1b4]
push eax
push dword [esp + 0x10]
call fcn.01c9ed50
add esp, 0xc
jmp 0x1c90b1c
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x1b0]
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov edi, 0x30
push edi
push eax
call fcn.01c74420
add esp, 8
mov ecx, esi
lea edx, [esp + 0x1b0]
push edi
call fcn.01c911c0
add esp, 4
test eax, eax
je 0x1c90ef0
movdqa xmm0, xmmword [0x1d108d0]
movdqu xmmword [esi + 0x110], xmm0
mov dword [esi + 0x120], 0
jmp 0x1c9093a
call fcn.01cb0360
bt eax, 9
jae 0x1c90fc8
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.01c24020
add esp, 0xc
xor eax, eax
mov ecx, 0x1c240d0
jmp 0x1c90a84
bt eax, 9
jae 0x1c90fed
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.01c24020
add esp, 0xc
xor eax, eax
mov ecx, 0x1c240d0
jmp 0x1c90c14
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
jmp 0x1c908bd
push 0x118
push eax
call fcn.01c98d20
add esp, 8
jmp 0x1c90d2e
test eax, eax
je 0x1c90d04
xor ebx, ebx
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
mov eax, dword [esp + 8]
add eax, ebx
mov dword [esp + 0x28], eax
call dword [section..00cfg]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x14]
call ecx
add esp, 0xc
add ebx, 0x10
cmp ebx, dword [esp + 0x10]
jb 0x1c90f85
jmp 0x1c90d04
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.01cf1100
add esp, 0xc
mov eax, 0x1cf1890
mov ecx, 0x1cf1000
jmp 0x1c90a84
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.01cf1100
add esp, 0xc
mov eax, 0x1cf1890
mov ecx, 0x1cf1000
jmp 0x1c90c14
lea esi, [esp + 0x68]
jmp 0x1c90d97
bt eax, 9
jae 0x1c91043
lea eax, [esp + 0x1b0]
push esi
push 0x100
push eax
call fcn.01c24020
add esp, 0xc
xor eax, eax
mov ecx, 0x1c240d0
jmp 0x1c90e29
lea eax, [esp + 0x1b0]
push esi
push 0x100
push eax
call fcn.01cf1100
add esp, 0xc
mov eax, 0x1cf1890
mov ecx, 0x1cf1000
jmp 0x1c90e29