Function at 0x10003640
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 0x94], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push str.Searching_code_section_at:__08x_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
mov byte [ebp - 0x11], 0
mov eax, dword [0x100329c8]
movzx ecx, byte [eax + 0x6d]
test ecx, ecx
je 0x1000374e
push 0xc
push 0x100300d8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100036c8
push str.Unable_to_patch:__black_bars__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x1000374e
mov dword [ebp - 0x20], 0x40
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 4]
push eax
push 0x10028538
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, dword [0x100300e8]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 8
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003741
push 2
push 0x10028304
mov edx, dword [ebp - 0x18]
push edx
call fcn.100150d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 8
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Turning_black_bars_off_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x1000374e
push 0x10028590
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0xa
push 0x100300ec
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10003780
push str.Unable_to_patch:__trophy_check__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x100037c8
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 4]
push ecx
push 0x10028648
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x24]
add edx, dword [0x100300f8]
mov dword [ebp - 0x24], edx
push str.Enabling_trophy_map_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10007920
mov eax, dword [ebp - 0x24]
push eax
call fcn.100112e0
add esp, 0x14
push 0x11
push 0x10030110
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100037fa
push str.Unable_to_patch:__team_ids_2__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003846
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 4]
push edx
push 0x10028710
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, dword [0x10030124]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.10011280
add esp, 4
mov dword [0x10032a08], eax
push 0
push 0
push 6
push 0x10007d10
mov edx, dword [ebp - 0x28]
push edx
call fcn.100112e0
add esp, 0x14
push 0xd
push 0x10030128
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10003878
push str.Unable_to_patch:__minutes_set__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x100038c0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 4]
push ecx
push 0x10028818
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, dword [0x10030138]
mov dword [ebp - 0x2c], edx
push str.Enabling_set_num_minutes_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10007e80
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100112e0
add esp, 0x14
push 0x10
push 0x1003013c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x100038f2
push str.Unable_to_patch:__time_clamp__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x1000396c
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 4]
push edx
push 0x10028920
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
movzx eax, byte [0x1003005f]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x40
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000395f
push 3
push 0x10028644
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100150d0
add esp, 0xc
push str.Time_clamp__30__disabled._n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x1000396c
push 0x100289b0
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0xf
push 0x10030150
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1000399e
push str.Unable_to_patch:__set_defaults__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x100039e6
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 4]
push eax
push 0x10028a98
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x38]
add ecx, dword [0x100329cc]
mov dword [ebp - 0x38], ecx
push str.Enabling_set_defaults_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008080
mov edx, dword [ebp - 0x38]
push edx
call fcn.100112e0
add esp, 0x14
push 0x11
push 0x10030160
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10003a18
push str.Unable_to_patch:__write_tid__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003a60
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 4]
push ecx
push 0x10028b60
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x3c]
add edx, dword [0x10030174]
mov dword [ebp - 0x3c], edx
push str.Enabling_write_tid_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008100
mov eax, dword [ebp - 0x3c]
push eax
call fcn.100112e0
add esp, 0x14
push 0xd
push 0x10030178
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x10003a92
push str.Unable_to_patch:__write_exhib_id__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003ada
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 4]
push edx
push 0x10028c30
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov eax, dword [ebp - 0x40]
add eax, dword [0x10030188]
mov dword [ebp - 0x40], eax
push str.Enabling_write_exhib_id_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 2
push 6
push 0x10008180
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.100112e0
add esp, 0x14
push 0xb
push 0x1003018c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10003b0f
push str.Unable_to_match:__tid_func__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003ba5
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 4]
push eax
push 0x10028d58
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x44]
add ecx, dword [0x10030198]
push ecx
call fcn.10011280
add esp, 4
mov dword [0x100329e4], eax
mov edx, dword [ebp - 0x44]
add edx, dword [0x1003019c]
mov dword [0x100329e8], edx
mov eax, dword [0x100329e8]
push eax
call fcn.10011280
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 1]
mov dword [0x100329e0], edx
mov eax, dword [0x100329e0]
push eax
push str._tid_addr1:__p_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
mov ecx, dword [0x100329e4]
push ecx
push str._tid_target1:__p_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
mov edx, dword [0x100329e8]
push edx
push str._tid_target2:__p_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
push 0x11
push 0x100301a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10003bd7
push str.Unable_to_patch:__write_stadium__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003c1f
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 4]
push ecx
push 0x10028ea8
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x4c]
add edx, dword [0x100329d0]
mov dword [ebp - 0x4c], edx
push str.Enabling_write_stadium_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x100083d0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.100112e0
add esp, 0x14
push 0x18
push 0x10030280
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10003c51
push str.Unable_to_patch:__write_stadium_for_replay__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003c99
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 4]
push edx
push 0x10028f90
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov eax, dword [ebp - 0x50]
add eax, dword [0x1003029c]
mov dword [ebp - 0x50], eax
push str.Enabling_write_stadium_for_replay_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008730
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.100112e0
add esp, 0x14
push 0x19
push 0x100301b4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x10003ccb
push str.Unable_to_patch:__read_ball_name__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003d13
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 4]
push eax
push 0x100290f0
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x54]
add ecx, dword [0x100301d0]
mov dword [ebp - 0x54], ecx
push str.Enabling_read_ball_name_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 0
push 6
push 0x10008a70
mov edx, dword [ebp - 0x54]
push edx
call fcn.100112e0
add esp, 0x14
push 0x19
push 0x100301d4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x10003d45
push str.Unable_to_patch:__read_stad_name__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003d8d
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029200
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x58]
add edx, dword [0x100301f0]
mov dword [ebp - 0x58], edx
push str.Enabling_read_stad_name_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 0
push 6
push 0x10008b70
mov eax, dword [ebp - 0x58]
push eax
call fcn.100112e0
add esp, 0x14
push 0x14
push 0x100301f4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x10003dc2
push str.Unable_to_patch:__read_no_stad_name__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003e67
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 4]
push edx
push 0x10029318
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov eax, dword [ebp - 0x5c]
add eax, dword [0x1003020c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0x40
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push 0xa
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003e5a
push str.Enabling_read_no_stad_name_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 0
push 6
push 0x10008bc0
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.100112e0
add esp, 0x14
push 2
push 0x10028f8c
mov edx, dword [ebp - 0x5c]
add edx, 5
push edx
call fcn.100150d0
add esp, 0xc
push 0
mov eax, dword [ebp - 0x60]
push eax
push 0xa
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10003e67
push str.PROBLEM_with_read_no_stad_name:_VirtualProtect_FAILED_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0x18
push 0x10030210
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x10003e99
push str.Unable_to_patch:__edit_mode__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003ef8
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 4]
push eax
push 0x100294d0
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push str.Enabling_edit_mode_context_flag_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 5
push 6
push 0x10008d30
mov ecx, dword [ebp - 0x68]
add ecx, dword [0x1003022c]
push ecx
call fcn.100112e0
add esp, 0x14
push 0
push 5
push 6
push 0x10008d60
mov edx, dword [ebp - 0x68]
add edx, dword [0x10030230]
push edx
call fcn.100112e0
add esp, 0x14
push 0xb
push 0x10030234
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x10003f2a
push str.Unable_to_patch:__replay_enter__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003f6c
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029658
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push str.Enabling_replay_enter_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008e90
mov edx, dword [ebp - 0x6c]
add edx, dword [0x10030240]
push edx
call fcn.100112e0
add esp, 0x14
push 0xf
push 0x10030244
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x10003f9e
push str.Unable_to_patch:__replay_exit__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10003fe0
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029758
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push str.Enabling_replay_exit_event_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008f90
mov edx, dword [ebp - 0x70]
add edx, dword [0x100329d4]
push edx
call fcn.100112e0
add esp, 0x14
push 0x1a
push 0x10030254
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x10004012
push str.Unable_to_patch:__stadium_choice_initial__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10004055
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029838
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push str.Enabling_stadium_choice__initial__context_flag_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 2
push 6
push 0x10008830
movzx edx, byte [0x10030072]
add edx, dword [ebp - 0x74]
push edx
call fcn.100112e0
add esp, 0x14
push 5
push 0x10030270
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x100040bd
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 4]
push ecx
push str.Code_pattern__1__found_at_offset:__08x___08x__n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push 0x10029950
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008930
movzx edx, byte [0x10030073]
add edx, dword [ebp - 0x78]
push edx
call fcn.100112e0
add esp, 0x14
jmp 0x10004136
push 6
push 0x10030278
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10004123
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 4]
push ecx
push str.Code_pattern__2__found_at_offset:__08x___08x__n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push str.Enabling_stadium_choice__changed__context_flag_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 1
push 6
push 0x10008970
movzx edx, byte [0x10030085]
add edx, dword [ebp - 0x78]
push edx
call fcn.100112e0
add esp, 0x14
cmp dword [ebp - 0x78], 0
jne 0x10004136
push str.Unable_to_patch:__stadium_choice_changed__code_patterns__1_and_2__not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0xe
push 0x1003037c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x10004168
push str.Unable_to_patch:__set_game_speed__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x100041aa
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029b88
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
push str.Enabled_game_speed_modification_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
push 0
push 0
push 6
push 0x10007a60
mov edx, dword [ebp - 0x7c]
add edx, dword [0x1003038c]
push edx
call fcn.100112e0
add esp, 0x14
mov eax, dword [0x100329c8]
movzx ecx, byte [eax + 3]
test ecx, ecx
je 0x100041c7
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10011400
add esp, 8
mov ecx, dword [0x100329c8]
movzx edx, byte [ecx + 3]
test edx, edx
je 0x100041e5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10012cf0
add esp, 8
mov edx, dword [0x100329c8]
movzx eax, byte [edx + 1]
test eax, eax
je 0x100044a2
mov dword [ebp - 0xd4], 0x1003008c
mov dword [ebp - 0xd0], 0x100300a8
mov dword [ebp - 0xcc], 0x10030074
mov dword [ebp - 0xc8], 0x10030098
mov dword [ebp - 0xc4], 0x100300bc
mov dword [ebp - 0xa8], 0xb
mov dword [ebp - 0xa4], 0xd
mov dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x9c], 9
mov dword [ebp - 0x98], 0x16
mov dword [ebp - 0xbc], 0
mov ecx, dword [0x100300b8]
mov dword [ebp - 0xb8], ecx
mov edx, dword [0x10030088]
mov dword [ebp - 0xb4], edx
mov eax, dword [0x100300a4]
mov dword [ebp - 0xb0], eax
mov ecx, dword [0x100300d4]
mov dword [ebp - 0xac], ecx
mov edx, dword [0x100329c8]
add edx, 0x74
mov dword [ebp - 0x90], edx
mov eax, dword [0x100329c8]
add eax, 0x7c
mov dword [ebp - 0x8c], eax
mov ecx, dword [0x100329c8]
add ecx, 0x70
mov dword [ebp - 0x88], ecx
mov edx, dword [0x100329c8]
add edx, 0x78
mov dword [ebp - 0x84], edx
mov eax, dword [0x100329c8]
add eax, 0x80
mov dword [ebp - 0x80], eax
mov byte [ebp - 0xbd], 1
mov dword [ebp - 0xd8], 0
jmp 0x100042fe
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
cmp dword [ebp - 0xd8], 5
jge 0x10004375
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp + edx*4 - 0xa8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp + ecx*4 - 0xd4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100113a0
add esp, 0x10
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x1000434e
mov byte [ebp - 0xbd], 0
jmp 0x100042ef
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xdc]
add ecx, dword [ebp + eax*4 - 0xbc]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp + edx*4 - 0x90]
mov dword [eax], ecx
jmp 0x100042ef
movzx ecx, byte [ebp - 0xbd]
test ecx, ecx
je 0x1000444a
push 0
push 3
push 6
push 0x10006ed0
mov edx, dword [0x100329c8]
mov eax, dword [edx + 0x74]
push eax
call fcn.100112e0
add esp, 0x14
push 0
push 1
push 0
push 0x10006fa0
mov ecx, dword [0x100329c8]
mov edx, dword [ecx + 0x7c]
push edx
call fcn.100112e0
add esp, 0x14
push 0
push 1
push 0
push 0x10006f10
mov eax, dword [0x100329c8]
mov ecx, dword [eax + 0x80]
push ecx
call fcn.100112e0
add esp, 0x14
mov edx, dword [0x100329c8]
mov eax, dword [edx + 0x70]
push eax
call fcn.10011280
add esp, 4
mov dword [0x100329fc], eax
push 0
push 0
push 6
push 0x10007410
mov ecx, dword [0x100329c8]
mov edx, dword [ecx + 0x70]
push edx
call fcn.100112e0
add esp, 0x14
mov eax, dword [0x100329c8]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.10011280
add esp, 4
mov dword [0x10032a00], eax
push 0
push 0
push 6
push 0x100071f0
mov edx, dword [0x100329c8]
mov eax, dword [edx + 0x78]
push eax
call fcn.100112e0
add esp, 0x14
mov byte [ebp - 0x11], 1
jmp 0x100044a2
mov dword [ebp - 0xe0], 0
jmp 0x10004465
mov ecx, dword [ebp - 0xe0]
add ecx, 1
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 3
jge 0x100044a2
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp + edx*4 - 0x90]
mov ecx, dword [eax]
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0xe4], 0
jne 0x100044a0
mov edx, dword [ebp - 0xe0]
push edx
push str.Unable_to_patch:_lcpk__d__code_pattern_not_found_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
jmp 0x10004456
mov dword [ebp - 0xc], 0x40
mov eax, dword [0x100329c8]
movzx ecx, byte [eax + 0x64]
test ecx, ecx
je 0x10004586
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100012f0
add esp, 8
mov dword [0x10032a18], eax
cmp dword [0x10032a18], 0
jne 0x100044ed
push str.Unable_to_patch:__free_sides__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10004586
mov edx, dword [0x10032a18]
sub edx, 5
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029d20
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10004579
push 5
mov edx, dword [ebp - 0x10]
push edx
push 0x100322d0
call fcn.100150d0
add esp, 0xc
push 5
push 0x10029d78
mov eax, dword [ebp - 0x10]
push eax
call fcn.100150d0
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Free_select_sides:_enabled._n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
mov byte [0x10032a0e], 1
jmp 0x10004586
push 0x10029d80
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
cmp dword [0x10032a18], 0
je 0x1000466a
mov ecx, dword [0x100329c8]
movzx edx, byte [ecx + 0x65]
test edx, edx
je 0x1000466a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [0x10032a18]
push edx
call fcn.10001350
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100045d6
push str.Unable_to_patch:__free_first_player__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x1000466a
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
push ecx
push 0x10029e40
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov dword [ebp - 0xc], 0x40
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000465d
push 3
mov edx, dword [ebp - 0x10]
push edx
push 0x100324e0
call fcn.100150d0
add esp, 0xc
push 3
push 0x100295a4
mov eax, dword [ebp - 0x10]
push eax
call fcn.100150d0
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Free_first_player:_enabled._n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
mov byte [0x10032a0f], 1
jmp 0x1000466a
push 0x10029e98
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
mov ecx, dword [0x100329c8]
movzx edx, byte [ecx + 0x66]
test edx, edx
je 0x10004747
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100013b0
add esp, 8
mov dword [0x10032a1c], eax
cmp dword [0x10032a1c], 0
jne 0x100046af
push str.Unable_to_patch:__cut_scenes__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x10004747
mov eax, dword [0x10032a1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
push ecx
push str.Code_pattern_found_at_offset:__08x_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
mov dword [ebp - 0xc], 0x40
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000473a
push 6
mov edx, dword [ebp - 0x10]
push edx
push 0x100329c0
call fcn.100150d0
add esp, 0xc
push 6
push 0x10029724
mov eax, dword [ebp - 0x10]
push eax
call fcn.100150d0
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Cut_scenes:_enabled._n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
mov byte [0x10032a14], 1
jmp 0x10004747
push 0x10029f90
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
mov ecx, dword [0x100329c8]
cmp dword [ecx + 0x68], 0
je 0x100048f7
mov dword [ebp - 0x100], str.Ot_Ot
mov dword [ebp - 0xfc], 0x10030434
mov dword [ebp - 0xf8], 0x10030444
mov dword [ebp - 0xf0], 9
mov dword [ebp - 0xec], 0xd
mov dword [ebp - 0xe8], 8
mov dl, byte [0x10030086]
mov byte [ebp - 0xf4], dl
mov al, byte [0x10030087]
mov byte [ebp - 0xf3], al
mov cl, byte [0x100300a2]
mov byte [ebp - 0xf2], cl
mov dword [ebp - 0x104], 0
jmp 0x100047d1
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 3
jge 0x100048f7
mov eax, dword [ebp - 0x104]
mov dword [eax*4 + 0x10032918], 0
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp + ecx*4 - 0xf0]
push edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp + eax*4 - 0x100]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [0x10032a18], eax
cmp dword [0x10032a18], 0
jne 0x10004842
mov edx, dword [ebp - 0x104]
push edx
push str.Unable_to_patch:_cam__d__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
jmp 0x100047c2
mov eax, dword [ebp - 0x104]
movzx ecx, byte [ebp + eax - 0xf4]
add ecx, dword [0x10032a18]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x10032a18]
push edx
mov eax, dword [0x10032a18]
sub eax, dword [ebp - 4]
push eax
push 0x1002a038
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100048e5
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x100329c8]
mov al, byte [edx + 0x68]
mov byte [ecx], al
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x104]
push eax
push str.Camera_slider_patched___d__at_offset__08x____p___n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0x10
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x10]
mov dword [ecx*4 + 0x10032918], edx
mov byte [ebp - 0x11], 1
jmp 0x100048f2
push 0x1002a0f4
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x100047c2
mov eax, dword [0x100329c8]
movzx ecx, byte [eax + 0x6c]
test ecx, ecx
je 0x10004b48
mov dword [ebp - 0x144], 0x10030450
mov dword [ebp - 0x140], 0x10030450
mov dword [ebp - 0x13c], 0x10030464
mov dword [ebp - 0x128], 8
mov dword [ebp - 0x124], 8
mov dword [ebp - 0x120], 8
mov dl, byte [0x100300a3]
mov byte [ebp - 0x138], dl
mov al, byte [0x100300b6]
mov byte [ebp - 0x137], al
mov cl, byte [0x100300b7]
mov byte [ebp - 0x136], cl
mov dword [ebp - 0x11c], 0x1003045c
mov dword [ebp - 0x118], 0x10030460
mov dword [ebp - 0x114], 0x10030470
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], 2
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x110], 0x100329bc
mov dword [ebp - 0x10c], 0x100326f4
mov dword [ebp - 0x108], 0x100326f0
mov dword [ebp - 0x148], 2
jmp 0x100049dc
mov edx, dword [ebp - 0x148]
sub edx, 1
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0x148], 0
jl 0x10004b48
mov eax, dword [ebp - 0x148]
mov dword [eax*4 + 0x100329b0], 0
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp + ecx*4 - 0x128]
push edx
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp + eax*4 - 0x144]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100113a0
add esp, 0x10
mov dword [0x10032a18], eax
cmp dword [0x10032a18], 0
jne 0x10004a4d
mov edx, dword [ebp - 0x148]
push edx
push str.Unable_to_patch:_dynamic_wide__d__code_pattern_not_matched_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 8
jmp 0x100049cd
mov eax, dword [ebp - 0x148]
movzx ecx, byte [ebp + eax - 0x138]
add ecx, dword [0x10032a18]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x10032a18]
push edx
mov eax, dword [0x10032a18]
sub eax, dword [ebp - 4]
push eax
push str.Code_pattern_found_at_offset:__08x____p___n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10004b36
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp + ecx*4 - 0x134]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp + ecx*4 - 0x110]
push edx
call fcn.100150d0
add esp, 0xc
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp + eax*4 - 0x134]
push ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp + edx*4 - 0x11c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100150d0
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
push str.Dynamic_Wide_camera_patched___d__at_offset__08x____p___n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0x10
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x10]
mov dword [edx*4 + 0x100329b0], eax
mov byte [ebp - 0x11], 1
jmp 0x10004b43
push str.PROBLEM_with_Virtual_Protect._n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 4
jmp 0x100049cd
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x10004b7d
movzx edx, byte [0x10032a0e]
test edx, edx
jne 0x10004b7d
movzx eax, byte [0x10032a0f]
test eax, eax
jne 0x10004b7d
movzx ecx, byte [0x10032a14]
test ecx, ecx
jne 0x10004b7d
mov dword [ebp - 0x14c], 0
jmp 0x10004b87
mov dword [ebp - 0x14c], 1
mov al, byte [ebp - 0x14c]
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret