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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
cmp dword [ebx], 0xa100
jne 0x54dc4c
movzx eax, word [ebx + 6]
sub ax, 7
jne 0x54dc4c
mov dword [ebx + 0xc], 1
jmp 0x54e814
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x6c]
test esi, esi
je 0x54dc63
mov eax, esi
xor edx, edx
call fcn.005903d8
test al, al
jne 0x54dc72
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005555d0
jmp 0x54e814
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x85
jg 0x54dcce
je 0x54e361
add eax, 0xfffffff9
cmp eax, 0xd
ja case.0x54dc8f.9
jmp dword [eax*4 + 0x54dc96]
sub eax, 0x317
je 0x54dd0c
sub eax, 0x9de9
je 0x54dcf5
sub eax, 0xf0c
je case.0x54dc8f.12
sub eax, 2
je case.0x54dc8f.12
jmp case.0x54dc8f.9
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0054ec68
test al, al
jne 0x54e814
jmp case.0x54dc8f.9
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 4]
call fcn.00558800
mov edi, eax
mov dword [ebx + 0xc], edi
cmp edi, 2
je 0x54e814
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00547a1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov byte [eax + 0x28], 0
mov byte [eax + 0x80], 1
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne 0x54dd86
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x54e814
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.005488bc
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x54ddbf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.00548184
mov eax, dword [ebx + 8]
and eax, 4
cmp eax, 4
jne 0x54de2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
neg eax
mov ecx, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
neg edx
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004acd0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x88]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x88]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
jmp 0x54de94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
push 0
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.0054e81c
mov eax, dword [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00578f88
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0054aff0
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov ecx, eax
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004acd0c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x54df56
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
je 0x54df56
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7c]
mov eax, edi
xor ecx, ecx
mov edx, 1
call fcn.0054952c
movzx edx, byte [edi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
add edx, edx
sub eax, edx
pop edx
sub eax, edx
push eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x80]
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0054952c
movzx edx, byte [esi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
add edx, edx
sub eax, edx
pop edx
sub eax, edx
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0058d608
test al, al
je 0x54e00f
mov eax, dword [ebx + 8]
and eax, 4
cmp eax, 4
jne 0x54dfbe
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x54e03d
push 0xcc0020
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x88]
push esi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x54e03d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ebp - 8]
call fcn.00578db4
push 0
mov esi, dword [ebp - 8]
push esi
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
push 0x24
push esi
push 0x318
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x50]
sub eax, 0xa
jne 0x54e814
jmp case.0x54dc8f.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov byte [eax + 0x80], 1
cmp byte [eax + 0x28], 0
jne case.0x54dc8f.9
push 0x405
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x54dc8f.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x54dc8f.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x98], 0
jne case.0x54dc8f.9
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp esi, dword [eax + 0x5c]
je 0x54e105
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x54e105
mov dword [ebx + 0xc], 1
jmp 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.0058d68c
test al, al
jne 0x54e814
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne 0x54e12b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb0], 0
je 0x54e153
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x54e153
mov dword [ebx + 0xc], 1
jmp 0x54e814
mov eax, dword [0x602060]
cmp dword [eax], 6
jl case.0x54dc8f.9
mov eax, dword [0x601f38]
cmp byte [eax], 0
je case.0x54dc8f.9
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
cmp eax, dword [edx + 0x5c]
je case.0x54dc8f.9
mov dword [ebx + 0xc], 1
jmp 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x54dc8f.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x98], 0
jne case.0x54dc8f.9
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp esi, dword [eax + 0x5c]
je 0x54e1d0
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
je 0x54e814
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb0], 0
je 0x54e2ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x54e2ac
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_BeginPaint
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x54e290
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e297
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.0058d68c
test al, al
jne 0x54e2d3
mov eax, dword [0x601f38]
cmp byte [eax], 0
je 0x54e2f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 0x5c], 0
jne 0x54e2f8
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_BeginPaint
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_EndPaint
jmp 0x54e814
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0054aff0
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne case.0x54dc8f.9
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
jmp case.0x54dc8f.9
cmp dword [ebx + 4], 1
jne case.0x54dc8f.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc0], 0
je case.0x54dc8f.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
call fcn.0058045c
mov eax, dword [ebp - 4]
mov byte [eax + 0xc0], 0
jmp case.0x54dc8f.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x54dc8f.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x98], 0
jne case.0x54dc8f.9
mov eax, dword [0x601f38]
cmp byte [eax], 0
jne 0x54e814
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00547a1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.0058d68c
test al, al
jne 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebp - 8]
je 0x54e416
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x54e416
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_ReleaseDC
jmp 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp byte [eax + 0x80], 0
je 0x54e44e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne 0x54e436
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.005488bc
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x54e50b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0054aff0
mov dword [ebx + 0xc], eax
cmp dword [ebp - 8], 0
je 0x54e4e0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x54e4e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
push 0
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.0054e81c
mov eax, dword [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00578f88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e814
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.0054790c
test al, al
je 0x54e5b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 0x44], 0
je 0x54e5b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, dword [0x4a63f8]
call fcn.00405288
test al, al
je 0x54e5b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
mov si, 0xffb6
call fcn.004052f8
test al, al
je 0x54e5b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x1e8], 0
je 0x54e5b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov byte [eax + 0x80], 1
cmp dword [ebx], 7
sete dl
mov byte [eax + 0x54], dl
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005555d0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
push 0x501
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x54e814
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005555d0
jmp 0x54e814
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005555d0
mov eax, dword [ebx]
cmp eax, 0x197
jg 0x54e63b
je 0x54e738
cmp eax, 0x100
jge 0x54e60a
sub eax, 5
je 0x54e77f
sub eax, 0x2b
je 0x54e747
sub eax, 0x92
je 0x54e738
jmp 0x54e814
add eax, 0xffffff00
sub eax, 2
jb 0x54e747
add eax, 0xffffff82
sub eax, 2
jb 0x54e738
sub eax, 4
je 0x54e729
sub eax, 8
je 0x54e6d1
jmp 0x54e814
cmp eax, 0xb013
jge 0x54e65e
sub eax, 0x200
je 0x54e7aa
dec eax
je 0x54e747
sub eax, 0xf
je 0x54e693
jmp 0x54e814
add eax, 0xffff4fed
sub eax, 2
jb 0x54e763
sub eax, 0x17
je 0x54e684
add eax, 0xfffff32c
sub eax, 2
jb 0x54e747
jmp 0x54e814
mov eax, dword [ebp - 4]
mov byte [eax + 0xc0], 1
jmp 0x54e814
movzx eax, word [ebx + 4]
dec eax
sub ax, 2
jae 0x54e814
cmp word [ebx + 4], 1
jne 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0058f8fc
test byte [eax + 0x7d], 4
je 0x54e814
mov eax, dword [ebp - 4]
mov byte [eax + 0xc0], 1
jmp 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x54e814
mov eax, esi
mov edx, dword [0x46fed8]
call fcn.00405288
test al, al
je 0x54e814
cmp dword [ebx + 0xc], 0
jne 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x280]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x54e814
mov dword [ebx + 0xc], 0xffffffff
jmp 0x54e814
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.005487f4
jmp 0x54e814
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.005487f4
jmp 0x54e814
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5c], 0
jne 0x54e814
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.005487f4
jmp 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x54e814
mov edx, eax
mov eax, ebx
call fcn.00590f28
jmp 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x54e814
push 0
push 0
push 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
jmp 0x54e814
mov eax, dword [0x602214]
cmp dword [eax], 0
je 0x54e814
mov eax, dword [0x602214]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x54e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [0x602214]
mov edx, dword [edx]
cmp eax, dword [edx + 0x78]
je 0x54e7f2
mov edx, eax
mov eax, dword [0x602214]
mov eax, dword [eax]
call fcn.005d7bc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0058f910
test al, al
jne 0x54e814
call sub.user32.dll_GetCapture
test eax, eax
je 0x54e814
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.005487f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret