Function at 0x52aee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5901c4
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
mov ax, word [ebp + 0xc]
cmp ax, 0x44c
mov edi, ecx
jne 0x52afb9
mov esi, dword [edi + 0x74]
mov ebx, dword [edi + 0x70]
call fcn.004a1350
test eax, eax
je 0x52af5a
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52af5a
push 0x59648c
push 0xffffffffffffffff
push esi
push ebx
call eax
mov esi, dword [edi + 0x74]
mov ebx, dword [edi + 0x70]
call fcn.004a1350
test eax, eax
je 0x52af7f
push str.uiview_set_selected
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52af7f
push 1
push esi
push ebx
call eax
mov eax, dword [edi + 0x44]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x52af99
mov ecx, dword [edi + 0x44]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x44]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
je 0x52b779
mov edx, dword [edi + 0x44]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x52b779
cmp ax, 0x44d
je 0x52b756
cmp ax, 0x44e
je 0x52b756
cmp ax, 0x44f
jne 0x52b002
mov eax, dword [edi + 0x44]
push 0x59648c
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [edi + 0x3c], 0
je 0x52aff6
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov ecx, edi
call fcn.0051bbc0
jmp 0x52b779
movzx ebx, ax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.00521150
mov eax, dword [esp + 0x20]
sub eax, 1
je 0x52b72a
sub eax, 2
je 0x52b13c
sub eax, 1
jne 0x52b779
movsx eax, byte [edi + 0x90]
mov ebx, dword [esp + 0x24]
cmp eax, ebx
je 0x52b779
push eax
push 4
mov ecx, edi
call fcn.00521060
push ebx
push 4
mov ecx, edi
mov esi, eax
call fcn.00521060
test esi, esi
mov dword [esp + 0x18], eax
je 0x52b079
mov edx, dword [edi + 4]
push 0
push esi
push edx
call fcn.0051b9b0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x52b08c
push 1
push eax
mov eax, dword [edi + 4]
push eax
call fcn.0051b9b0
add esp, 0xc
movzx ecx, byte [edi + 0x90]
push ecx
push ebx
mov ecx, edi
call fcn.00521290
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x78]
lea esi, [edi + 0xc0]
push eax
mov ecx, esi
mov byte [edi + 0x90], bl
mov byte [esp + 0x1f], bl
call fcn.005214d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
call fcn.0051dd30
test al, al
je 0x52b779
mov edx, dword [edi + 0x88]
mov ebx, dword [sym.imp.USER32.dll_GetScrollPos]
lea esi, [edi + 0x88]
push 2
push edx
call ebx
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0051f740
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004ca070
mov ecx, dword [esi]
push 2
push ecx
call ebx
cmp dword [esp + 0x18], eax
je 0x52b779
push 0
push eax
mov ecx, edi
call fcn.005219e0
jmp 0x52b779
mov ecx, dword [esp + 0x24]
cmp ecx, 0xfffffffe
mov byte [esp + 0x17], 0
je 0x52b779
xor eax, eax
cmp dword [edi + 0x38], 2
jne 0x52b3de
cmp dword [edi + 0x3c], eax
jne 0x52b3de
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4d0], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push 2
mov ecx, 0x5ce6d8
mov byte [esp + 0x4d4], 1
call fcn.0051ba80
mov esi, eax
test esi, esi
jbe 0x52b292
push 0x59648b
push 0
push 0
lea ecx, [esp + 0x11c]
call fcn.0041aa90
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00524dd0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x2a8]
push eax
mov ecx, edi
call fcn.0051dab0
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x38]
push 0
lea ecx, [esp + 0x48]
call fcn.0051bf90
mov ecx, dword [0x5ce6d8]
push str.xunyou_get_games_by_type
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52b28e
mov edx, dword [esp + 0x2a9]
mov ecx, dword [esp + 0x2a8]
push edx
mov edx, dword [esp + 0x2a8]
push ecx
push edx
push esi
lea ecx, [esp + 0x3c]
push ecx
push ebx
call eax
test eax, eax
jne 0x52b28e
xor esi, esi
cmp dword [esp + 0x2c], esi
jbe 0x52b28e
nop
push esi
lea ecx, [esp + 0x48]
call fcn.0051bf90
mov edx, dword [eax]
lea ecx, [eax + 8]
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0x24], edx
call fcn.00522ee0
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x4d4], 2
call fcn.00528580
lea ecx, [esp + 0xd0]
mov byte [esp + 0x4d0], 1
call fcn.00521430
add esi, 1
cmp esi, dword [esp + 0x2c]
jb 0x52b230
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x38]
call fcn.00520680
mov esi, eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x38]
call fcn.00520650
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.005287d0
push 0x18e
lea ecx, [esp + 0x346]
push 0
push ecx
mov word [esp + 0x34c], 0
call fcn.00552500
mov edx, dword [edi + 4]
push 0xffffffffffffffff
push ebx
push edx
push 0xc8
lea esi, [esp + 0x35c]
call fcn.0051b7f0
add esp, 0x30
lea eax, [esp + 0x34]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x59648c
call fcn.0040dd80
sub esp, 0x1c
mov edx, esi
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x510], 3
call fcn.0040dd80
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x50c], 1
call fcn.00527890
lea ecx, [esp + 0x34]
mov byte [esp + 0x4d0], 4
call fcn.00526970
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x1bc]
call fcn.00521550
cmp eax, 1
jne 0x52b383
mov eax, dword [esp + 0x220]
mov dword [edi + 0x34], eax
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x4d0], 1
call fcn.00527b50
lea ecx, [esp + 0x44]
call fcn.00522480
lea ecx, [esp + 0x34]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.00526930
cmp byte [esp + 0x17], 0
je 0x52aff6
xor eax, eax
mov ecx, dword [edi + 0x34]
push 1
push eax
push ecx
call fcn.00402460
mov ecx, eax
call fcn.00449410
call fcn.0044aae0
jmp 0x52b779
cmp ecx, 0xffffffff
jne 0x52b722
push 0x18e
push eax
lea ecx, [esp + 0x336]
push ecx
mov word [esp + 0x338], ax
call fcn.00552500
mov edx, dword [edi + 4]
push 0xffffffffffffffff
push ebx
push edx
push 0xc8
lea esi, [esp + 0x348]
call fcn.0051b7f0
add esp, 0x1c
mov eax, esi
push eax
lea ecx, [esp + 0x98]
call fcn.0040dd80
lea ecx, [esp + 0x94]
lea esi, [esp + 0x198]
mov dword [esp + 0x4d0], 5
call fcn.00522390
lea ecx, [esp + 0x94]
mov byte [esp + 0x4d0], 7
call fcn.00407560
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0x70]
lea esi, [edi + 0xe4]
push edx
mov ecx, esi
call fcn.00521de0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
call fcn.0051c030
test al, al
je 0x52b706
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov bl, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x4d0], bl
call fcn.0051f710
mov ecx, eax
add ecx, 0x1c
call fcn.0040af70
test eax, eax
jbe 0x52b62b
lea eax, [edi + 0xf0]
mov dword [esp + 0x54], eax
push esi
lea ecx, [esp + 0x24]
call fcn.0051f710
mov ecx, eax
add ecx, 0x1c
call fcn.0051bf40
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [edi + 0xf0]
call fcn.00409eb0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0xf4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], eax
call fcn.00404ef0
test al, al
je 0x52b60d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28], 0x2d
call fcn.0051f6e0
push 1
add eax, 4
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.00405180
cmp eax, 0xffffffff
je 0x52b5b9
cmp eax, 2
jbe 0x52b5b9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
add eax, 1
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0051f6e0
mov ecx, eax
add ecx, 4
call fcn.0040dd40
lea ecx, [esp + 0x48]
call fcn.0051f6e0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x110]
push eax
call fcn.00522f30
add esp, 0x24
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4d4], 9
call fcn.00528580
lea ecx, [esp + 0xf0]
jmp 0x52b601
lea ecx, [esp + 0x2c]
call fcn.0051f6e0
mov ecx, dword [eax]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x4c], 0x59ca98
call fcn.00522ee0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4d4], 0xa
call fcn.00528580
lea ecx, [esp + 0xb0]
mov byte [esp + 0x4d0], bl
call fcn.00521430
lea ecx, [esp + 0x20]
add esi, 1
call fcn.0051f710
mov ecx, eax
add ecx, 0x1c
call fcn.0040af70
cmp esi, eax
jb 0x52b4e2
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x38]
call fcn.00520680
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00520650
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.005287d0
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
sub esp, 0x1c
lea edx, [esp + 0x34c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0040dd80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x59648c
mov byte [esp + 0x510], 0xb
call fcn.0040dd80
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x50c], bl
call fcn.00527890
lea ecx, [esp + 0x34]
mov byte [esp + 0x4d0], 0xc
call fcn.00526970
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x1bc]
call fcn.00521550
cmp eax, 1
jne 0x52b6ea
mov eax, dword [esp + 0x220]
mov dword [edi + 0x34], eax
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x4d0], bl
call fcn.00527b50
lea ecx, [esp + 0x34]
call fcn.00526930
lea ecx, [esp + 0x198]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.004074a0
jmp 0x52b3b4
mov dword [edi + 0x34], ecx
jmp 0x52b3c1
mov esi, dword [esp + 0x24]
cmp esi, 0x3e8
je 0x52b779
cmp dword [edi + 0x8c], esi
je 0x52b779
mov ecx, edi
call fcn.00526670
push esi
mov ecx, edi
call fcn.00528a40
mov ecx, edi
call fcn.005291f0
jmp 0x52b779
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov dword [esp + 0x34], esp
mov byte [eax + 4], 0
call fcn.00494ae0
add esp, 0x1c
xor eax, eax
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.00552d63
mov esp, ebp
pop ebp
ret 0x10