Function at 0x10038c20
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d22e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movaps xmm0, xmmword [0x100f00f0]
lea edi, [esi + 0x108]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5f485b
mov dword [ebp - 4], 0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x12
jb 0x10038c84
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038cb4
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x10039c70
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
movaps xmm0, xmmword [0x100efc60]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x33342e
mov dword [ebp - 4], 2
xor ecx, ecx
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x12
jb 0x10038d23
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038d53
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x10039ed0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
mov al, 1
mov dword [ebp - 0x2c], 0x33260152
mov dh, al
mov dword [ebp - 0x28], 0x22012620
mov byte [ebp - 0x85], dh
mov cl, 0x26
mov dh, 0x22
mov dword [ebp - 0x24], 0x363737
mov byte [ebp - 0x82], dh
mov dl, 0x33
mov dh, 0x37
mov ah, 0x20
mov byte [ebp - 0x83], dh
mov ch, cl
mov byte [ebp - 0x84], dh
mov dh, 0x36
mov byte [ebp - 0x81], dh
mov dword [ebp - 4], 4
xorps xmm0, xmm0
xor al, byte [ebp - 0x2c]
xor cl, byte [ebp - 0x2c]
mov dh, byte [ebp - 0x85]
mov byte [ebp - 0x20], al
mov al, byte [ebp - 0x82]
mov byte [ebp - 0x1f], cl
mov cl, byte [ebp - 0x2c]
xor al, cl
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x1a], al
xor dl, cl
mov al, byte [ebp - 0x83]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1c], ch
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x84]
xor ah, cl
xor al, cl
mov byte [ebp - 0x1e], dl
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x81]
xor al, cl
mov byte [ebp - 0x1b], dh
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1d], ah
mov byte [ebp - 0x17], al
lea edx, [ecx + 1]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038e67
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x1003b230
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
mov ah, 0x64
mov dword [ebp - 0x2c], 0x7b604714
mov dh, ah
mov dword [ebp - 0x28], 0x71644764
mov byte [ebp - 0x81], dh
mov al, 0x47
mov dh, 0x71
mov word [ebp - 0x24], 0x7071
mov byte [ebp - 0x84], dh
mov cl, 0x60
mov byte [ebp - 0x83], dh
mov dl, 0x7b
mov dh, 0x70
mov byte [ebp - 0x22], 0
mov ch, al
mov byte [ebp - 0x82], dh
mov dword [ebp - 4], 6
xorps xmm0, xmm0
xor al, byte [ebp - 0x2c]
xor cl, byte [ebp - 0x2c]
mov dh, byte [ebp - 0x81]
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x84]
mov byte [ebp - 0x20], cl
mov cl, byte [ebp - 0x2c]
xor al, cl
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x1b], al
xor dl, cl
mov al, byte [ebp - 0x83]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1d], ch
xor dh, cl
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x82]
xor ah, cl
xor al, cl
mov byte [ebp - 0x1f], dl
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x1c], dh
mov byte [ebp - 0x1e], ah
lea edx, [ecx + 1]
mov byte [ebp - 0x19], al
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038f70
sub ecx, edx
lea eax, [ebp - 0x21]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], fcn.1003bbd0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
movaps xmm0, xmmword [str.O_b_]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 4], 8
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x10038fe0
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039010
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x1003ccd0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
mov ch, 0x18
mov dword [ebp - 0x2c], 0xf1e287b
mov dh, ch
mov dword [ebp - 0x28], 0x3618183a
mov byte [ebp - 0x81], dh
mov cl, 0x1e
mov dh, 0x36
mov dword [ebp - 0x24], 0x1e1f14
mov byte [ebp - 0x84], dh
mov al, 0x28
mov dh, 0x14
mov dl, 0xf
mov byte [ebp - 0x83], dh
mov ah, 0x3a
mov dh, 0x1f
mov byte [ebp - 0x82], dh
mov dh, cl
mov byte [ebp - 0x85], dh
mov dword [ebp - 4], 0xa
xorps xmm0, xmm0
xor al, byte [ebp - 0x2c]
xor cl, byte [ebp - 0x2c]
mov dh, byte [ebp - 0x81]
mov byte [ebp - 0x20], al
mov al, byte [ebp - 0x84]
mov byte [ebp - 0x1f], cl
mov cl, byte [ebp - 0x2c]
xor al, cl
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x1a], al
xor dl, cl
mov al, byte [ebp - 0x83]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1c], ch
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x82]
xor ah, cl
xor al, cl
mov byte [ebp - 0x1e], dl
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x85]
xor al, cl
mov byte [ebp - 0x1b], dh
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1d], ah
mov byte [ebp - 0x17], al
lea edx, [ecx + 1]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039126
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x1003d310
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
movaps xmm0, xmmword [0x100f01a0]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x5253
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0xc
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x29], al
inc ecx
cmp ecx, 0x11
jb 0x100391a0
xorps xmm0, xmm0
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x29]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100391d0
sub ecx, edx
lea eax, [ebp - 0x29]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x1003d4e0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
movaps xmm0, xmmword [str.h__re]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 4], 0xe
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x10039240
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039270
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ad50
mov al, byte [ebp - 0x81]
mov byte [ebp - 0x60], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV62__ZPAV345_ABU___Ph__00_2__std__V__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_ABV32__std__.0
mov dword [ebp - 0x64], 0x1003dfe0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.1004a940
lea ecx, [ebp - 0x80]
call fcn.10039350
mov al, byte [ebp - 0x81]
mov byte [ebp - 0xb0], al
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CGameDataManager_game_speed__AEXH_ZPAV345_ABU___Ph__00_2__std__XH_std__.0
mov dword [ebp - 0xb4], 0x1003d6d0
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x94], eax
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0x10
call fcn.1005cb20
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x10039324
mov edx, dword [ecx]
lea eax, [ebp - 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret