Function at 0x42db30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x20], 0
jne 0x42db47
jmp 0x42dd76
push str.EventHandle_DisplaySwitch
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0
push 0x24
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00404a40
add esp, 0xc
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0x86]
test eax, eax
jne 0x42dca3
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x8c], 0
je 0x42db8c
jmp 0x42dd76
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x8c], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx + 0x84]
mov word [eax + 0x88], dx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
call fcn.00429b40
mov ecx, dword [ebp - 0x2c]
mov word [ecx + 0x90], ax
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0x90]
cmp eax, 2
jne 0x42dc3f
push 0x24
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00404a40
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
call fcn.00429a90
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42dc27
movzx ecx, word [ebp - 0xa]
test ecx, ecx
je 0x42dc27
movzx edx, word [ebp - 8]
test edx, edx
je 0x42dc27
mov eax, dword [ebp - 0x2c]
mov cx, word [ebp - 0xa]
mov word [eax + 0xb8], cx
mov edx, dword [ebp - 0x2c]
mov ax, word [ebp - 8]
mov word [edx + 0xba], ax
jmp 0x42dc3f
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov word [edx + 0xb8], cx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov word [ecx + 0xba], ax
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0x90]
cmp eax, 1
jne 0x42dc5f
mov ecx, 1
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x86], cx
jmp 0x42dc94
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x88]
add ecx, 1
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x86], cx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x86]
cmp ecx, 4
jle 0x42dc94
mov edx, 1
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x86], dx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x8c], 0
jmp 0x42dcf9
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0x90]
cmp eax, 1
jne 0x42dcc3
mov ecx, 1
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x86], cx
jmp 0x42dcf9
mov eax, dword [ebp - 0x2c]
mov cx, word [eax + 0x86]
add cx, 1
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x86], cx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x86]
cmp ecx, 4
jle 0x42dcf9
mov edx, 1
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x86], dx
push str.Test_4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 0x86]
cmp edx, 1
jne 0x42dd21
push 0
push 5
mov ecx, dword [ebp - 0x2c]
call fcn.0042bb80
jmp 0x42dd76
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x86]
cmp ecx, 2
jne 0x42dd3e
push 0
push 6
mov ecx, dword [ebp - 0x2c]
call fcn.0042bb80
jmp 0x42dd76
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0x86]
cmp eax, 3
jne 0x42dd5b
push 0
push 8
mov ecx, dword [ebp - 0x2c]
call fcn.0042bb80
jmp 0x42dd76
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 0x86]
cmp edx, 4
jne 0x42dd76
push 0
push 9
mov ecx, dword [ebp - 0x2c]
call fcn.0042bb80
mov esp, ebp
pop ebp
ret 4