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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, 0x434344
sub esp, 0x8c
mov ebp, dword [esp + 0xa0]
mov byte [esp + 0x38], 0
jmp 0x416edb
cmp ebp, dword [eax]
je 0x417124
lea ebx, [eax + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x416ed0
mov eax, dword [0x435784]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x68]
lea edi, [esp + 0x64]
lea esi, [esp + 0x60]
lea ebx, [esp + 0x5c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 4], eax
mov eax, dword [0x434304]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], 0
mov dword [esp], eax
call sub.libX11_6.dll_XGetWindowProperty
test eax, eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
jne 0x4170b0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4170b0
cmp dword [esp + 0x64], 0xc
jne 0x41708e
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x1c]
test edx, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
jle 0x417001
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x78], edx
mov edx, ebp
mov dword [esp + 0x70], 0
sub eax, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
call fcn.00416d60
test esi, esi
jle 0x417031
mov eax, dword [0x435808]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], esi
sub eax, esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
sub eax, edx
mov edx, ebp
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
call fcn.00416d60
test edi, edi
jle 0x41705e
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, ebp
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], edi
sub esi, eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x78], esi
call fcn.00416d60
test ebx, ebx
jle 0x41708e
mov eax, dword [0x435804]
mov edi, dword [esp + 0x48]
sub eax, ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
sub eax, edi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov edx, ebp
mov dword [esp + 0x7c], ebx
call fcn.00416d60
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.libX11_6.dll_XFree
call fcn.00416c70
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x43578c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp + 0x64], 0
mov dword [esp + 4], eax
mov eax, dword [0x434304]
mov dword [esp], eax
call sub.libX11_6.dll_XGetWindowProperty
test eax, eax
je 0x417140
cmp byte [esp + 0x38], 0
je 0x417119
call fcn.00416c70
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax + 0x14]
mov dword [ebx], edx
mov dword [esp], eax
call sub.msvcrt.dll_free
mov byte [esp + 0x38], 1
jmp 0x416edb
mov eax, dword [esp + 0x60]
test eax, eax
je 0x41710d
cmp dword [esp + 0x64], 4
jne 0x41708e
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
test edx, edx
jle 0x41718e
mov eax, dword [0x435804]
mov dword [esp + 0x78], edx
mov edx, ebp
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
call fcn.00416d60
test esi, esi
jle 0x4171bd
mov eax, dword [0x435808]
mov edx, ebp
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], esi
sub eax, esi
mov dword [esp + 0x70], eax
mov eax, dword [0x435804]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
call fcn.00416d60
test edi, edi
jle 0x4171e9
mov eax, dword [0x435808]
mov edx, ebp
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
call fcn.00416d60
test ebx, ebx
jle 0x41708e
mov eax, dword [0x435804]
mov dword [esp + 0x70], 0
sub eax, ebx
mov dword [esp + 0x74], eax
mov eax, dword [0x435808]
jmp 0x41707b