Function at 0x413af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 3], 1
mov ecx, 0x42ad88
call fcn.00401640
test eax, eax
jne 0x413b14
mov byte [ebp - 3], 0
call fcn.00412fd0
mov dword [ebp - 8], 0
jmp 0x413b2b
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, 0x42ae24
call fcn.00401640
cmp dword [ebp - 8], eax
jae 0x413d19
mov byte [ebp - 9], 0
mov dword [ebp - 0x10], 0
jmp 0x413b54
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov ecx, 0x42adb8
call fcn.00401640
cmp dword [ebp - 0x10], eax
jae 0x413b9f
movzx edx, byte [ebp - 9]
test edx, edx
jne 0x413b9f
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x42adb8
call fcn.00407560
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, 0x42ae24
call fcn.00407560
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
movzx edx, al
test edx, edx
je 0x413b9d
mov byte [ebp - 9], 1
jmp 0x413b4b
movzx eax, byte [ebp - 9]
test eax, eax
jne 0x413c62
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x42ade8
call fcn.00401890
mov ecx, eax
call fcn.00401cb0
movzx eax, al
test eax, eax
je 0x413c5d
mov dword [ebp - 0x14], 0
jmp 0x413be1
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov ecx, 0x42ad88
call fcn.00401640
cmp dword [ebp - 0x14], eax
jae 0x413c5d
mov edx, dword [ebp - 0x14]
push edx
mov ecx, 0x42ad88
call fcn.00407560
push eax
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x42ae24
call fcn.00407560
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x413c58
push 0
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x42ade8
call fcn.00401890
mov ecx, eax
call fcn.00401c50
mov byte [ebp - 2], 1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x42ad64
call fcn.00401890
mov ecx, eax
call fcn.00401c50
jmp 0x413bd8
jmp 0x413d14
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x42ade8
call fcn.00401890
mov ecx, eax
call fcn.00401cb0
movzx edx, al
test edx, edx
jne 0x413d14
mov dword [ebp - 0x18], 0
jmp 0x413c98
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, 0x42ad88
call fcn.00401640
cmp dword [ebp - 0x18], eax
jae 0x413d14
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x42ad88
call fcn.00407560
push eax
mov edx, dword [ebp - 8]
push edx
mov ecx, 0x42ae24
call fcn.00407560
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
movzx eax, al
test eax, eax
je 0x413d0f
push 1
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, 0x42ade8
call fcn.00401890
mov ecx, eax
call fcn.00401c50
mov byte [ebp - 1], 1
push 1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, 0x42ad64
call fcn.00401890
mov ecx, eax
call fcn.00401c50
jmp 0x413c8f
jmp 0x413b22
movzx edx, byte [ebp - 2]
test edx, edx
je 0x413d3c
movzx eax, byte [ebp - 1]
test eax, eax
je 0x413d3c
push str.Synchronization_finished._Some_mods_have_been_set_to_load_not_to_load_because_subscription_changed
call fcn.004013b0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x413d70
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x413d57
push str.Synchronization_finished._Some_mods_are_no_longer_subscribed__setting_them_to_not_load
call fcn.004013b0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x413d70
movzx edx, byte [ebp - 1]
test edx, edx
je 0x413d70
push str.Synchronization_finished._Some_previously_unsubscribed_mods_are_now_subscribed__setting_them_to_load
call fcn.004013b0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
movzx eax, byte [ebp - 2]
test eax, eax
jne 0x413d80
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x413da1
push 0
call fcn.004013b0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.004013b0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00412ec0
movzx edx, byte [ebp - 3]
test edx, edx
je 0x413dc5
push 0
push 0
push 0x1009
mov eax, dword [0x42ace8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00413420
jmp 0x413dd9
mov ecx, 0x42ad88
call fcn.00401750
mov ecx, 0x42ad64
call fcn.00401a10
mov esp, ebp
pop ebp
ret