Function at 0x10048fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acf05
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x15c]
cmp eax, dword [edi + 0x160]
je 0x10049920
mov ecx, dword [edi + 0x160]
sub ecx, eax
mov dword [ebp - 0x58], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x100494ea
mov ebx, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov eax, dword [edi + 0x15c]
cmp dword [esi + eax + 0x18], ebx
je 0x10049069
inc ecx
add esi, 0x68
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x58]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x10049031
jmp 0x100494ea
imul edx, ecx, 0x68
mov ebx, 4
mov ecx, eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x98], edx
mov byte [ecx + edx + 0x64], al
lea esi, [edx + 0x58]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x10], eax
nop
mov ecx, dword [edi + 0x15c]
lea edx, [edx + 2]
movzx eax, word [eax + edx - 2]
lea esi, [esi + 2]
mov word [esi + ecx - 0xa], ax
mov ecx, dword [edi + 0x15c]
movzx eax, word [edx - 2]
mov word [esi + ecx - 2], ax
mov eax, dword [ebp + 0x10]
sub ebx, 1
jne 0x10049090
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x144]
jne 0x100494ea
lea ebx, [edi + 0xb4]
mov dword [ebp - 0x94], 0xffffffff
lea esi, [edi + 0x84]
mov dword [ebp - 0x5c], 0
mov eax, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], eax
nop word [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x100494cc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100494c9
push 4
add esi, 0xfc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100494c9
mov al, byte [esi]
test al, al
je 0x100494c9
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + eax + 0x64], 2
jne 0x10049227
movaps xmm0, xmmword [0x100c8d90]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x5254495c
mov word [ebp - 0x3c], 0x6053
mov byte [ebp - 0x3a], 0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x15
jb 0x10049171
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x100491a1
xor ecx, ecx
jmp 0x100491b0
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100491a7
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002840
mov dword [ebp - 4], 0
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + 0x7c]
call fcn.1001c270
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100491f7
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002720
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x10049218
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10049218
push 0xff5cb9fe
mov ecx, esi
call dword [0x100c6574]
mov dword [ebp - 0x94], 0xff808080
jmp 0x100492f1
mov cl, 0x5c
mov dword [ebp - 0x38], 0x3209075c
mov dword [ebp - 0x34], 0x7c2e3938
xor eax, eax
mov dword [ebp - 0x30], 0x1253d2b
mov byte [ebp - 0x2c], 0
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x10049253
mov cl, byte [ebp - 0x38]
jmp 0x10049244
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x10049276
xor ecx, ecx
jmp 0x10049289
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049280
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002840
mov dword [ebp - 4], 1
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + 0x7c]
call fcn.1001c270
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100492d0
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002720
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x100492f1
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100492f1
push 0xffc4fc03
mov ecx, esi
call dword [0x100c6574]
mov esi, dword [ebx - 4]
test esi, esi
je 0x10049313
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10049313
push dword [ebp - 0x94]
mov ecx, esi
call dword [0x100c6574]
imul edx, dword [ebp - 0x58], 0x34
mov ebx, dword [ebp - 0x5c]
mov eax, dword [edi + 0x15c]
lea ecx, [edx + ebx]
movzx eax, word [eax + ecx*2 + 0x58]
lea ecx, [edx + ebx]
push eax
mov eax, dword [edi + 0x15c]
mov bh, 0x54
mov dword [ebp - 0x90], ecx
mov dl, 0x74
mov bl, 0x7b
xor bl, bh
movzx eax, word [eax + ecx*2 + 0x50]
mov cl, 0x30
push eax
mov dh, cl
mov byte [ebp - 0x68], 0
mov ah, dl
mov byte [ebp - 0x70], bh
xor dl, bh
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6d], dl
xor dh, bh
mov byte [ebp - 0x69], dh
mov al, 0x71
sub esp, 0x18
mov byte [ebp - 0x68], 0
mov edx, esp
mov ch, al
xor al, bh
xor cl, bh
mov byte [ebp - 0x6f], al
xor ah, bh
mov byte [ebp - 0x6e], cl
xor ch, bh
mov byte [ebp - 0x6b], ah
mov byte [ebp - 0x6a], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100493a7
mov eax, dword [edx]
jmp 0x100493a9
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6f], 0
jne 0x100493b6
xor ecx, ecx
jmp 0x100493c9
lea ecx, [ebp - 0x6f]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100493c0
sub ecx, esi
push ecx
lea eax, [ebp - 0x6f]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [ebp - 0x8c]
push eax
call fcn.10005e00
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x100493f5
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10049410
xor ecx, ecx
jmp 0x1004941e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049415
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10002840
mov ebx, dword [ebp - 0x60]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 3
mov ecx, dword [ebx]
call fcn.1001c270
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1004944e
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x10049482
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002720
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x90]
mov ebx, dword [ebx + 4]
movzx esi, word [eax + ecx*2 + 0x50]
test ebx, ebx
je 0x100494c6
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100494c6
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100c6558]
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
add ebx, 0x14
inc dword [ebp - 0x5c]
add esi, 4
sub eax, 1
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], eax
jne 0x10049100
mov ecx, dword [edi + 0x148]
shl ecx, 2
mov dword [ebp - 0x90], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0x58], eax
cmp eax, ecx
jge 0x10049920
imul ebx, eax, 0x68
lea esi, [edi + 0xc]
nop dword [eax]
mov ecx, dword [edi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x15c]
add esi, 0x18
imul ecx
mov dword [ebp - 0x5c], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x58], eax
jg 0x10049920
mov eax, dword [edi + 0x15c]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, ebx
mov dword [ebp - 0x64], 0xffc4fc03
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002400
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x15c]
cmp byte [eax + ebx + 0x64], 2
jne 0x100495e0
movaps xmm0, xmmword [0x100c8e00]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x564b5e4c
mov dword [ebp - 0x3c], 0x625150
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x16
jb 0x100495a0
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x39], 0
jne 0x100495bb
xor ecx, ecx
jmp 0x100495ca
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100495c1
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a0d0
mov dword [ebp - 0x64], 0xff5cb9fe
jmp 0x10049639
mov cl, 0x11
mov dword [ebp - 0x38], 0x444a3111
mov dword [ebp - 0x34], 0x6374757f
xor eax, eax
mov dword [ebp - 0x30], 0x68706631
mov word [ebp - 0x2c], 0x4c
nop
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xc
jae 0x1004960f
mov cl, byte [ebp - 0x38]
jmp 0x10049600
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2b], 0
jne 0x1004961d
xor ecx, ecx
jmp 0x1004962c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049623
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a0d0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x78], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
cmp byte [edx], 0
jne 0x10049662
xor ecx, ecx
jmp 0x10049673
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049667
sub ecx, esi
mov esi, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10002840
mov byte [ebp - 4], 5
lea edx, [ebp - 0x8c]
mov ecx, dword [esi]
call fcn.1001c270
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100496b0
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002720
mov esi, dword [esi]
test esi, esi
je 0x100496ce
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100496ce
push dword [ebp - 0x64]
mov ecx, esi
call dword [0x100c6574]
mov eax, dword [edi + 0x15c]
xor ecx, ecx
movaps xmm0, xmmword [0x100c7f80]
movzx eax, byte [eax + ebx + 0x62]
push eax
mov eax, dword [edi + 0x15c]
movzx eax, byte [eax + ebx + 0x61]
push eax
movups xmmword [ebp - 0x74], xmm0
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xe
jb 0x100496f3
sub esp, 0x18
mov byte [ebp - 0x65], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1004972f
mov eax, dword [edx]
jmp 0x10049731
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x73], 0
jne 0x1004973e
xor ecx, ecx
jmp 0x1004974d
lea ecx, [ebp - 0x73]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049744
sub ecx, esi
push ecx
lea eax, [ebp - 0x73]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [ebp - 0xcc]
push eax
call fcn.10005e00
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x10049776
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10049791
xor ecx, ecx
jmp 0x1004979f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049796
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10002840
mov esi, dword [ebp - 0x5c]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov ecx, dword [esi - 4]
call fcn.1001c270
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x100497d0
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002720
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x10049804
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.10002720
mov eax, dword [edi + 0x15c]
lea ecx, [ebp - 0xcc]
movzx edx, byte [eax + ebx + 0x63]
call fcn.10042d20
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x10049828
mov edx, dword [edx]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp byte [edx], 0
jne 0x1004984c
xor ecx, ecx
jmp 0x1004985d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049851
sub ecx, esi
mov esi, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.10002840
mov byte [ebp - 4], 9
lea edx, [ebp - 0xb4]
mov ecx, dword [esi + 8]
call fcn.1001c270
mov eax, dword [ebp - 0xa0]
cmp eax, 0x10
jb 0x1004989a
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.10002720
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp eax, 0x10
jb 0x100498d3
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.10002720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
cmp eax, 0x10
jb 0x1004990a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002720
mov eax, dword [ebp - 0x58]
add ebx, 0x68
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x90]
jl 0x10049510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e175
mov esp, ebp
pop ebp
ret 0x10