Function at 0x10006f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x100850a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 0x7c]
push ebx
mov ebx, dword [ebp + 0x74]
push esi
mov esi, dword [ebp + 0x6c]
push edi
lea ecx, [ebp + 0x3c]
xor edi, edi
mov byte [eax], 0
call fcn.10018c00
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x68]
mov dword [ecx], edi
mov dword [edx], edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
jb 0x10006f51
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
call fcn.1000e720
cmp byte [ebx + 0x14], 0
lea ecx, [ebx + 0x18]
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], ecx
jne 0x10006f6d
mov dword [ebp + 0x54], edi
mov esi, dword [ebx + 0x1f8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp + 0x2c]
push edx
push 4
add esi, eax
push 0x1c8
push esi
call edi
test eax, eax
jne 0x10006fed
test byte [0x100bbcc4], 1
jne 0x10006fbc
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 1
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0
push 4
push str.Failure_accessing_game_memory._Rights:_0x_X
push str.FixupEXE
push 1
push 0x100bbca0
call fcn.10009820
add esp, 0x14
lea ecx, [ebp + 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10018c80
xor al, al
jmp 0x10007a3f
push 0x1c8
lea eax, [ebx + 0x2f0]
push eax
push esi
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp + 0x2c]
add esp, 0xc
lea ecx, [ebp]
push ecx
push edx
push 0x1c8
push esi
call edi
test eax, eax
jne 0x10007078
test byte [0x100bbcc4], 1
jne 0x10007045
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 2
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x2c]
push eax
push str.Failure_restoring_game_memory_access._Rights:_0x_X
push str.FixupEXE
push 1
push 0x100bbca0
call fcn.10009820
add esp, 0x14
lea ecx, [ebp + 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10018c80
xor al, al
jmp 0x10007a3f
mov esi, dword [ebx + 0x2d8]
add esi, dword [ebp + 0x50]
lea ecx, [ebp + 0x2c]
push ecx
push 4
push 0x10
push esi
call edi
test eax, eax
jne 0x100070c2
push 4
push str.Failure_accessing_game_memory._Rights:_0x_X
push str.FixupEXE
push 1
call fcn.10001510
push eax
call fcn.10009820
add esp, 0x14
push 0
push str.awc_internal_failure
mov ecx, 0x100bc1f8
call fcn.10019550
jmp 0x10006fd7
mov edx, dword [ebx + 0x2dc]
mov dword [esi], edx
mov eax, dword [ebx + 0x2e0]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x2e4]
mov dword [esi + 8], ecx
mov edx, dword [ebx + 0x2e8]
lea eax, [ebp]
push eax
mov dword [esi + 0xc], edx
mov ecx, dword [ebp + 0x2c]
push ecx
push 0x10
push esi
call edi
test eax, eax
jne 0x10007101
mov edx, dword [ebp + 0x2c]
push edx
push str.Failure_restoring_game_memory_access._Rights:_0x_X
jmp 0x10007097
mov edi, dword [ebp + 0x54]
test edi, edi
sete al
test al, al
jne 0x10007389
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], al
mov eax, dword [ebp + 0x60]
mov esi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], esi
jb 0x10007135
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10017e00
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
call fcn.10003fb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100022e0
cmp dword [ebp + 0x20], 0
jne 0x10007182
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x68]
mov dword [ecx], 7
mov dword [edx], 6
lea ecx, [ebp + 0x10]
call fcn.100022e0
jmp 0x10006fd7
lea ecx, [ebp + 0x3c]
call fcn.10018c50
test al, al
je 0x100071a7
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0x24], esi
jae 0x10007199
lea eax, [ebp + 0x10]
push 0x80
push eax
lea ecx, [ebp + 0x3c]
call fcn.10019000
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0x20], ecx
cmp dword [ebp + 0x24], esi
jae 0x100071b7
lea eax, [ebp + 0x10]
mov byte [eax], cl
mov byte [ebp + 0x4f], 1
mov dword [ebp + 0x48], ecx
cmp byte [ebx + 0x14], cl
jbe 0x10007371
add edi, 8
mov eax, dword [edi - 8]
test eax, eax
je 0x10007322
cmp dword [edi - 4], 0
je 0x10007322
mov ecx, dword [ebp + 0x50]
lea ebx, [eax + ecx]
mov eax, dword [edi]
mov dword [ebp + 0x54], eax
cmp eax, 0x64
jb 0x100071f8
mov dword [ebp + 0x54], 0x64
cmp byte [ebp + 0x4f], 0
je 0x1000727c
mov eax, dword [ebp + 0x54]
add eax, 0x10
call fcn.10083ca0
mov eax, dword [ebp + 0x54]
mov esi, esp
add eax, 0x10
push eax
push ebx
push esi
mov byte [ebp + 0x4f], 0
call sub.MSVCR100.dll_memcpy
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.10018800
mov eax, dword [ebp + 0x54]
push 1
lea edx, [ebp + 0x30]
push edx
add eax, 0x10
push esi
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x30], eax
call fcn.10018b20
lea ecx, [ebp + 0x3c]
call fcn.100189b0
lea ecx, [ebp + 0xa]
call fcn.10018480
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x30], eax
jb 0x10007337
mov ecx, eax
push ecx
push esi
call fcn.10018540
add esp, 8
xor ecx, ecx
cmp eax, dword [edi + 0x10]
jne 0x10007337
cmp ecx, dword [edi + 0x14]
jne 0x10007337
mov esi, dword [edi - 4]
lea edx, [ebp + 0x38]
push edx
push 4
push esi
push ebx
mov dword [ebp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10007175
lea ecx, [ebp + 0x3c]
call fcn.10018800
push 1
lea eax, [ebp + 0xc]
push eax
push ebx
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0xc], esi
call fcn.10018b20
test al, al
je 0x1000734b
lea ecx, [ebp + 0x3c]
call fcn.100189b0
mov eax, dword [edi]
add eax, ebx
lea esi, [eax - 0x10]
lea ecx, [edi + 0x18]
mov dword [ebp + 0x54], 0x10
mov dl, byte [ecx]
xor dl, byte [esi]
inc ecx
mov byte [eax], dl
inc eax
inc esi
dec dword [ebp + 0x54]
jne 0x100072d3
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 4]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xb]
call fcn.10018480
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi]
jne 0x1000735f
add eax, 0x10
push eax
push ebx
call fcn.10018540
add esp, 8
xor ecx, ecx
cmp eax, dword [edi + 8]
jne 0x1000735f
cmp ecx, dword [edi + 0xc]
jne 0x1000735f
mov ebx, dword [ebp + 0x74]
add edi, 0x30
mov eax, dword [ebp + 0x48]
movzx ecx, byte [ebx + 0x14]
inc eax
mov dword [ebp + 0x48], eax
cmp eax, ecx
jl 0x100071cc
jmp 0x10007371
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
mov dword [edx], 7
mov dword [eax], 6
jmp 0x10007371
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x68]
mov dword [ecx], 7
mov dword [edx], 6
jmp 0x10007371
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
mov dword [eax], 7
mov dword [ecx], 6
mov edx, dword [ebp + 0x64]
cmp dword [edx], 0
lea ecx, [ebp + 0x10]
jne 0x10007178
mov byte [ebp - 4], 0
call fcn.100022e0
mov ebx, dword [ebp + 0x78]
mov esi, ebx
call fcn.100065c0
mov esi, eax
test esi, esi
je 0x100073c7
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 0x68]
push eax
push 4
push 4
push esi
call edi
test eax, eax
je 0x10006fd7
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebx + 0x1c0]
lea edx, [ebp + 4]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
mov ecx, dword [ebp + 0x74]
mov eax, dword [ecx + 8]
add eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x64]
cmp dword [edx], 0
mov dword [ebp + 0x54], eax
jne 0x100077da
nop
mov edi, dword [ebp + 0x54]
cmp dword [edi], 0
jne 0x100073f2
cmp dword [edi + 0x10], 0
je 0x100077da
mov esi, dword [edi + 0xc]
add esi, dword [ebp + 0x50]
mov eax, dword [ebp + 0x78]
test byte [eax + 0x1b8], 1
mov dword [ebp + 0x48], esi
je 0x10007439
test esi, esi
je 0x10007439
mov ebx, dword [sym.imp.MSVCR100.dll_strncmp]
push 4
push str.MSVC
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x10007433
push 4
push str.msvc
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x10007439
mov ecx, dword [ebp + 0x7c]
mov byte [ecx], 1
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x10007712
mov edx, dword [edi + 0x10]
add edx, dword [ebp + 0x50]
mov eax, dword [edi]
mov dword [ebp + 0x68], edx
test eax, eax
je 0x10007461
mov ecx, dword [ebp + 0x50]
lea edi, [eax + ecx]
jmp 0x10007464
mov edi, dword [ebp + 0x68]
xor ecx, ecx
mov eax, edi
cmp dword [edi], ecx
je 0x1000747b
lea esp, [esp]
add eax, 4
add ecx, 4
cmp dword [eax], 0
jne 0x10007470
mov eax, dword [ebp + 0x68]
lea edx, [ebp + 0x38]
push edx
push 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100077d1
cmp dword [edi], 0
je 0x100076e8
mov eax, dword [ebp + 0x68]
sub eax, edi
mov dword [ebp + 0x34], eax
mov esi, dword [edi]
test esi, esi
jns 0x100075a3
movzx esi, si
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100075b6
mov edx, dword [ebp + 0x48]
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.1000f950
add esp, 0xc
mov edi, 8
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], edi
jb 0x100074e4
mov eax, dword [eax]
push esi
push eax
push str.Missing_DLL:__s__Ordinal:_0x_4.4X
lea edx, [ebp + 0x10]
push 0x80
push edx
call fcn.100101c0
add esp, 0x14
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x30], edi
jb 0x10007511
mov eax, dword [ebp - 0x44]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], cx
cmp dword [ebp + 0x24], edi
jae 0x10007530
lea esi, [ebp + 0x10]
test byte [0x100bbcc4], 1
jne 0x1000755f
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 0xb
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0xa
push esi
push str.FixupEXE
push 1
push 0x100bbca0
call fcn.10009820
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x10]
push eax
mov dword [edx], 3
call fcn.10002ba0
mov byte [ebp - 4], 0
cmp dword [ebp + 0x24], edi
jb 0x100076e8
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x100076e0
mov edx, dword [ebp + 0x50]
lea eax, [esi + edx + 2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100075cd
mov ecx, dword [ebp + 0x34]
mov dword [ecx + edi], eax
add edi, 4
cmp dword [edi], 0
jne 0x100074a5
jmp 0x100076e8
mov edx, dword [ebp + 0x50]
push 0xffffffffffffffff
lea eax, [esi + edx + 2]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.1000f950
mov esi, eax
mov edx, dword [ebp + 0x48]
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xc
call fcn.1000f950
add esp, 0x18
mov edi, 8
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], edi
jb 0x10007608
mov esi, dword [esi]
cmp dword [eax + 0x14], edi
jb 0x1000760f
mov eax, dword [eax]
push esi
push eax
push str.Missing_DLL:__s__Function:__s
lea ecx, [ebp + 0x10]
push 0x80
push ecx
call fcn.100101c0
add esp, 0x14
cmp dword [ebp - 0x30], edi
jb 0x10007638
mov edx, dword [ebp - 0x44]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x14], edi
jb 0x10007660
mov ecx, dword [ebp - 0x28]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
cmp dword [ebp + 0x24], edi
jae 0x10007677
lea esi, [ebp + 0x10]
test byte [0x100bbcc4], 1
jne 0x100076a6
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 0x11
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0x10
push esi
push str.FixupEXE
push 1
push 0x100bbca0
call fcn.10009820
mov eax, dword [ebp + 0x64]
add esp, 0x10
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x6c]
mov dword [eax], 3
call fcn.10002ba0
mov byte [ebp - 4], 0
cmp dword [ebp + 0x24], edi
jb 0x100076e8
mov edx, dword [ebp + 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x68]
push 0
push eax
push 0x2000
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0x64]
add dword [ebp + 0x54], 0x14
cmp dword [edx], 0
je 0x100073e0
jmp 0x100077da
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1000f950
add esp, 0xc
mov ebx, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], ebx
jb 0x10007733
mov edi, dword [eax]
jmp 0x10007735
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Missing_DLL:___s____Error:_0x_X
lea ecx, [ebp + 0x10]
push 0x80
push ecx
call fcn.100101c0
add esp, 0x14
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], ebx
jb 0x10007768
mov edx, dword [ebp - 0x28]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x24], ebx
jae 0x10007787
lea eax, [ebp + 0x10]
push eax
push str.FixupEXE
push 1
call fcn.10001510
push eax
call fcn.10009820
mov ecx, dword [ebp + 0x64]
add esp, 0x10
mov dword [ecx], 3
test esi, esi
je 0x100077ba
mov ecx, dword [ebp + 0x6c]
push 0xffffffffffffffff
push 0
lea edx, [ebp + 0x10]
push edx
call fcn.10002ba0
mov byte [ebp - 4], 0
cmp dword [ebp + 0x24], ebx
jb 0x100077da
mov eax, dword [ebp + 0x10]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x100077da
mov ecx, dword [ebp + 0x64]
mov dword [ecx], 1
mov edx, dword [ebp + 0x74]
cmp byte [edx + 0x2c6], 0
je 0x10007a13
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x74]
mov edi, dword [ecx + 0x2d0]
mov eax, edx
sub eax, dword [ecx + 0x2c8]
add edi, edx
mov dword [ebp + 0x7c], eax
mov eax, dword [ecx + 0x2d4]
add eax, edi
mov dword [ebp + 0x54], eax
cmp edi, eax
jae 0x10007a15
mov esi, dword [edi + 4]
mov ebx, dword [edi]
mov eax, dword [ebp + 0x50]
add esi, 0xfffffff8
shr esi, 1
add edi, 8
lea ecx, [ebx + eax]
push esi
mov edx, edi
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x6c], ecx
call fcn.10006510
add esp, 4
xor edx, edx
test al, al
setne dl
lea ecx, [ebp + 0x30]
push ecx
push 4
lea eax, [edx + 1]
mov edx, dword [ebp + 0x6c]
shl eax, 0xc
push eax
push edx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10007936
mov dword [ebp + 0x48], 0
test esi, esi
je 0x10007907
movzx eax, word [edi]
mov cx, ax
shr cx, 0xc
mov esi, eax
push eax
mov eax, dword [ebp + 0x78]
movzx edx, cx
mov ecx, dword [eax + 0xc4]
push ebx
add eax, 0xc8
add edi, 2
mov dword [ebp + 0x34], edx
and esi, 0xfff
call fcn.10006570
mov byte [ebp + 0x6b], al
mov eax, dword [ebp + 0x74]
mov eax, dword [eax + 0x2d8]
movzx ecx, si
lea edx, [ecx + ebx]
add esp, 8
cmp eax, edx
ja 0x100078c2
add eax, 0x10
cmp eax, edx
jae 0x100078c8
cmp byte [ebp + 0x6b], 0
jne 0x100078f7
movzx eax, word [ebp + 0x34]
test eax, eax
je 0x100078f7
cmp eax, 3
je 0x100078ee
cmp eax, 0xa
jne 0x1000797d
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x7c]
add dword [ecx + eax], edx
adc dword [ecx + eax + 4], 0
jmp 0x100078f7
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x6c]
add dword [ecx + eax], edx
mov eax, dword [ebp + 0x48]
inc eax
mov dword [ebp + 0x48], eax
cmp eax, dword [ebp + 0x38]
jb 0x10007872
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 0x6c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100079ca
cmp edi, dword [ebp + 0x54]
jb 0x10007816
mov ecx, dword [ebp + 0x74]
jmp 0x10007a15
test byte [0x100bbcc4], 1
jne 0x10007965
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 0x12
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0
push 4
push str.Failure_accessing_game_memory._Rights:_0x_X
push str.FixupEXE
push 1
push 0x100bbca0
jmp 0x100070a4
test byte [0x100bbcc4], 1
jne 0x100079ac
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 0x13
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0
push str.Failure_to_fix_up_reloc_info__cannot_determine_reloc_type
push str.FixupEXE
push 1
push 0x100bbca0
call fcn.10009820
add esp, 0x10
jmp 0x100070ac
test byte [0x100bbcc4], 1
jne 0x100079f9
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [ebp - 4], 0x14
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x30]
push ecx
push str.Failure_restoring_game_memory_access._Rights:_0x_X
push str.FixupEXE
push 1
push 0x100bbca0
jmp 0x100070a4
mov ecx, edx
mov eax, dword [ebp + 0x64]
cmp dword [eax], 0
jne 0x10007a2b
mov edx, dword [ecx + 4]
add edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x70]
mov dword [ecx], edx
cmp dword [eax], 0
lea ecx, [ebp + 0x3c]
sete bl
mov dword [ebp - 4], 0xffffffff
call fcn.10018c80
mov al, bl
lea esp, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret