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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x52b26d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test esi, esi
je 0x52b24f
mov byte [ebp - 5], 1
mov edx, 7
mov eax, esi
call fcn.0054738c
test al, al
jne 0x52b24f
mov eax, dword [0x6a0f58]
mov byte [eax], 1
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0052a8b0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.004139d0
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edx, 0x52b28c
call fcn.00407774
jne 0x52ab2e
mov eax, dword [ebp - 0xc]
and eax, 0x1f
mov edx, dword [ebp - 0xc]
and edx, 3
cmp edx, 3
je 0x52aa78
mov edx, dword [ebp - 0xc]
and edx, 0xe
cmp edx, 0xe
jne 0x52aae0
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
and eax, 0x20000
cmp eax, 0x20000
jne 0x52aab6
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2a8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x567728]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56785c]
call fcn.0057f708
mov ebx, eax
jmp 0x52b21f
mov edx, dword [ebp - 0xc]
and edx, 0xd
cmp edx, 0xd
je 0x52b21f
add eax, 0xfffffffb
sub eax, 2
jb 0x52b21f
sub eax, 4
je 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5675c0]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b2e0
call fcn.00407774
jne 0x52ab67
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569624]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b2fc
call fcn.00407774
jne 0x52aca3
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569bd8]
call fcn.005820f4
mov ebx, eax
mov eax, esi
call fcn.004af2e4
mov edx, dword [ebx + 0x5c]
mov dword [edx + 0x3c], eax
mov eax, dword [ebx + 0x5c]
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x52b21f
mov eax, esi
mov edx, dword [0x4aa8a8]
call fcn.004053c8
test al, al
je 0x52b21f
mov eax, esi
call fcn.004b7868
dec eax
test eax, eax
jl 0x52ac81
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.004b782c
mov edx, dword [0x46c278]
call fcn.004053c8
test al, al
je 0x52ac40
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.004b782c
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
call fcn.005b28b4
mov edx, eax
pop eax
call fcn.00457774
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.004b782c
mov dl, 1
call fcn.004761e0
jmp 0x52ac77
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.004b782c
mov edx, dword [0x4aa8a8]
call fcn.004053c8
test al, al
je 0x52ac77
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.004b782c
call fcn.004bbd30
mov edx, eax
mov eax, edi
call fcn.0052a9d8
inc esi
dec dword [ebp - 0x10]
jne 0x52abe5
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
call fcn.005b2860
mov edx, eax
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
call fcn.004b2f9c
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b318
call fcn.00407774
jne 0x52ad06
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b348
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569bd8]
call fcn.005820f4
mov ebx, eax
mov eax, esi
call fcn.004af2e4
mov edx, dword [ebx + 0x5c]
mov dword [edx + 0x3c], eax
mov eax, dword [ebx + 0x5c]
cmp dword [eax + 0x3c], 0
je 0x52acfa
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x3c]
xor edx, edx
call fcn.004b2e1c
mov eax, dword [ebx + 0x5c]
mov byte [eax + 0x39], 1
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b368
call fcn.00407774
jne 0x52ad6e
mov eax, dword [edi + 0x44]
test eax, eax
je 0x52ad23
mov byte [eax + 0xa9], 0
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2a8
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
xor al, 1
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x56a2ec]
call fcn.00573df8
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b380
call fcn.00407774
jne 0x52ae6b
mov eax, dword [ebp - 0xc]
and eax, 7
cmp eax, 7
jne 0x52adb6
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b348
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569760]
call fcn.0057e688
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 0xc]
and eax, 3
cmp eax, 3
je 0x52add7
mov eax, dword [ebp - 0xc]
and eax, 2
cmp eax, 2
je 0x52add7
mov eax, dword [ebp - 0xc]
and eax, 5
cmp eax, 5
jne 0x52ae01
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x568e5c]
call fcn.0057f348
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 0xc]
and eax, 9
cmp eax, 9
je 0x52ae17
mov eax, dword [ebp - 0xc]
and eax, 4
cmp eax, 4
jne 0x52ae41
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x568e5c]
call fcn.0057f348
mov ebx, eax
jmp 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b39c
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x567b48]
call fcn.0057cb30
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b3b8
call fcn.00407774
jne 0x52aec5
mov eax, dword [edi + 0x44]
test eax, eax
je 0x52ae88
mov byte [eax + 0xa9], 0
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b3d8
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
xor al, 1
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x56b348]
call fcn.00577be0
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b3f8
call fcn.00407774
jne 0x52af0c
mov eax, dword [edi + 0x44]
test eax, eax
je 0x52aee2
mov byte [eax + 0xa9], 0
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b3d8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56a2ec]
call fcn.00573df8
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b418
call fcn.00407774
jne 0x52af53
mov eax, dword [edi + 0x44]
test eax, eax
je 0x52af29
mov byte [eax + 0xa9], 0
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b3d8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56b348]
call fcn.00577be0
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b440
call fcn.00407774
jne 0x52afa6
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10
cmp eax, 0x10
jne 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5684f0]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b460
call fcn.00407774
jne 0x52aff2
mov eax, dword [ebp - 0xc]
and eax, 0x2000
cmp eax, 0x2000
je 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b48c
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56bcc4]
call fcn.0058463c
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b4b0
call fcn.00407774
jne 0x52b02f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2a8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56a844]
call fcn.00574e84
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b4d8
call fcn.00407774
jne 0x52b06f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b504
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x568620]
call fcn.00580490
mov ebx, eax
mov dword [ebx + 0x78], 2
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b534
call fcn.00407774
jne 0x52b0a8
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b564
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5688d4]
call fcn.00588288
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b584
call fcn.00407774
jne 0x52b0f5
cmp dword [edi + 0x44], 0
je 0x52b0c7
mov eax, dword [edi + 0x44]
mov byte [eax + 0xa9], 0
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2a8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56a2ec]
call fcn.00573df8
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b5a0
call fcn.00407774
je 0x52b113
mov eax, dword [ebp - 4]
mov edx, 0x52b5c4
call fcn.00407774
jne 0x52b13d
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x567a24]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b5e0
call fcn.00407774
jne 0x52b1b1
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
and eax, 0x200
cmp eax, 0x200
jne 0x52b18a
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b60c
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569290]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569290]
call fcn.0057b904
mov ebx, eax
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b620
call fcn.00407774
jne 0x52b1eb
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2a8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x56b1b8]
call fcn.00573df8
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x52b21f
mov eax, dword [ebp - 4]
mov edx, 0x52b648
call fcn.00407774
jne 0x52b21f
push 0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x5c]
call fcn.0055247c
push eax
push 0x52b2c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x569624]
call fcn.0057b904
mov ebx, eax
test ebx, ebx
je 0x52b247
mov eax, dword [edi + 0x48]
mov edx, ebx
call fcn.00436ddc
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebx + 0xc]
lea edx, [ebx + 0x3c]
mov eax, dword [edi + 0x3c]
call fcn.0056d1dc
mov eax, dword [0x6a0f58]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b274
lea eax, [ebp - 0x14]
call fcn.0040707c
lea eax, [ebp - 4]
call fcn.0040707c
ret