Function at 0x10030f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x100d6084]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0x617c490e
push edi
mov cl, 0xe
mov dword [esp + 0x10], 0x42517e7b
mov dword [esp + 0x14], 0x60476961
xor eax, eax
mov byte [esp + 0x18], 0
nop word [eax + eax]
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xb
jae 0x10030fa0
mov cl, byte [esp + 0xc]
jmp 0x10030f90
cmp byte [esp + 0xd], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jne 0x10030fc5
xor ecx, ecx
jmp 0x10030fd9
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030fd0
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x1003100e
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
mov bh, 0x53
mov byte [esp + 0x50], 0
mov dh, 0x16
mov byte [esp + 0x48], bh
mov al, 0x37
mov byte [esp + 0x50], 0
mov cl, 0x3a
mov dword [esp + 0x38], 0xf
mov dl, 0x27
mov dword [esp + 0x34], 0
mov bl, 0xc
mov byte [esp + 0x24], 0
mov ah, 0x1a
mov ch, 0x17
xor dh, bh
xor al, bh
xor cl, bh
mov byte [esp + 0x49], dh
xor dl, bh
mov byte [esp + 0x4a], al
xor bl, bh
mov byte [esp + 0x4b], cl
xor ah, bh
mov byte [esp + 0x4c], dl
xor ch, bh
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], ah
mov byte [esp + 0x4f], ch
test dh, dh
jne 0x10031073
xor ecx, ecx
jmp 0x10031089
lea ecx, [esp + 0x49]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031080
sub ecx, edx
push ecx
lea eax, [esp + 0x4d]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x100310bf
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
mov bh, 0x7d
mov byte [esp + 0x50], 0
mov dh, 0x38
mov byte [esp + 0x48], bh
mov al, 0x19
mov byte [esp + 0x50], 0
mov cl, 0x14
mov dword [esp + 0x38], 0xf
mov dl, 9
mov dword [esp + 0x34], 0
mov bl, 0x22
mov byte [esp + 0x24], 0
mov ah, 0x2d
mov ch, 0x2a
xor dh, bh
xor al, bh
xor cl, bh
mov byte [esp + 0x49], dh
xor dl, bh
mov byte [esp + 0x4a], al
xor bl, bh
mov byte [esp + 0x4b], cl
xor ah, bh
mov byte [esp + 0x4c], dl
xor ch, bh
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], ah
mov byte [esp + 0x4f], ch
test dh, dh
jne 0x10031124
xor ecx, ecx
jmp 0x10031139
lea ecx, [esp + 0x49]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031130
sub ecx, edx
push ecx
lea eax, [esp + 0x4d]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x1003116f
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
mov dh, 0x11
mov byte [esp + 0x4f], 0
mov ch, 0x73
mov byte [esp + 0x48], dh
mov al, 0x65
mov byte [esp + 0x4f], 0
mov cl, 0x7f
mov dword [esp + 0x38], 0xf
mov dl, 0x4e
mov dword [esp + 0x34], 0
mov bl, 0x7e
mov byte [esp + 0x24], 0
mov ah, 0x7a
xor ch, dh
xor al, dh
mov byte [esp + 0x49], ch
xor cl, dh
mov byte [esp + 0x4a], al
xor dl, dh
mov byte [esp + 0x4b], cl
xor bl, dh
mov byte [esp + 0x4c], dl
xor ah, dh
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], ah
test ch, ch
jne 0x100311cc
xor ecx, ecx
jmp 0x100311dc
lea ecx, [esp + 0x49]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100311d3
sub ecx, edx
push ecx
lea eax, [esp + 0x4d]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x10031212
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
mov cl, 0x74
mov dword [esp + 0xc], 0x1a001674
mov dword [esp + 0x10], 0x1911062b
xor eax, eax
mov dword [esp + 0x14], 0x11161911
mov word [esp + 0x18], 6
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x10031245
mov cl, byte [esp + 0xc]
jmp 0x10031235
cmp byte [esp + 0xd], 0
mov byte [esp + 0x19], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jne 0x1003126a
xor ecx, ecx
jmp 0x1003127a
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031271
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x100312b0
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
cmp dword [0x100df954], 0
je 0x10031322
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100312dd
mov eax, dword [0x100df910]
test eax, eax
je 0x100312dd
cmp eax, 0x15
ja 0x100312dd
push 1
mov edx, 0x100df900
call fcn.1001bbf0
add esp, 4
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x10031301
mov eax, dword [0x100df928]
test eax, eax
je 0x10031301
cmp eax, 0x30
ja 0x10031301
push 0
mov edx, 0x100df918
call fcn.1001bbf0
add esp, 4
mov edi, dword [esi + 0x68]
test edi, edi
je 0x10031322
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10031322
lea ecx, [edi + 0xd0]
mov dl, 3
call fcn.1001c470
movaps xmm0, xmmword [0x100c8af0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x7879163d
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x13
jb 0x10031340
cmp byte [esp + 0xd], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jne 0x10031373
xor ecx, ecx
jmp 0x10031389
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031380
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x100313be
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
lea eax, [esi + 8]
mov dword [esp + 0x44], 0x14
mov edi, 1
mov dword [esp + 0x40], eax
mov byte [esp + 0xc], 0x4a
mov al, 0x39
xor al, byte [esp + 0xc]
mov cl, 0x2f
mov byte [esp + 0xd], al
mov dl, 0x38
mov al, byte [esp + 0xc]
mov bl, 0x3c
xor bl, al
mov byte [esp + 0x3f], 0x2e
mov bh, 0x6f
mov byte [esp + 0x10], bl
xor bh, al
mov byte [esp + 0x16], 0
push edi
mov ah, cl
mov byte [esp + 0x18], bh
mov ch, dl
mov byte [esp + 0x1a], 0
xor cl, al
xor dl, al
xor ah, al
mov byte [esp + 0x12], cl
xor ch, al
mov byte [esp + 0x13], dl
mov dh, 0x15
mov byte [esp + 0x15], ah
xor dh, al
mov byte [esp + 0x16], ch
mov al, byte [esp + 0x43]
sub esp, 0x18
xor al, byte [esp + 0x28]
mov ebx, esp
mov byte [esp + 0x2f], dh
mov byte [esp + 0x31], al
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [esp + 0x29], 0
jne 0x1003145a
xor ecx, ecx
jmp 0x1003146a
lea ecx, [esp + 0x29]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031461
sub ecx, edx
push ecx
lea eax, [esp + 0x2d]
mov ecx, ebx
push eax
call fcn.10002840
lea eax, [esp + 0x40]
push eax
call fcn.10005e00
mov ecx, dword [esi + 0x6c]
add esp, 0x20
mov edx, eax
call fcn.1001b7d0
mov ebx, dword [esp + 0x40]
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x100314ac
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
add ebx, 4
inc edi
sub dword [esp + 0x44], 1
mov dword [esp + 0x40], ebx
jne 0x100313d2
mov bh, 0x1b
mov byte [esp + 0x50], 0
mov dl, 0x76
mov byte [esp + 0x48], bh
mov dh, 0x4b
mov byte [esp + 0x50], 0
mov ch, dl
mov dword [esp + 0x38], 0xf
mov al, 0x69
mov dword [esp + 0x34], 0
mov cl, 0x7e
mov byte [esp + 0x24], 0
mov bl, 0x72
mov ah, 0x6e
xor dh, bh
xor al, bh
xor cl, bh
mov byte [esp + 0x49], dh
xor dl, bh
mov byte [esp + 0x4a], al
xor bl, bh
mov byte [esp + 0x4b], cl
xor ah, bh
mov byte [esp + 0x4c], dl
xor ch, bh
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], ah
mov byte [esp + 0x4f], ch
test dh, dh
jne 0x10031524
xor ecx, ecx
jmp 0x10031539
lea ecx, [esp + 0x49]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031530
sub ecx, edx
push ecx
lea eax, [esp + 0x4d]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x1003156e
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
movaps xmm0, xmmword [0x100c83f0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x141513
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x12
jb 0x10031584
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jne 0x100315b7
xor ecx, ecx
jmp 0x100315c9
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100315c0
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x2c]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x24]
call fcn.1001b7d0
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x100315fe
inc eax
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x28]
call fcn.10002720
mov edi, dword [esi + 0x54]
mov ebx, dword [0xc20bac]
mov eax, dword [0xc20bb0]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
test edi, edi
je 0x10031633
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10031633
mov eax, dword [edi + 0xe4]
sub eax, dword [edi + 0xdc]
jmp 0x10031635
xor eax, eax
mov edi, dword [esi + 0x54]
sub ebx, eax
test edi, edi
je 0x10031655
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10031655
push eax
push ebx
mov ecx, edi
call dword [0x100c6508]
mov edi, dword [esi + 0x58]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
test edi, edi
je 0x10031688
push 4
push edi
call ebx
test eax, eax
jne 0x10031688
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call dword [0x100c6504]
mov edi, dword [esi + 0x58]
test edi, edi
je 0x100316a6
push 4
push edi
call ebx
test eax, eax
jne 0x100316a6
mov eax, dword [edi + 0xe8]
sub eax, dword [edi + 0xe0]
jmp 0x100316a8
xor eax, eax
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0x58]
sub ebx, eax
test edi, edi
je 0x100316cf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100316cf
push ebx
push dword [esp + 0x4c]
mov ecx, edi
call dword [0x100c6508]
mov edi, dword [esi + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
test edi, edi
je 0x10031702
push 4
push edi
call ebx
test eax, eax
jne 0x10031702
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call dword [0x100c6504]
mov edi, dword [esi + 0x6c]
test edi, edi
je 0x1003171c
push 4
push edi
call ebx
test eax, eax
jne 0x1003171c
push eax
push eax
mov ecx, edi
call dword [0x100c6508]
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x10031728
push 4
push ecx
call ebx
mov eax, dword [esp + 0x40]
mov esi, dword [esi + 0x70]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub edi, 0x201
test esi, esi
je 0x10031753
push 4
push esi
call ebx
test eax, eax
jne 0x10031753
push eax
push edi
mov ecx, esi
call dword [0x100c6508]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006e175
mov esp, ebp
pop ebp
ret