Function at 0x5347f0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x590946
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x534b74
mov eax, dword [ebp + 0x3c]
xor edi, edi
cmp eax, edi
je 0x5348f1
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
lea esi, [ebp + 0x34]
mov edi, esi
mov ebx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
test edi, edi
mov ebp, dword [esi + 4]
je 0x53486f
cmp edi, esi
je 0x534874
call fcn.005532de
cmp ebx, ebp
je 0x5348c5
test edi, edi
jne 0x534881
call fcn.005532de
cmp ebx, dword [edi + 4]
jne 0x53488b
call fcn.005532de
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
mov edi, dword [ecx + 4]
call fcn.004a1350
test eax, eax
je 0x5348b2
push str.uiview_destory_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5348b2
push ebx
push edi
call eax
lea ecx, [esp + 0x1c]
call fcn.00433da0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x534864
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, esi
call fcn.00437050
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov ecx, dword [0x5ce6d8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.xunyou_get_game_max_count_by_type
push ecx
mov dword [esp + 0x10c], edi
call ebx
cmp eax, edi
je 0x534b5c
push edi
call eax
mov esi, eax
cmp esi, edi
jbe 0x534b5c
push 0xffffffffffffffff
push 0x59648b
lea edx, [esp + 0x64]
push 0x80
push edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.0055501f
add esp, 0x10
lea eax, [esp + 0x54]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00524dd0
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x534982
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x53498b
call fcn.005532de
mov esi, dword [esp + 0x2c]
mov edx, dword [0x5ce6d8]
push str.xunyou_get_games_by_type
push edx
call ebx
cmp eax, edi
je 0x534b5c
push edi
push edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x24]
push ecx
push esi
call eax
cmp eax, edi
jne 0x534b5c
cmp dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x2710
mov dword [esp + 0x24], edi
jbe 0x534b5c
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x5349f5
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x5349fe
call fcn.005532de
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add esi, edx
lea eax, [esp + 0xdc]
lea ebx, [esi + 8]
push eax
call fcn.005346e0
add esp, 4
cmp dword [eax + 0x18], 8
mov byte [esp + 0x104], 1
jb 0x534a2a
mov ebx, dword [eax + 4]
jmp 0x534a2d
lea ebx, [eax + 4]
mov ecx, dword [ebp + 0x2c]
mov edi, dword [ebp + 4]
push str.uiview_create_control_by_example
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x534a52
mov edx, dword [esp + 0x18]
push 0
push ebx
push edx
push 0x64
push edi
call eax
jmp 0x534a57
mov eax, 5
test eax, eax
mov edi, 8
sete bl
cmp dword [esp + 0xf4], edi
mov byte [esp + 0x104], 0
jb 0x534a82
mov eax, dword [esp + 0xe0]
push eax
call fcn.0055215c
add esp, 4
test bl, bl
je 0x534b3d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebp + 0x34]
call fcn.004613b0
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi]
push eax
lea ecx, [esp + 0xe0]
push ecx
mov ecx, 0x5ce6d8
call fcn.004c2bb0
lea eax, [esp + 0xdc]
lea esi, [esp + 0x38]
mov byte [esp + 0x104], 2
call fcn.005347b0
cmp dword [eax + 0x18], edi
mov byte [esp + 0x104], 3
jb 0x534ada
mov edi, dword [eax + 4]
jmp 0x534add
lea edi, [eax + 4]
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x534b02
push str.uiview_set_tip_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x534b02
mov edx, dword [esp + 0x18]
push edi
push edx
push esi
call eax
cmp dword [esp + 0x50], 8
jb 0x534b16
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055215c
add esp, 4
add dword [esp + 0x18], 1
cmp dword [esp + 0xf4], 0x10
mov byte [esp + 0x104], 0
jb 0x534b3d
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.0055215c
add esp, 4
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x88
add eax, 1
xor edi, edi
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jb 0x5349d0
mov ecx, ebp
call fcn.005344f0
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x534b74
push eax
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00552d63
add esp, 0xf4
ret