Function at 0x10052df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f2c3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push esi
push edi
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x2c], 1
mov dword [0x100bac94], eax
test edx, edx
jne 0x10052e49
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10052e64
cmp edx, dword [edi + 4]
jne 0x100532a0
call fcn.10053660
jmp 0x100532a0
and eax, 0xf0000
cmp eax, 0x10000
je 0x1005324e
cmp eax, 0x40000
je 0x10052eb3
cmp eax, 0x80000
jne 0x100532a0
mov esi, dword [edi]
test esi, esi
je 0x100532a0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100532a0
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.100183d0
jmp 0x100532a0
mov esi, dword [edi]
test esi, esi
je 0x10052ed3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10052ed3
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.100183d0
mov edx, dword [edi + 0x28]
mov eax, edx
mov ecx, dword [edi + 0x24]
sub eax, ecx
sar eax, 3
mov dword [ebp - 0x24], 0
test eax, eax
je 0x10052f36
xor esi, esi
mov dword [ebp - 0x2c], esi
mov esi, dword [ecx + esi + 4]
test esi, esi
je 0x10052f18
mov esi, dword [esi]
test esi, esi
je 0x10052f18
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10052f18
push 0x110
mov ecx, esi
call dword [0x100ae558]
mov edx, dword [edi + 0x28]
mov eax, edx
mov ecx, dword [edi + 0x24]
sub eax, ecx
mov esi, dword [ebp - 0x2c]
inc dword [ebp - 0x24]
add esi, 8
sar eax, 3
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x24], eax
jb 0x10052ef0
cmp ecx, edx
je 0x100532a0
mov esi, dword [ebp + 8]
mov edi, dword [ecx + 4]
test edi, edi
je 0x10052f4c
cmp dword [edi], esi
je 0x10052f58
add ecx, 8
cmp ecx, edx
jne 0x10052f41
jmp 0x100532a0
mov eax, dword [edi + 0x50]
test eax, eax
je 0x100532a0
cmp dword [edi + 0x54], 0
lea ecx, [edi + 0x54]
mov dword [ebp - 0x2c], ecx
je 0x100532a0
mov ecx, dword [eax]
test ecx, ecx
je 0x100532a0
mov esi, dword [0x100ae504]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.100184a0
mov ecx, eax
call esi
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100532a0
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x24]
sub edx, esi
sar edx, 3
mov dword [ebp - 0x20], edx
test edx, edx
je 0x10052fe3
lea edx, [esi + 4]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x24], esi
nop dword [eax]
mov esi, dword [edx]
test esi, esi
je 0x10052fda
cmp esi, edi
je 0x10052fe6
inc eax
add edx, 8
cmp eax, dword [ebp - 0x20]
jb 0x10052fd0
or eax, 0xffffffff
cmp dword [ecx + 0x18], eax
jne 0x100532a0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
add eax, dword [edx]
mov dword [ecx + 0x14], eax
mov esi, dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10053020
push 4
push esi
call edi
test eax, eax
jne 0x10053020
push 0x4000
mov ecx, esi
call dword [0x100ae558]
mov ecx, 0xd78d38
call fcn.100184a0
test eax, eax
je 0x10053042
push 4
push eax
call edi
test eax, eax
jne 0x10053042
push 0xffffffffffffffff
call dword [0x100ae5e8]
add esp, 4
mov byte [ebp - 0x1c], 0x15
mov cl, 0x6d
xor cl, byte [ebp - 0x1c]
mov al, 0x50
xor al, byte [ebp - 0x1c]
mov ch, 0x74
mov byte [ebp - 0x1b], al
mov dl, 0x76
mov byte [ebp - 0x1a], cl
mov dh, 0x7b
mov cl, byte [ebp - 0x1c]
mov ah, 0x7d
mov byte [ebp - 0xd], 0x72
xor dl, cl
mov al, byte [ebp - 0xd]
xor ch, cl
xor al, cl
mov byte [ebp - 0xe], 0x70
xor dh, cl
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0xe]
xor ah, cl
xor al, cl
mov byte [ebp - 0x17], ch
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x16], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100530b0
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002540
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
push dword [eax]
call fcn.1000cb90
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x100530ef
mov eax, dword [eax]
movaps xmm0, xmmword [str.3dF_W]
lea edi, [ebp - 0x48]
push 0x64
movups xmmword [ebp - 0x6c], xmm0
xor ecx, ecx
mov byte [ebp - 0x4c], 0
movaps xmm0, xmmword [0x100af4e0]
push 4
push eax
movups xmmword [ebp - 0x5c], xmm0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1f
jb 0x10053113
sub esp, 0x18
mov byte [ebp - 0x4c], 0
mov esi, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053143
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, esi
call fcn.10002540
lea eax, [ebp - 0x84]
push eax
call fcn.1000ae50
add esp, 0x20
mov edx, edi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10024260
mov ecx, dword [ebp - 0x70]
add esp, 8
cmp ecx, 0xf
jbe 0x100531ae
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100531a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100532b5
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0xf
jbe 0x100531fd
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100531f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100532b5
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0xf
jbe 0x100532a0
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053242
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100532b5
push ecx
push edx
call fcn.1007fa46
add esp, 8
jmp 0x100532a0
mov eax, dword [edi + 0x24]
mov ecx, eax
mov esi, dword [edi + 0x28]
mov dword [ebp - 0x2c], eax
cmp ecx, esi
je 0x100532a0
nop dword [eax]
mov edi, dword [ecx + 4]
test edi, edi
je 0x1005326b
cmp dword [edi], edx
je 0x10053274
add ecx, 8
cmp ecx, esi
jne 0x10053260
jmp 0x100532a0
mov ecx, dword [ebp - 0x2c]
xor eax, eax
sub esi, ecx
sar esi, 3
test esi, esi
je 0x10053297
add ecx, 4
mov edx, dword [ecx]
test edx, edx
je 0x1005328f
cmp edx, edi
je 0x1005329a
inc eax
add ecx, 8
cmp eax, esi
jb 0x10053285
or eax, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x18], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.10084bdf
int3