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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5b9403
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test esi, esi
je 0x5b93e5
mov byte [ebp - 5], 1
mov edx, 7
mov eax, esi
call fcn.005ef618
test al, al
jne 0x5b93e5
mov eax, dword [0x668fa8]
mov byte [eax], 1
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005ef8e8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 4]
call fcn.0041d128
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edx, 0x5b9424
call fcn.00407b0c
jne 0x5b8b9a
mov eax, dword [ebp - 0xc]
and eax, 0x1f
mov edx, dword [ebp - 0xc]
and edx, 3
cmp edx, 3
je 0x5b8ae4
mov edx, dword [ebp - 0xc]
and edx, 0xe
cmp edx, 0xe
jne 0x5b8b4c
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
and eax, 0x20000
cmp eax, 0x20000
jne 0x5b8b22
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9440
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c1d24]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c1e58]
call fcn.005dcb18
mov ebx, eax
jmp 0x5b93b5
mov edx, dword [ebp - 0xc]
and edx, 0xd
cmp edx, 0xd
je 0x5b93b5
add eax, 0xfffffffb
sub eax, 2
jb 0x5b93b5
sub eax, 4
je 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c1bbc]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9478
call fcn.00407b0c
jne 0x5b8bd3
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3f9c]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9494
call fcn.00407b0c
jne 0x5b8d0f
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c453c]
call fcn.005df6a4
mov ebx, eax
mov eax, esi
call fcn.004791ac
mov edx, dword [ebx + 0x5c]
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 0x5c]
mov esi, dword [eax + 0x38]
test esi, esi
je 0x5b93b5
mov eax, esi
mov edx, dword [0x47471c]
call fcn.004052b0
test al, al
je 0x5b93b5
mov eax, esi
call fcn.0048170c
dec eax
test eax, eax
jl 0x5b8ced
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.004816d0
mov edx, dword [0x4a4f4c]
call fcn.004052b0
test al, al
je 0x5b8cac
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.004816d0
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
call fcn.0063f194
mov edx, eax
pop eax
call fcn.0045f6f0
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.004816d0
mov dl, 1
call fcn.004acd04
jmp 0x5b8ce3
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.004816d0
mov edx, dword [0x47471c]
call fcn.004052b0
test al, al
je 0x5b8ce3
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.004816d0
call fcn.00485c08
mov edx, eax
mov eax, edi
call fcn.005b8a44
inc esi
dec dword [ebp - 0x10]
jne 0x5b8c51
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
call fcn.0063f18c
mov edx, eax
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
call fcn.0047ce1c
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b94b0
call fcn.00407b0c
jne 0x5b8d7b
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b94e0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c453c]
call fcn.005df6a4
mov ebx, eax
mov eax, esi
call fcn.004791ac
mov edx, dword [ebx + 0x5c]
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 0x5c]
cmp dword [eax + 0x38], 0
je 0x5b8d6f
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0047cc9c
mov eax, dword [ebx + 0x5c]
mov byte [eax + 0x35], 1
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9500
call fcn.00407b0c
jne 0x5b8de3
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5b8d98
mov byte [eax + 0xa1], 0
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9440
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
xor al, 1
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c4ed4]
call fcn.005cf4a8
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9518
call fcn.00407b0c
je 0x5b8e05
mov eax, dword [ebp - 4]
mov edx, 0x5b9534
call fcn.00407b0c
jne 0x5b8eef
mov eax, dword [ebp - 0xc]
and eax, 7
cmp eax, 7
jne 0x5b8e3a
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b94e0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c40d4]
call fcn.005dba98
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 0xc]
and eax, 3
cmp eax, 3
je 0x5b8e5b
mov eax, dword [ebp - 0xc]
and eax, 2
cmp eax, 2
je 0x5b8e5b
mov eax, dword [ebp - 0xc]
and eax, 5
cmp eax, 5
jne 0x5b8e85
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3438]
call fcn.005dc764
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 0xc]
and eax, 9
cmp eax, 9
je 0x5b8e9b
mov eax, dword [ebp - 0xc]
and eax, 4
cmp eax, 4
jne 0x5b8ec5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3438]
call fcn.005dc764
mov ebx, eax
jmp 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9550
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c2144]
call fcn.005d9ea8
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b956c
call fcn.00407b0c
jne 0x5b8f49
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5b8f0c
mov byte [eax + 0xa1], 0
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b958c
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
xor al, 1
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c6270]
call fcn.005d3904
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b95ac
call fcn.00407b0c
jne 0x5b8f90
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5b8f66
mov byte [eax + 0xa1], 0
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b958c
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c4ed4]
call fcn.005cf4a8
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b95cc
call fcn.00407b0c
jne 0x5b8fd7
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5b8fad
mov byte [eax + 0xa1], 0
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b958c
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c6270]
call fcn.005d3904
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b95f4
call fcn.00407b0c
jne 0x5b902a
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 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c2ad4]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9614
call fcn.00407b0c
jne 0x5b9076
mov eax, dword [ebp - 0xc]
and eax, 0x2000
cmp eax, 0x2000
je 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9640
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c6cb4]
call fcn.005e1d84
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9664
call fcn.00407b0c
jne 0x5b90b3
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9440
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c5674]
call fcn.005d0820
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b968c
call fcn.00407b0c
jne 0x5b90f3
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b96b8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c2c04]
call fcn.005dd8a8
mov ebx, eax
mov dword [ebx + 0x78], 2
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b96e8
call fcn.00407b0c
jne 0x5b912c
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9718
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c2eb4]
call fcn.005e59b0
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9738
call fcn.00407b0c
jne 0x5b9177
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5b9149
mov byte [eax + 0xa1], 0
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9440
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c4ed4]
call fcn.005cf4a8
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9754
call fcn.00407b0c
je 0x5b9195
mov eax, dword [ebp - 4]
mov edx, 0x5b9778
call fcn.00407b0c
jne 0x5b91bf
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c2020]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9794
call fcn.00407b0c
jne 0x5b9236
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongW
and eax, 0x200
cmp eax, 0x200
jne 0x5b920c
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b97c0
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3c18]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3c18]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b97d4
call fcn.00407b0c
jne 0x5b9273
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9440
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c60e0]
call fcn.005cf4a8
mov ebx, eax
mov byte [ebx + 4], 1
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b97fc
call fcn.00407b0c
jne 0x5b92ac
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3f9c]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b982c
call fcn.00407b0c
je 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b9858
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b9880
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b98b0
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b98e4
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b9914
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b9930
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b9954
call fcn.00407b0c
je 0x5b9337
mov eax, dword [ebp - 4]
mov edx, 0x5b9978
call fcn.00407b0c
jne 0x5b9368
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c386c]
call fcn.005d8b6c
mov ebx, eax
jmp 0x5b93b5
mov eax, dword [ebp - 4]
mov edx, 0x5b99a8
call fcn.00407b0c
jne 0x5b93b5
lea eax, [ebp - 0x20]
push eax
push esi
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00637dcc
cmp eax, 0x18
jne 0x5b93b5
push 0
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x5c]
call fcn.005ffe64
push eax
push 0x5b9458
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5c3a94]
call fcn.005d8b6c
mov ebx, eax
test ebx, ebx
je 0x5b93dd
mov eax, dword [edi + 0x40]
mov edx, ebx
call fcn.0043fa68
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.005c8270
mov eax, dword [0x668fa8]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b940a
lea eax, [ebp - 0x24]
call fcn.00406b04
lea eax, [ebp - 4]
call fcn.00406b04
ret