Function at 0x40543d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x439030]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
cmp ebx, dword [esi + 0x38]
je 0x4059f0
call fcn.00401988
test al, al
je 0x4057b1
cmp dword [ebp + 0xc], 1
jne 0x4056d9
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
mov dword [esp + 0x1c], 1
mov dword [esi + 0x34], eax
call fcn.00402165
mov eax, str.tab_play
mov dword [esi + 0x38], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, dword [esp + 0xc]
push 4
pop edi
mov dx, word [eax]
xor esi, esi
cmp dx, word [ecx]
jne 0x4054e0
test dx, dx
je 0x4054dc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4054e0
add eax, edi
add ecx, edi
test dx, dx
jne 0x4054ba
mov eax, esi
jmp 0x4054e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405510
mov ecx, dword [esp + 0x14]
call fcn.00405e06
push dword [0x43c0f8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x405648
call fcn.00405003
jmp 0x405648
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, str.tab_education
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40553f
test dx, dx
je 0x40553b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40553f
add eax, edi
add ecx, edi
test dx, dx
jne 0x40551b
mov eax, esi
jmp 0x405544
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405560
cmp dword [0x43c3a8], esi
jne 0x405648
push esi
push esi
push 0x405331
jmp 0x405640
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, str.tab_song
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40558f
test dx, dx
je 0x40558b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40558f
add eax, edi
add ecx, edi
test dx, dx
jne 0x40556b
mov eax, esi
jmp 0x405594
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4055b0
cmp dword [0x43c3a0], esi
jne 0x405648
push esi
push esi
push 0x40537e
jmp 0x405640
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, str.tab_story
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4055df
test dx, dx
je 0x4055db
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4055df
add eax, edi
add ecx, edi
test dx, dx
jne 0x4055bb
mov eax, esi
jmp 0x4055e4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4055f9
cmp dword [0x43c3a4], esi
jne 0x405648
push esi
push esi
push 0x4053a3
jmp 0x405640
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, str.tab_english
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405628
test dx, dx
je 0x405624
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405628
add eax, edi
add ecx, edi
test dx, dx
jne 0x405604
mov eax, esi
jmp 0x40562d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405648
cmp dword [0x43c3ac], esi
jne 0x405648
push esi
push esi
push 0x4053f0
call fcn.00419b63
add esp, 0xc
xor eax, eax
push 0x206
mov word [esp + 0x224], ax
lea eax, [esp + 0x226]
push esi
push eax
call fcn.0041ba00
mov eax, dword [ebx]
add esp, 0xc
push ebx
call dword [eax + 0x28]
mov ebx, eax
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4056a0
test dx, dx
je 0x4056a5
mov edx, dword [esp + 0x10]
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4056a0
add edx, edi
add ecx, edi
mov dword [esp + 0x10], edx
test ax, ax
jne 0x405672
jmp 0x4056a5
sbb esi, esi
or esi, 1
lea eax, [esp + 0x220]
test esi, esi
jne 0x4056c5
push str.tab_page_play
push 0x104
push eax
call fcn.0041814e
add esp, 0xc
jmp 0x4056cd
push eax
mov ecx, ebx
call fcn.00401470
lea eax, [esp + 0x220]
jmp 0x405778
cmp dword [ebp + 0xc], 2
jne 0x40578a
mov eax, dword [esi + 0x38]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
cmp dword [0x43c3a0], 0
jne 0x4056fa
call fcn.0040415f
xor eax, eax
xor esi, esi
push 0x206
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push esi
push eax
call fcn.0041ba00
mov eax, dword [ebx]
add esp, 0xc
push ebx
call dword [eax + 0x28]
mov ebx, eax
mov edx, str.tab_play
push 4
mov ecx, ebx
pop edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40574a
test ax, ax
je 0x40574f
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x40574a
add ecx, edi
add edx, edi
test ax, ax
jne 0x405728
jmp 0x40574f
sbb esi, esi
or esi, 1
lea eax, [esp + 0x18]
test esi, esi
jne 0x40576c
push str.tab_page_play
push 0x104
push eax
call fcn.0041814e
add esp, 0xc
jmp 0x405774
push eax
mov ecx, ebx
call fcn.00401470
lea eax, [esp + 0x18]
push eax
push dword [0x43c108]
call dword [sym.imp.zbgui.dll_GetPluginByName]
mov dword [0x43ec94], eax
push 0x432690
push dword [0x43c108]
call dword [sym.imp.zbgui.dll_GetPluginByName]
test eax, eax
je 0x4059f0
push 1
push eax
call dword [sym.imp.zbgui.dll_Plugin_Redraw]
jmp 0x4059f0
xor eax, eax
inc eax
cmp dword [ebp + 0xc], eax
jne 0x40593d
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x38]
push ecx
push ebx
push eax
mov dword [esi + 0x34], eax
call fcn.00402165
mov eax, str.tab_play
mov dword [esi + 0x38], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, dword [esp + 0xc]
push 4
pop edi
mov dx, word [eax]
xor esi, esi
cmp dx, word [ecx]
jne 0x405816
test dx, dx
je 0x405812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405816
add eax, edi
add ecx, edi
test dx, dx
jne 0x4057f0
mov eax, esi
jmp 0x40581b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40582d
mov ecx, dword [esp + 0x14]
call fcn.00405e06
jmp 0x4058df
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, str.tab_tv
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40585c
test dx, dx
je 0x405858
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40585c
add eax, edi
add ecx, edi
test dx, dx
jne 0x405838
mov eax, esi
jmp 0x405861
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405875
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], esi
jne 0x4058df
call fcn.004050b5
jmp 0x4058df
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov ecx, str.tab_sports
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4058a4
test dx, dx
je 0x4058a0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4058a4
add eax, edi
add ecx, edi
test dx, dx
jne 0x405880
mov eax, esi
jmp 0x4058a9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4058df
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1c], esi
jne 0x4058df
push str.hwnd_sports
push dword [0x43c108]
call dword [sym.imp.zbgui.dll_GetPluginByName]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.zbgui.dll_Plugin_IsValid]
test eax, eax
je 0x4058df
mov ecx, dword [esp + 0xc]
call fcn.00405203
xor eax, eax
push 0x206
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push esi
push eax
call fcn.0041ba00
mov eax, dword [ebx]
add esp, 0xc
push ebx
call dword [eax + 0x28]
mov ebx, eax
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4059b0
test dx, dx
je 0x4059b5
mov edx, dword [esp + 0x10]
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4059b0
add edx, edi
add ecx, edi
mov dword [esp + 0x10], edx
test ax, ax
jne 0x405903
jmp 0x4059b5
cmp dword [ebp + 0xc], 2
jne 0x4059f0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x38]
push ecx
push ebx
push eax
mov dword [esi + 0x34], eax
call fcn.00402165
xor eax, eax
mov dword [esi + 0x38], ebx
push 0x206
mov word [esp + 0x1c], ax
xor esi, esi
lea eax, [esp + 0x1e]
push esi
push eax
call fcn.0041ba00
mov eax, dword [ebx]
add esp, 0xc
push ebx
call dword [eax + 0x28]
mov ebx, eax
mov edx, str.tab_play
push 4
mov ecx, ebx
pop edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4059b0
test ax, ax
je 0x4059b5
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4059b0
add ecx, edi
add edx, edi
test ax, ax
jne 0x40598e
jmp 0x4059b5
sbb esi, esi
or esi, 1
lea eax, [esp + 0x18]
test esi, esi
jne 0x4059d2
push str.tab_page_play
push 0x104
push eax
call fcn.0041814e
add esp, 0xc
jmp 0x4059da
push eax
mov ecx, ebx
call fcn.00401470
lea eax, [esp + 0x18]
push eax
push dword [0x43c108]
call dword [sym.imp.zbgui.dll_GetPluginByName]
mov dword [0x43ec94], eax
mov ecx, dword [esp + 0x42c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041813f
mov esp, ebp
pop ebp
ret 0xc