Function at 0x10037a30
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 0x100cc2b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x100fd230]
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 [0x100e8c60]
lea edi, [esi + 0x108]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x1b0c1f
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 0x10037a94
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 0x10037ac4
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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], 0x100389e0
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
movaps xmm0, xmmword [0x100e8bc0]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x2a2d37
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 0x10037b33
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 0x10037b63
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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], 0x10038c40
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
mov al, 0x15
mov dword [ebp - 0x2c], 0x27321546
mov dh, al
mov dword [ebp - 0x28], 0x36153234
mov byte [ebp - 0x85], dh
mov cl, 0x32
mov dh, 0x36
mov dword [ebp - 0x24], 0x222323
mov byte [ebp - 0x82], dh
mov dl, 0x27
mov dh, 0x23
mov ah, 0x34
mov byte [ebp - 0x83], dh
mov ch, cl
mov byte [ebp - 0x84], dh
mov dh, 0x22
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 0x10037c77
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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], 0x10039fe0
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
mov ah, 0x2d
mov dword [ebp - 0x2c], 0x32290e5d
mov dh, ah
mov dword [ebp - 0x28], 0x382d0e2d
mov byte [ebp - 0x81], dh
mov al, 0xe
mov dh, 0x38
mov word [ebp - 0x24], 0x3938
mov byte [ebp - 0x84], dh
mov cl, 0x29
mov byte [ebp - 0x83], dh
mov dl, 0x32
mov dh, 0x39
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 0x10037d80
sub ecx, edx
lea eax, [ebp - 0x21]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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.1003a860
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
movaps xmm0, xmmword [str._nL_zYLLMz_H_Z]
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 0x10037df0
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 0x10037e20
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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], 0x1003b8d0
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
mov ch, 0x66
mov dword [ebp - 0x2c], 0x71605605
mov dh, ch
mov dword [ebp - 0x28], 0x48666644
mov byte [ebp - 0x81], dh
mov cl, 0x60
mov dh, 0x48
mov dword [ebp - 0x24], 0x60616a
mov byte [ebp - 0x84], dh
mov al, 0x56
mov dh, 0x6a
mov dl, 0x71
mov byte [ebp - 0x83], dh
mov ah, 0x44
mov dh, 0x61
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 0x10037f36
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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], 0x1003bf10
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
movaps xmm0, xmmword [0x100e8dc0]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x908
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 0x10037fb0
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 0x10037fe0
sub ecx, edx
lea eax, [ebp - 0x29]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000ab60
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], 0x1003c0e0
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.100476b0
lea ecx, [ebp - 0x80]
call fcn.100380c0
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], 0x1003c2d0
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x94], eax
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0xe
call fcn.10059b50
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x10038094
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.1008f445
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret