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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, dword [0x53fc6c]
call fcn.00407ea0
xor eax, eax
push ebp
push 0x56d7ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
test esi, esi
je 0x56d7a2
mov byte [ebp - 0x21], 1
mov edx, 7
mov eax, esi
call fcn.00585230
test al, al
jne 0x56d7a2
mov eax, dword [0x602294]
mov byte [eax], 1
lea edx, [ebp - 0x40]
mov eax, esi
call fcn.00585500
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 4]
call fcn.0041338c
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0x28], eax
xor ebx, ebx
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.004071b4
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0xffffffff
mov byte [ebp - 0x17], 1
mov byte [ebp - 0x18], 1
mov eax, dword [ebp - 4]
mov edx, 0x56d7ec
call fcn.004078e8
jne 0x56ce99
mov eax, dword [ebp - 0x28]
and eax, 0x1f
mov edx, dword [ebp - 0x28]
and edx, 3
cmp edx, 3
je 0x56cdd9
mov edx, dword [ebp - 0x28]
and edx, 0xe
cmp edx, 0xe
jne 0x56ce4c
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
and eax, 0x20000
cmp eax, 0x20000
jne 0x56ce23
lea eax, [ebp - 0x1c]
mov edx, 0x56d808
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5414a0]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5415dc]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov edx, dword [ebp - 0x28]
and edx, 0xd
cmp edx, 0xd
je 0x56d772
add eax, 0xfffffffb
sub eax, 2
jb 0x56d772
sub eax, 4
je 0x56d772
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5412fc]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d820
call fcn.004078e8
jne 0x56ced1
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x543608]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d83c
call fcn.004078e8
jne 0x56d019
lea eax, [ebp - 0x1c]
mov edx, 0x56d858
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x543d78]
call fcn.0055888c
mov ebx, eax
mov eax, esi
call fcn.004aae34
mov edx, dword [ebx + 0x6c]
mov dword [edx + 0x44], eax
mov eax, dword [ebx + 0x6c]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x56d772
mov eax, esi
mov edx, dword [0x4a63f8]
call fcn.00405288
test al, al
je 0x56d772
mov eax, esi
call fcn.004b33b8
dec eax
test eax, eax
jl 0x56cff7
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, esi
call fcn.004b337c
mov edx, dword [0x46a2a4]
call fcn.00405288
test al, al
je 0x56cfb6
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, esi
call fcn.004b337c
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
call fcn.005cd41c
mov edx, eax
pop eax
call fcn.004555b8
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, esi
call fcn.004b337c
mov dl, 1
call fcn.00472644
jmp 0x56cfed
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, esi
call fcn.004b337c
mov edx, dword [0x4a63f8]
call fcn.00405288
test al, al
je 0x56cfed
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, esi
call fcn.004b337c
call fcn.004b7904
mov edx, eax
mov eax, edi
call fcn.0056ccf8
inc esi
dec dword [ebp - 0x2c]
jne 0x56cf5b
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
call fcn.005cd414
mov edx, eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
call fcn.004aeaec
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d878
call fcn.004078e8
jne 0x56d0a0
lea eax, [ebp - 0x1c]
mov edx, 0x56d8a8
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x543d78]
call fcn.0055888c
mov ebx, eax
mov eax, esi
call fcn.004aae34
mov edx, dword [ebx + 0x6c]
mov dword [edx + 0x44], eax
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x44], 0
je 0x56d091
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov esi, ebx
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.004ae96c
mov eax, dword [esi + 0x78]
mov dword [eax + 0xc], 0x3e7
mov eax, dword [ebx + 0x6c]
mov byte [eax + 0x80], 1
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d8c8
call fcn.004078e8
jne 0x56d114
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x56d0bd
mov byte [eax + 0xa9], 0
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x56d772
lea eax, [ebp - 0x1c]
mov edx, 0x56d808
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
xor al, 1
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x544628]
call fcn.0054e85c
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d8e0
call fcn.004078e8
je 0x56d136
mov eax, dword [ebp - 4]
mov edx, 0x56d8fc
call fcn.004078e8
jne 0x56d229
mov eax, dword [ebp - 0x28]
and eax, 7
cmp eax, 7
jne 0x56d177
lea eax, [ebp - 0x1c]
mov edx, 0x56d8a8
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x54377c]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 0x28]
and eax, 3
cmp eax, 3
je 0x56d198
mov eax, dword [ebp - 0x28]
and eax, 2
cmp eax, 2
je 0x56d198
mov eax, dword [ebp - 0x28]
and eax, 5
cmp eax, 5
jne 0x56d1c1
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x542a74]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 0x28]
and eax, 9
cmp eax, 9
je 0x56d1d7
mov eax, dword [ebp - 0x28]
and eax, 4
cmp eax, 4
jne 0x56d200
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x542a74]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x541880]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d918
call fcn.004078e8
jne 0x56d28f
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x56d246
mov byte [eax + 0xa9], 0
lea eax, [ebp - 0x1c]
mov edx, 0x56d938
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
xor al, 1
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x545b3c]
call fcn.0054e85c
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d958
call fcn.004078e8
jne 0x56d2e2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x56d2ac
mov byte [eax + 0xa9], 0
lea eax, [ebp - 0x1c]
mov edx, 0x56d938
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x544628]
call fcn.0054e85c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d978
call fcn.004078e8
jne 0x56d335
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x56d2ff
mov byte [eax + 0xa9], 0
lea eax, [ebp - 0x1c]
mov edx, 0x56d938
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x545b3c]
call fcn.0054e85c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d9a0
call fcn.004078e8
jne 0x56d387
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x10
cmp eax, 0x10
jne 0x56d772
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x542174]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56d9c0
call fcn.004078e8
jne 0x56d3df
mov eax, dword [ebp - 0x28]
and eax, 0x2000
cmp eax, 0x2000
je 0x56d772
lea eax, [ebp - 0x1c]
mov edx, 0x56d9ec
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5465b0]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56da10
call fcn.004078e8
jne 0x56d428
lea eax, [ebp - 0x1c]
mov edx, 0x56d808
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x544f3c]
call fcn.0054e85c
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56da38
call fcn.004078e8
jne 0x56d474
lea eax, [ebp - 0x1c]
mov edx, 0x56da64
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5422e0]
call fcn.0055888c
mov ebx, eax
mov dword [ebx + 0x78], 2
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56da94
call fcn.004078e8
jne 0x56d4b9
lea eax, [ebp - 0x1c]
mov edx, 0x56dac4
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x542540]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56dae4
call fcn.004078e8
jne 0x56d510
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x56d4d6
mov byte [eax + 0xa9], 0
lea eax, [ebp - 0x1c]
mov edx, 0x56d808
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x544628]
call fcn.0054e85c
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56db00
call fcn.004078e8
je 0x56d52e
mov eax, dword [ebp - 4]
mov edx, 0x56db24
call fcn.004078e8
jne 0x56d557
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x541754]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56db40
call fcn.004078e8
jne 0x56d5ea
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
and eax, 0x200
cmp eax, 0x200
jne 0x56d5b4
lea eax, [ebp - 0x1c]
mov edx, 0x56db6c
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x54327c]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
lea eax, [ebp - 0x1c]
mov edx, 0x56d858
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x54327c]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56db80
call fcn.004078e8
jne 0x56d633
lea eax, [ebp - 0x1c]
mov edx, 0x56d808
call fcn.004071b4
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x545918]
call fcn.00552108
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56dba8
call fcn.004078e8
jne 0x56d66b
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x543608]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56dbd8
call fcn.004078e8
je 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56dc04
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dc2c
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dc5c
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dc90
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dcc0
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dcdc
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dd00
call fcn.004078e8
je 0x56d6f6
mov eax, dword [ebp - 4]
mov edx, 0x56dd24
call fcn.004078e8
jne 0x56d726
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x56d772
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x542e58]
call fcn.0055888c
mov ebx, eax
jmp 0x56d772
mov eax, dword [ebp - 4]
mov edx, 0x56dd54
call fcn.004078e8
jne 0x56d772
lea eax, [ebp - 0x3c]
push eax
push esi
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x3c]
xor edx, edx
call fcn.005c5e08
cmp eax, 0x18
jne 0x56d772
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
push eax
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5430bc]
call fcn.0055888c
mov ebx, eax
test ebx, ebx
je 0x56d79a
mov eax, dword [edi + 0x40]
mov edx, ebx
call fcn.004351f4
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 + 0x34]
call fcn.00547a1c
mov eax, dword [0x602294]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d7d5
lea eax, [ebp - 0x40]
call fcn.00407150
lea eax, [ebp - 0x20]
mov edx, dword [0x53fc6c]
call fcn.00407f78
lea eax, [ebp - 4]
call fcn.00407150
ret