Function at 0x4061a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x444e3c]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], esi
call fcn.00401d20
mov edx, dword [ebp + 0xc]
mov ecx, edx
sub ecx, dword [eax + 4]
cmp ecx, 0x17
ja case.0x4061e7.2
movzx eax, byte [ecx + 0x40668c]
jmp dword [eax*4 + 0x406658]
push str.Installer_:_SDL_CASINO_END_PROCESS_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
push str.Casino____SDL_:_SDL_CASINO_END_PROCESS
mov byte [esi + 0x20], 0
call fcn.00405da0
add esp, 8
call fcn.00409150
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_CASINO_START_PROCESS_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Installer_:_SDL_INSTALLER_END_PROCESS_n
call edi
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 0
call fcn.00409150
mov edx, dword [eax + 0x2c]
push edx
lea eax, [esp + 0x10]
push 0x439860
push eax
call fcn.00420f5a
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x4062b2
push str.Installer_:_Send_SDL_INSTALLER_END_PROCESS_n
call edi
lea ecx, [esp + 0xc]
push ecx
push 0
mov ecx, esi
call fcn.00406100
mov byte [esi + 0x22], 0
mov byte [esi + 0x20], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_UPGRADE_VERSION_OK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
call fcn.00409150
mov edx, dword [eax + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Casino____SDL_:_SDL_UPGRADE_VERSION_OK
call fcn.00405da0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_UPGRADE_VERSION_NOTOK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
call fcn.00409150
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Casino____SDL_:_SDL_UPGRADE_VERSION_NOTOK
call fcn.00405da0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_UPGRADE_PROGRESS_BAR_OK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
call fcn.00409150
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Casino____SDL_:_SDL_UPGRADE_PROGRESS_BAR_OK
call fcn.00405da0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_UPGRADE_PROGRESS_BAR_CANCEL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
call fcn.00409150
mov edx, dword [eax + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Casino____SDL_:_SDL_UPGRADE_PROGRESS_BAR_CANCEL
call fcn.00405da0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_UPGRADE_EXIT_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
call fcn.00409150
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, 8
mov esi, str.Installer_:_SDL_REPLACE_ITEM__
lea edi, [esp + 0x70]
push 0x40
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x94]
push 0
push ecx
call fcn.00421410
lea esi, [ebx + 4]
mov ecx, 0x18
lea edi, [esp + 0x1c]
lea eax, [esp + 0x1c]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, eax
jmp 0x406470
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406470
lea edi, [esp + 0x70]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406482
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00416c3d
lea edx, [esp + 0x14]
add esp, 4
push edx
call fcn.00409150
mov ecx, eax
call fcn.00408350
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x70]
push eax
call esi
push 0x439aa4
call esi
lea ecx, [esp + 0x10]
push ecx
push str.Casino____SDL_:_SDL_REPLACE_ITEM__s
call fcn.00405da0
mov ecx, dword [esp + 0x14]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 5
call fcn.00406100
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push 0x34
lea eax, [esp + 0xa0]
push 0
mov ecx, 0xb
mov esi, str.Installer_:_SDL_SET_ITEM_TO_TOP_PRIORITY__
lea edi, [esp + 0x78]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00421410
lea esi, [ebx + 4]
mov ecx, 0x18
lea edi, [esp + 0x1c]
lea eax, [esp + 0x1c]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406540
lea edi, [esp + 0x70]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406552
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00416c3d
lea ecx, [esp + 0x14]
add esp, 4
push ecx
call fcn.00409150
mov ecx, eax
call fcn.00408210
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esp + 0x70]
push edx
call esi
push 0x439aa4
call esi
lea eax, [esp + 0x10]
push eax
push str.Casino____SDL_:_SDL_SET_ITEM_TO_TOP_PRIORITY__s
call fcn.00405da0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_PING_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
push 0x43985e
push 0x17
mov ecx, esi
call fcn.00406100
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push str.Installer_:_SDL_PONG_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00416c3d
add esp, 4
call fcn.00409150
mov byte [eax + 0x40], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10
push esi
push ebx
push edx
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004213c3
mov esp, ebp
pop ebp
ret 0x10