Function at 0x1d25360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, ecx
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.01d89110
lea esi, [edi + 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1d253b1
mov ecx, esi
call fcn.01d85ec0
mov dword [esp + 0xc], esi
mov esi, dword [edi + 0x78]
test esi, esi
je 0x1d25544
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x74]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
lea ebx, [edi + 0x78]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
nop dword [eax]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
cmp edx, edi
mov ebx, edi
mov edi, eax
mov ecx, dword [esp + 0x20]
sbb edi, ecx
setb byte [esp + 0x10]
xor eax, ecx
xor edx, ebx
mov edi, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x18], ecx
sbb edi, dword [esp + 0x1c]
mov edi, ebx
mov ebx, dword [esp + 0x14]
setb ch
or edx, eax
movzx eax, ch
movzx ecx, byte [esp + 0x10]
cmove ecx, eax
test cl, cl
lea eax, [esi + 4]
cmove eax, esi
cmove ebx, esi
mov esi, dword [eax]
test esi, esi
jne 0x1d253f0
mov esi, dword [esp + 0x20]
cmp ebx, dword [esp + 0x2c]
je 0x1d25544
mov eax, dword [ebx + 0x10]
cmp edi, eax
mov ecx, dword [ebx + 0x14]
mov edx, esi
sbb edx, ecx
setb dl
xor esi, ecx
xor edi, eax
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x18]
mov eax, dword [esp + 0x1c]
sbb eax, dword [ebx + 0x1c]
setb al
or edi, esi
movzx eax, al
movzx ecx, dl
cmove ecx, eax
test cl, cl
jne 0x1d25544
mov edi, dword [ebx + 0x24]
test edi, edi
mov ecx, dword [ebp + 0x10]
je 0x1d25544
lea eax, [ebx + 0x20]
mov dword [esp + 0x10], eax
lea esi, [ebx + 0x24]
mov dword [esp + 0x14], esi
nop word cs:[eax + eax]
lea eax, [edi + 0x10]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.01cfb2f8
mov ecx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [edi + 4]
cmp byte [esp + 0x54], 0
cmovns eax, edi
cmovns esi, edi
mov edi, dword [eax]
test edi, edi
jne 0x1d254b0
cmp esi, dword [esp + 0x14]
lea edi, [esp + 0x54]
je 0x1d25544
lea eax, [esi + 0x10]
push eax
push ecx
push edi
call fcn.01cfb2f8
add esp, 0xc
cmp byte [esp + 0x54], 0
js 0x1d25544
lea eax, [esi + 0x20]
lea ecx, [esp + 0x30]
push eax
call fcn.01db7ff0
mov ecx, dword [esp + 0x10]
push esi
push edi
call fcn.01d29600
cmp dword [ebx + 0x28], 0
jne 0x1d25521
mov ecx, dword [esp + 0x24]
push ebx
push edi
call fcn.01d28af0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [esp + 0x38]
push eax
call fcn.01dbbc60
jmp 0x1d2554e
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ecx, [esp + 0x30]
call fcn.01db7f50
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.01e60425
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc