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

Disassembly:
push ebp
push edi
mov eax, 0xbff
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
lea edi, [esp + 0xa0]
mov word [esp + 0xa8], ax
mov eax, dword [0x4342f8]
lea ebp, [esp + 0x94]
mov dword [esp + 4], edi
mov dword [esp + 0xa0], 2
mov dword [esp], ebx
mov byte [esp + 0xac], 0
mov word [esp + 0xaa], ax
mov byte [esp + 0xad], 2
mov byte [esp + 0xae], 2
mov dword [esp + 0xa4], 0xffffffff
call fcn.0040db30
mov eax, esi
mov dword [esp + 4], edi
mov dword [esp], ebx
movsx esi, al
lea edi, [esp + 0x90]
mov dword [esp + 8], esi
lea esi, [esp + 0x8c]
call fcn.0040de90
mov eax, dword [0x435670]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x98]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
mov eax, dword [0x434304]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0x8c], 0
call sub.libX11_6.dll_XGetWindowProperty
test eax, eax
jne 0x40e33f
mov eax, dword [esp + 0x98]
test eax, eax
je 0x40e33f
cmp dword [esp + 0x8c], 2
mov eax, dword [esp + 0x9c]
jne 0x40e337
mov edx, dword [eax]
test edx, edx
je 0x40e940
cmp edx, 3
jne 0x40e337
or dword [esp + 0xa0], 0x20
mov dword [esp], eax
call sub.libX11_6.dll_XFree
mov eax, dword [0x43579c]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x9c]
lea esi, [esp + 0x8c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
mov eax, dword [0x434304]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.libX11_6.dll_XGetWindowProperty
test eax, eax
jne 0x40e3b1
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x40e710
lea eax, [esp + 0x9c]
mov dword [esp + 4], 0x4a
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040df40
test al, al
je 0x40e700
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], 0x15
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040df40
test al, al
je 0x40e430
mov eax, dword [esp + 0x98]
cmp eax, 0xffffffff
je 0x40e9c0
mov edx, dword [0x43584c]
cmp eax, edx
jae 0x40e9b0
mov word [esp + 0xaa], ax
mov esi, esi
lea edi, [edi]
lea eax, [esp + 0x88]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4356b8]
mov dword [esp + 8], eax
mov eax, dword [0x434304]
mov dword [esp], eax
call sub.libX11_6.dll_XGetWindowProperty
test eax, eax
jne 0x40e4a6
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x40e7b0
lea eax, [esp + 0x88]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x435754]
mov dword [esp + 8], eax
mov eax, dword [0x434304]
mov dword [esp], eax
call sub.libX11_6.dll_XGetWindowProperty
test eax, eax
jne 0x40e640
mov eax, dword [esp + 0x90]
test eax, eax
je 0x40e640
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
test eax, eax
je 0x40e631
mov eax, dword [edi]
cmp eax, dword [0x435768]
je 0x40e635
cmp eax, dword [0x435758]
je 0x40eab7
cmp eax, dword [0x43575c]
je 0x40eae7
cmp eax, dword [0x435760]
je 0x40e627
xor esi, esi
jmp 0x40e5ef
cmp dword [0x435770], eax
je 0x40e955
cmp dword [0x435774], eax
je 0x40e985
cmp dword [0x435778], eax
jne 0x40e970
and word [esp + 0xa8], 0xfff7
or dword [esp + 0xa0], 0x1000
nop
lea esi, [esi]
add esi, 1
cmp dword [esp + 0x84], esi
jbe 0x40ea59
mov eax, dword [edi + esi*4]
cmp eax, dword [0x435768]
je 0x40ea59
cmp eax, dword [0x435758]
je 0x40eab0
cmp eax, dword [0x43575c]
je 0x40eae0
cmp eax, dword [0x435760]
je 0x40e620
cmp dword [0x435764], eax
je 0x40ea50
cmp dword [0x43576c], eax
jne 0x40e570
and word [esp + 0xa8], 0xfff7
or dword [esp + 0xa0], 0x10
jmp 0x40e5b0
mov edi, dword [esp + 0x94]
xor ecx, ecx
mov word [esp + 0xa8], cx
test edi, edi
je 0x40e640
mov dword [esp], edi
call sub.libX11_6.dll_XFree
lea esi, [esi]
lea eax, [esp + 0x9c]
mov dword [esp + 4], 0x3b
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040e140
test al, al
je 0x40e6f0
mov ebx, dword [esp + 0x9c]
lea eax, [esp + 0x98]
mov dword [esp + 4], 0x3a
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040df40
test al, al
je 0x40e698
mov eax, dword [esp + 0x98]
test eax, eax
je 0x40e930
cmp byte [esp + 0xad], 2
jne 0x40e6b1
movzx eax, byte [esp + 0xae]
mov byte [esp + 0xad], al
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xa0]
mov dword [ecx], eax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 0xc], eax
add esp, 0xbc
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x9c], ebx
jmp 0x40e66a
mov dword [esp + 0xa4], 0xffffffff
jmp 0x40e3e2
mov eax, dword [esp + 0x98]
test eax, eax
je 0x40e3b1
mov edx, dword [eax]
test dl, 1
je 0x40e774
mov ecx, dword [eax + 4]
test cl, 1
jne 0x40e774
test cl, 2
jne 0x40e73c
and word [esp + 0xa8], 0xffdf
test cl, 4
jne 0x40e74a
and word [esp + 0xa8], 0xffbf
test cl, 8
jne 0x40e758
and word [esp + 0xa8], 0xfffb
test cl, 0x10
jne 0x40e766
and word [esp + 0xa8], 0xfff7
and ecx, 0x20
jne 0x40e774
and word [esp + 0xa8], 0xffef
and edx, 2
je 0x40e7a0
mov edx, dword [eax + 8]
test dl, 1
jne 0x40e7a0
test dl, 2
jne 0x40e78f
and word [esp + 0xa8], 0xfffe
and edx, 8
jne 0x40e7a0
and word [esp + 0xa8], 0xfffd
lea esi, [esi]
mov dword [esp], eax
call sub.libX11_6.dll_XFree
jmp 0x40e3b1
mov eax, dword [esp + 0x84]
test eax, eax
je 0x40e9d0
mov edx, dword [0x4356c8]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], edx
mov edx, dword [0x4356c0]
mov esi, ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [0x4356bc]
lea eax, [esi + eax*4]
mov dword [esp + 0x44], edx
mov edx, dword [0x4356c4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x4356d4]
mov dword [esp + 0x48], edx
mov edx, dword [0x4357ac]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x4356d8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x4357b0]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x4356e0]
mov dword [esp + 0x50], edx
mov edx, dword [0x4357b4]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x4356dc]
mov dword [esp + 0x54], edx
mov edx, dword [0x4357b8]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x4356e4]
mov dword [esp + 0x58], edx
mov edx, dword [0x4356cc]
mov dword [esp + 0x64], edx
mov edx, dword [0x4356d0]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xd4], ebx
mov ecx, esi
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov byte [esp + 0x43], 0
mov eax, dword [ecx]
cmp eax, ebx
je 0x40e9f0
cmp eax, dword [esp + 0x3c]
je 0x40ea20
cmp eax, dword [esp + 0x44]
je 0x40ea30
cmp eax, dword [esp + 0x48]
je 0x40ea40
cmp eax, dword [esp + 0x4c]
je 0x40ea70
cmp eax, dword [esp + 0x50]
je 0x40ea80
cmp eax, dword [esp + 0x54]
je 0x40eaa0
cmp eax, dword [esp + 0x58]
je 0x40eb10
cmp eax, dword [esp + 0x64]
je 0x40eb20
cmp eax, dword [esp + 0x68]
je 0x40ea8d
cmp eax, dword [esp + 0x6c]
je 0x40eb2d
cmp eax, dword [esp + 0x70]
je 0x40eb3a
cmp eax, dword [esp + 0x74]
je 0x40eb4a
cmp eax, dword [esp + 0x78]
je 0x40eb57
cmp eax, dword [esp + 0x7c]
jne 0x40e9f8
or edx, 0x10000
mov byte [esp + 0x43], 1
jmp 0x40e9f8
or dword [esp + 0xa0], 0x1000
jmp 0x40e698
mov dword [esp], eax
and dword [esp + 0xa0], 0xfffffffd
call sub.libX11_6.dll_XFree
jmp 0x40e33f
xor edx, edx
or dword [esp + 0xa0], 0x1010
mov word [esp + 0xa8], dx
jmp 0x40e5b0
mov dword [esp + 4], eax
mov dword [esp], str.Unknown__NET_WM_WINDOW_TYPE:__lu
call fcn.00408830
jmp 0x40e5b0
and word [esp + 0xa8], 0xfff7
mov byte [esp + 0xae], 3
or dword [esp + 0xa0], 0x1018
jmp 0x40e5b0
sub edx, 1
mov word [esp + 0xaa], dx
jmp 0x40e430
or dword [esp + 0xa0], 8
jmp 0x40e430
mov eax, dword [esp + 0x94]
test eax, eax
je 0x40e4a6
mov dword [esp], eax
call sub.libX11_6.dll_XFree
jmp 0x40e4a6
or edx, 8
mov byte [esp + 0x43], 1
add ecx, 4
cmp ecx, dword [esp + 0x38]
jne 0x40e882
cmp byte [esp + 0x43], 0
mov ebx, dword [esp + 0xd4]
jne 0x40eb64
mov eax, dword [esp + 0x60]
jmp 0x40e9d7
or edx, 0x40
mov byte [esp + 0x43], 1
jmp 0x40e9f8
or byte [esp + 0xac], 2
jmp 0x40e9f8
or byte [esp + 0xac], 1
jmp 0x40e9f8
and word [esp + 0xa8], 0xfff3
mov edi, dword [esp + 0x94]
test edi, edi
jne 0x40e635
jmp 0x40e640
or byte [esp + 0xac], 0x10
jmp 0x40e9f8
or byte [esp + 0xac], 0x20
jmp 0x40e9f8
or edx, 0x20
mov byte [esp + 0x43], 1
jmp 0x40e9f8
or byte [esp + 0xac], 4
jmp 0x40e9f8
mov edi, dword [esp + 0x94]
xor ebp, ebp
mov byte [esp + 0xae], 0
or dword [esp + 0xa0], 0x1018
mov word [esp + 0xa8], bp
jmp 0x40e631
mov edi, dword [esp + 0x94]
xor esi, esi
mov byte [esp + 0xae], 3
or dword [esp + 0xa0], 0x1000
mov word [esp + 0xa8], si
jmp 0x40e631
or byte [esp + 0xac], 8
jmp 0x40e9f8
or dh, 4
mov byte [esp + 0x43], 1
jmp 0x40e9f8
or edx, 0x10
mov byte [esp + 0x43], 1
jmp 0x40e9f8
or edx, 0x200000
mov byte [esp + 0x43], 1
jmp 0x40e9f8
mov byte [esp + 0xad], 3
jmp 0x40e9f8
mov byte [esp + 0xad], 1
jmp 0x40e9f8
mov dword [esp + 0xa0], edx
jmp 0x40ea17