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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x23c], 0
jne 0x535912
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 1
jne 0x535912
mov eax, dword [ebx + 0x254]
call fcn.00452748
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x53559f
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x53559f
mov edi, dword [esi + 8]
cmp dword [edi + 8], 0
jne 0x53533e
cmp dword [edi + 0xc], 0
je 0x53559f
mov edi, dword [esi + 8]
cmp byte [0x5652f0], 0
je 0x53538b
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 0
jne 0x53538b
cmp dword [ebx + 0x270], 0
jne 0x53538b
mov eax, ebx
call fcn.005249d8
test al, al
je 0x53538b
mov eax, dword [ebx + 0x254]
call fcn.00452748
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x53538b
mov dl, 1
mov eax, ebx
call fcn.0053294c
cmp byte [ebx + 0x56], 0
je 0x535507
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x535507
mov edx, esp
mov eax, dword [ebx + 0x254]
call fcn.00524978
mov ebp, dword [ebx + 0x270]
test ebp, ebp
je 0x5354b3
mov eax, ebp
call fcn.00520c0c
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x48]
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.0051c0c8
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x38]
pop edx
add edx, eax
push edx
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0xc]
call fcn.005248c0
mov eax, dword [ebx + 0x270]
call fcn.00520c0c
mov ebp, eax
mov eax, dword [ebx + 0x254]
add ebp, dword [eax + 0x4c]
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.0051c0c8
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x3c]
add ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
call fcn.005248c0
mov eax, dword [ebx + 0x270]
call fcn.00520c0c
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.0051c0c8
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x36]
add ebp, eax
push ebp
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 4]
call fcn.005248c0
mov eax, dword [ebx + 0x270]
call fcn.00520bd0
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.0051c0c8
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x3a]
sub ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 8]
call fcn.005248c0
jmp 0x535507
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x48]
push eax
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0xc]
call fcn.005248c0
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
call fcn.005248c0
push 0
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 4]
call fcn.005248c0
push 0
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 8]
call fcn.005248c0
mov eax, dword [ebx + 0x238]
test ah, 0x60
je 0x53559f
push esi
lea esi, [ebx + 0xdc]
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
and eax, 0x2000
cmp eax, 0x2000
jne 0x535579
mov edx, dword [ebx + 0x254]
mov edx, dword [edx + 0x44]
mov eax, dword [esi + 8]
cmp edx, dword [eax + 0xc]
jne 0x535560
mov edx, dword [ebx + 0xe0]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x254]
mov ecx, dword [ebx + 0xe0]
sub ecx, dword [edx + 0x44]
sub dword [eax + 0x14], ecx
jmp 0x53556f
mov edx, dword [ebx + 0xe0]
add edx, dword [ebx + 0xe8]
mov dword [eax + 0x14], edx
and dword [ebx + 0x238], 0xffffdfff
mov eax, dword [ebx + 0x238]
and eax, 0x4000
cmp eax, 0x4000
jne 0x535595
and dword [ebx + 0x238], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x535920
mov eax, dword [ebx + 0x50]
call fcn.0051c0c8
test eax, eax
je 0x535912
call fcn.0053ff38
test al, al
je 0x535912
cmp byte [ebx + 0x78], 0
je 0x535912
cmp byte [ebx + 0x22e], 0
jne 0x535912
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x18]
and edx, 0x80
cmp edx, 0x80
je 0x5355f4
cmp dword [eax + 8], 0xffff8300
jne 0x535799
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x535799
mov eax, dword [ebx + 0x254]
call fcn.00452748
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x53574f
mov eax, dword [ebx + 0x50]
call fcn.0051c0c8
cmp byte [eax + 0xcc], 2
je 0x535912
cmp byte [ebx + 0x95], 0
je 0x535912
mov eax, dword [ebx + 0x50]
call fcn.0051c0c8
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x535912
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
je 0x535912
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x535912
or dword [ebx + 0x238], 0x200
mov dl, 1
mov eax, ebx
call fcn.00520830
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x40], eax
mov ebp, dword [ebx + 0x270]
test ebp, ebp
je 0x535734
mov byte [ebp + 0x28], 1
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x2e0], 0
je 0x5356bd
movzx edi, byte [eax + 0x2e1]
jmp 0x5356c2
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.0053b970
push eax
mov eax, dword [ebp + 0x18]
call fcn.00452748
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00452748
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x40]
mov ecx, edi
call fcn.0051fa38
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x270]
mov edi, dword [eax + 0x18]
mov eax, dword [edi + 0x44]
push eax
mov eax, dword [edi + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00452748
push eax
call sub.user32.dll_SetWindowPos
jmp 0x535912
mov eax, dword [ebx + 0x254]
call fcn.00452748
call fcn.0051fb58
mov dword [ebx + 0xd4], eax
jmp 0x535912
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 1
je 0x535912
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x535912
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.00466754
mov eax, ebx
call fcn.0051fd58
jmp 0x535920
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x535912
cmp dword [eax + 0x18], 0
je 0x535912
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x535912
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x535912
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x535912
mov eax, dword [ebx + 0x238]
and eax, 0x100
cmp eax, 0x100
je 0x535912
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x535912
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x535912
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x20c]
jl 0x535834
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x210]
jge 0x535912
cmp dword [ebx + 0x230], 0
je 0x53585d
mov ebp, dword [ebx + 0x230]
mov eax, dword [ebp + 0x7c]
cmp byte [eax + 0x24], 0
jne 0x535912
mov eax, dword [ebp + 0x78]
cmp byte [eax + 0x24], 0
jne 0x535912
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00452a4c
test al, al
je 0x535912
mov eax, dword [ebx + 0x254]
call fcn.00452748
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x5358fc
or dword [ebx + 0x238], 1
push 0
mov edi, dword [esi + 8]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x270]
call fcn.0053b970
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00452748
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x5358f3
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00452748
push eax
mov eax, dword [ebx + 0x254]
call fcn.00452748
push eax
call sub.user32.dll_SetWindowPos
and dword [ebx + 0x238], 0xfffffffe
jmp 0x535912
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.0053a8ec
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret